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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x200
mov eax, dword [0x1015a368]
xor eax, esp
mov dword [esp + 0x1fc], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov dword [esp + 0x4c], 1
mov edx, ecx
mov dword [esp + 0x84], edi
sub esp, 0xc
mov dword [esp + 0x7c], edx
mov ecx, esp
mov dword [esp + 0x54], 0
mov dword [esp + 0x74], 0
movq xmm0, qword [edx + 0x58]
mov eax, dword [edx + 0x60]
movq qword [esp + 0x98], xmm0
movq xmm0, qword [edx + 0x40]
mov dword [esp + 0xa0], eax
mov eax, dword [edx + 0x48]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x84], 0
call fcn.1001acd0
movss xmm1, dword [esp + 0x100]
add esp, 0x10
movss xmm3, dword [esp + 0xe0]
movss xmm4, dword [esp + 0xdc]
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movss xmm2, dword [esp + 0xd8]
movss xmm7, dword [esp + 0xd4]
movss xmm6, dword [esp + 0xd0]
movss xmm5, dword [esp + 0xc8]
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esp + 0xec]
movss dword [esp + 0x60], xmm1
movss xmm1, dword [esp + 0xe8]
movss dword [esp + 0x50], xmm1
movss xmm1, dword [esp + 0xe4]
movq qword [esp + 0x3c], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
movss dword [esp + 0x54], xmm1
movss xmm1, dword [esp + 0xcc]
mov dword [esp + 0xc], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x88], 0x46b
mov dword [esp + 0x28], eax
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x2c], xmm5
nop dword [eax + eax]
cmp edx, edi
jge case.default.0x1001d292
mov al, byte [eax + edx]
xor edi, edi
movzx ecx, al
inc edx
mov dword [esp + 0x64], 1
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], edx
lea eax, [ecx - 1]
mov dword [esp + 0x40], edx
mov dword [esp + 0x38], ecx
cmp eax, 0x1e
ja case.0x1001c76c.2
movzx eax, byte [eax + 0x1001d890]
jmp dword [eax*4 + 0x1001d840]
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x4c], edi
je 0x1001c78c
mov eax, dword [esp + 8]
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov dword [esp + 0x48], ecx
lea eax, [ecx + 7]
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0xc]
cdq
and edx, 7
add edx, eax
sar edx, 3
add edx, dword [esp + 0x10]
cmp edx, edi
jg 0x1001c7b0
test edx, edx
jns 0x1001ccd4
mov edx, edi
jmp 0x1001ccd4
mov eax, dword [esp + 8]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add dword [esp + 0x48], eax
jmp 0x1001ccd0
cmp dword [esp + 8], 2
mov dword [esp + 0x4c], edi
jl case.default.0x1001d292
movss xmm3, dword [esi + 8]
lea edi, [esi + 0xc]
movss xmm1, dword [esi + 0x10]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1001c804
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [edi]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001c82c
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.1001c2f0
movss xmm1, dword [esi + 0x10]
add esp, 0x18
movss xmm2, dword [esi + 0x14]
mov eax, dword [esp + 8]
addss xmm1, dword [esp + eax*4 + 0xc0]
addss xmm2, dword [esp + eax*4 + 0xc4]
push 0
cvttss2si eax, xmm2
push 0
push 0
push 0
movss dword [esi + 8], xmm1
push eax
movss dword [esi + 0x10], xmm1
movss dword [esi + 0x14], xmm2
movss dword [edi], xmm2
cvttss2si eax, xmm1
push eax
mov dl, 1
mov ecx, esi
call fcn.1001c2f0
movss xmm3, dword [esp + 0x2c]
add esp, 0x18
movss xmm2, dword [esp + 0x18]
movss xmm1, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
jmp 0x1001ccd0
cmp dword [esp + 8], 1
mov dword [esp + 0x4c], edi
jl case.default.0x1001d292
movss xmm3, dword [esi + 8]
lea edi, [esi + 0xc]
movss xmm2, dword [esi + 0x10]
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jp 0x1001c8c8
movss xmm1, dword [esi + 0x14]
movss xmm0, dword [edi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1001c8f0
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.1001c2f0
movss xmm2, dword [esi + 0x10]
add esp, 0x18
movss xmm1, dword [esi + 0x14]
mov eax, dword [esp + 8]
push 0
push 0
push 0
addss xmm1, dword [esp + eax*4 + 0xd0]
push 0
movss dword [esi + 0x10], xmm2
movss dword [esi + 8], xmm2
cvttss2si eax, xmm1
movss dword [esi + 0x14], xmm1
push eax
movss dword [edi], xmm1
cvttss2si eax, xmm2
jmp 0x1001c866
cmp dword [esp + 8], 1
mov dword [esp + 0x4c], edi
jl case.default.0x1001d292
movss xmm3, dword [esi + 8]
lea edi, [esi + 0xc]
movss xmm1, dword [esi + 0x10]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jp 0x1001c95d
movss xmm2, dword [esi + 0x14]
movss xmm0, dword [edi]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x1001c985
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.1001c2f0
movss xmm1, dword [esi + 0x10]
add esp, 0x18
movss xmm2, dword [esi + 0x14]
mov eax, dword [esp + 8]
addss xmm1, dword [esp + eax*4 + 0xc4]
jmp 0x1001c842
cmp dword [esp + 8], 2
jl case.default.0x1001d292
mov dword [esp + 0x10], 1
lea edi, [esp + 0xcc]
movss xmm0, dword [esi + 0x14]
mov dl, 2
addss xmm0, dword [edi]
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.1001c2f0
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 2
add edi, 8
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 8]
jl 0x1001c9b1
movss xmm1, dword [esp + 0x20]
xorps xmm0, xmm0
mov edx, dword [esp + 0x1c]
jmp 0x1001ccd0
mov eax, dword [esp + 8]
cmp eax, 1
jge 0x1001ca79
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1fc]
xor ecx, esp
call fcn.100d8158
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 8]
cmp eax, 1
jl case.default.0x1001d292
cmp edi, eax
jge 0x1001c885
cvttss2si eax, dword [esi + 0x14]
mov dl, 2
mov ecx, esi
push 0
push 0
push 0
push 0
movss xmm0, dword [esp + edi*4 + 0xd8]
addss xmm0, dword [esi + 0x10]
push eax
cvttss2si eax, xmm0
movss dword [esi + 0x10], xmm0
push eax
call fcn.1001c2f0
mov eax, dword [esp + 0x20]
add esp, 0x18
inc edi
cmp edi, eax
jge 0x1001c885
movss xmm0, dword [esp + edi*4 + 0xc8]
mov dl, 2
addss xmm0, dword [esi + 0x14]
push 0
push 0
push 0
push 0
cvttss2si eax, xmm0
mov ecx, esi
movss dword [esi + 0x14], xmm0
push eax
cvttss2si eax, dword [esi + 0x10]
push eax
call fcn.1001c2f0
mov eax, dword [esp + 0x20]
add esp, 0x18
inc edi
jmp 0x1001ca3a
cmp dword [esp + 8], 4
jl case.default.0x1001d292
jmp 0x1001cb73
cmp dword [esp + 8], 4
jl case.default.0x1001d292
mov ecx, dword [esp + 8]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1001d7a7
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1001caf8
movss xmm6, dword [esp + edi*4 + 0xd8]
jmp 0x1001cafb
movaps xmm6, xmm0
movss xmm4, dword [esp + edi*4 + 0xc8]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esi + 0x10]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xcc]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xd0]
movaps xmm3, xmm2
addss xmm3, dword [esp + edi*4 + 0xd4]
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.1001c2f0
add esp, 0x18
xorps xmm0, xmm0
add edi, 4
mov ecx, dword [esp + 8]
lea eax, [edi + 3]
cmp eax, ecx
jge 0x1001d7a7
mov eax, ecx
sub eax, edi
cmp eax, 5
jne 0x1001cb96
movss xmm1, dword [esp + edi*4 + 0xd8]
jmp 0x1001cb99
movaps xmm1, xmm0
movss xmm4, dword [esi + 0x14]
mov dl, 4
movss xmm5, dword [esp + edi*4 + 0xc8]
movaps xmm0, xmm4
addss xmm5, dword [esi + 0x10]
addss xmm0, dword [esp + edi*4 + 0xd0]
mov ecx, esi
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xcc]
cvttss2si eax, xmm0
movaps xmm3, xmm2
push eax
cvttss2si eax, xmm2
addss xmm3, xmm1
movaps xmm1, xmm0
addss xmm1, dword [esp + edi*4 + 0xd8]
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.1001c2f0
add esp, 0x18
xorps xmm0, xmm0
add edi, 4
jmp 0x1001cad5
cmp dword [esp + 8], 6
jl case.default.0x1001d292
mov dword [esp + 0x10], 5
lea edi, [esp + 0xcc]
movss xmm4, dword [edi]
mov dl, 4
addss xmm4, dword [esi + 0x14]
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.1001c2f0
mov eax, dword [esp + 0x28]
add esp, 0x18
add eax, 6
add edi, 0x18
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 8]
jl 0x1001cc30
xorps xmm0, xmm0
movss xmm5, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x20]
movss xmm3, dword [esp + 0x14]
movss xmm2, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x24]
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 8]
xor eax, eax
cmp dword [esp + 0x64], eax
cmove eax, ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
jmp 0x1001c730
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x1001d292
add eax, 0xfffffffe
mov dword [esp + 0x38], eax
cmp eax, 5
jle 0x1001cddf
mov dword [esp + 0x10], 5
nop dword [eax]
nop word [eax + eax]
movss xmm4, dword [esp + edi*4 + 0xcc]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xc8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xd4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xd0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xe0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xdc]
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.1001c2f0
mov eax, dword [esp + 0x28]
add edi, 6
add eax, 6
add esp, 0x18
mov ecx, edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x38]
jl 0x1001cd20
lea eax, [ecx + 1]
cmp eax, dword [esp + 8]
jge case.default.0x1001d292
movss xmm5, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0x24]
movss xmm2, dword [esp + 0x18]
movss xmm0, dword [esp + edi*4 + 0xcc]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xc8]
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.1001c2f0
movss xmm1, dword [esp + 0x38]
add esp, 0x18
mov edx, dword [esp + 0x1c]
xorps xmm0, xmm0
jmp 0x1001ccd0
mov eax, dword [esp + 8]
cmp eax, 8
jl case.default.0x1001d292
add eax, 0xfffffffa
mov dword [esp + 0x38], eax
cmp eax, 1
jle 0x1001cec7
mov dword [esp + 0x10], 1
nop word [eax + eax]
movss xmm0, dword [esp + edi*4 + 0xcc]
mov dl, 2
addss xmm0, dword [esi + 0x14]
movss xmm1, dword [esp + edi*4 + 0xc8]
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.1001c2f0
mov eax, dword [esp + 0x28]
add edi, 2
add eax, 2
add esp, 0x18
mov ecx, edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x38]
jl 0x1001ce60
lea eax, [ecx + 5]
cmp eax, dword [esp + 8]
jge case.default.0x1001d292
movss xmm4, dword [esp + edi*4 + 0xcc]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm5, dword [esp + edi*4 + 0xc8]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movaps xmm0, xmm4
addss xmm0, dword [esp + edi*4 + 0xd4]
movaps xmm2, xmm5
addss xmm2, dword [esp + edi*4 + 0xd0]
cvttss2si eax, xmm0
movaps xmm1, xmm0
movaps xmm3, xmm2
push eax
addss xmm1, dword [esp + edi*4 + 0xe0]
cvttss2si eax, xmm2
addss xmm3, dword [esp + edi*4 + 0xdc]
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.1001c2f0
add esp, 0x18
jmp 0x1001ccab
mov eax, dword [esp + 8]
cmp eax, 4
jl case.default.0x1001d292
mov edi, eax
movaps xmm4, xmm0
and edi, 1
mov dword [esp + 0x5c], edi
je 0x1001cf6a
movaps xmm4, xmm5
add edi, 3
mov dword [esp + 0x10], edi
cmp edi, eax
jge 0x1001ccca
mov eax, dword [esp + 0x5c]
lea edi, [esp + 0xd0]
lea edi, [edi + eax*4]
nop word [eax + eax]
movss xmm0, dword [esi + 0x10]
movss xmm2, dword [edi - 4]
movss xmm6, dword [edi]
movss xmm7, dword [edi + 4]
movss xmm1, dword [edi - 8]
movss xmm3, dword [esi + 0x14]
cmp ecx, 0x1b
jne 0x1001cfd4
addss xmm0, xmm1
addss xmm3, xmm4
movaps xmm4, xmm0
addss xmm4, xmm2
movaps xmm2, xmm3
addss xmm2, xmm6
movaps xmm1, xmm4
addss xmm1, xmm7
movaps xmm5, xmm2
jmp 0x1001cff4
addss xmm3, xmm1
addss xmm0, xmm4
movaps xmm5, xmm3
movaps xmm1, xmm0
addss xmm5, xmm6
addss xmm1, xmm2
movaps xmm2, xmm5
addss xmm2, xmm7
movaps xmm4, xmm1
cvttss2si eax, xmm5
mov dl, 4
mov ecx, esi
movss dword [esi + 0x10], xmm1
push eax
cvttss2si eax, xmm4
movss dword [esi + 0x14], xmm2
push eax
cvttss2si eax, xmm3
push eax
cvttss2si eax, xmm0
push eax
cvttss2si eax, xmm2
push eax
cvttss2si eax, xmm1
push eax
call fcn.1001c2f0
mov ecx, dword [esp + 0x28]
add esp, 0x18
add ecx, 4
add edi, 0x10
cmp ecx, dword [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x10], ecx
xorps xmm4, xmm4
mov ecx, dword [esp + 0x38]
jl 0x1001cf90
movss xmm6, dword [esp + 0x34]
movss xmm7, dword [esp + 0x58]
jmp 0x1001ccae
cmp dword [esp + 0x74], edi
jne case.0x1001c76c.29
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x78], edi
je 0x1001d09e
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0xa8]
push ecx
mov ecx, eax
call fcn.1001c420
mov ecx, dword [esp + 0x3c]
add esp, 4
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], eax
mov dword [esp + 0x74], 1
mov eax, dword [esp + 8]
cmp eax, 1
jl case.default.0x1001d292
mov edx, dword [esp + 0x68]
dec eax
mov dword [esp + 8], eax
cmp edx, 0xa
jge case.default.0x1001d292
movq xmm0, qword [esp + 0x3c]
lea eax, [edx + edx*2]
mov edi, dword [esp + 0xc]
inc edx
movq qword [esp + eax*4 + 0x188], xmm0
mov dword [esp + eax*4 + 0x190], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x68], edx
cvttss2si edi, dword [esp + eax*4 + 0xc8]
cmp ecx, 0xa
jne 0x1001d102
lea edx, [esp + 0x8c]
jmp 0x1001d109
mov edx, dword [esp + 0x70]
add edx, 0x4c
movq xmm0, qword [edx]
mov edx, dword [edx + 8]
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x5c], edx
test edx, edx
js 0x1001d139
xor eax, eax
mov dword [esp + 0x7c], eax
test edx, edx
jle 0x1001d13f
mov eax, dword [esp + 0x78]
mov cl, byte [eax]
mov eax, 1
mov dword [esp + 0x7c], eax
jmp 0x1001d141
mov eax, edx
mov dword [esp + 0x7c], eax
xor cl, cl
movzx ecx, cl
cmp eax, edx
jl 0x1001d14c
xor al, al
jmp 0x1001d164
mov edx, dword [esp + 0x78]
mov dl, byte [edx + eax]
inc eax
mov byte [esp + 0x33], dl
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x7c], eax
mov al, byte [esp + 0x33]
shl ecx, 8
movzx eax, al
or ecx, eax
mov eax, 0x6b
cmp ecx, 0x846c
jb 0x1001d180
mov eax, 0x8000
jmp 0x1001d18e
cmp ecx, 0x4d8
cmovae eax, dword [esp + 0x88]
add edi, eax
js 0x1001d1cc
cmp edi, ecx
jge 0x1001d1cc
movq xmm0, qword [esp + 0x78]
sub esp, 0xc
mov eax, esp
mov ecx, edi
movq qword [eax], xmm0
mov dword [eax + 8], edx
lea eax, [esp + 0xc4]
push eax
call fcn.1001acd0
add esp, 0x10
movq xmm0, qword [eax]
mov edi, dword [eax + 8]
movq qword [esp + 0x98], xmm0
jmp 0x1001d1ed
mov dword [esp + 0x98], 0
xor edi, edi
mov dword [esp + 0x9c], 0
movq xmm0, qword [esp + 0x98]
mov dword [esp + 0xc], edi
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x44], edi
test edi, edi
je case.default.0x1001d292
mov eax, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x64], edx
xorps xmm0, xmm0
mov dword [esp + 0x28], eax
jmp 0x1001ccd4
mov eax, dword [esp + 0x68]
test eax, eax
jle case.default.0x1001d292
dec eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], eax
lea eax, [eax + eax*2]
movq xmm0, qword [esp + eax*4 + 0x188]
mov edi, dword [esp + eax*4 + 0x190]
movq qword [esp + 0x3c], xmm0
xorps xmm0, xmm0
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0xc], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x28], eax
jmp 0x1001ccd4
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
cmp eax, edi
jl 0x1001d277
xor cl, cl
jmp 0x1001d283
mov ecx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x1c], eax
mov cl, byte [ecx + edx]
movzx eax, cl
add eax, 0xffffffde
cmp eax, 3
ja case.default.0x1001d292
jmp dword [eax*4 + 0x1001d8b0]
cmp dword [esp + 8], 7
jl case.default.0x1001d292
movss xmm3, dword [esi + 0x14]
movaps xmm4, xmm5
addss xmm4, dword [esi + 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 [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm3
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push ecx
mov ecx, esi
push eax
call fcn.1001c2f0
movss xmm3, dword [esp + 0x30]
addss xmm3, dword [esi + 0x10]
movss xmm0, dword [esi + 0x14]
movss xmm4, dword [esp + 0x3c]
movaps xmm1, xmm0
movss xmm2, dword [esp + 0x2c]
subss xmm1, xmm6
addss xmm4, xmm3
movaps xmm5, xmm1
addss xmm2, xmm4
jmp 0x1001d5a9
cmp dword [esp + 8], 0xd
jl case.default.0x1001d292
addss xmm5, dword [esi + 0x10]
movaps xmm4, xmm1
movss xmm3, dword [esp + 0x18]
addss xmm4, dword [esi + 0x14]
movaps xmm0, xmm7
movss xmm1, dword [esp + 0x24]
movaps xmm2, xmm6
mov dl, 4
addss xmm2, xmm5
mov ecx, esi
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.1001c2f0
movss xmm3, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x6c]
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss xmm4, dword [esp + 0x68]
movss xmm5, dword [esp + 0x78]
movss xmm2, dword [esp + 0x84]
movss xmm1, dword [esp + 0x10c]
addss xmm4, xmm3
addss xmm5, xmm0
addss xmm2, xmm4
addss xmm1, xmm5
jmp 0x1001d5a9
cmp dword [esp + 8], 9
jl case.default.0x1001d292
movaps xmm3, xmm1
movaps xmm4, xmm5
addss xmm3, dword [esi + 0x14]
addss xmm4, dword [esi + 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 [esi + 0x14], xmm0
push eax
cvttss2si eax, xmm3
movss dword [esi + 0x10], xmm2
push eax
cvttss2si eax, xmm4
push eax
cvttss2si eax, xmm2
push ecx
mov ecx, esi
push eax
call fcn.1001c2f0
movss xmm0, dword [esi + 0x14]
movss xmm5, dword [esp + 0x6c]
movss xmm3, dword [esp + 0x3c]
addss xmm5, xmm0
addss xmm3, dword [esi + 0x10]
movss xmm4, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x68]
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm7
addss xmm0, dword [esp + 0x38]
addss xmm4, xmm3
movaps xmm1, xmm5
addss xmm0, dword [esp + 0x6c]
addss xmm2, xmm4
subss xmm1, xmm0
movss xmm0, dword [esp + 0x74]
jmp 0x1001d5a9
cmp dword [esp + 8], 0xb
jl case.default.0x1001d292
movaps xmm2, xmm5
movss xmm6, dword [esp + 0x6c]
addss xmm2, dword [esp + 0x34]
movaps xmm7, xmm6
addss xmm2, dword [esp + 0x18]
addss xmm2, xmm3
movss xmm3, dword [esp + 0x58]
addss xmm3, xmm1
addss xmm2, dword [esp + 0x50]
addss xmm3, xmm4
movaps xmm1, xmm2
addss xmm3, dword [esp + 0x54]
andps xmm1, xmmword [0x10156540]
addss xmm3, dword [esp + 0x60]
movaps xmm0, xmm3
andps xmm0, xmmword [0x10156540]
comiss xmm1, xmm0
jbe 0x1001d4f2
movaps xmm6, xmm3
xorps xmm6, xmmword [0x10156560]
jmp 0x1001d4fc
movaps xmm7, xmm2
xorps xmm7, xmmword [0x10156560]
movss xmm4, dword [esp + 0x20]
mov dl, 4
addss xmm4, dword [esi + 0x14]
movss xmm0, dword [esp + 0x58]
mov ecx, esi
addss xmm5, dword [esi + 0x10]
movss xmm2, dword [esp + 0x34]
movss xmm1, dword [esp + 0x24]
addss xmm0, xmm4
movss xmm3, dword [esp + 0x18]
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.1001c2f0
movss xmm3, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x6c]
addss xmm3, dword [esi + 0x10]
addss xmm0, dword [esi + 0x14]
movss xmm4, dword [esp + 0x68]
movss xmm5, dword [esp + 0x78]
addss xmm4, xmm3
addss xmm5, xmm0
movaps xmm2, xmm4
movaps xmm1, xmm5
addss xmm2, xmm7
movss xmm7, dword [esp + 0x70]
addss xmm1, xmm6
movss xmm6, dword [esp + 0x4c]
add esp, 0x18
movss dword [esi + 0x14], xmm1
cvttss2si eax, xmm5
mov dl, 4
mov ecx, esi
movss dword [esi + 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.1001c2f0
movss xmm5, dword [esp + 0x44]
add esp, 0x18
movss xmm1, dword [esp + 0x20]
xorps xmm0, xmm0
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0x24]
movss xmm2, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
jmp 0x1001ccd4
cmp ecx, 0xff
je 0x1001d661
cmp ecx, 0x1c
je 0x1001d625
lea eax, [ecx - 0x20]
cmp eax, 0xde
ja case.default.0x1001d292
mov edi, dword [esp + 0xc]
dec edx
cmp edx, edi
jg 0x1001d636
mov dword [esp + 0x40], edx
test edx, edx
jns 0x1001d63a
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x3c]
call fcn.1001a9a0
mov edi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
cwde
mov dword [esp + 0xc], edi
movd xmm0, eax
mov eax, dword [esp + 0x3c]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x28], eax
jmp 0x1001d6d7
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
cmp eax, edi
jl 0x1001d671
xor cl, cl
jmp 0x1001d67d
mov ecx, dword [esp + 0x28]
mov cl, byte [ecx + edx]
lea edx, [eax + 1]
mov eax, edx
movzx ecx, cl
cmp eax, edi
jl 0x1001d688
xor al, al
jmp 0x1001d690
mov eax, dword [esp + 0x28]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1001d6a0
xor al, al
jmp 0x1001d6a8
mov eax, dword [esp + 0x28]
mov al, byte [eax + edx]
inc edx
shl ecx, 8
movzx eax, al
or ecx, eax
cmp edx, edi
jl 0x1001d6b8
xor al, al
jmp 0x1001d6c0
mov eax, dword [esp + 0x28]
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 [0x10155b44]
mov eax, dword [esp + 8]
cmp eax, 0x30
jge case.default.0x1001d292
movss dword [esp + eax*4 + 0xc8], xmm0
inc eax
movss xmm0, dword [esp + 0xf0]
movss xmm3, dword [esp + 0xe0]
movss xmm4, dword [esp + 0xdc]
movss xmm2, dword [esp + 0xd8]
movss xmm7, dword [esp + 0xd4]
movss xmm6, dword [esp + 0xd0]
movss xmm1, dword [esp + 0xcc]
movss xmm5, dword [esp + 0xc8]
movss dword [esp + 0x6c], xmm0
movss xmm0, dword [esp + 0xec]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0xe8]
movss dword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0xe4]
movss dword [esp + 0x54], xmm0
xorps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 0x64], 0
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x58], xmm7
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x2c], xmm5
jmp 0x1001ccd4
movss xmm5, dword [esp + 0x2c]
xor eax, eax
cmp dword [esp + 0x64], eax
movss xmm6, dword [esp + 0x34]
movss xmm1, dword [esp + 0x20]
cmove eax, ecx
movss xmm3, dword [esp + 0x14]
movss xmm4, dword [esp + 0x24]
movss xmm2, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
jmp 0x1001c730
movss xmm1, dword [esi + 8]
ucomiss xmm1, dword [esi + 0x10]
lahf
test ah, 0x44
jp 0x1001d807
movss xmm0, dword [esi + 0xc]
ucomiss xmm0, dword [esi + 0x14]
lahf
test ah, 0x44
jnp 0x1001d826
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.1001c2f0
add esp, 0x18
mov ecx, dword [esp + 0x204]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.100d8158
mov esp, ebp
pop ebp
ret