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