#DOSBox Identifier of Executables and Dispatcher (DIED) #Version 1.1 #Yushatak 2010 dosboxpath="C:\Program Files (x86)\DOSBox-0.74\dosbox.exe" from sys import argv,exit from subprocess import Popen from os import sep import pythoncom from win32com.shell import shell, shellcon import os.path import struct exe=argv[2] mode=argv[1] if mode=="dispatch" or mode=="analyze": f=open(exe,"rb") data=f.read(60) #read dos header info print "Location: "+str(f.tell()) reloc=f.read(4) #read PE header location print "Location: "+str(f.tell()) offset=struct.unpack('