Function at 0x598b60
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff74
mov dword [esp + 4], edx
mov dword [esp], eax
mov ebx, dword [esp]
mov ebx, dword [ebx]
mov esi, dword [esp]
mov esi, dword [esi + 4]
mov edi, dword [esp]
mov edi, dword [edi + 8]
mov ebp, dword [esp]
mov ebp, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 8], eax
xor edx, edx
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x63289c]
mov dword [esp + 0x10], eax
mov eax, esi
and eax, edi
mov edx, esi
not edx
and edx, ebp
or eax, edx
mov edx, ebx
add edx, dword [esp + 0xc]
add edx, dword [esp + 0x10]
add eax, edx
shl eax, 7
mov edx, esi
and edx, edi
mov ecx, esi
not ecx
and ecx, ebp
or edx, ecx
add ebx, dword [esp + 0xc]
add ebx, dword [esp + 0x10]
add edx, ebx
shr edx, 0x19
or eax, edx
add eax, esi
mov ebx, eax
mov edx, 1
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x6328a0]
mov dword [esp + 0x18], eax
mov eax, ebx
and eax, esi
mov edx, ebx
not edx
and edx, edi
or eax, edx
mov edx, ebp
add edx, dword [esp + 0x14]
add edx, dword [esp + 0x18]
add eax, edx
shl eax, 0xc
mov edx, ebx
and edx, esi
mov ecx, ebx
not ecx
and ecx, edi
or edx, ecx
add ebp, dword [esp + 0x14]
add ebp, dword [esp + 0x18]
add edx, ebp
shr edx, 0x14
or eax, edx
add eax, ebx
mov ebp, eax
mov edx, 2
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x6328a4]
mov dword [esp + 0x20], eax
mov eax, ebp
and eax, ebx
mov edx, ebp
not edx
and edx, esi
or eax, edx
mov edx, edi
add edx, dword [esp + 0x1c]
add edx, dword [esp + 0x20]
add eax, edx
shl eax, 0x11
mov edx, ebp
and edx, ebx
mov ecx, ebp
not ecx
and ecx, esi
or edx, ecx
add edi, dword [esp + 0x1c]
add edi, dword [esp + 0x20]
add edx, edi
shr edx, 0xf
or eax, edx
add eax, ebp
mov edi, eax
mov edx, 3
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x6328a8]
mov dword [esp + 0x28], eax
mov eax, edi
and eax, ebp
mov edx, edi
not edx
and edx, ebx
or eax, edx
mov edx, esi
add edx, dword [esp + 0x24]
add edx, dword [esp + 0x28]
add eax, edx
shl eax, 0x16
mov edx, edi
and edx, ebp
mov ecx, edi
not ecx
and ecx, ebx
or edx, ecx
add esi, dword [esp + 0x24]
add esi, dword [esp + 0x28]
add edx, esi
shr edx, 0xa
or eax, edx
add eax, edi
mov esi, eax
inc dword [esp + 8]
cmp dword [esp + 8], 4
jne 0x598b8e
xor eax, eax
mov dword [esp + 8], eax
mov edx, 1
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x6328dc]
mov dword [esp + 0x30], eax
mov eax, esi
and eax, ebp
mov edx, ebp
not edx
and edx, edi
or eax, edx
mov edx, ebx
add edx, dword [esp + 0x2c]
add edx, dword [esp + 0x30]
add eax, edx
shl eax, 5
mov edx, esi
and edx, ebp
mov ecx, ebp
not ecx
and ecx, edi
or edx, ecx
add ebx, dword [esp + 0x2c]
add ebx, dword [esp + 0x30]
add edx, ebx
shr edx, 0x1b
or eax, edx
add eax, esi
mov ebx, eax
mov edx, 6
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x6328e0]
mov dword [esp + 0x38], eax
mov eax, ebx
and eax, edi
mov edx, edi
not edx
and edx, esi
or eax, edx
mov edx, ebp
add edx, dword [esp + 0x34]
add edx, dword [esp + 0x38]
add eax, edx
shl eax, 9
mov edx, ebx
and edx, edi
mov ecx, edi
not ecx
and ecx, esi
or edx, ecx
add ebp, dword [esp + 0x34]
add ebp, dword [esp + 0x38]
add edx, ebp
shr edx, 0x17
or eax, edx
add eax, ebx
mov ebp, eax
mov edx, 0xb
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + str.QZ]
mov dword [esp + 0x40], eax
mov eax, ebp
and eax, esi
mov edx, esi
not edx
and edx, ebx
or eax, edx
mov edx, edi
add edx, dword [esp + 0x3c]
add edx, dword [esp + 0x40]
add eax, edx
shl eax, 0xe
mov edx, ebp
and edx, esi
mov ecx, esi
not ecx
and ecx, ebx
or edx, ecx
add edi, dword [esp + 0x3c]
add edi, dword [esp + 0x40]
add edx, edi
shr edx, 0x12
or eax, edx
add eax, ebp
mov edi, eax
xor edx, edx
mov eax, dword [esp + 8]
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x6328e8]
mov dword [esp + 0x48], eax
mov eax, edi
and eax, ebx
mov edx, ebx
not edx
and edx, ebp
or eax, edx
mov edx, esi
add edx, dword [esp + 0x44]
add edx, dword [esp + 0x48]
add eax, edx
shl eax, 0x14
mov edx, edi
and edx, ebx
mov ecx, ebx
not ecx
and ecx, ebp
or edx, ecx
add esi, dword [esp + 0x44]
add esi, dword [esp + 0x48]
add edx, esi
shr edx, 0xc
or eax, edx
add eax, edi
mov esi, eax
inc dword [esp + 8]
cmp dword [esp + 8], 4
jne 0x598d38
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
neg eax
mov edx, 5
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x63291c]
mov dword [esp + 0x50], eax
mov eax, ebx
add eax, dword [esp + 0x4c]
add eax, dword [esp + 0x50]
mov edx, esi
xor edx, edi
xor edx, ebp
add eax, edx
shl eax, 4
add ebx, dword [esp + 0x4c]
add ebx, dword [esp + 0x50]
mov edx, esi
xor edx, edi
xor edx, ebp
add ebx, edx
shr ebx, 0x1c
or eax, ebx
add eax, esi
mov ebx, eax
mov eax, dword [esp + 8]
neg eax
mov edx, 8
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x632920]
mov dword [esp + 0x58], eax
mov eax, ebp
add eax, dword [esp + 0x54]
add eax, dword [esp + 0x58]
mov edx, ebx
xor edx, esi
xor edx, edi
add eax, edx
shl eax, 0xb
add ebp, dword [esp + 0x54]
add ebp, dword [esp + 0x58]
mov edx, ebx
xor edx, esi
xor edx, edi
add ebp, edx
shr ebp, 0x15
or eax, ebp
add eax, ebx
mov ebp, eax
mov eax, dword [esp + 8]
neg eax
mov edx, 0xb
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x632924]
mov dword [esp + 0x60], eax
mov eax, edi
add eax, dword [esp + 0x5c]
add eax, dword [esp + 0x60]
mov edx, ebp
xor edx, ebx
xor edx, esi
add eax, edx
shl eax, 0x10
add edi, dword [esp + 0x5c]
add edi, dword [esp + 0x60]
mov edx, ebp
xor edx, ebx
xor edx, esi
add edi, edx
shr edi, 0x10
or eax, edi
add eax, ebp
mov edi, eax
mov eax, dword [esp + 8]
neg eax
mov edx, 0xe
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x632928]
mov dword [esp + 0x68], eax
mov eax, esi
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x68]
mov edx, edi
xor edx, ebp
xor edx, ebx
add eax, edx
shl eax, 0x17
add esi, dword [esp + 0x64]
add esi, dword [esp + 0x68]
mov edx, edi
xor edx, ebp
xor edx, ebx
add esi, edx
shr esi, 9
or eax, esi
add eax, edi
mov esi, eax
inc dword [esp + 8]
cmp dword [esp + 8], 4
jne 0x598ee2
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
neg eax
xor edx, edx
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x63295c]
mov dword [esp + 0x70], eax
mov eax, ebx
add eax, dword [esp + 0x6c]
add eax, dword [esp + 0x70]
mov edx, ebp
not edx
or edx, esi
xor edx, edi
add eax, edx
shl eax, 6
add ebx, dword [esp + 0x6c]
add ebx, dword [esp + 0x70]
mov edx, ebp
not edx
or edx, esi
xor edx, edi
add ebx, edx
shr ebx, 0x1a
or eax, ebx
add eax, esi
mov ebx, eax
mov eax, dword [esp + 8]
neg eax
mov edx, 7
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x632960]
mov dword [esp + 0x78], eax
mov eax, ebp
add eax, dword [esp + 0x74]
add eax, dword [esp + 0x78]
mov edx, edi
not edx
or edx, ebx
xor edx, esi
add eax, edx
shl eax, 0xa
add ebp, dword [esp + 0x74]
add ebp, dword [esp + 0x78]
mov edx, edi
not edx
or edx, ebx
xor edx, esi
add ebp, edx
shr ebp, 0x16
or eax, ebp
add eax, ebx
mov ebp, eax
mov eax, dword [esp + 8]
neg eax
mov edx, 0xe
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x632964]
mov dword [esp + 0x80], eax
mov eax, edi
add eax, dword [esp + 0x7c]
add eax, dword [esp + 0x80]
mov edx, esi
not edx
or edx, ebp
xor edx, ebx
add eax, edx
shl eax, 0xf
add edi, dword [esp + 0x7c]
add edi, dword [esp + 0x80]
mov edx, esi
not edx
or edx, ebp
xor edx, ebx
add edi, edx
shr edi, 0x11
or eax, edi
add eax, ebp
mov edi, eax
mov eax, dword [esp + 8]
neg eax
mov edx, 5
call fcn.00598b48
mov edx, dword [esp + 4]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 8]
add eax, eax
add eax, eax
mov eax, dword [eax*4 + 0x632968]
mov dword [esp + 0x88], eax
mov eax, esi
add eax, dword [esp + 0x84]
add eax, dword [esp + 0x88]
mov edx, ebx
not edx
or edx, edi
xor edx, ebp
add eax, edx
shl eax, 0x15
add esi, dword [esp + 0x84]
add esi, dword [esp + 0x88]
mov edx, ebx
not edx
or edx, edi
xor edx, ebp
add esi, edx
shr esi, 0xb
or eax, esi
add eax, edi
mov esi, eax
inc dword [esp + 8]
cmp dword [esp + 8], 4
jne 0x599067
mov eax, dword [esp]
add dword [eax], ebx
mov eax, dword [esp]
add dword [eax + 4], esi
mov eax, dword [esp]
add dword [eax + 8], edi
mov eax, dword [esp]
add dword [eax + 0xc], ebp
add esp, 0x8c
pop ebp
pop edi
pop esi
pop ebx
ret