With the API information and his controlled execution flow, Alex started to reverse-engineer the VM logic. He applied his understanding of the VMProtect IR and translated the VM instructions back into a higher-level representation.
He tried again. Check passes. Registers clear. Code executes. He set the trap. The program continued. vmprotect reverse engineering
That’s your original logic.