[PATCH v2 3/6] vbscript: Use a helper function to lookup the global functions.