Function at 0x5063e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push ebp
ror ecx, 0x1d
push esi
mov esi, dword [esp + 0x14]
ror eax, 0x1d
cmp dword [esp + 0x18], 0
push edi
je 0x506624
add esi, 8
mov dword [esp + 0x18], 4
lea ecx, [ecx]
mov edx, dword [esi - 4]
mov edi, dword [esi - 8]
xor edi, ecx
xor edx, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
mov edx, dword [esi + 4]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
mov edi, dword [esi]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
mov edx, dword [esi + 0xc]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
mov edi, dword [esi + 8]
xor ecx, ebx
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
mov ebp, edx
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
mov edx, dword [esi + 0x14]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
mov edi, dword [esi + 0x10]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
add esi, 0x20
xor ecx, ebx
dec dword [esp + 0x18]
jne 0x506410
mov edx, dword [esp + 0x14]
pop edi
pop esi
ror eax, 3
ror ecx, 3
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret
add esi, 0x70
mov dword [esp + 0x18], 4
nop
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 8]
xor edi, ecx
xor edx, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
mov edx, dword [esi + 4]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
mov edi, dword [esi]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
mov edx, dword [esi - 4]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
mov edi, dword [esi - 8]
xor ecx, ebx
xor edx, ecx
xor edi, ecx
ror edx, 4
mov ebx, edx
shr ebx, 0x12
mov ebp, edx
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
mov edx, dword [esi - 0xc]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
mov edi, dword [esi - 0x10]
xor eax, ebx
xor edi, eax
xor edx, eax
ror edx, 4
mov ebx, edx
shr ebx, 0x12
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x56b160]
mov ebp, edx
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56af60]
mov ebp, edx
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ad60]
mov ebp, edi
shr ebp, 0x12
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56b060]
mov ebp, edi
shr ebp, 0xa
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ae60]
mov ebp, edi
shr ebp, 2
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x56ac60]
shr edx, 0x1a
xor ebx, dword [edx*4 + 0x56b360]
shr edi, 0x1a
xor ebx, dword [edi*4 + 0x56b260]
sub esi, 0x20
xor ecx, ebx
dec dword [esp + 0x18]
jne 0x506630
mov edx, dword [esp + 0x14]
pop edi
pop esi
ror eax, 3
ror ecx, 3
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret