Function at 0x100a43f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x1015f6c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov dword [ebp - 8], edx
cmp dword [edx + 0xc44], 1
jb 0x100a4bd2
mov ecx, dword [edx + 0xc48]
mov eax, dword [edx + 0xc40]
push esi
push edi
lea edi, [edx + 0xc40]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], esi
test ecx, ecx
je 0x100a4bb7
lea eax, [edx + 0x21c]
mov dword [ebp - 0x48], eax
mov eax, ecx
mov edi, 0x80
mov ecx, dword [edx + 0x18]
sub eax, esi
sub edi, ecx
mov dword [ebp - 0x10], ecx
cmp edi, eax
cmova edi, eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x44], edi
lea ecx, [eax + ecx*4]
mov eax, dword [ebp + 0xc]
lea eax, [eax + esi*4]
lea esi, [edi*4]
mov dword [ebp - 0x30], esi
test edi, edi
je 0x100a448b
push esi
push eax
push ecx
call fcn.100c0fd0
mov edx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [edx + 0x18]
jmp 0x100a4491
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov dword [ebp - 0x34], 0
cmp dword [ecx], 0
jbe 0x100a46b5
mov eax, esi
shr eax, 2
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 0x428]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x41c]
mov dword [ebp - 0x3c], eax
mov eax, ecx
mov ecx, dword [ebp - 0x28]
add ecx, 4
lea ecx, [eax + ecx*4]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x28]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
add eax, esi
mov dword [ebp - 0xc], eax
jmp 0x100a44e4
mov eax, dword [ebp - 0xc]
lea edi, [edi + 8]
mov esi, ecx
lea edi, [edx + edi*4]
cmp ecx, eax
je 0x100a454d
mov edx, dword [ebp - 0x3c]
xorps xmm3, xmm3
sub edx, edi
nop dword [eax + eax]
movaps xmm2, xmm3
mov eax, edi
mov ecx, 0x20
nop word [eax + eax]
movups xmm0, xmmword [eax]
movups xmm1, xmmword [edx + eax]
add eax, 0x10
mulps xmm1, xmm0
addps xmm2, xmm1
sub ecx, 1
jne 0x100a4510
movaps xmm1, xmm2
add edi, 4
shufps xmm1, xmm2, 0x1b
sub edx, 4
addps xmm1, xmm2
movaps xmm0, xmm1
movhlps xmm0, xmm1
addps xmm0, xmm1
movss dword [esi], xmm0
add esi, 4
cmp esi, dword [ebp - 0xc]
jne 0x100a4500
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x14]
lea ecx, [ecx + eax*4]
mov dword [ebp - 0x2c], 0
add edx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], edx
mov edx, esi
cmp ecx, dword [ebp - 0x38]
mov dword [ebp - 0x40], 0
cmova edi, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x2c], 0
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
je 0x100a4653
mov eax, edi
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [edi + 0x18]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
cmp edi, 0x10
jb 0x100a4653
mov eax, esi
lea eax, [eax + edi*4]
add eax, 0xfffffffc
mov dword [ebp - 0x10], eax
lea eax, [edi - 1]
lea eax, [ecx + eax*4]
cmp esi, eax
ja 0x100a45e0
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov edi, dword [edi + 0x18]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x10], ecx
jae 0x100a4653
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], eax
ja 0x100a45f2
mov eax, dword [ebp - 8]
mov edi, dword [eax + 0x18]
mov eax, edi
jmp 0x100a4656
mov eax, dword [ebp - 0x40]
and edi, 0xfffffff0
nop dword [eax + eax]
movups xmm0, xmmword [ecx]
add eax, 0x10
movups xmm1, xmmword [edx]
addps xmm1, xmm0
movups xmmword [esi], xmm1
movups xmm0, xmmword [ecx + 0x10]
movups xmm1, xmmword [edx + 0x10]
addps xmm1, xmm0
movups xmmword [esi + 0x10], xmm1
movups xmm0, xmmword [ecx + 0x20]
movups xmm1, xmmword [edx + 0x20]
addps xmm1, xmm0
movups xmmword [esi + 0x20], xmm1
movups xmm1, xmmword [edx + 0x30]
add edx, 0x40
movups xmm0, xmmword [ecx + 0x30]
add ecx, 0x40
addps xmm1, xmm0
movups xmmword [esi + 0x30], xmm1
add esi, 0x40
cmp eax, edi
jne 0x100a4600
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov edi, eax
jmp 0x100a4656
mov edi, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x38]
je 0x100a467f
mov eax, dword [ebp - 0x38]
sub esi, edx
movss xmm0, dword [edx]
addss xmm0, dword [ecx]
add ecx, 4
movss dword [esi + edx], xmm0
add edx, 4
cmp ecx, eax
jne 0x100a4660
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
mov edi, eax
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
inc esi
add dword [ebp - 0xc], 0x10a0
add ecx, 0x10a0
add dword [ebp - 0x3c], 0x200
add dword [ebp - 0x1c], 0x400
cmp esi, dword [edx]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], ecx
jb 0x100a44e1
mov ecx, dword [ebp - 0x44]
add eax, ecx
add dword [ebp - 0x28], ecx
mov dword [edx + 0x18], eax
cmp eax, 0x80
jb 0x100a4bab
push 0x200
push dword [ebp - 0x48]
lea eax, [edx + 0x1c]
mov dword [edx + 0x18], 0
push eax
call fcn.100c0fd0
mov esi, dword [ebp - 8]
add esp, 0xc
lea edx, [esi + 0x1c]
mov edi, 0x7f
lea eax, [esi + 0x440]
mov ecx, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edx]
mov dword [ecx + 4], 0
mov dword [ecx], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x44], eax
add ecx, 8
mov eax, dword [edx + 4]
lea edx, [edx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], 0
add ecx, 8
sub edi, 1
jne 0x100a4710
lea edx, [esi + 0xc40]
cmp ecx, edx
je 0x100a4757
add ecx, 4
nop dword [eax]
nop dword [eax + eax]
mov dword [ecx - 4], 0
mov dword [ecx], 0
add ecx, 8
lea eax, [ecx - 4]
cmp eax, edx
jne 0x100a4740
push ecx
lea edi, [esi + 0x440]
mov dword [esp], 0xbf800000
lea eax, [edi + 0x800]
push eax
push edi
mov dword [ebp - 0x40], eax
call fcn.100bb440
imul eax, dword [ebp - 0x18], 0x408
push 0x408
push edi
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0xc4c]
mov edi, dword [ebp - 0x30]
add eax, edi
push eax
call fcn.100c0fd0
mov eax, dword [ebp - 0x24]
mov edx, esi
add esp, 0x18
mov dword [ebp - 0x34], 0
imul esi, dword [edx + 0xc44], 0x408
add esi, dword [edx + 0xc4c]
cmp dword [eax], 0
jbe 0x100a4b8a
mov dword [ebp - 0xc], 0
nop word [eax + eax]
mov eax, dword [ebp - 0x44]
mov ecx, 0x81
nop dword [eax + eax]
mov dword [eax - 4], 0
lea eax, [eax + 8]
mov dword [eax - 8], 0
sub ecx, 1
jne 0x100a47e0
mov ecx, dword [edx + 0xc4c]
mov eax, dword [ebp - 0x18]
add ecx, edi
mov edi, eax
cmp eax, dword [edx + 0xc44]
jae 0x100a487f
nop dword [eax + eax]
mov eax, dword [ebp - 0x1c]
mov edx, 0x81
nop dword [eax + eax]
movss xmm5, dword [ecx]
movss xmm3, dword [ecx + 4]
add ecx, 8
movss xmm4, dword [esi]
movss xmm2, dword [esi + 4]
movaps xmm1, xmm4
movaps xmm0, xmm2
mulss xmm1, xmm5
add esi, 8
mulss xmm4, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm5
subss xmm1, xmm0
addss xmm4, xmm2
addss xmm1, dword [eax]
addss xmm4, dword [eax + 4]
movss dword [eax], xmm1
movss dword [eax + 4], xmm4
add eax, 8
sub edx, 1
jne 0x100a4820
mov edx, dword [ebp - 8]
inc edi
cmp edi, dword [edx + 0xc44]
jb 0x100a4810
mov eax, dword [ebp - 0x18]
mov ecx, dword [edx + 0xc4c]
test eax, eax
je 0x100a48f1
mov edi, eax
nop dword [eax + eax]
mov eax, dword [ebp - 0x1c]
mov edx, 0x81
nop dword [eax + eax]
movss xmm4, dword [esi]
movss xmm2, dword [esi + 4]
movaps xmm1, xmm4
mulss xmm1, dword [ecx]
movaps xmm0, xmm2
add esi, 8
mulss xmm4, dword [ecx + 4]
mulss xmm0, dword [ecx + 4]
mulss xmm2, dword [ecx]
add ecx, 8
subss xmm1, xmm0
addss xmm4, xmm2
addss xmm1, dword [eax]
addss xmm4, dword [eax + 4]
movss dword [eax], xmm1
movss dword [eax + 4], xmm4
add eax, 8
sub edx, 1
jne 0x100a48a0
sub edi, 1
jne 0x100a4890
mov edx, dword [ebp - 8]
movss xmm2, dword [0x101045f0]
lea eax, [edx + 0x854]
lea ecx, [edx + 0x834]
mov edi, 0xf
nop word [eax + eax]
movss xmm1, dword [ecx + 8]
lea eax, [eax + 0x40]
movss xmm0, dword [ecx + 4]
xorps xmm1, xmm2
movss dword [eax - 0x4c], xmm0
lea ecx, [ecx - 0x40]
movss dword [eax - 0x48], xmm1
movss xmm1, dword [ecx + 0x40]
movss xmm0, dword [ecx + 0x3c]
xorps xmm1, xmm2
movss dword [eax - 0x44], xmm0
movss dword [eax - 0x40], xmm1
movss xmm1, dword [ecx + 0x38]
movss xmm0, dword [ecx + 0x34]
xorps xmm1, xmm2
movss dword [eax - 0x3c], xmm0
movss dword [eax - 0x38], xmm1
movss xmm1, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x2c]
xorps xmm1, xmm2
movss dword [eax - 0x34], xmm0
movss dword [eax - 0x30], xmm1
movss xmm1, dword [ecx + 0x28]
movss xmm0, dword [ecx + 0x24]
xorps xmm1, xmm2
movss dword [eax - 0x2c], xmm0
movss dword [eax - 0x28], xmm1
movss xmm1, dword [ecx + 0x20]
movss xmm0, dword [ecx + 0x1c]
xorps xmm1, xmm2
movss dword [eax - 0x24], xmm0
movss dword [eax - 0x20], xmm1
movss xmm1, dword [ecx + 0x18]
movss xmm0, dword [ecx + 0x14]
xorps xmm1, xmm2
movss dword [eax - 0x1c], xmm0
movss dword [eax - 0x18], xmm1
movss xmm1, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0xc]
xorps xmm1, xmm2
movss dword [eax - 0x14], xmm0
movss dword [eax - 0x10], xmm1
sub edi, 1
jne 0x100a4910
lea eax, [edx + 0xc08]
lea ecx, [edx + 0x478]
lea edx, [edi + 7]
nop word [eax + eax]
movss xmm1, dword [ecx + 4]
lea eax, [eax + 8]
movss xmm0, dword [ecx]
xorps xmm1, xmm2
movss dword [eax - 8], xmm0
sub ecx, 8
movss dword [eax - 4], xmm1
sub edx, 1
jne 0x100a49f0
push ecx
mov dword [esp], 0x3f800000
push dword [ebp - 0x40]
push dword [ebp - 0x1c]
call fcn.100bb440
mov edx, dword [ebp - 8]
add esp, 0xc
mov edi, dword [ebp - 0xc]
movss xmm1, dword [0x1010b788]
add edi, 0x204
mov eax, dword [edx + 0x428]
lea ecx, [edx + 0x448]
add eax, edi
mov edi, 0x10
nop
movss xmm0, dword [eax - 4]
addss xmm0, dword [ecx - 8]
mulss xmm0, xmm1
movss dword [eax - 0x204], xmm0
movss xmm0, dword [ecx]
addss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [eax - 0x200], xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [ecx + 8]
mulss xmm0, xmm1
movss dword [eax - 0x1fc], xmm0
movss xmm0, dword [eax + 8]
addss xmm0, dword [ecx + 0x10]
mulss xmm0, xmm1
movss dword [eax - 0x1f8], xmm0
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [ecx + 0x18]
mulss xmm0, xmm1
movss dword [eax - 0x1f4], xmm0
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [ecx + 0x20]
mulss xmm0, xmm1
movss dword [eax - 0x1f0], xmm0
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [ecx + 0x28]
mulss xmm0, xmm1
movss dword [eax - 0x1ec], xmm0
movss xmm0, dword [eax + 0x18]
addss xmm0, dword [ecx + 0x30]
add ecx, 0x40
mulss xmm0, xmm1
movss dword [eax - 0x1e8], xmm0
add eax, 0x20
sub edi, 1
jne 0x100a4a50
mov eax, dword [edx + 0x428]
lea ecx, [edx + 0x848]
mov edx, dword [ebp - 0xc]
mov edi, 0x10
add edx, 0x204
add edx, eax
nop dword [eax]
mov eax, dword [ecx - 8]
lea edx, [edx + 0x20]
mov dword [edx - 0x24], eax
lea ecx, [ecx + 0x40]
mov eax, dword [ecx - 0x40]
mov dword [edx - 0x20], eax
mov eax, dword [ecx - 0x38]
mov dword [edx - 0x1c], eax
mov eax, dword [ecx - 0x30]
mov dword [edx - 0x18], eax
mov eax, dword [ecx - 0x28]
mov dword [edx - 0x14], eax
mov eax, dword [ecx - 0x20]
mov dword [edx - 0x10], eax
mov eax, dword [ecx - 0x18]
mov dword [edx - 0xc], eax
mov eax, dword [ecx - 0x10]
mov dword [edx - 8], eax
sub edi, 1
jne 0x100a4b30
mov edi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
inc edi
add dword [ebp - 0xc], 0x400
mov edx, dword [ebp - 8]
mov dword [ebp - 0x34], edi
cmp edi, dword [eax]
mov edi, dword [ebp - 0x30]
jb 0x100a47d0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x100a4b97
mov eax, dword [edx + 0xc44]
mov esi, dword [ebp - 0x28]
dec eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], eax
cmp esi, ecx
jb 0x100a4445
jmp 0x100a4bae
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
lea edi, [edx + 0xc40]
push ecx
push dword [ebp + 0x18]
mov ecx, dword [edx + 0xc54]
push dword [ebp + 0x14]
mov dword [edi], eax
add ecx, edx
mov eax, dword [edx + 0xc50]
call eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100bf2d0
mov esp, ebp
pop ebp
ret 0x14