Posted by Joseph on 1/29/2000, 2:53 am
209.179.250.163
Greetings, Since I don't have the tools and the tools I will pass on task-4 part 1 and since I don't have sufficient experience, I will pas on part 3, but I will answer part 2
In order to have the correct Sereal number be displayed in the the message box when you enter a wrong Sereal number one needs to know two things: 1 where the message for the wrong sereal number is stored and when it is called, and.
2 where the correct Sereal number is stored.
After the program calculates the Sereal nember it stors it in memory location 73f068. This information may be obtained from the ecx register after the instruction at
<pre>
00446BA0 lea ecx, dword ptr[ebp+ffffffA0]
</pre>
If this number does not match the one entered the program ends diplaying the message for the wrong number ant this is done starting at:
<pre>
004472Cf push 0049A157
</pre>
which happens to be the address for the massage to be displayed. Thus if weh change this instruction:
<pre>
From
Push 00A157
To
Push 0073f068
</pre>
the program will display the correct Sereal number in place of "The sereal number you entered is does not match'A specila note to ShaDe and Bonker:
Yes the program can be made to self register. Just change a few bytes and add a few more. If you are interested in how I did it, we can talk mote about it.Best regards,
Joseph