An automated GitHub script cannot handle this. The only verified way to decompile a modern EX4 is by using a professional decompiler that combines several reverse engineering techniques – and those are not open source.
MetaTrader 4 underwent a significant update (Build 600+) several years ago that fundamentally changed how code is compiled. Modern EX4 files use sophisticated encryption and obfuscation techniques that make simple decompression impossible. Legacy vs. Modern:
EX4 to MQ4 decompilers typically employ a combination of techniques, including:
In the current MT4 ecosystem, a "verified" EX4 to MQ4 decompiler on GitHub is largely a unicorn. The security updates implemented by MetaQuotes have moved the goalposts beyond the reach of simple automated tools. For most users, the most reliable and safest path is to contact the original developer for source code access or to hire a programmer to replicate the logic of an indicator from scratch by observing its behavior on a live chart. Relying on "verified" tools from unverified repositories is more likely to result in a compromised computer than a recovered source file. Are you looking to recover your own lost code or are you trying to analyze the logic of a specific indicator?
When searching GitHub for "EX4 to MQ4 decompiler verified," you will likely encounter three types of repositories: