Function at 0x402990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov eax, ecx
push esi
push edi
mov dword [ebp - 8], eax
mov edi, dword [eax]
mov ebx, dword [eax + 4]
ror edi, 0x1d
ror ebx, 0x1d
cmp dword [ebp + 8], 0
je 0x402ad4
lea eax, [edx + 8]
mov dword [ebp - 4], 8
mov dword [ebp + 8], eax
mov edx, dword [eax - 4]
mov esi, dword [eax - 8]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x62e5a0]
xor ecx, dword [eax*4 + 0x62e3a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x62e1a0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e4a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e2a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x62e0a0]
xor ecx, dword [edx*4 + 0x62e7a0]
xor ecx, dword [esi*4 + 0x62e6a0]
mov edx, dword [ebp + 8]
xor ebx, ecx
mov esi, dword [edx]
mov edx, dword [edx + 4]
xor esi, ebx
xor edx, ebx
ror edx, 4
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x62e5a0]
xor ecx, dword [eax*4 + 0x62e3a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x62e1a0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e4a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e2a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x62e0a0]
xor ecx, dword [edx*4 + 0x62e7a0]
xor ecx, dword [esi*4 + 0x62e6a0]
mov eax, dword [ebp + 8]
xor edi, ecx
add eax, 0x10
sub dword [ebp - 4], 1
mov dword [ebp + 8], eax
jne 0x4029c0
jmp 0x402bf0
lea eax, [edx + 0x70]
mov dword [ebp - 4], 8
mov dword [ebp + 8], eax
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 8]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x62e5a0]
xor ecx, dword [eax*4 + 0x62e3a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x62e1a0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e4a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e2a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x62e0a0]
xor ecx, dword [edx*4 + 0x62e7a0]
xor ecx, dword [esi*4 + 0x62e6a0]
mov edx, dword [ebp + 8]
xor ebx, ecx
mov esi, dword [edx]
mov edx, dword [edx + 4]
xor esi, ebx
xor edx, ebx
ror edx, 4
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x62e5a0]
xor ecx, dword [eax*4 + 0x62e3a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x62e1a0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e4a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x62e2a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x62e0a0]
xor ecx, dword [edx*4 + 0x62e7a0]
xor ecx, dword [esi*4 + 0x62e6a0]
mov eax, dword [ebp + 8]
xor edi, ecx
sub eax, 0x10
sub dword [ebp - 4], 1
mov dword [ebp + 8], eax
jne 0x402ae1
mov eax, dword [ebp - 8]
ror ebx, 3
ror edi, 3
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret