#! /bin/bash radare2 -q -c 'pd 20 @ 0x43ff4d' Armada.exe_pristine > sprintf_overflow radare2 -q -c 'pd 38 @ 0x5005a0' Armada.exe_pristine > memory_check radare2 -q -c '/ Please\x20insert\x20CD\x20' Armada.exe_pristine 2>find_cd_strcheck > find_cd_strcheck # radare doesn't find the reference, gotta use olly # right click on instructions, search for, all referenced text strings # right click strings, search for; "Please insert CD " # double click string to show instruction that reference is made # that's about where CD check is done radare2 -q -c 'pd 10 @ 0x0044053b' Armada.exe_pristine > cd_check