Function at 0x1001a2f8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x208
push esi
mov esi, edx
mov dword [esp + 0x54], 1
mov edx, ecx
mov dword [esp + 0x90], esi
push edi
sub esp, 0xc
mov dword [esp + 0x8c], edx
mov ecx, esp
mov dword [esp + 0x60], 0
movq xmm0, qword [edx + 0x54]
mov eax, dword [edx + 0x5c]
movq qword [esp + 0xa8], xmm0
movq xmm0, qword [edx + 0x3c]
mov dword [esp + 0xb0], eax
mov eax, dword [edx + 0x44]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xb4]
push eax
mov ecx, esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x8c], 0
call fcn.10018520
movss xmm1, dword [esp + 0xf0]
add esp, 0x10
movss xmm3, dword [esp + 0xd0]
movss xmm4, dword [esp + 0xcc]
movq xmm0, qword [eax]
mov esi, dword [eax + 8]
movss xmm2, dword [esp + 0xc8]
movss xmm7, dword [esp + 0xc4]
movss xmm6, dword [esp + 0xc0]
movss xmm5, dword [esp + 0xb8]
movss dword [esp + 0x78], xmm1
movss xmm1, dword [esp + 0xdc]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0xd8]
movss dword [esp + 0x60], xmm1
movss xmm1, dword [esp + 0xd4]
movq qword [esp + 0x48], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
movss dword [esp + 0x64], xmm1
movss xmm1, dword [esp + 0xbc]
mov dword [esp + 0x10], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x98], 0x46b
mov dword [esp + 0x38], eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x68], xmm7
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x3c], xmm5
nop dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
cmp edx, esi
jge case.default.0x1001af15
mov al, byte [eax + edx]
xor esi, esi
movzx eax, al
inc edx
mov ecx, edx
mov dword [esp + 0x6c], 1
mov dword [esp + 0x28], edx
mov dword [esp + 0x74], ecx
lea edi, [eax - 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x18], edi
cmp edi, 0x1e
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], eax
ja case.default.0x1001a2f1
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + 0x1001b534]
jmp dword [eax*4 + 0x1001b4e4]
cmp dword [esp + 0x58], esi
je 0x1001a313
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x54]
sar eax, 1
add edx, eax
mov dword [esp + 0x54], edx
jmp 0x1001a317
mov edx, dword [esp + 0x54]
lea eax, [edx + 7]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x10]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, ecx
cmp edx, esi
jg 0x1001a339
test edx, edx
jns 0x1001a957
mov edx, esi
jmp 0x1001a957
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add dword [esp + 0x54], eax
jmp 0x1001a953
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], esi
cmp eax, 2
jl case.default.0x1001af15
movss xmm3, dword [edi + 8]
lea ecx, [edi + 0xc]
ucomiss xmm3, dword [edi + 0x10]
lea esi, [edi + 0x14]
mov dword [esp + 0x14], ecx
movss xmm1, dword [esp + eax*4 + 0xb0]
movss xmm2, dword [esp + eax*4 + 0xb4]
lahf
test ah, 0x44
jp 0x1001a39f
movss xmm0, dword [ecx]
ucomiss xmm0, dword [esi]
lahf
test ah, 0x44
jnp 0x1001a3c1
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, edi
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
mov ecx, dword [esp + 0x2c]
add esp, 0x18
addss xmm2, dword [esi]
addss xmm1, dword [edi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm2
push 0
mov dl, 1
movss dword [ecx], xmm2
mov ecx, edi
push eax
cvttss2si eax, xmm1
movss dword [edi + 0x10], xmm1
push eax
movss dword [edi + 8], xmm1
movss dword [esi], xmm2
call fcn.10019e60
movss xmm1, dword [esp + 0x34]
add esp, 0x18
movss xmm3, dword [esp + 0x2c]
xorps xmm0, xmm0
movss xmm2, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
jmp 0x1001a953
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], esi
cmp eax, 1
jl case.default.0x1001af15
movss xmm2, dword [edi + 8]
lea ecx, [edi + 0xc]
ucomiss xmm2, dword [edi + 0x10]
lea esi, [edi + 0x14]
mov dword [esp + 0x14], ecx
movss xmm1, dword [esp + eax*4 + 0xb4]
lahf
test ah, 0x44
jp 0x1001a458
movss xmm0, dword [ecx]
ucomiss xmm0, dword [esi]
lahf
test ah, 0x44
jnp 0x1001a47a
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, edi
push eax
cvttss2si eax, xmm2
push eax
call fcn.10019e60
mov ecx, dword [esp + 0x2c]
add esp, 0x18
addss xmm1, dword [esi]
movss xmm0, dword [edi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm1
push 0
movss dword [edi + 0x10], xmm0
push eax
movss dword [edi + 8], xmm0
movss dword [esi], xmm1
movss dword [ecx], xmm1
cvttss2si eax, xmm0
push eax
mov dl, 1
mov ecx, edi
call fcn.10019e60
movss xmm2, dword [esp + 0x3c]
add esp, 0x18
movss xmm1, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [esp + 0x28]
jmp 0x1001a953
mov eax, dword [esp + 0xc]
mov dword [esp + 0x58], esi
cmp eax, 1
jl case.default.0x1001af15
movss xmm2, dword [edi + 8]
lea ecx, [edi + 0xc]
ucomiss xmm2, dword [edi + 0x10]
lea esi, [edi + 0x14]
mov dword [esp + 0x14], ecx
movss xmm1, dword [esp + eax*4 + 0xb4]
lahf
test ah, 0x44
jp 0x1001a50b
movss xmm0, dword [ecx]
ucomiss xmm0, dword [esi]
lahf
test ah, 0x44
jnp 0x1001a52d
cvttss2si eax, dword [ecx]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, edi
push eax
cvttss2si eax, xmm2
push eax
call fcn.10019e60
mov ecx, dword [esp + 0x2c]
add esp, 0x18
movss xmm0, dword [esi]
addss xmm1, dword [edi + 0x10]
push 0
cvttss2si eax, xmm0
push 0
push 0
push 0
movss dword [edi + 0x10], xmm1
push eax
movss dword [edi + 8], xmm1
movss dword [esi], xmm0
movss dword [ecx], xmm0
cvttss2si eax, xmm1
jmp 0x1001a4a6
cmp dword [esp + 0xc], 2
jl case.default.0x1001af15
mov dword [esp + 0x14], 1
lea esi, [esp + 0xbc]
nop dword [eax + eax]
movss xmm0, dword [edi + 0x14]
mov dl, 2
addss xmm0, dword [esi]
movss xmm1, dword [esi - 4]
mov ecx, edi
addss xmm1, dword [edi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [edi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [edi + 0x14], xmm0
push eax
call fcn.10019e60
mov eax, dword [esp + 0x2c]
add esp, 0x18
add eax, 2
add esi, 8
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0xc]
jl 0x1001a580
movss xmm1, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [esp + 0x28]
jmp 0x1001a953
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1001af15
lea ecx, [edi + 0x10]
lea edx, [edi + 0x14]
jmp 0x1001a653
cmp dword [esp + 0xc], 1
jl case.default.0x1001af15
lea eax, [edi + 0x10]
lea ecx, [edi + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], ecx
movss xmm1, dword [esp + esi*4 + 0xb8]
mov dl, 2
addss xmm1, dword [eax]
movss xmm0, dword [ecx]
push 0
push 0
push 0
movss dword [eax], xmm1
cvttss2si eax, xmm0
push 0
movss dword [ecx], xmm0
mov ecx, edi
push eax
cvttss2si eax, xmm1
push eax
call fcn.10019e60
mov eax, dword [esp + 0x24]
add esp, 0x18
mov ecx, dword [esp + 0x14]
inc esi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x40], edx
mov dword [esp + 0x14], ecx
cmp esi, eax
jge 0x1001a4b9
movss xmm0, dword [esp + esi*4 + 0xb8]
addss xmm0, dword [edx]
movss xmm1, dword [ecx]
push 0
push 0
push 0
cvttss2si eax, xmm0
push 0
movss dword [ecx], xmm1
mov ecx, edi
push eax
cvttss2si eax, xmm1
movss dword [edx], xmm0
mov dl, 2
push eax
call fcn.10019e60
mov ecx, dword [esp + 0x58]
inc esi
mov eax, dword [esp + 0x2c]
add esp, 0x18
cmp esi, dword [esp + 0xc]
jl 0x1001a60f
movss xmm1, dword [esp + 0x1c]
xorps xmm0, xmm0
mov edx, dword [esp + 0x28]
jmp 0x1001a953
cmp dword [esp + 0xc], 4
jl case.default.0x1001af15
lea edx, [edi + 0x10]
lea eax, [edi + 0x14]
jmp 0x1001a7b0
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1001af15
lea edx, [edi + 0x14]
lea ecx, [edi + 0x10]
mov dword [esp + 0x40], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x34], edx
mov edx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x18], ecx
sub eax, esi
lea ecx, [edx*4]
cmp eax, 5
jne 0x1001a71e
movss xmm6, dword [esp + ecx + 0xc8]
jmp 0x1001a721
movaps xmm6, xmm0
mov eax, dword [esp + 0x18]
mov dl, 4
movss xmm4, dword [esp + ecx + 0xb8]
movss xmm5, dword [eax]
mov eax, dword [esp + 0x34]
movaps xmm2, xmm5
addss xmm2, dword [esp + ecx + 0xbc]
addss xmm4, dword [eax]
mov eax, dword [esp + 0x74]
movaps xmm3, xmm2
addss xmm3, dword [esp + ecx + 0xc4]
movaps xmm0, xmm4
addss xmm0, dword [esp + ecx + 0xc0]
mov ecx, edi
movss dword [eax], xmm3
mov eax, dword [esp + 0x84]
movaps xmm1, xmm0
addss xmm1, xmm6
movss dword [eax], xmm1
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
mov edx, dword [esp + 0x2c]
add esp, 0x18
mov eax, dword [esp + 0x40]
add esi, 4
xorps xmm0, xmm0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], eax
lea eax, [esi + 3]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
cmp eax, ecx
jge 0x1001b452
mov eax, ecx
sub eax, esi
cmp eax, 5
jne 0x1001a7e3
movss xmm1, dword [esp + esi*4 + 0xc8]
jmp 0x1001a7e6
movaps xmm1, xmm0
movss xmm5, dword [esp + esi*4 + 0xb8]
mov ecx, edi
addss xmm5, dword [edx]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
movss xmm4, dword [edx]
movaps xmm2, xmm5
addss xmm2, dword [esp + esi*4 + 0xbc]
movaps xmm0, xmm4
mov dl, 4
addss xmm0, dword [esp + esi*4 + 0xc0]
movaps xmm3, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + esi*4 + 0xc4]
movss dword [eax], xmm3
mov eax, dword [esp + 0x34]
movss dword [eax], xmm1
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
mov eax, dword [esp + 0x58]
add esi, 4
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov dword [esp + 0x84], eax
mov edx, esi
mov dword [esp + 0x34], eax
xorps xmm0, xmm0
mov dword [esp + 0x74], ecx
lea eax, [esi + 3]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jge 0x1001b452
mov eax, ecx
jmp 0x1001a705
cmp dword [esp + 0xc], 6
jl case.default.0x1001af15
mov dword [esp + 0x18], 5
lea esi, [esp + 0xbc]
movss xmm4, dword [edi + 0x14]
mov dl, 4
addss xmm4, dword [esi]
movss xmm5, dword [esi - 4]
mov ecx, edi
addss xmm5, dword [edi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esi + 8]
movaps xmm2, xmm5
addss xmm2, dword [esi + 4]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esi + 0x10]
cvttss2si eax, xmm2
addss xmm3, dword [esi + 0xc]
push eax
cvttss2si eax, xmm4
movss dword [edi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [edi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 6
add esi, 0x18
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xc]
jl 0x1001a8b3
xorps xmm0, xmm0
movss xmm5, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
movss xmm4, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp dword [esp + 0x6c], eax
cmove eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
jmp 0x1001a2a0
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1001af15
add eax, 0xfffffffe
mov dword [esp + 0x34], eax
cmp eax, 5
jle 0x1001aa50
mov dword [esp + 0x18], 5
nop word [eax + eax]
movss xmm4, dword [esp + esi*4 + 0xbc]
mov dl, 4
addss xmm4, dword [edi + 0x14]
movss xmm5, dword [esp + esi*4 + 0xb8]
mov ecx, edi
addss xmm5, dword [edi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + esi*4 + 0xc4]
movaps xmm2, xmm5
addss xmm2, dword [esp + esi*4 + 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + esi*4 + 0xd0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + esi*4 + 0xcc]
push eax
cvttss2si eax, xmm4
movss dword [edi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [edi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 6
add esi, 6
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x34]
jl 0x1001a9a0
movss xmm5, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x30]
movss xmm2, dword [esp + 0x24]
lea eax, [esi + 1]
cmp eax, dword [esp + 0xc]
jge case.default.0x1001af15
movss xmm0, dword [esp + esi*4 + 0xbc]
mov dl, 2
addss xmm0, dword [edi + 0x14]
movss xmm1, dword [esp + esi*4 + 0xb8]
mov ecx, edi
addss xmm1, dword [edi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [edi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [edi + 0x14], xmm0
push eax
call fcn.10019e60
movss xmm1, dword [esp + 0x34]
add esp, 0x18
mov edx, dword [esp + 0x28]
xorps xmm0, xmm0
jmp 0x1001a953
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1001af15
add eax, 0xfffffffa
mov dword [esp + 0x34], eax
cmp eax, 1
jle 0x1001ab38
mov dword [esp + 0x18], 1
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [esp + esi*4 + 0xbc]
mov dl, 2
addss xmm0, dword [edi + 0x14]
movss xmm1, dword [esp + esi*4 + 0xb8]
mov ecx, edi
addss xmm1, dword [edi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [edi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [edi + 0x14], xmm0
push eax
call fcn.10019e60
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 2
add esi, 2
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x34]
jl 0x1001aae0
lea eax, [esi + 5]
cmp eax, dword [esp + 0xc]
jge case.default.0x1001af15
movss xmm4, dword [esp + esi*4 + 0xbc]
mov dl, 4
addss xmm4, dword [edi + 0x14]
movss xmm5, dword [esp + esi*4 + 0xb8]
mov ecx, edi
addss xmm5, dword [edi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + esi*4 + 0xc4]
movaps xmm2, xmm5
addss xmm2, dword [esp + esi*4 + 0xc0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + esi*4 + 0xd0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + esi*4 + 0xcc]
push eax
cvttss2si eax, xmm4
movss dword [edi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [edi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
add esp, 0x18
jmp 0x1001a92e
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1001af15
mov esi, eax
movaps xmm4, xmm0
and esi, 1
je 0x1001abe4
movaps xmm4, xmm5
lea ecx, [esi + 3]
mov dword [esp + 0x18], ecx
cmp ecx, eax
jge 0x1001a94d
lea esi, [esp + esi*4 + 0xc0]
nop word [eax + eax]
cmp dword [esp + 0x14], 0x1b
movss xmm0, dword [edi + 0x10]
movss xmm1, dword [edi + 0x14]
movss xmm6, dword [esi]
movss xmm2, dword [esi - 8]
movss xmm3, dword [esi - 4]
movss xmm7, dword [esi + 4]
jne 0x1001ac46
addss xmm0, xmm2
addss xmm1, xmm4
movaps xmm4, xmm0
addss xmm4, xmm3
movaps xmm3, xmm1
addss xmm3, xmm6
movaps xmm2, xmm4
addss xmm2, xmm7
movaps xmm5, xmm3
jmp 0x1001ac66
addss xmm1, xmm2
addss xmm0, xmm4
movaps xmm5, xmm1
movaps xmm2, xmm0
addss xmm5, xmm6
addss xmm2, xmm3
movaps xmm3, xmm5
addss xmm3, xmm7
movaps xmm4, xmm2
cvttss2si eax, xmm5
mov dl, 4
mov ecx, edi
movss dword [edi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
movss dword [edi + 0x14], xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
call fcn.10019e60
mov ecx, dword [esp + 0x30]
add esp, 0x18
add ecx, 4
add esi, 0x10
xorps xmm0, xmm0
xorps xmm4, xmm4
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0xc]
jl 0x1001ac00
movss xmm6, dword [esp + 0x44]
movss xmm7, dword [esp + 0x68]
jmp 0x1001a931
cmp dword [esp + 0x7c], esi
jne case.0x1001a2f1.29
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x74], esi
je 0x1001ad0b
mov edx, dword [esp + 0x94]
lea ecx, [esp + 0x178]
push ecx
mov ecx, eax
call fcn.10019f90
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], eax
mov dword [esp + 0x7c], 1
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1001af15
mov edx, dword [esp + 0x5c]
dec eax
mov dword [esp + 0xc], eax
cmp edx, 0xa
jge case.default.0x1001af15
movq xmm0, qword [esp + 0x48]
lea eax, [edx + edx*2]
mov ecx, dword [esp + 0x10]
inc edx
cmp dword [esp + 0x14], 0xa
movq qword [esp + eax*4 + 0x198], xmm0
mov dword [esp + eax*4 + 0x1a0], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], edx
cvttss2si esi, dword [esp + eax*4 + 0xb8]
jne 0x1001ad71
lea edx, [esp + 0x9c]
jmp 0x1001ad7b
mov edx, dword [esp + 0x80]
add edx, 0x48
movq xmm0, qword [edx]
xor ecx, ecx
mov edx, dword [edx + 8]
mov eax, edx
test edx, edx
movq qword [esp + 0x88], xmm0
mov dword [esp + 0x18], edx
cmovns eax, ecx
mov dword [esp + 0x8c], eax
cmp eax, edx
jl 0x1001ada7
xor cl, cl
jmp 0x1001adb9
mov ecx, dword [esp + 0x88]
mov cl, byte [ecx + eax]
inc eax
mov dword [esp + 0x8c], eax
movzx ecx, cl
cmp eax, edx
jl 0x1001adc4
xor al, al
jmp 0x1001ade2
mov edx, dword [esp + 0x88]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x23], dl
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
mov al, byte [esp + 0x23]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1001adfe
mov eax, 0x8000
jmp 0x1001ae0c
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x98]
add esi, eax
js 0x1001ae4d
cmp esi, ecx
jge 0x1001ae4d
movq xmm0, qword [esp + 0x88]
sub esp, 0xc
mov eax, esp
mov ecx, esi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x194]
push eax
call fcn.10018520
add esp, 0x10
movq xmm0, qword [eax]
mov esi, dword [eax + 8]
movq qword [esp + 0xa8], xmm0
jmp 0x1001ae6e
mov dword [esp + 0xa8], 0
xor esi, esi
mov dword [esp + 0xac], 0
movq xmm0, qword [esp + 0xa8]
mov dword [esp + 0x10], esi
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], esi
test esi, esi
je case.default.0x1001af15
mov eax, dword [esp + 0x48]
xor edx, edx
mov dword [esp + 0x6c], edx
xorps xmm0, xmm0
mov dword [esp + 0x38], eax
jmp 0x1001a957
mov eax, dword [esp + 0x5c]
test eax, eax
jle case.default.0x1001af15
dec eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x18c]
mov esi, dword [esp + eax*4 + 0x194]
movq qword [esp + 0x48], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], eax
jmp 0x1001a957
mov esi, dword [esp + 0x10]
cmp ecx, esi
jl 0x1001aef8
xor dl, dl
jmp 0x1001af06
mov eax, dword [esp + 0x38]
mov dl, byte [eax + ecx]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
movzx eax, dl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1001af15
jmp dword [eax*4 + 0x1001b554]
cmp dword [esp + 0xc], 7
jl case.default.0x1001af15
movss xmm3, dword [edi + 0x14]
movaps xmm4, xmm5
addss xmm4, dword [edi + 0x10]
movaps xmm0, xmm6
movaps xmm2, xmm7
addss xmm0, xmm3
mov dl, 4
addss xmm1, xmm4
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
push ecx
addss xmm2, xmm1
movss dword [edi + 0x14], xmm0
push eax
cvttss2si eax, xmm3
movss dword [edi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push ecx
mov ecx, edi
push eax
call fcn.10019e60
movss xmm3, dword [esp + 0x3c]
addss xmm3, dword [edi + 0x10]
movss xmm0, dword [edi + 0x14]
movss xmm4, dword [esp + 0x48]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x44]
subss xmm1, xmm6
addss xmm4, xmm3
movaps xmm5, xmm1
addss xmm2, xmm4
jmp 0x1001b235
cmp dword [esp + 0xc], 0xd
jl case.default.0x1001af15
addss xmm5, dword [edi + 0x10]
movaps xmm4, xmm1
movss xmm3, dword [esp + 0x24]
addss xmm4, dword [edi + 0x14]
movaps xmm0, xmm7
movss xmm1, dword [esp + 0x30]
movaps xmm2, xmm6
mov dl, 4
addss xmm2, xmm5
mov ecx, edi
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
addss xmm1, xmm0
movss dword [edi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
movss dword [edi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
movss xmm3, dword [esp + 0x44]
movss xmm0, dword [esp + 0x7c]
addss xmm3, dword [edi + 0x10]
addss xmm0, dword [edi + 0x14]
movss xmm4, dword [esp + 0x78]
movss xmm5, dword [esp + 0x88]
movss xmm2, dword [esp + 0x90]
movss xmm1, dword [esp + 0xfc]
addss xmm4, xmm3
addss xmm5, xmm0
addss xmm2, xmm4
addss xmm1, xmm5
jmp 0x1001b235
cmp dword [esp + 0xc], 9
jl case.default.0x1001af15
movaps xmm3, xmm1
movaps xmm4, xmm5
addss xmm3, dword [edi + 0x14]
addss xmm4, dword [edi + 0x10]
movaps xmm0, xmm7
movaps xmm1, xmm6
mov dl, 4
addss xmm0, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm0
cvttss2si eax, xmm1
push ecx
addss xmm2, xmm1
movss dword [edi + 0x14], xmm0
push eax
cvttss2si eax, xmm3
movss dword [edi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push ecx
mov ecx, edi
push eax
call fcn.10019e60
movss xmm0, dword [edi + 0x14]
movss xmm5, dword [esp + 0x7c]
movss xmm3, dword [esp + 0x48]
addss xmm5, xmm0
addss xmm3, dword [edi + 0x10]
movss xmm4, dword [esp + 0x44]
movss xmm2, dword [esp + 0x78]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm7
addss xmm0, dword [esp + 0x34]
addss xmm4, xmm3
movaps xmm1, xmm5
addss xmm0, dword [esp + 0x7c]
addss xmm2, xmm4
subss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
jmp 0x1001b235
cmp dword [esp + 0xc], 0xb
jl case.default.0x1001af15
movaps xmm2, xmm5
movss xmm6, dword [esp + 0x78]
addss xmm2, dword [esp + 0x44]
movaps xmm7, xmm6
addss xmm2, dword [esp + 0x24]
addss xmm2, xmm3
movss xmm3, dword [esp + 0x68]
addss xmm3, xmm1
addss xmm2, dword [esp + 0x60]
addss xmm3, xmm4
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x64]
andps xmm1, xmmword [0x10043220]
addss xmm3, dword [esp + 0x70]
movaps xmm0, xmm3
andps xmm0, xmmword [0x10043220]
comiss xmm1, xmm0
jbe 0x1001b178
movaps xmm6, xmm3
xorps xmm6, xmmword [0x10043240]
jmp 0x1001b182
movaps xmm7, xmm2
xorps xmm7, xmmword [0x10043240]
movss xmm4, dword [esp + 0x1c]
mov dl, 4
addss xmm4, dword [edi + 0x14]
movss xmm0, dword [esp + 0x68]
mov ecx, edi
addss xmm5, dword [edi + 0x10]
movss xmm2, dword [esp + 0x44]
movss xmm1, dword [esp + 0x30]
addss xmm0, xmm4
movss xmm3, dword [esp + 0x24]
addss xmm2, xmm5
cvttss2si eax, xmm0
addss xmm1, xmm0
push eax
cvttss2si eax, xmm2
addss xmm3, xmm2
movss dword [edi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
movss dword [edi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.10019e60
movss xmm3, dword [esp + 0x44]
movss xmm0, dword [esp + 0x7c]
addss xmm3, dword [edi + 0x10]
addss xmm0, dword [edi + 0x14]
movss xmm4, dword [esp + 0x78]
movss xmm5, dword [esp + 0x88]
addss xmm4, xmm3
addss xmm5, xmm0
movaps xmm2, xmm4
movaps xmm1, xmm5
addss xmm2, xmm7
movss xmm7, dword [esp + 0x80]
addss xmm1, xmm6
movss xmm6, dword [esp + 0x5c]
add esp, 0x18
movss dword [edi + 0x14], xmm1
cvttss2si eax, xmm5
mov dl, 4
mov ecx, edi
movss dword [edi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm2
push eax
call fcn.10019e60
movss xmm5, dword [esp + 0x54]
add esp, 0x18
movss xmm1, dword [esp + 0x1c]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x30]
movss xmm2, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
jmp 0x1001a957
mov eax, dword [esp + 0x14]
cmp eax, 0xff
je 0x1001b2f3
cmp eax, 0x1c
je 0x1001b2b4
add eax, 0xffffffe0
cmp eax, 0xde
ja case.default.0x1001af15
mov ecx, dword [esp + 0x10]
dec edx
cmp edx, ecx
jg 0x1001b2c5
mov dword [esp + 0x4c], edx
test edx, edx
jns 0x1001b2c9
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x48]
call fcn.100181c0
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
cwde
mov dword [esp + 0x10], esi
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x38], eax
jmp 0x1001b382
mov esi, dword [esp + 0x10]
cmp ecx, esi
jl 0x1001b303
mov eax, dword [esp + 0x74]
xor cl, cl
jmp 0x1001b317
mov eax, dword [esp + 0x38]
lea edx, [ecx + 1]
mov al, byte [eax + ecx]
mov byte [esp + 0x23], al
mov eax, edx
mov cl, byte [esp + 0x23]
movzx ecx, cl
cmp eax, esi
jl 0x1001b322
xor al, al
jmp 0x1001b32a
mov eax, dword [esp + 0x38]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, esi
jl 0x1001b33a
xor al, al
jmp 0x1001b342
mov eax, dword [esp + 0x38]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, esi
jl 0x1001b352
xor al, al
jmp 0x1001b35a
mov eax, dword [esp + 0x38]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x10043210]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x10042c44]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
jge case.default.0x1001af15
movss dword [esp + eax*4 + 0xb8], xmm0
inc eax
movss xmm0, dword [esp + 0xe0]
movss xmm3, dword [esp + 0xd0]
movss xmm4, dword [esp + 0xcc]
movss xmm2, dword [esp + 0xc8]
movss xmm7, dword [esp + 0xc4]
movss xmm6, dword [esp + 0xc0]
movss xmm1, dword [esp + 0xbc]
movss xmm5, dword [esp + 0xb8]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0xdc]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xd4]
movss dword [esp + 0x64], xmm0
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
mov dword [esp + 0x6c], 0
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x68], xmm7
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x3c], xmm5
jmp 0x1001a957
movss xmm5, dword [esp + 0x3c]
xor eax, eax
cmp dword [esp + 0x6c], eax
movss xmm6, dword [esp + 0x44]
movss xmm1, dword [esp + 0x1c]
cmove eax, ecx
movss xmm3, dword [esp + 0x2c]
movss xmm4, dword [esp + 0x30]
movss xmm2, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
jmp 0x1001a2a0
movss xmm1, dword [edi + 8]
ucomiss xmm1, dword [edi + 0x10]
lahf
test ah, 0x44
jp 0x1001b4b2
movss xmm0, dword [edi + 0xc]
ucomiss xmm0, dword [edi + 0x14]
lahf
test ah, 0x44
jnp 0x1001b4d1
cvttss2si eax, dword [edi + 0xc]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, edi
push eax
cvttss2si eax, xmm1
push eax
call fcn.10019e60
add esp, 0x18
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret