Function at 0x10132010
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xf4
mov eax, dword [0x1025f074]
xor eax, esp
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x104]
push esi
mov esi, dword [esp + 0x100]
mov dword [esp + 0xc0], edx
mov edx, dword [eax]
mov dword [esp + 0xbc], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 0xc]
push edi
mov edi, dword [eax + 4]
mov eax, dword [esi + 8]
lea esi, [edx*4]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x100]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x98], esi
mov ecx, dword [eax + 0x2c]
mov edx, ecx
mov eax, dword [eax + 8]
imul edx, edi
movss xmm2, dword [esp + 0x108]
add edx, eax
add edx, esi
lea esi, [edi + 1]
mov dword [esp + 0xbc], esi
imul esi, ecx
lea ecx, [esp + 0xd4]
add esi, eax
movzx eax, byte [edx + 3]
add esi, dword [esp + 0x98]
mov dword [esp + 0xc8], eax
mov dword [esp + 0xe4], eax
movzx eax, byte [edx + 7]
add edx, 8
mov dword [esp + 0xe8], eax
movzx eax, byte [esi + 3]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xf0], eax
movzx eax, byte [esi + 7]
add esi, 8
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0xc4]
mov dword [esp + 0xf4], eax
mov dword [esp + 0x94], edx
mov eax, dword [esi + 0x1c]
movq xmm0, qword [esi + 0x14]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x44]
push eax
movq qword [esp + 0xb0], xmm0
call fcn.1012ffc0
mov ecx, dword [esp + 0xc4]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], eax
lea eax, [esi + 8]
push eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x88]
movq qword [esp + 0x88], xmm0
push eax
call fcn.1012fc20
mov edi, dword [esp + 0x70]
mov ecx, dword [esp + 0x8c]
movss xmm3, dword [0x10226a70]
inc ecx
mov dword [esp + 0x8c], ecx
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0xb8]
dec eax
mov dword [esp + 0x78], eax
cmp ecx, eax
jge 0x10132365
sub eax, ecx
mov dword [esp + 0x68], 0x3f800000
mov dword [esp + 0xa4], eax
nop dword [eax]
mov edx, dword [esp + 0xc8]
mov ecx, edx
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0xcc]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xb8], edx
movzx edx, byte [eax + 3]
add eax, 4
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xe8], edx
movzx edx, byte [eax + 3]
add eax, 4
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xf4], edx
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xe8]
sub eax, ecx
movq qword [esp + 0xac], xmm0
add eax, eax
sub eax, esi
add eax, edx
movd xmm2, eax
mov eax, dword [esp + 0xcc]
sub eax, dword [esp + 0xc8]
add eax, eax
sub eax, ecx
sub eax, dword [esp + 0xe8]
add eax, esi
add eax, edx
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mulss xmm2, dword [0x1022622c]
mov eax, dword [esp + 0x68]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x5c], eax
xorps xmm2, xmm3
mulss xmm1, dword [0x10226268]
mulss xmm2, dword [esp + 0x108]
xorps xmm1, xmm3
mulss xmm1, dword [esp + 0x108]
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movq qword [esp + 0x54], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, dword [0x10226298]
addss xmm0, dword [0x10226194]
call fcn.1012fc00
movss xmm1, dword [esp + 0x5c]
movaps xmm3, xmm0
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc4]
mulss xmm1, xmm0
mulss xmm3, xmm2
movss xmm2, dword [esp + 0x5c]
movss dword [esp + 0x60], xmm1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0xb0]
mulss xmm2, xmm0
push eax
lea eax, [esp + 0x88]
push eax
unpcklps xmm3, xmm2
movq qword [esp + 0x8c], xmm3
call fcn.1012fc20
movss xmm3, dword [0x10226a70]
mov dword [edi], eax
add edi, 4
sub dword [esp + 0xa4], 1
jne 0x101321b0
mov esi, dword [esp + 0xc4]
mov eax, dword [esp + 0x90]
jmp 0x1013236c
mov eax, dword [esp + 0xd8]
movq xmm0, qword [esi + 0x14]
lea ecx, [esp + 0xd4]
movss xmm2, dword [esp + 0x108]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x44]
push eax
movq qword [esp + 0xb0], xmm0
call fcn.10130090
mov ecx, dword [esp + 0xc4]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x88], eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0xb0]
movq qword [esp + 0x84], xmm0
push eax
lea eax, [esp + 0x88]
push eax
call fcn.1012fc20
mov ecx, dword [esp + 0x74]
mov dword [edi], eax
dec ecx
mov eax, dword [esp + 0xbc]
add edi, 4
mov dword [esp + 0xb8], ecx
cmp eax, ecx
jge 0x1013297a
lea edx, [eax + 1]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x94], edx
nop
mov ecx, dword [esp + 0x100]
lea esi, [edx - 2]
mov eax, dword [ecx + 0x2c]
mov edx, eax
imul edx, dword [esp + 0xbc]
mov ecx, dword [ecx + 8]
imul esi, eax
add edx, ecx
add edx, dword [esp + 0x98]
mov dword [esp + 0xc8], edx
add esi, ecx
add esi, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
imul edx, eax
movzx eax, byte [esi + 7]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc8]
add edx, ecx
add edx, dword [esp + 0x98]
mov dword [esp + 0xa0], edx
movzx ecx, byte [eax + 3]
movzx edx, byte [esi + 3]
add esi, 8
mov dword [esp + 0x50], esi
movzx esi, byte [eax + 7]
add eax, 8
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x6c], esi
movzx eax, byte [eax + 3]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
movzx ecx, byte [eax + 7]
add eax, 8
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd0], ecx
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, esi
sub eax, dword [esp + 0xa4]
add eax, eax
movq qword [esp + 0xac], xmm0
sub eax, dword [esp + 0xa8]
sub eax, edx
add eax, ecx
add eax, dword [esp + 0xcc]
movd xmm3, eax
mov eax, dword [esp + 0xa8]
sub eax, edx
add eax, eax
sub eax, dword [esp + 0xcc]
add eax, ecx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mulss xmm3, dword [0x10226268]
mov eax, dword [esp + 0x1c]
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x5c], eax
xorps xmm3, xmmword [0x10226a70]
mulss xmm2, dword [0x1022622c]
mulss xmm3, dword [esp + 0x108]
xorps xmm2, xmmword [0x10226a70]
mulss xmm2, dword [esp + 0x108]
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [esp + 0x54], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm2
addss xmm0, xmm2
addss xmm0, dword [0x10226298]
addss xmm0, dword [0x10226194]
call fcn.1012fc00
movss xmm2, dword [esp + 0x58]
movss xmm1, dword [esp + 0x5c]
mulss xmm3, xmm0
mulss xmm2, xmm0
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc4]
mulss xmm1, xmm0
unpcklps xmm3, xmm2
movq qword [esp + 0x30], xmm3
movss dword [esp + 0x60], xmm1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1012fc20
mov ecx, dword [esp + 0x8c]
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], edi
cmp ecx, eax
jge 0x10132818
sub eax, ecx
mov dword [esp + 0x10], 0x3f800000
mov dword [esp + 0x90], eax
nop
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x50]
movss xmm3, dword [0x10226a70]
movzx edi, byte [eax + 3]
add eax, 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc8]
add dword [esp + 0xc8], 4
mov dword [esp + 0xcc], edi
movzx eax, byte [eax + 3]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa0]
add dword [esp + 0xa0], 4
movzx eax, byte [eax + 3]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xc4]
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x6c]
sub eax, ecx
movq qword [esp + 0xac], xmm0
add eax, eax
sub eax, esi
sub eax, edx
add eax, dword [esp + 0xd0]
add eax, edi
movd xmm2, eax
mov eax, dword [esp + 0xa8]
sub eax, dword [esp + 0x9c]
add eax, eax
sub eax, edi
sub eax, edx
add eax, esi
add eax, dword [esp + 0xd0]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
mulss xmm2, dword [0x10226218]
mov eax, dword [esp + 0x10]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x40], eax
xorps xmm2, xmm3
mulss xmm1, dword [0x10226218]
mulss xmm2, dword [esp + 0x108]
xorps xmm1, xmm3
mulss xmm1, dword [esp + 0x108]
movaps xmm0, xmm2
unpcklps xmm0, xmm1
movq qword [esp + 0x38], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, dword [0x10226298]
addss xmm0, dword [0x10226194]
call fcn.1012fc00
movss xmm1, dword [esp + 0x40]
movaps xmm3, xmm0
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc4]
mulss xmm1, xmm0
mulss xmm3, xmm2
movss xmm2, dword [esp + 0x40]
movss dword [esp + 0x44], xmm1
mov eax, dword [esp + 0x44]
mulss xmm2, xmm0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x28]
unpcklps xmm3, xmm2
movq qword [esp + 0x28], xmm3
push eax
call fcn.1012fc20
mov edi, dword [esp + 0x70]
mov dword [edi], eax
add edi, 4
sub dword [esp + 0x90], 1
mov dword [esp + 0x70], edi
jne 0x10132660
mov esi, dword [esp + 0x6c]
sub esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xc4]
add esi, esi
mov edx, dword [esp + 0xa8]
sub esi, edx
mov ecx, dword [esp + 0x9c]
sub esi, ecx
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0xd0]
add esi, eax
sub eax, dword [esp + 0xcc]
add esi, dword [esp + 0xcc]
add eax, eax
sub eax, ecx
movq qword [esp + 0xac], xmm0
add eax, edx
movd xmm3, esi
cvtdq2ps xmm3, xmm3
movd xmm1, eax
mulss xmm3, dword [0x10226268]
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x88], eax
xorps xmm3, xmmword [0x10226a70]
mulss xmm1, dword [0x1022622c]
mulss xmm3, dword [esp + 0x108]
xorps xmm1, xmmword [0x10226a70]
mulss xmm1, dword [esp + 0x108]
movaps xmm0, xmm3
unpcklps xmm0, xmm1
movq qword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm1
addss xmm0, xmm1
addss xmm0, dword [0x10226298]
addss xmm0, dword [0x10226194]
call fcn.1012fc00
movss xmm1, dword [esp + 0x88]
movss xmm2, dword [esp + 0x84]
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc4]
mulss xmm1, xmm0
mulss xmm3, xmm0
movss dword [esp + 0x8c], xmm1
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xb0]
mulss xmm2, xmm0
push eax
lea eax, [esp + 0x68]
push eax
unpcklps xmm3, xmm2
movq qword [esp + 0x6c], xmm3
call fcn.1012fc20
mov edx, dword [esp + 0x94]
mov dword [edi], eax
inc edx
mov eax, dword [esp + 0xbc]
add edi, 4
inc eax
mov dword [esp + 0x94], edx
mov dword [esp + 0xbc], eax
cmp eax, dword [esp + 0xb8]
jl 0x10132460
mov esi, dword [esp + 0xc4]
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0x74]
add edx, 0xfffffffe
movq xmm0, qword [esi + 0x14]
movss xmm2, dword [esp + 0x108]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 8]
imul edx, ecx
imul ecx, dword [esp + 0xb8]
movq qword [esp + 0xac], xmm0
add edx, eax
add edx, dword [esp + 0x98]
add ecx, eax
add ecx, dword [esp + 0x98]
movzx eax, byte [edx + 3]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xd8], eax
movzx eax, byte [edx + 7]
add edx, 8
mov dword [esp + 0xdc], eax
movzx eax, byte [ecx + 3]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xe4], eax
movzx eax, byte [ecx + 7]
add ecx, 8
mov dword [esp + 0xe8], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x74], ecx
lea ecx, [esp + 0xd4]
push eax
mov dword [esp + 0xbc], edx
call fcn.10130160
mov ecx, dword [esp + 0xc4]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0xb0]
movq qword [esp + 0x64], xmm0
push eax
lea eax, [esp + 0x68]
push eax
call fcn.1012fc20
mov ecx, dword [esp + 0x8c]
mov dword [edi], eax
add edi, 4
mov eax, dword [esp + 0x78]
cmp ecx, eax
jge 0x10132c32
sub eax, ecx
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x78], eax
nop
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0xd0]
mov ecx, esi
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x8c], esi
movzx esi, byte [eax + 3]
add eax, 4
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xdc], esi
movzx esi, byte [eax + 3]
add eax, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xe8], esi
movq xmm0, qword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0xb4], eax
mov eax, esi
sub eax, ecx
movq qword [esp + 0xac], xmm0
add eax, eax
sub eax, edx
add eax, dword [esp + 0xdc]
movd xmm3, eax
mov eax, dword [esp + 0xd0]
sub eax, dword [esp + 0xbc]
add eax, eax
sub eax, dword [esp + 0xdc]
sub eax, edx
add eax, esi
add eax, ecx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mulss xmm3, dword [0x1022622c]
mov eax, dword [esp + 0x4c]
cvtdq2ps xmm2, xmm2
mov dword [esp + 0x88], eax
xorps xmm3, xmmword [0x10226a70]
mulss xmm2, dword [0x10226268]
mulss xmm3, dword [esp + 0x108]
xorps xmm2, xmmword [0x10226a70]
mulss xmm2, dword [esp + 0x108]
movaps xmm0, xmm3
unpcklps xmm0, xmm2
movq qword [esp + 0x80], xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm2
addss xmm0, xmm2
addss xmm0, dword [0x10226298]
addss xmm0, dword [0x10226194]
call fcn.1012fc00
movss xmm1, dword [esp + 0x88]
movss xmm2, dword [esp + 0x84]
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc4]
mulss xmm1, xmm0
mulss xmm3, xmm0
movss dword [esp + 0x8c], xmm1
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0xb0]
mulss xmm2, xmm0
push eax
lea eax, [esp + 0x68]
push eax
unpcklps xmm3, xmm2
movq qword [esp + 0x6c], xmm3
call fcn.1012fc20
mov dword [edi], eax
add edi, 4
sub dword [esp + 0x78], 1
jne 0x10132a80
mov esi, dword [esp + 0xc4]
mov ecx, dword [esp + 0x90]
jmp 0x10132c39
mov ecx, dword [esp + 0xf0]
mov eax, dword [esp + 0xbc]
movq xmm0, qword [esi + 0x14]
movss xmm2, dword [esp + 0x108]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0xf0], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xec], ecx
lea ecx, [esp + 0xd4]
push eax
movq qword [esp + 0xb0], xmm0
call fcn.10130230
mov ecx, dword [esp + 0xc4]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x68], eax
lea eax, [esi + 8]
push eax
lea eax, [esp + 0xb0]
movq qword [esp + 0x64], xmm0
push eax
lea eax, [esp + 0x68]
push eax
call fcn.1012fc20
mov ecx, dword [esp + 0xf8]
mov dword [edi], eax
pop edi
pop esi
xor ecx, esp
call fcn.101b3122
add esp, 0xf4
ret