View Single Post
Re: anyone knows IDA ?
Old
  (#2)
Lazy
Member
 
Lazy's Avatar
 
Status: Offline
Posts: 236
Join Date: Jan 2004
Location: Toronto, Ontario, Canada
Default Re: anyone knows IDA ? - 28-08-2004

Hmm, MessageBox calls should have a title like "Fatal error" or something like that.

1. Open up the EXE in something like textpad and search for the MessageBox title string and note its address.
2. Disassemble the code and look for where the address is being pushed onto the stack.
3. ^^ There is where the function is about to be called.

To test it you could make a copy, find the start of where the messagebox code is executed and replace it with:

0xCD
0x03

Or just change it all to 0x90, the first one is equivalent to __asm int 3 and the other one is the nop instruction.

Though that is all I know from disassembling and playing around with my own code, hope it helps.

Added: I'm tired but I actually think the title string would be the 2nd thing pushed onto the stack, same thing though.

Last edited by Lazy; 28-08-2004 at 02:28..
  
Reply With Quote