Function at 0x5b87a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff24
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
push ebp
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb30]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
not edx
and edx, dword [ebp - 0x18]
or eax, edx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x20]
add edx, dword [ebp - 0x24]
add eax, edx
shl eax, 7
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
not ecx
and ecx, dword [ebp - 0x18]
or edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
add edx, ecx
shr edx, 0x19
or eax, edx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc], eax
push ebp
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb34]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
not edx
and edx, dword [ebp - 0x14]
or eax, edx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x30]
add eax, edx
shl eax, 0xc
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
not ecx
and ecx, dword [ebp - 0x14]
or edx, ecx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
add edx, ecx
shr edx, 0x14
or eax, edx
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
push ebp
mov edx, 2
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
not edx
and edx, dword [ebp - 0x10]
or eax, edx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x3c]
add eax, edx
shl eax, 0x11
mov edx, dword [ebp - 0x18]
and edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
not ecx
and ecx, dword [ebp - 0x10]
or edx, ecx
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x3c]
add edx, ecx
shr edx, 0xf
or eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x14], eax
push ebp
mov edx, 3
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
not edx
and edx, dword [ebp - 0xc]
or eax, edx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x48]
add eax, edx
shl eax, 0x16
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
not ecx
and ecx, dword [ebp - 0xc]
or edx, ecx
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x48]
add edx, ecx
shr edx, 0xa
or eax, edx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x5b87df
xor eax, eax
mov dword [ebp - 0x1c], eax
push ebp
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb70]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
not edx
and edx, dword [ebp - 0x14]
or eax, edx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x54]
add eax, edx
shl eax, 5
mov edx, dword [ebp - 0x10]
and edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
not ecx
and ecx, dword [ebp - 0x14]
or edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x54]
add edx, ecx
shr edx, 0x1b
or eax, edx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc], eax
push ebp
mov edx, 6
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb74]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
and eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x14]
not edx
and edx, dword [ebp - 0x10]
or eax, edx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x60]
add eax, edx
shl eax, 9
mov edx, dword [ebp - 0xc]
and edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
not ecx
and ecx, dword [ebp - 0x10]
or edx, ecx
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x60]
add edx, ecx
shr edx, 0x17
or eax, edx
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
push ebp
mov edx, 0xb
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + str.QZ]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
not edx
and edx, dword [ebp - 0xc]
or eax, edx
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x68]
add edx, dword [ebp - 0x6c]
add eax, edx
shl eax, 0xe
mov edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
not ecx
and ecx, dword [ebp - 0xc]
or edx, ecx
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x68]
add ecx, dword [ebp - 0x6c]
add edx, ecx
shr edx, 0x12
or eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
push ebp
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecb7c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
not edx
and edx, dword [ebp - 0x18]
or eax, edx
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x78]
add eax, edx
shl eax, 0x14
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
not ecx
and ecx, dword [ebp - 0x18]
or edx, ecx
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x78]
add edx, ecx
shr edx, 0xc
or eax, edx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x5b89b6
xor eax, eax
mov dword [ebp - 0x1c], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 5
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbb0]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x84]
mov edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
add eax, edx
shl eax, 4
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x80]
add edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x18]
add edx, ecx
shr edx, 0x1c
or eax, edx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 8
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbb4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x8c]
add eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x14]
add eax, edx
shl eax, 0xb
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x8c]
add edx, dword [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x14]
add edx, ecx
shr edx, 0x15
or eax, edx
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x18], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 0xb
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbb8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x98]
add eax, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
add eax, edx
shl eax, 0x10
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x98]
add edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x10]
add edx, ecx
shr edx, 0x10
or eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x14], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 0xe
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbbc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xa4]
add eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add eax, edx
shl eax, 0x17
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xa4]
add edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0xc]
add edx, ecx
shr edx, 9
or eax, edx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x5b8b8d
xor eax, eax
mov dword [ebp - 0x1c], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
xor edx, edx
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbf0]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x18]
not edx
or edx, dword [ebp - 0x10]
xor edx, dword [ebp - 0x14]
add eax, edx
shl eax, 6
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x18]
not ecx
or ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x14]
add edx, ecx
shr edx, 0x1a
or eax, edx
add eax, dword [ebp - 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 7
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbf4]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xbc]
add eax, dword [ebp - 0xc0]
mov edx, dword [ebp - 0x14]
not edx
or edx, dword [ebp - 0xc]
xor edx, dword [ebp - 0x10]
add eax, edx
shl eax, 0xa
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0xbc]
add edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x14]
not ecx
or ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x10]
add edx, ecx
shr edx, 0x16
or eax, edx
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x18], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 0xe
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbf8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc8]
add eax, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x10]
not edx
or edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
add eax, edx
shl eax, 0xf
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0xc8]
add edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x10]
not ecx
or ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0xc]
add edx, ecx
shr edx, 0x11
or eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x14], eax
push ebp
mov eax, dword [ebp - 0x1c]
neg eax
mov edx, 5
call fcn.005b8774
pop ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1c]
shl eax, 2
mov eax, dword [eax*4 + 0x5ecbfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xd4]
add eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xc]
not edx
or edx, dword [ebp - 0x14]
xor edx, dword [ebp - 0x18]
add eax, edx
shl eax, 0x15
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xd4]
add edx, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc]
not ecx
or ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0x18]
add edx, ecx
shr edx, 0xb
or eax, edx
add eax, dword [ebp - 0x14]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 4
jne 0x5b8d8e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
add dword [eax], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0xc], edx
mov esp, ebp
pop ebp
ret