Function at 0x58c260
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
movzx edx, byte [esi + 0xb]
movzx eax, byte [esi + 0xa]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 9]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 8]
push edi
movzx edi, byte [esi + 0xe]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xf]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 0xd]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 0xc]
shl eax, 8
or eax, edi
xor eax, dword [ecx + 0x10a4]
movzx edi, byte [esi + 2]
mov dword [ebp - 4], eax
movzx eax, byte [esi + 3]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 1]
shl eax, 8
or eax, edi
movzx edi, byte [esi]
shl eax, 8
or eax, edi
xor eax, dword [ecx + 0x1098]
movzx edi, byte [esi + 6]
xor edx, dword [ecx + 0x10a0]
mov dword [ebp + 8], eax
movzx eax, byte [esi + 7]
shl eax, 8
or eax, edi
movzx edi, byte [esi + 5]
movzx esi, byte [esi + 4]
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
xor eax, dword [ecx + 0x109c]
lea edi, [ecx + 0x1118]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], 8
mov ebx, eax
shr ebx, 0x10
movzx esi, bl
mov esi, dword [ecx + esi*4 + 0xc88]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ecx + ebx*4 + 0x888]
mov ebx, eax
shr ebx, 0x18
xor esi, dword [ecx + ebx*4 + 0x88]
movzx eax, al
xor esi, dword [ecx + eax*4 + 0x488]
mov eax, dword [ebp + 8]
mov ebx, eax
shr eax, 0x10
shr ebx, 0x18
movzx eax, al
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + ebx*4 + 0xc88]
mov ebx, dword [ebp - 0x14]
xor eax, dword [ecx + ebx*4 + 0x888]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor eax, dword [ecx + ebx*4 + 0x488]
movzx ebx, byte [ebp + 8]
xor eax, dword [ecx + ebx*4 + 0x88]
mov ebx, dword [edi + 8]
add eax, esi
add ebx, eax
add eax, dword [edi + 0xc]
rol edx, 1
add eax, esi
xor eax, dword [ebp - 4]
xor edx, ebx
ror eax, 1
mov ebx, eax
shr ebx, 0x10
movzx esi, bl
mov esi, dword [ecx + esi*4 + 0xc88]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor esi, dword [ecx + ebx*4 + 0x888]
mov ebx, eax
shr ebx, 0x18
xor esi, dword [ecx + ebx*4 + 0x88]
mov dword [ebp - 4], eax
movzx eax, al
xor esi, dword [ecx + eax*4 + 0x488]
mov edi, dword [edi]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov eax, edx
shr eax, 0x18
mov eax, dword [ecx + eax*4 + 0xc88]
xor eax, dword [ecx + ebx*4 + 0x888]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor eax, dword [ecx + ebx*4 + 0x488]
movzx ebx, dl
xor eax, dword [ecx + ebx*4 + 0x88]
mov ebx, dword [ebp + 8]
add eax, esi
add edi, eax
rol ebx, 1
xor ebx, edi
mov edi, dword [ebp - 0xc]
add eax, dword [edi + 4]
sub edi, 0x10
add eax, esi
xor eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
ror eax, 1
dec dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edi
jne 0x58c318
xor edx, dword [ecx + 0x1088]
xor ebx, dword [ecx + 0x1090]
xor eax, dword [ecx + 0x1094]
mov esi, dword [ecx + 0x108c]
xor dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
mov ecx, edx
shr ecx, 0x18
mov byte [esi + 3], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 2], cl
mov ecx, edx
shr ecx, 8
mov byte [esi], dl
mov byte [esi + 1], cl
mov ecx, dword [ebp - 4]
mov edx, ecx
shr edx, 0x18
mov byte [esi + 7], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 6], dl
mov edx, ecx
shr edx, 8
mov byte [esi + 4], cl
mov byte [esi + 5], dl
mov ecx, ebx
shr ecx, 0x18
mov byte [esi + 0xb], cl
mov edx, ebx
shr edx, 0x10
mov byte [esi + 0xa], dl
mov ecx, ebx
shr ecx, 8
mov edx, eax
shr edx, 0x18
mov byte [esi + 9], cl
mov byte [esi + 0xf], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
pop edi
mov byte [esi + 8], bl
mov byte [esi + 0xe], cl
mov byte [esi + 0xd], dl
mov byte [esi + 0xc], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8