Function at 0x59707c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov eax, dword [0x1012014c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x7a879d8a
movaps xmm0, xmmword [0x100f3840]
mov ecx, 0x30
push ebx
push esi
push edi
lea edi, [ebp - 0x1d4]
mov ebx, dword [ebp + 8]
movups xmmword [ebp - 0x214], xmm0
mov dword [ebp - 0x33c], ebx
movups xmmword [ebp - 0x204], xmm0
movups xmmword [ebp - 0x1f4], xmm0
movups xmmword [ebp - 0x1e4], xmm0
rep stosd dword es:[edi], eax
movzx ecx, byte [edx]
shl ecx, 8
movzx eax, byte [edx + 1]
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x114], ecx
movzx ecx, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
mov dword [ebp - 0x110], ecx
movzx ecx, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
mov dword [ebp - 0x10c], ecx
movzx ecx, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
mov dword [ebp - 0x108], ecx
movzx ecx, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
mov dword [ebp - 0x104], ecx
movzx ecx, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x100], ecx
movzx ecx, byte [edx + 0x18]
shl ecx, 8
movzx eax, byte [edx + 0x19]
or ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
mov dword [ebp - 0xfc], ecx
movzx ecx, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x21]
mov dword [ebp - 0xf8], ecx
movzx ecx, byte [edx + 0x20]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x22]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x23]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x25]
mov dword [ebp - 0xf4], ecx
movzx ecx, byte [edx + 0x24]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x26]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x27]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x29]
mov dword [ebp - 0xf0], ecx
movzx ecx, byte [edx + 0x28]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2d]
mov dword [ebp - 0xec], ecx
movzx ecx, byte [edx + 0x2c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x2f]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x31]
mov dword [ebp - 0xe8], ecx
movzx ecx, byte [edx + 0x30]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x32]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x33]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x35]
mov dword [ebp - 0xe4], ecx
movzx ecx, byte [edx + 0x34]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x36]
lea esi, [ebp - 0x114]
shl ecx, 8
mov edi, 0x34
or ecx, eax
movzx eax, byte [edx + 0x37]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x39]
mov dword [ebp - 0xe0], ecx
movzx ecx, byte [edx + 0x38]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3a]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3b]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3d]
mov dword [ebp - 0xdc], ecx
movzx ecx, byte [edx + 0x3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x3f]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0xd8], ecx
mov edx, dword [esi + 0x34]
lea esi, [esi + 4]
mov ecx, dword [esi + 8]
rol edx, 0xf
xor edx, dword [esi + 0x18]
xor edx, dword [esi - 4]
rol ecx, 7
mov eax, edx
rol eax, 0xf
xor ecx, eax
mov eax, edx
ror eax, 9
xor ecx, eax
xor ecx, dword [esi + 0x24]
xor ecx, edx
mov dword [esi + 0x3c], ecx
sub edi, 1
jne 0x59732d
xor eax, eax
nop dword [eax]
nop word [eax + eax]
movups xmm1, xmmword [ebp + eax - 0x104]
movups xmm0, xmmword [ebp + eax - 0x114]
movups xmm2, xmmword [ebp + eax - 0xf4]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x314], xmm0
pxor xmm1, xmm2
movups xmmword [ebp + eax - 0x304], xmm1
movups xmm1, xmmword [ebp + eax - 0xe4]
movaps xmm0, xmm1
pxor xmm0, xmm2
movups xmmword [ebp + eax - 0x2f4], xmm0
movups xmm0, xmmword [ebp + eax - 0xd4]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x2e4], xmm0
add eax, 0x40
cmp eax, 0x100
jl 0x59736c
mov eax, dword [ebx + 8]
xor ecx, ecx
mov dword [ebp - 0x338], eax
mov edx, eax
mov dword [ebp - 0x324], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x318], eax
mov eax, dword [ebx + 0x10]
mov esi, eax
mov dword [ebp - 0x344], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x32c], eax
mov eax, dword [ebx + 0x18]
mov edi, eax
mov dword [ebp - 0x34c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x350], eax
mov dword [ebp - 0x31c], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x354], eax
mov dword [ebp - 0x328], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x358], eax
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x320], ecx
nop
mov eax, edx
mov ebx, esi
mov edx, dword [ebp + ecx*4 - 0x214]
xor ebx, dword [ebp - 0x318]
xor ebx, dword [ebp - 0x324]
rol edx, cl
rol eax, 0xc
add edx, eax
add edx, edi
rol edx, 7
xor eax, edx
add ebx, eax
mov eax, dword [ebp - 0x328]
add ebx, dword [ebp + ecx*4 - 0x314]
mov ecx, eax
add ebx, dword [ebp - 0x32c]
xor ecx, dword [ebp - 0x31c]
xor ecx, edi
mov dword [ebp - 0x334], ebx
mov ebx, dword [ebp - 0x320]
mov dword [ebp - 0x32c], esi
mov esi, dword [ebp - 0x318]
rol esi, 9
add ecx, dword [ebp + ebx*4 - 0x114]
mov ebx, dword [ebp - 0x334]
add ecx, edx
add ecx, dword [ebp - 0x330]
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x31c]
ror eax, 0xd
mov dword [ebp - 0x31c], edi
mov edi, ecx
mov dword [ebp - 0x328], eax
mov eax, ecx
ror edi, 0xf
rol eax, 9
xor edi, eax
mov dword [ebp - 0x318], edx
xor edi, ecx
mov edx, ebx
mov ecx, dword [ebp - 0x320]
inc ecx
mov dword [ebp - 0x324], edx
mov dword [ebp - 0x320], ecx
cmp ecx, 0x10
jl 0x59744c
mov eax, 0x10
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x334], eax
nop dword [eax + eax]
mov esi, dword [ebp + eax*4 - 0x214]
mov ecx, eax
rol esi, cl
mov edx, ebx
rol edx, 0xc
mov eax, ebx
or eax, dword [ebp - 0x318]
add esi, edx
and eax, dword [ebp - 0x320]
add esi, edi
and ebx, dword [ebp - 0x318]
mov ecx, edi
or ebx, eax
rol esi, 7
mov eax, dword [ebp - 0x31c]
xor edx, esi
and eax, edi
add ebx, edx
mov edx, dword [ebp - 0x334]
not ecx
and ecx, dword [ebp - 0x328]
or ecx, eax
mov eax, dword [ebp - 0x320]
add ebx, dword [ebp + edx*4 - 0x314]
add ecx, dword [ebp + edx*4 - 0x114]
add ebx, dword [ebp - 0x32c]
add ecx, esi
add ecx, dword [ebp - 0x330]
mov edx, dword [ebp - 0x318]
mov esi, dword [ebp - 0x31c]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x328]
mov dword [ebp - 0x330], eax
mov eax, ecx
mov dword [ebp - 0x31c], edi
mov edi, ecx
rol eax, 9
ror edi, 0xf
xor edi, eax
rol edx, 9
mov eax, dword [ebp - 0x334]
xor edi, ecx
inc eax
ror esi, 0xd
mov dword [ebp - 0x320], edx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x328], esi
mov dword [ebp - 0x334], eax
cmp eax, 0x40
jl 0x59752c
mov eax, dword [ebp - 0x33c]
mov ecx, dword [ebp - 0x338]
xor ecx, ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x340]
xor ecx, dword [ebp - 0x318]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x344]
xor ecx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x348]
xor ecx, dword [ebp - 0x32c]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x34c]
xor ecx, edi
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x350]
xor ecx, dword [ebp - 0x31c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x354]
xor ecx, esi
mov dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x358]
xor ecx, dword [ebp - 0x330]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059fbd9
mov esp, ebp
pop ebp
ret