Function at 0x5e9b90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esp, [esp - 0x20]
mov dword [esp + 0x14], eax
mov eax, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
lea edx, [ecx + 0x28]
mov ecx, esp
call fcn.005e9b50
mov dword [esp + 0x18], 0xffffffff
nop
mov ecx, dword [esp + 0x18]
lea edx, [ecx + 1]
mov dword [esp + 0x18], edx
shl edx, 2
mov dword [esp + 0x1c], edx
mov esi, dword [esp + 0x14]
mov ebx, dword [esp]
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
mov edx, ebx
and edx, 0xff
mov ecx, dword [esi + ecx*4 + 0x4c8]
mov edx, dword [esi + edx*4 + 0xc8]
xor edx, ecx
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [esi + ecx*4 + 0x8c8]
mov ecx, ebx
shr ecx, 0x18
and ecx, 0xff
xor edx, dword [esi + ecx*4 + 0xcc8]
mov edi, edx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov edx, ecx
shr edx, 0x18
and edx, 0xff
mov esi, ecx
and esi, 0xff
mov edx, dword [ebx + edx*4 + 0xc8]
mov esi, dword [ebx + esi*4 + 0x4c8]
xor esi, edx
mov edx, ecx
shr edx, 8
and edx, 0xff
xor esi, dword [ebx + edx*4 + 0x8c8]
mov edx, ecx
shr edx, 0x10
and edx, 0xff
xor esi, dword [ebx + edx*4 + 0xcc8]
mov eax, esi
mov edx, dword [esp + 0xc]
rol edx, 1
mov dword [esp + 0xc], edx
lea ebx, [edi + eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
add ebx, dword [ecx + edx*4 + 0x48]
xor ebx, dword [esp + 8]
mov dword [esp + 8], ebx
mov edx, eax
shl edx, 1
add edx, edi
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
add edx, dword [ecx + ebx*4 + 0x4c]
xor edx, dword [esp + 0xc]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
ror edx, 1
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, ecx
shr edx, 8
and edx, 0xff
mov esi, ecx
and esi, 0xff
mov edx, dword [ebx + edx*4 + 0x4c8]
mov esi, dword [ebx + esi*4 + 0xc8]
xor esi, edx
mov edx, ecx
shr edx, 0x10
and edx, 0xff
xor esi, dword [ebx + edx*4 + 0x8c8]
mov edx, ecx
shr edx, 0x18
and edx, 0xff
xor esi, dword [ebx + edx*4 + 0xcc8]
mov edi, esi
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0xc]
mov edx, ebx
shr edx, 0x18
and edx, 0xff
mov ecx, ebx
and ecx, 0xff
mov edx, dword [esi + edx*4 + 0xc8]
mov ecx, dword [esi + ecx*4 + 0x4c8]
xor ecx, edx
mov edx, ebx
shr edx, 8
and edx, 0xff
xor ecx, dword [esi + edx*4 + 0x8c8]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
xor ecx, dword [esi + edx*4 + 0xcc8]
mov eax, ecx
mov edx, dword [esp + 4]
rol edx, 1
mov dword [esp + 4], edx
lea ebx, [edi + eax]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ebx, dword [edx + ecx*4 + 0x50]
xor ebx, dword [esp]
mov dword [esp], ebx
mov edx, eax
shl edx, 1
add edx, edi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add edx, dword [ebx + ecx*4 + 0x54]
xor edx, dword [esp + 4]
mov dword [esp + 4], edx
mov edx, dword [esp]
ror edx, 1
mov dword [esp], edx
cmp dword [esp + 0x18], 7
jl 0x5e9bb8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x38]
mov edx, dword [esp + 8]
xor edx, ecx
mov eax, dword [esp + 0x10]
mov dword [eax], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
xor edx, ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x40]
mov edx, dword [esp]
xor edx, ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x44]
mov edx, dword [esp + 4]
xor edx, ecx
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], edx
lea esp, [esp + 0x20]
pop edi
pop esi
pop ebx
ret