[PATCH v3 2/5] vbscript: Use a helper function to lookup the global functions.