Function at 0x5a46e5
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0x9e3779b9
mov dword [esp + 0x24], 0x3c6ef373
mov dword [esp + 0x28], 0x78dde6e6
mov dword [esp + 0x2c], 0xf1bbcdcc
mov dword [esp + 0x30], 0xe3779b99
mov dword [esp + 0x34], 0xc6ef3733
mov dword [esp + 0x38], 0x8dde6e67
mov dword [esp + 0x3c], 0x1bbcdccf
mov dword [esp + 0x40], 0x3779b99e
mov dword [esp + 0x44], 0x6ef3733c
mov dword [esp + 0x48], 0xdde6e678
mov dword [esp + 0x4c], 0xbbcdccf1
mov dword [esp + 0x50], 0x779b99e3
mov dword [esp + 0x54], 0xef3733c6
mov dword [esp + 0x58], 0xde6e678d
mov dword [esp + 0x5c], 0xbcdccf1b
call fcn.00595890
mov edx, dword [esp + 0x64]
xor ecx, ecx
jmp 0x5a4780
mov eax, dword [ecx + edx]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
bswap eax
mov edi, dword [esp + 0x10]
mov dword [ecx + edi], eax
add ecx, 4
cmp ecx, 0x10
jne 0x5a4780
xor ecx, ecx
lea edi, [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
mov ebp, dword [edi - 4]
sub eax, ebp
add eax, dword [edx]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + str.880_b_]
xor edx, dword [ebx*4 + 0x5ebb40]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + str.0_b88]
movzx eax, al
xor edx, dword [eax*4 + 0x5eb340]
mov eax, dword [esi + 0x14]
mov dword [ecx + eax], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
sub eax, dword [edx + 0xc]
mov edx, dword [esi + 0x14]
add eax, ebp
lea ebp, [ecx + edx]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + str.880_b_]
xor edx, dword [ebx*4 + 0x5ebb40]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + str.0_b88]
movzx eax, al
xor edx, dword [eax*4 + 0x5eb340]
xor edx, dword [ebp]
mov dword [ebp + 4], edx
mov eax, dword [esp + 0x10]
movzx ebx, byte [eax + 4]
mov ebp, dword [eax]
mov dl, byte [eax]
shl ebx, 0x18
movzx edx, dl
shr ebp, 8
or ebx, ebp
mov dword [eax], ebx
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 4]
mov ebp, dword [edi]
shl edx, 0x18
shr ebx, 8
or edx, ebx
mov dword [eax + 4], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 8]
sub eax, ebp
add eax, dword [edx]
mov ebx, eax
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + str.880_b_]
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [ebx*4 + 0x5ebb40]
mov ebx, eax
shr ebx, 8
movzx eax, al
movzx ebx, bl
xor edx, dword [ebx*4 + str.0_b88]
xor edx, dword [eax*4 + 0x5eb340]
mov eax, dword [esi + 0x14]
mov dword [ecx + eax + 8], edx
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
sub eax, dword [edx + 0xc]
mov edx, dword [esi + 0x14]
add eax, ebp
lea ebp, [ecx + edx]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
mov edx, eax
shr edx, 0x18
mov edx, dword [edx*4 + str.880_b_]
xor edx, dword [ebx*4 + 0x5ebb40]
mov ebx, eax
shr ebx, 8
movzx ebx, bl
xor edx, dword [ebx*4 + str.0_b88]
movzx eax, al
xor edx, dword [eax*4 + 0x5eb340]
add ecx, 0x10
xor edx, dword [ebp + 8]
add edi, 8
mov dword [ebp + 0xc], edx
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
movzx ebp, byte [ebx + 0xb]
mov edx, eax
shl eax, 8
or ebp, eax
mov dword [ebx + 0xc], ebp
mov eax, dword [esp + 0x10]
mov ebx, dword [eax + 8]
shr edx, 0x18
movzx edx, dl
shl ebx, 8
or ebx, edx
mov dword [eax + 8], ebx
cmp ecx, 0x80
jne 0x5a47a2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add edx, edx
add edx, edx
push edx
mov edx, dword [esp + 0x14]
push edx
call eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 8