import struct, sys from capstone import * exe = r"F:\steam\steamapps\common\The I of the Dragon\TheIOfTheDragon.exe" data = open(exe, "rb").read() e_lfanew = struct.unpack_from("