so i'm trying to write a keygen to a crack me that i learn from i got stuck so what happens there is pretty simple:
lets say that i inserting the password of "12121212"
XOR DWORD PTR DS:[ECX+EAX],1234567
AND BYTE PTR DS:[ECX+EAX],0E
ADD ECX,4
CMP ECX,8
So as we can see here the first DWORD
is being Xor'ed
with 0x1234567
so it turns to 0x56771233
Then ther is a AND
operation over the first byte so 0x56
turns to 0x6
After that we move to the second DWORD
and it dose this again so everything is good until now.
My question is i know i can inverse XOR
but is it possible with AND
?