Function at 0x100e2850
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x118
mov al, byte [0x101431e8]
or ecx, 0xffffffff
mov dword [ebp - 0x20], ecx
push esi
push edi
cmp al, 1
jne 0x100e2891
mov ecx, dword [0x101640e8]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov al, byte [0x101431e8]
test al, al
jne 0x100e28a4
mov ecx, dword [0x101640e8]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
mov edx, dword [0x1013bb28]
test edx, edx
je 0x100e28d2
cmp byte [0x10143270], 0
je 0x100e28d2
cmp byte [0x1013bb2c], 0
jne 0x100e28db
mov eax, dword [0x10164c7c]
cmp eax, dword [0x10164c80]
je 0x100e28d2
mov dword [0x10164c80], eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x10164c80]
mov edi, ecx
sub edi, dword [0x10164c7c]
sar edi, 5
mov dword [ebp - 4], ecx
mov dword [ebp - 0x2c], edi
test edi, edi
je 0x100e28d2
mov eax, dword [0x1016427c]
mov esi, edi
movss xmm0, dword [ebp - 0xc8]
add eax, 0xffffffc2
xor eax, 0x801f431a
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0xcc]
shl esi, 5
movss dword [ebp - 0x24], xmm0
movd xmm2, dword [eax + edx]
mov eax, dword [0x10164084]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
mov eax, edi
movss dword [ebp - 0x38], xmm2
nop dword [eax + eax]
sub esi, 0x20
mov edx, eax
dec eax
mov dword [ebp - 0x68], esi
add esi, dword [0x10164c7c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x64], esi
je 0x100e2ef8
movd xmm1, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x10164084]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.10032260
comiss xmm0, dword [0x10143790]
jbe 0x100e29ec
lea edi, [esi + 0x20]
cmp edi, ecx
je 0x100e29de
lea ecx, [esi + 0x14]
lea edx, [esi + 0x34]
nop
mov eax, dword [edi]
lea esi, [esi + 0x20]
mov dword [esi - 0x20], eax
lea ecx, [ecx + 0x20]
mov eax, dword [edx - 0x10]
lea edx, [edx + 0x20]
mov dword [ecx - 0x30], eax
add edi, 0x20
mov eax, dword [edx - 0x2c]
mov dword [ecx - 0x2c], eax
mov eax, dword [edx - 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x20]
mov dword [ecx - 0x20], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
movzx eax, byte [edx - 0x18]
mov byte [ecx - 0x18], al
movzx eax, byte [edx - 0x17]
mov byte [ecx - 0x17], al
cmp edi, dword [ebp - 4]
jne 0x100e2990
mov ecx, dword [0x10164c80]
sub ecx, 0x20
mov dword [0x10164c80], ecx
jmp 0x100e2ef2
cmp byte [esi + 0x1c], 0
jne 0x100e2ef8
lea eax, [edi - 1]
cmp dword [ebp - 0x3c], eax
je 0x100e2a23
mov edi, dword [0x10164c7c]
mov eax, ecx
sub eax, edi
sar eax, 5
cmp eax, edx
jbe 0x100e2f0b
mov eax, dword [esi + 0x18]
shl edx, 5
cmp eax, dword [edx + edi + 0x18]
je 0x100e2ef5
movss xmm6, dword [esi + 0xc]
movss xmm7, dword [esi + 0x10]
movss xmm3, dword [esi]
movss xmm4, dword [esi + 4]
subss xmm3, xmm6
movss xmm0, dword [esi + 0x14]
subss xmm4, xmm7
movss xmm5, dword [esi + 8]
subss xmm5, xmm0
movss dword [ebp - 0x30], xmm0
movss dword [ebp - 0x4c], xmm6
movaps xmm1, xmm3
movss dword [ebp - 0x50], xmm7
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10023000
movaps xmm2, xmm0
movaps xmm1, xmm3
addss xmm2, dword [0x101285e8]
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm5
mulss xmm1, xmm5
addss xmm0, xmm1
call fcn.10023000
divss xmm3, xmm2
mov eax, dword [0x10143324]
divss xmm4, xmm2
mulss xmm3, xmm0
mulss xmm4, xmm0
addss xmm3, xmm6
divss xmm5, xmm2
addss xmm4, xmm7
movss dword [ebp - 0x54], xmm3
mulss xmm5, xmm0
movss dword [ebp - 0x58], xmm4
addss xmm5, dword [ebp - 0x30]
movss dword [ebp - 0x5c], xmm5
test eax, eax
jne 0x100e2b60
movaps xmm0, xmmword [0x10129700]
mov eax, 0x10
movaps xmmword [ebp - 0x80], xmm0
xorps xmm0, xmmword [0x10128c40]
mov word [ebp - 0xc], 0xe591
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x1c], 0xe5
inc eax
cmp eax, 0x12
jb 0x100e2b10
mov ecx, dword [0x10164060]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [ebp - 0x80]
mov ecx, 0x10
xorps xmm0, xmmword [0x10128c40]
mov dword [ebp - 0x20], eax
mov word [ebp - 0xc], 0xe591
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax]
xor byte [ebp + ecx - 0x1c], 0xe5
inc ecx
cmp ecx, 0x12
jb 0x100e2b50
mov eax, dword [0x10143324]
cmp eax, 1
jne 0x100e2bdb
movaps xmm0, xmmword [0x10129700]
mov eax, 0x10
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0xc], 0x918893cb
xorps xmm0, xmmword [0x10128c00]
mov byte [ebp - 8], 0xe5
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x1c], 0xe5
inc eax
cmp eax, 0x15
jb 0x100e2b90
mov ecx, dword [0x10164060]
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movups xmm0, xmmword [ebp - 0x80]
mov dword [ebp - 0x20], eax
mov eax, 0x10
mov dword [ebp - 0xc], 0x918893cb
xorps xmm0, xmmword [0x10128c00]
mov byte [ebp - 8], 0xe5
movups xmmword [ebp - 0x1c], xmm0
nop
xor byte [ebp + eax - 0x1c], 0xe5
inc eax
cmp eax, 0x15
jb 0x100e2bd0
movss xmm0, dword [0x10143790]
mov eax, dword [0x1014353c]
movss dword [ebp - 0x40], xmm0
test eax, eax
jne 0x100e2c00
movss xmm0, dword [0x10143458]
movss dword [ebp - 0x24], xmm0
jmp 0x100e2c2c
cmp eax, 1
jne 0x100e2c17
xorps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [0x10143458]
jmp 0x100e2c2c
cmp eax, 2
jne 0x100e2c31
movss xmm0, dword [0x10143458]
movss dword [ebp - 0x24], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
cmp byte [esi + 0x1d], 0
cvttss2si eax, dword [0x1014384c]
movss xmm0, dword [0x1014339c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [0x101435b4]
movss dword [ebp - 0x48], xmm0
mov dword [ebp - 0x60], eax
jne 0x100e2c6a
movzx edx, word [0x1014368a]
mov eax, dword [0x10143688]
jmp 0x100e2c76
movzx edx, word [0x1014371a]
mov eax, dword [0x10143718]
mov ecx, eax
movzx edi, dl
shr ecx, 8
movzx eax, al
movzx esi, cl
mov ecx, dword [0x101640b4]
push 1
mov dword [ebp - 0x34], eax
call dword [0x1016419c]
mov dword [ebp - 4], eax
test eax, eax
je 0x100e2ee7
mov ecx, dword [0x10164084]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0xc8], ecx
test edx, edx
js 0x100e2ee7
mov ecx, dword [0x10164060]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x100e2e85
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
push edx
mov dword [eax + 0x30], 0
mov dword [eax + 0x150], ecx
mov dword [eax + 0x154], 0xffffffff
mov dword [eax + 0x158], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xf4], 0
mov ecx, dword [0x10164060]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [ebp - 4]
movss xmm6, dword [0x1012867c]
movss xmm1, dword [ebp - 0x40]
movss xmm2, dword [ebp - 0x58]
mov dword [edx + 0x15c], eax
mov eax, dword [0x10164084]
movss xmm3, dword [ebp - 0x5c]
movss xmm4, dword [ebp - 0x50]
movss xmm5, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x10]
mulss xmm0, xmm6
movss dword [edx + 0xc4], xmm0
movaps xmm0, xmm1
mov eax, dword [0x10164084]
addss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x60]
mov dword [edx + 0x34], 0
movss dword [edx + 0xdc], xmm1
movss xmm1, dword [ebp - 0x54]
movss dword [edx + 0xc8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [edx + 0xcc], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [edx + 0xd0], xmm0
movss xmm0, dword [ebp - 0x44]
movss dword [edx + 0xd8], xmm0
movss xmm0, dword [ebp - 0x48]
movss dword [edx + 0xec], xmm0
movss xmm0, dword [ebp - 0x4c]
movss dword [edx + 0x48], xmm1
subss xmm1, xmm0
movss dword [edx + 0x4c], xmm2
subss xmm2, xmm4
movss dword [edx + 0x50], xmm3
subss xmm3, xmm5
mov dword [edx + 0xd4], 0x40000000
mov dword [edx + 0xf0], 0x3f000000
movss dword [edx + 0x3c], xmm0
movss dword [edx + 0x40], xmm4
movss dword [edx + 0x44], xmm5
movss dword [edx + 0xb4], xmm1
movss dword [edx + 0xb8], xmm2
movss dword [edx + 0xbc], xmm3
cmp eax, 0xffffffff
jne 0x100e2e7d
movss xmm0, dword [edx + 0xd8]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm3, xmm3
addss xmm1, xmm2
comiss xmm0, xmm6
addss xmm1, xmm3
movaps xmm0, xmm1
jb 0x100e2e60
call fcn.10023000
mulss xmm0, dword [0x1012864c]
addss xmm0, dword [0x101286e8]
cvttss2si eax, xmm0
mov dword [edx + 0xfc], eax
jmp 0x100e2e88
call fcn.10023000
cvtss2sd xmm0, xmm0
mulsd xmm0, qword [0x101286b8]
addsd xmm0, qword [0x101286e0]
cvttsd2si eax, xmm0
mov dword [edx + 0xfc], eax
jmp 0x100e2e88
mov edx, dword [ebp - 4]
xor eax, eax
push edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xf8], xmm0
xorps xmm0, xmm0
movss dword [edx + 0xf4], xmm0
movd xmm0, dword [ebp - 0x34]
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe0], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe4], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe8], xmm0
mov ecx, dword [0x101640b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 0x64]
mov byte [eax + 0x1c], 1
movss xmm2, dword [ebp - 0x38]
mov ecx, dword [0x10164c80]
mov dword [ebp - 4], ecx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x100e28d2
mov esi, dword [ebp - 0x68]
jmp 0x100e2940
call fcn.100e3000
int3