hi everyone!
this is my encryption routine (using standard call) in x86 Assembler
__ASM{
encrypt:
push ebp
mov ebp,esp
mov eax, [ebp+8]
mov ecx, [ebp+12]
push eax
and eax,0xAA
not al
mov edx,eax
pop eax
and eax,0x55
xor ecx,edx
xor ecx,eax
rol cl,1
rol cl,1
mov eax,ecx
sub al,0x20
pop ebp
ret
}
all im trying to do now is Reverse the "encrypt" Algorithms Effect (need to create a DECRYPT routine)
if anyone can help me, it would be much appreciated!
thanks x
ps..if you need any more information, let me know .