Re: Task three - Q1 and Q2 Sunday, 07-Feb-99 18:32:04
Hi Nabo If you check your code when it returns from the serial comparison routine at 40CCC0 you will find that if the serials do NOT match eax will be either 01, or FFFFFFFF And if the serials DO match eax will be 00 :0040CCF2 33C0 xor eax, eax -Correct serial (should be clear eax) :0040CCF4 5E pop esi -EAX=00000001(should be eax = 0) :0040CCF5 5B pop ebx :0040CCF6 83C404 add esp, 00000004 :0040CCF9 C3 ret :0040CCFA 1BC0 sbb eax, eax -Wrong serial(see my listing for eax) :0040CCFC 5E pop esi -EAX=FFFFFFFF :0040CCFD 83D8FF sbb eax, FFFFFFFF :0040CD00 5B pop ebx :0040CD01 83C404 add esp, 00000004 :0040CD04 C3 ret Princess Princess |
Nabo: Task one (04-Feb-99 22:11:02) |
|
Copyright © InsideTheWeb, Inc. 1997-1999
All rights reserved.