DISCLAIMER: VERY OLD CODE; NOT INTENDED FOR ACTUAL USE
Disassembler for x86 binaries virtualized by VMProtect 3
Unlike NoVMP, this project attempts to lift VMProtect's virtual machine handlers into IL purely through instruction emulation using Triton. The procedure starts by emulating the VMINIT and recording the initial VM state, then proceeding to use this information to deobfuscate the rest of the VM handlers by tainting only relevant VM registers. The simplified VM handlers are converted to VM instructions by pattern matching certain instruction sequences then emulated to extract runtime information that is logged by the disassembler.
- Handle VMINIT and VMEXIT handlers
- Implement initial VM handler deobfuscator
- Handle PE/ELF relocations and imports
- Implement VM IL semantics to represent VM instruction
- Implement VM IL optimizer (stuff like constant propagation, etc.)
- Finish lifter for remaining VM handlers (VMPUSH, VMADD, VMDIV, etc.)
- Handle virtual conditionals (likely to use Triton DSE)
- Handle VM context swapping