Function at 0x585510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
ror edi, 0x1d
ror ebx, 0x1d
cmp dword [ebp + 0x10], 0
je 0x585662
add eax, 8
mov dword [ebp + 0x10], 8
mov dword [ebp + 0xc], eax
nop
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 + 0x67aca8]
xor ecx, dword [eax*4 + 0x67aaa8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x67a8a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67aba8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67a9a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x67a7a8]
xor ecx, dword [edx*4 + 0x67aea8]
xor ecx, dword [esi*4 + 0x67ada8]
mov edx, dword [ebp + 0xc]
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 + 0x67aca8]
xor ecx, dword [eax*4 + 0x67aaa8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x67a8a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67aba8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67a9a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x67a7a8]
xor ecx, dword [edx*4 + 0x67aea8]
xor ecx, dword [esi*4 + 0x67ada8]
mov eax, dword [ebp + 0xc]
xor edi, ecx
add eax, 0x10
sub dword [ebp + 0x10], 1
mov dword [ebp + 0xc], eax
jne 0x585540
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
pop ebp
ret
add eax, 0x70
mov dword [ebp + 0x10], 8
mov dword [ebp + 0xc], eax
nop
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 + 0x67aca8]
xor ecx, dword [eax*4 + 0x67aaa8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x67a8a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67aba8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67a9a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x67a7a8]
xor ecx, dword [edx*4 + 0x67aea8]
xor ecx, dword [esi*4 + 0x67ada8]
mov edx, dword [ebp + 0xc]
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 + 0x67aca8]
xor ecx, dword [eax*4 + 0x67aaa8]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x67a8a8]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67aba8]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x67a9a8]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x67a7a8]
xor ecx, dword [edx*4 + 0x67aea8]
xor ecx, dword [esi*4 + 0x67ada8]
mov eax, dword [ebp + 0xc]
xor edi, ecx
sub eax, 0x10
sub dword [ebp + 0x10], 1
mov dword [ebp + 0xc], eax
jne 0x585670
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
pop ebp
ret