markh51
September 22nd, 2005, 09:06
Is it possible to recover the key for the de/encryption if you knew what the encryted and decrypted strings were ?
V++|z;U9&t#3-r
Valid Until -
This is the routine it uses:
I have commented the first few lines as this is really as much as I know. If anyone can tell me if this is a 'commercial' form of enryption or is it just 'home cooked' ?
Thanks.
V++|z;U9&t#3-r
Valid Until -
This is the routine it uses:
Code:
CODE:0044F3AA mov eax, [ebp+var_4] <- Sets the address to output string to
CODE:0044F3AD movzx esi, byte ptr [eax+ebx-1] <- Hex value of encrypted character
CODE:0044F3B2 mov eax, [ebp+var_4]
CODE:0044F3B5 movzx eax, byte ptr [eax+ebx-2] <- Hex value of last character (Thats why first char of string is plain text)
CODE:0044F3BA add esi, eax
CODE:0044F3BC sub esi, 20h
CODE:0044F3BF cmp esi, 7Eh
CODE:0044F3C2 jle short loc_44F3C7
CODE:0044F3C4 sub esi, 5Fh
CODE:0044F3C7
CODE:0044F3C7 loc_44F3C7: ; CODE XREF: sub_44F370+52j
CODE:0044F3C7 lea eax, [ebp+var_4]
CODE:0044F3CA call sub_404764
CODE:0044F3CF mov edx, esi
CODE:0044F3D1 mov [eax+ebx-1], dl
CODE:0044F3D5 inc ebx
CODE:0044F3D6 dec edi
CODE:0044F3D7 jnz short loc_44F3AA
I have commented the first few lines as this is really as much as I know. If anyone can tell me if this is a 'commercial' form of enryption or is it just 'home cooked' ?
Thanks.