I'll get right to the point, I have a crack me program, that is a program with a password inside that needs to be found so that you can complete the challenge.
I easily found the cmp instruction with the password, but the numeric password was multiplied by 2.
in the program does not have anything to multiply or divide the password, then this must be caused by something else
so I had to get the hexadecimal value of the password convert to decimal and divide by 2 to have the real password.
here is the cmp instruction:
CMP DWORD PTR SS:[EBP-C],961DB0
0x961DB0 / 2 is the password.
EBP-C has the password.
I would like to know why the password has been multiplied by 2 in this cmp instruction.
A photo of the Source Code, I do not have it without being in the photo.
Thank you very much in advance.