.EXE -> .ASM -> .EXE



Hey all,

I want to improve and add features to a certain Win32 abandonware game. I'm already doing this with success by analysing the binary with IDA Pro, then writing a support DLL that patches the code at runtime to make changes and to insert calls to my replacement routines, but this is only really suitable for small scale changes.

What I really want is a way to use the disassembly from IDA to produce an .ASM file that I can link against, so that I can produce a new binary and slowly replace ASM routines with hand-translated HLL routines. Then I can understand the binary and modify it more easily.

IDA Pro can produce an ASM file, but I can't seem to assemble it with anything (Too many errors). Does anyone know how to do something useful with this?

Cheers,
Nicholas Sherlock

--
http://www.sherlocksoftware.org

.