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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x58], 1
mov edx, ecx
mov dword [esp + 0x7c], edi
sub esp, 0xc
mov dword [esp + 0x80], edx
mov ecx, esp
mov dword [esp + 0x60], 0
mov dword [esp + 0x78], 0
movq xmm0, qword [edx + 0x5c]
mov eax, dword [edx + 0x64]
movq qword [esp + 0x90], xmm0
movq xmm0, qword [edx + 0x44]
mov dword [esp + 0x98], eax
mov eax, dword [edx + 0x4c]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0x9c]
push eax
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x88], 0
call fcn.1001c390
movss xmm2, dword [esp + 0xd8]
add esp, 0x10
movss xmm3, dword [esp + 0xb8]
xorps xmm6, xmm6
movss xmm5, dword [esp + 0xb4]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm1, dword [esp + 0xac]
movss xmm7, dword [esp + 0xa4]
movss xmm4, dword [esp + 0xa0]
movq qword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xc4]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xb0]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xa8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x80], 0x46b
mov dword [esp + 0x2c], eax
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x34], xmm4
nop dword [eax]
cmp edx, edi
jge case.default.0x1001ec8c
mov al, byte [eax + edx]
xor edi, edi
movzx ecx, al
inc edx
mov dword [esp + 0x68], 1
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], edx
lea eax, [ecx - 1]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x30], ecx
cmp eax, 0x1e
ja case.0x1001e19c.2
movzx eax, byte [eax + 0x1001f294]
jmp dword [eax*4 + 0x1001f244]
mov ecx, dword [esp + 0x54]
cmp dword [esp + 0x58], edi
je 0x1001e1bc
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x54], ecx
lea eax, [ecx + 7]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x10]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, dword [esp + 0x18]
cmp edx, edi
jg 0x1001e1e0
test edx, edx
jns 0x1001e6c4
mov edx, edi
jmp 0x1001e6c4
mov eax, dword [esp + 0xc]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
add dword [esp + 0x54], eax
jmp 0x1001e6c0
cmp dword [esp + 0xc], 2
mov dword [esp + 0x58], edi
jl case.default.0x1001ec8c
movss xmm3, dword [esi + 8]
lea edi, [esi + 0xc]
movss xmm1, dword [esi + 0x10]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1001e234
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [edi]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001e25c
cvttss2si eax, dword [edi]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
movss xmm1, dword [esi + 0x10]
add esp, 0x18
movss xmm2, dword [esi + 0x14]
mov eax, dword [esp + 0xc]
addss xmm1, dword [esp + eax*4 + 0x98]
addss xmm2, dword [esp + eax*4 + 0x9c]
push 0
cvttss2si eax, xmm2
push 0
push 0
push 0
mov dl, 1
mov ecx, esi
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 8], xmm1
push eax
movss dword [esi + 0x14], xmm2
movss dword [edi], xmm2
call fcn.1001dd00
add esp, 0x18
jmp 0x1001e6aa
cmp dword [esp + 0xc], 1
mov dword [esp + 0x58], edi
jl case.default.0x1001ec8c
movss xmm3, dword [esi + 8]
lea edi, [esi + 0xc]
movss xmm1, dword [esi + 0x10]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1001e2df
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [edi]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001e307
cvttss2si eax, dword [edi]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
movss xmm1, dword [esi + 0x10]
add esp, 0x18
movss xmm2, dword [esi + 0x14]
mov eax, dword [esp + 0xc]
addss xmm1, xmm6
jmp 0x1001e269
cmp dword [esp + 0xc], 1
mov dword [esp + 0x58], edi
jl case.default.0x1001ec8c
movss xmm3, dword [esi + 8]
lea edi, [esi + 0xc]
movss xmm1, dword [esi + 0x10]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1001e34b
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [edi]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001e373
cvttss2si eax, dword [edi]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
movss xmm1, dword [esi + 0x10]
add esp, 0x18
movss xmm2, dword [esi + 0x14]
mov eax, dword [esp + 0xc]
addss xmm2, xmm6
addss xmm1, dword [esp + eax*4 + 0x9c]
jmp 0x1001e272
cmp dword [esp + 0xc], 2
jl case.default.0x1001ec8c
mov dword [esp + 0x18], 1
lea edi, [esp + 0xa4]
nop
movss xmm0, dword [edi]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [edi - 4]
mov ecx, esi
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1001dd00
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 2
add edi, 8
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xc]
jl 0x1001e3a0
jmp 0x1001e6b0
mov eax, dword [esp + 0xc]
cmp eax, 1
jge 0x1001e45a
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1001ec8c
cmp edi, eax
jge 0x1001e6b0
movss xmm0, dword [esi + 0x14]
mov dl, 2
movss xmm1, dword [esp + edi*4 + 0xa0]
addss xmm0, xmm6
addss xmm1, dword [esi + 0x10]
push 0
push 0
push 0
cvttss2si eax, xmm0
push 0
mov ecx, esi
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1001dd00
mov eax, dword [esp + 0x24]
add esp, 0x18
inc edi
cmp edi, eax
jge 0x1001e6b0
movss xmm0, dword [esp + edi*4 + 0xa0]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esi + 0x10]
mov ecx, esi
push 0
push 0
addss xmm1, xmm6
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1001dd00
mov eax, dword [esp + 0x24]
add esp, 0x18
inc edi
jmp 0x1001e40e
cmp dword [esp + 0xc], 4
jl case.default.0x1001ec8c
jmp 0x1001e565
cmp dword [esp + 0xc], 4
jl case.default.0x1001ec8c
mov ecx, dword [esp + 0xc]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1001f1ca
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1001e4e9
movss xmm7, dword [esp + edi*4 + 0xb0]
jmp 0x1001e4ec
movaps xmm7, xmm6
movss xmm4, dword [esp + edi*4 + 0xa0]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x10]
mov ecx, esi
addss xmm5, xmm6
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xa8]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xa4]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xb0]
push eax
cvttss2si eax, xmm4
addss xmm1, xmm7
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
add esp, 0x18
add edi, 4
mov ecx, dword [esp + 0xc]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1001f1ca
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1001e588
movss xmm1, dword [esp + edi*4 + 0xb0]
jmp 0x1001e58b
movaps xmm1, xmm6
movss xmm4, dword [esi + 0x14]
mov dl, 4
movss xmm5, dword [esp + edi*4 + 0xa0]
addss xmm4, xmm6
addss xmm5, dword [esi + 0x10]
mov ecx, esi
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xa8]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xa4]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0xb0]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
add esp, 0x18
add edi, 4
jmp 0x1001e4c6
cmp dword [esp + 0xc], 6
jl case.default.0x1001ec8c
mov dword [esp + 0x18], 5
lea edi, [esp + 0xa4]
movss xmm4, dword [esi + 0x14]
mov dl, 4
addss xmm4, dword [edi]
movss xmm5, dword [edi - 4]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [edi + 8]
movaps xmm2, xmm5
addss xmm2, dword [edi + 4]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [edi + 0x10]
cvttss2si eax, xmm2
addss xmm3, dword [edi + 0xc]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
mov eax, dword [esp + 0x30]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xc]
jl 0x1001e623
movss xmm5, dword [esp + 0x28]
movss xmm4, dword [esp + 0x34]
movss xmm3, dword [esp + 0x20]
movss xmm0, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
movss xmm1, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x70]
xor eax, eax
cmp dword [esp + 0x68], eax
cmove eax, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
jmp 0x1001e160
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1001ec8c
add eax, 0xfffffffe
mov dword [esp + 0x30], eax
cmp eax, 5
jle 0x1001e7c9
mov dword [esp + 0x18], 5
nop dword [eax]
movss xmm4, dword [esp + edi*4 + 0xa4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xa0]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xac]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xa8]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xb8]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xb4]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
mov eax, dword [esp + 0x30]
add edi, 6
add eax, 6
add esp, 0x18
mov ecx, edi
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
jl 0x1001e710
lea eax, [ecx + 1]
cmp eax, dword [esp + 0xc]
jge case.default.0x1001ec8c
movss xmm4, dword [esp + 0x34]
movss xmm3, dword [esp + 0x20]
movss xmm5, dword [esp + 0x28]
movss xmm0, dword [esp + edi*4 + 0xa4]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xa0]
mov ecx, esi
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1001dd00
add esp, 0x18
jmp 0x1001e6b0
mov eax, dword [esp + 0xc]
cmp eax, 8
jl case.default.0x1001ec8c
add eax, 0xfffffffa
mov dword [esp + 0x30], eax
cmp eax, 1
jle 0x1001e8a7
mov dword [esp + 0x18], 1
nop word [eax + eax]
movss xmm0, dword [esp + edi*4 + 0xa4]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xa0]
mov ecx, esi
addss xmm1, dword [esi + 0x10]
push 0
push 0
cvttss2si eax, xmm0
push 0
push 0
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm0
push eax
call fcn.1001dd00
mov eax, dword [esp + 0x30]
add edi, 2
add eax, 2
add esp, 0x18
mov ecx, edi
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x30]
jl 0x1001e840
lea eax, [ecx + 5]
cmp eax, dword [esp + 0xc]
jge case.default.0x1001ec8c
movss xmm4, dword [esp + edi*4 + 0xa4]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xa0]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xac]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xa8]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xb8]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xb4]
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
add esp, 0x18
jmp 0x1001e69e
mov eax, dword [esp + 0xc]
cmp eax, 4
jl case.default.0x1001ec8c
mov edi, eax
movaps xmm1, xmm6
and edi, 1
mov dword [esp + 0x60], edi
je 0x1001e94a
movaps xmm1, xmm4
add edi, 3
mov dword [esp + 0x18], edi
cmp edi, eax
jge 0x1001e6ba
mov eax, dword [esp + 0x60]
lea edi, [esp + 0xa8]
lea edi, [edi + eax*4]
nop word [eax + eax]
movss xmm7, dword [esi + 0x10]
movss xmm0, dword [esi + 0x14]
movss xmm2, dword [edi - 4]
movss xmm3, dword [edi]
movss xmm5, dword [edi - 8]
cmp ecx, 0x1b
jne 0x1001e9b4
addss xmm5, xmm7
addss xmm0, xmm1
movaps xmm1, xmm5
addss xmm1, xmm2
movaps xmm2, xmm0
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [edi + 4]
movaps xmm4, xmm2
addss xmm4, xmm6
jmp 0x1001e9dc
addss xmm7, xmm1
addss xmm0, xmm5
movaps xmm1, xmm7
movaps xmm5, xmm7
addss xmm1, xmm2
movaps xmm2, xmm0
addss xmm2, xmm3
movaps xmm3, xmm1
movaps xmm4, xmm2
addss xmm3, xmm6
addss xmm4, dword [edi + 4]
cvttss2si eax, xmm2
mov dl, 4
mov ecx, esi
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm4
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
mov ecx, dword [esp + 0x30]
add esp, 0x18
add ecx, 4
add edi, 0x10
cmp ecx, dword [esp + 0xc]
movaps xmm1, xmm6
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x30]
jl 0x1001e970
movss xmm7, dword [esp + 0x3c]
jmp 0x1001e69e
cmp dword [esp + 0x78], edi
jne case.0x1001e19c.29
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x7c], edi
je 0x1001ea7a
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x160]
push ecx
mov ecx, eax
call fcn.1001de30
mov ecx, dword [esp + 0x34]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x84], xmm0
mov dword [esp + 0x8c], eax
mov dword [esp + 0x78], 1
mov eax, dword [esp + 0xc]
cmp eax, 1
jl case.default.0x1001ec8c
mov edx, dword [esp + 0x6c]
dec eax
mov dword [esp + 0xc], eax
cmp edx, 0xa
jge case.default.0x1001ec8c
movq xmm0, qword [esp + 0x48]
lea eax, [edx + edx*2]
mov edi, dword [esp + 0x10]
inc edx
movq qword [esp + eax*4 + 0x180], xmm0
mov dword [esp + eax*4 + 0x188], edi
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], edx
cvttss2si edi, dword [esp + eax*4 + 0xa0]
cmp ecx, 0xa
jne 0x1001eade
lea edx, [esp + 0x84]
jmp 0x1001eae5
mov edx, dword [esp + 0x74]
add edx, 0x50
movq xmm0, qword [edx]
mov edx, dword [edx + 8]
movq qword [esp + 0x1fc], xmm0
mov dword [esp + 0x60], edx
test edx, edx
js 0x1001eb21
xor eax, eax
mov dword [esp + 0x200], eax
test edx, edx
jle 0x1001eb2a
mov eax, dword [esp + 0x1fc]
mov cl, byte [eax]
mov eax, 1
mov dword [esp + 0x200], eax
jmp 0x1001eb2c
mov eax, edx
mov dword [esp + 0x200], eax
xor cl, cl
movzx ecx, cl
cmp eax, edx
jl 0x1001eb37
xor al, al
jmp 0x1001eb55
mov edx, dword [esp + 0x1fc]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x3b], dl
mov edx, dword [esp + 0x60]
mov dword [esp + 0x200], eax
mov al, byte [esp + 0x3b]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1001eb71
mov eax, 0x8000
jmp 0x1001eb7f
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x80]
add edi, eax
js 0x1001ebc0
cmp edi, ecx
jge 0x1001ebc0
movq xmm0, qword [esp + 0x1fc]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0x17c]
push eax
call fcn.1001c390
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0x90], xmm0
jmp 0x1001ebe1
mov dword [esp + 0x90], 0
xor edi, edi
mov dword [esp + 0x94], 0
movq xmm0, qword [esp + 0x90]
mov dword [esp + 0x10], edi
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], edi
test edi, edi
je case.default.0x1001ec8c
mov eax, dword [esp + 0x48]
xor edx, edx
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x68], edx
mov dword [esp + 0x2c], eax
jmp 0x1001e6c4
mov eax, dword [esp + 0x6c]
test eax, eax
jle case.default.0x1001ec8c
dec eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x180]
mov edi, dword [esp + eax*4 + 0x188]
movq qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
movss xmm0, dword [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x2c], eax
jmp 0x1001e6c4
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
cmp eax, edi
jl 0x1001ec71
xor cl, cl
jmp 0x1001ec7d
mov ecx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x24], eax
mov cl, byte [ecx + edx]
movzx eax, cl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1001ec8c
jmp dword [eax*4 + 0x1001f2b4]
cmp dword [esp + 0xc], 7
jl case.default.0x1001ec8c
movaps xmm5, xmm4
movaps xmm2, xmm7
movss xmm4, dword [esi + 0x14]
movaps xmm3, xmm1
addss xmm5, dword [esi + 0x10]
addss xmm4, xmm6
mov dl, 4
mov ecx, esi
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
movaps xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
addss xmm1, xmm6
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
movss xmm4, dword [esi + 0x14]
movss xmm3, dword [esp + 0x5c]
addss xmm4, xmm6
addss xmm3, dword [esi + 0x10]
movss xmm5, dword [esp + 0x40]
movss xmm1, dword [esp + 0x38]
movaps xmm0, xmm4
subss xmm0, dword [esp + 0x2c]
addss xmm5, xmm3
movaps xmm2, xmm0
addss xmm1, xmm5
addss xmm2, xmm6
jmp 0x1001efd4
cmp dword [esp + 0xc], 0xd
jl case.default.0x1001ec8c
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x44]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
movss xmm1, dword [esp + 0x28]
mov ecx, esi
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
addss xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
movss dword [esi + 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.1001dd00
movss xmm3, dword [esp + 0x38]
movss xmm4, dword [esp + 0x58]
addss xmm3, dword [esi + 0x10]
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + 0x74]
movss xmm0, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x88]
movss xmm2, dword [esp + 0xe4]
addss xmm5, xmm3
addss xmm0, xmm4
addss xmm1, xmm5
addss xmm2, xmm0
jmp 0x1001efd4
cmp dword [esp + 0xc], 9
jl case.default.0x1001ec8c
movaps xmm5, xmm4
movss xmm3, dword [esp + 0x44]
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm7
movaps xmm2, xmm0
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm1
mov dl, 4
mov ecx, esi
addss xmm2, xmm5
addss xmm0, xmm4
addss xmm3, xmm2
cvttss2si eax, xmm0
movaps xmm1, xmm0
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm2
addss xmm1, xmm6
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
movss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0x34]
addss xmm4, xmm6
movss xmm3, dword [esp + 0x40]
addss xmm0, xmm7
addss xmm3, dword [esi + 0x10]
movss xmm2, dword [esp + 0x58]
movss xmm5, dword [esp + 0x38]
movss xmm1, dword [esp + 0x74]
addss xmm2, xmm4
addss xmm0, dword [esp + 0x58]
addss xmm5, xmm3
movss dword [esp + 0x78], xmm2
subss xmm2, xmm0
movss xmm0, dword [esp + 0x78]
addss xmm1, xmm5
jmp 0x1001efd4
cmp dword [esp + 0xc], 0xb
jl case.default.0x1001ec8c
movaps xmm7, xmm2
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x30], xmm7
addss xmm2, dword [esp + 0x44]
addss xmm2, xmm3
movaps xmm3, xmm1
addss xmm3, dword [esp + 0x3c]
addss xmm2, dword [esp + 0x5c]
addss xmm3, xmm5
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x40]
andps xmm1, xmmword [0x10052ae0]
addss xmm3, dword [esp + 0x64]
movaps xmm0, xmm3
andps xmm0, xmmword [0x10052ae0]
comiss xmm1, xmm0
jbe 0x1001ef18
movaps xmm7, xmm3
xorps xmm7, xmmword [0x10052af0]
jmp 0x1001ef28
movaps xmm0, xmm2
xorps xmm0, xmmword [0x10052af0]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x1c]
movaps xmm5, xmm4
movss xmm4, dword [esp + 0x3c]
mov dl, 4
addss xmm4, dword [esi + 0x14]
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x14]
mov ecx, esi
movss xmm1, dword [esp + 0x28]
movss xmm3, dword [esp + 0x44]
addss xmm0, xmm4
addss xmm2, xmm5
cvttss2si eax, xmm0
addss xmm1, xmm0
push eax
cvttss2si eax, xmm2
addss xmm3, xmm2
movss dword [esi + 0x14], xmm1
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x10], xmm3
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm1
push eax
cvttss2si eax, xmm3
push eax
call fcn.1001dd00
movss xmm4, dword [esp + 0x58]
movss xmm3, dword [esp + 0x38]
addss xmm4, dword [esi + 0x14]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esp + 0x7c]
movss xmm5, dword [esp + 0x74]
addss xmm0, xmm4
addss xmm5, xmm3
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, xmm7
addss xmm1, dword [esp + 0x48]
movss xmm7, dword [esp + 0x54]
add esp, 0x18
movss dword [esi + 0x10], xmm1
cvttss2si eax, xmm0
mov dl, 4
mov ecx, esi
movss dword [esi + 0x14], xmm2
push eax
cvttss2si eax, xmm5
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
call fcn.1001dd00
movss xmm4, dword [esp + 0x4c]
add esp, 0x18
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x20]
movss xmm5, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jmp 0x1001e6c4
cmp ecx, 0xff
je 0x1001f087
cmp ecx, 0x1c
je 0x1001f048
cmp ecx, 0x20
jb case.default.0x1001ec8c
mov edi, dword [esp + 0x10]
dec edx
cmp edx, edi
jg 0x1001f059
mov dword [esp + 0x4c], edx
test edx, edx
jns 0x1001f05d
mov dword [esp + 0x4c], edi
lea ecx, [esp + 0x48]
call fcn.1001c060
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
cwde
mov dword [esp + 0x10], edi
movd xmm0, eax
mov eax, dword [esp + 0x48]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], eax
jmp 0x1001f0fd
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
cmp eax, edi
jl 0x1001f097
xor cl, cl
jmp 0x1001f0a3
mov ecx, dword [esp + 0x2c]
mov cl, byte [ecx + edx]
lea edx, [eax + 1]
mov eax, edx
movzx ecx, cl
cmp eax, edi
jl 0x1001f0ae
xor al, al
jmp 0x1001f0b6
mov eax, dword [esp + 0x2c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1001f0c6
xor al, al
jmp 0x1001f0ce
mov eax, dword [esp + 0x2c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1001f0de
xor al, al
jmp 0x1001f0e6
mov eax, dword [esp + 0x2c]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10052340]
mov eax, dword [esp + 0xc]
cmp eax, 0x30
jge case.default.0x1001ec8c
movss dword [esp + eax*4 + 0xa0], xmm0
inc eax
movss xmm0, dword [esp + 0xc8]
movss xmm3, dword [esp + 0xb8]
movss xmm5, dword [esp + 0xb4]
movss xmm2, dword [esp + 0xb0]
movss xmm1, dword [esp + 0xac]
movss xmm7, dword [esp + 0xa4]
movss xmm4, dword [esp + 0xa0]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xc4]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x68], 0
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x34], xmm4
jmp 0x1001e6c4
movss xmm4, dword [esp + 0x34]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [esp + 0x1c]
movss xmm7, dword [esp + 0x3c]
movss xmm3, dword [esp + 0x20]
movss xmm5, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
jmp 0x1001e6c8
movss xmm1, dword [esi + 8]
ucomiss xmm1, dword [esi + 0x10]
lahf
test ah, 0x44
jp 0x1001f219
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [esi + 0x14]
lahf
test ah, 0x44
jnp 0x1001f238
cvttss2si eax, dword [esi + 0xc]
push 0
push 0
push 0
push 0
mov dl, 2
mov ecx, esi
push eax
cvttss2si eax, xmm1
push eax
call fcn.1001dd00
add esp, 0x18
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret