- Install Visual C++.
- Install Python.
- Install Java JRE & JDK.
- Install Ghidra.
- Install Graphviz.
- Put a "retdec" directory, inside Ghidra root folder, and fill it with a copy of RetDec decompiler.
- Extract UPX Packer & put the main executable inside retdec/bin folder.
- Put a "radare2" directory, inside Ghidra root folder, and fill it with a copy of Radare2 software.
- Put a "nasm" directory, inside Ghidra root folder, and fill it with a copy of NASM assembler.
- Put a "emsdk" directory, inside Ghidra root folder, and fill it with a copy of Emscripten C-to-Javascript converter. You do not need to install Emscripten manually. My batch scripts are doing it automatically.
- Put a "linker" directory, inside Ghidra root folder, and fill it with a copy of "linkers.zip".
- Put any *.py script, inside: "Ghidra/Features/Python/ghidra_scripts" (inside Ghidra root folder).
- You will see these *.py scripts, through the "code browser" tool, from "scripts" window of Ghidra.
- Put any *.bat script, inside Ghidra root folder.
- Import your software, with all its local/system direct/indirect dependencies (can be done automatically, during import, using "options" button).
- Inside "scripts" window, double click on the name of the needed python script.
- Go into the root folder, to see the results.
- Use any batch script to manipulate the results, according to your needs.