upx -9 nc.exe # compress binary exe2hex -x nc.exe -p nc.cmd Copy and paste the commands in nc.cmd into the shell. The desired binary should be reconstructed promptly.