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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, edx
mov edx, dword [ebp + 0xc]
movaps xmm6, xmm1
mov dword [esp + 8], ecx
movaps xmm5, xmm0
mov ecx, dword [0x10469550]
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x20], xmm5
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], ecx
test edi, edi
jne 0x1016e542
mov edi, edx
mov dword [ebp + 0x10], edi
cmp edx, 0xffffffff
jae 0x1016e542
mov cl, byte [edi]
test cl, cl
je 0x1016e53b
cmp cl, 0x23
jne 0x1016e535
cmp byte [edi + 1], cl
je 0x1016e53b
inc edi
cmp edi, 0xffffffff
jb 0x1016e525
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1016e554
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x1016e5c0
movss xmm1, dword [ecx + 0x1988]
movss dword [esp + 0x30], xmm1
cmp edx, edi
jne 0x1016e56b
xorps xmm2, xmm2
jmp 0x1016e5c6
movss xmm3, dword [0x102155ac]
lea eax, [esp + 0x58]
push 0
push edi
push edx
push ecx
mov ecx, dword [ecx + 0x1984]
movaps xmm2, xmm1
mov dword [esp], 0
push eax
call fcn.10183eb0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10215214]
movss xmm1, dword [esp + 0x5c]
movss xmm5, dword [esp + 0x20]
movss xmm6, dword [esp + 0x44]
mov edx, dword [ebp + 0xc]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x30], xmm1
mov eax, dword [ebp + 8]
movss xmm4, dword [esi]
movss dword [esp + 0x28], xmm2
movss xmm3, dword [eax]
movaps xmm0, xmm3
subss xmm0, xmm4
comiss xmm2, xmm0
jbe 0x1016eb17
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0xffff
mov dword [esp + 0x50], 0x2e
mov dword [esp + 0x14], 0
mov eax, dword [eax + 0x2c]
mov esi, dword [eax + 8]
movss xmm1, dword [eax + 0xc]
mov dword [esp + 0x4c], esi
movss dword [esp + 0x34], xmm1
movzx ecx, word [esi + 0x3c]
cmp cx, word [esp + 0x1c]
movzx eax, cx
cmove ecx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
xor ecx, ecx
cmp ax, word [esp + 0x1c]
mov eax, dword [esp + 0x48]
sete cl
lea ecx, [ecx*2 + 1]
mov dword [esp + 0x38], ecx
movzx ecx, ax
cmp ecx, dword [esi + 0x14]
jb 0x1016e653
mov eax, dword [esi + 0x2c]
jmp 0x1016e66f
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x1016e666
mov eax, dword [esi + 0x2c]
jmp 0x1016e66f
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea eax, [eax + ecx*8]
movss xmm5, dword [eax + 0x10]
movzx ecx, word [esi + 0x3c]
movaps xmm2, xmm5
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x3c], xmm5
cmp cx, word [esp + 0x1c]
jne 0x1016e6bc
subss xmm5, dword [eax + 8]
movaps xmm0, xmm1
movd xmm2, dword [esp + 0x38]
divss xmm0, dword [esi + 0x10]
cvtdq2ps xmm2, xmm2
addss xmm5, xmm0
mulss xmm2, xmm5
movss dword [esp + 0x50], xmm5
subss xmm2, xmm0
movss dword [esp + 0x3c], xmm2
maxss xmm3, xmm6
lea eax, [esp + 0x14]
push eax
push edi
push edx
subss xmm3, xmm2
movaps xmm2, xmm1
push ecx
lea eax, [esp + 0x68]
mov dword [esp], 0
push eax
mov ecx, esi
subss xmm3, xmm4
maxss xmm3, dword [0x1021521c]
call fcn.10183eb0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp edx, eax
jne 0x1016e761
cmp edx, edi
jae 0x1016e75f
push edi
mov edx, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.1016d240
mov edx, dword [ebp + 0xc]
add eax, edx
movss xmm3, dword [0x102155ac]
movss xmm2, dword [esp + 0x34]
push 0
push eax
push edx
push ecx
mov dword [esp + 0x24], eax
mov ecx, esi
lea eax, [esp + 0x68]
mov dword [esp], 0
push eax
call fcn.10183eb0
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp edx, eax
jbe 0x1016e7d1
mov edi, dword [esp + 0x14]
nop word [eax + eax]
mov cl, byte [edi - 1]
lea eax, [edi - 1]
mov dword [esp + 0x58], eax
cmp cl, 0x20
je 0x1016e784
cmp cl, 9
jne 0x1016e7ca
movss xmm3, dword [0x102155ac]
mov edi, eax
movss xmm2, dword [esp + 0x34]
inc eax
push 0
push eax
push edi
push ecx
lea eax, [esp + 0x70]
mov dword [esp], 0
push eax
mov ecx, esi
mov dword [esp + 0x28], edi
call fcn.10183eb0
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp dword [esp + 0x58], eax
ja 0x1016e770
mov edi, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 8]
movss xmm0, dword [esp + 0x28]
movss xmm7, dword [eax + 4]
mov eax, dword [esp + 0x10]
addss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x20]
jae 0x1016e894
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm7
jae 0x1016e894
movss xmm0, dword [0x1021521c]
xor ecx, ecx
call fcn.1016de60
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x1016e95f
test edx, edx
jne 0x1016e841
mov edx, dword [ebp + 0xc]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016e834
sub ecx, dword [esp + 0x58]
add edx, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
je 0x1016e95f
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x2c]
movups xmm0, xmmword [esi + 0x60]
mov esi, dword [esp + 0x10]
movss xmm2, dword [eax + 0xc]
movups xmmword [esp + 0x60], xmm0
push dword [esi + 4]
push dword [esi]
push 0
push ecx
mov dword [esp], 0
push edx
push ecx
lea ecx, [esp + 0x78]
push ecx
push dword [esp + 0x4c]
mov ecx, dword [eax + 8]
push dword [esp + 0x28]
call fcn.10184070
mov esi, dword [esp + 0x4c]
jmp 0x1016e95f
movss xmm0, dword [0x1021521c]
xor ecx, ecx
call fcn.1016de60
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x1016e95f
mov ecx, dword [ebp + 0xc]
test edx, edx
jne 0x1016e8cf
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x58], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1016e8c2
sub edx, dword [esp + 0x58]
add edx, ecx
cmp ecx, edx
je 0x1016e95f
mov edi, dword [esp + 8]
movups xmm0, xmmword [edi + 0x60]
mov eax, dword [edi + 0x2c]
mov edi, dword [esp + 0x10]
movaps xmmword [esp + 0x60], xmm0
minss xmm7, dword [esp + 0x6c]
movss xmm2, dword [eax + 0xc]
push dword [edi + 4]
movss xmm1, dword [edi]
push dword [edi]
maxss xmm1, xmm0
movss dword [esp + 0x74], xmm7
movss xmm0, dword [edi + 4]
maxss xmm0, dword [esp + 0x6c]
push 1
push ecx
mov dword [esp], 0
push edx
push ecx
movss dword [esp + 0x7c], xmm0
lea ecx, [esp + 0x78]
movss xmm0, dword [esp + 0x38]
minss xmm0, dword [esp + 0x80]
push ecx
push dword [esp + 0x4c]
mov ecx, dword [eax + 8]
push dword [esp + 0x28]
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x8c], xmm0
call fcn.10184070
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
movss xmm7, dword [esp + 0xc]
movss xmm1, dword [esp + 0x44]
addss xmm7, dword [eax]
movaps xmm0, xmm7
movss dword [esp + 0xc], xmm7
addss xmm0, dword [esp + 0x3c]
comiss xmm1, xmm0
jb 0x1016ec4d
mov eax, dword [esp + 0x48]
movzx edi, ax
mov dword [esp + 0x58], edi
nop word [eax + eax]
movss xmm0, dword [0x1021521c]
xor ecx, ecx
call fcn.1016de60
mov edx, eax
mov dword [esp + 0x44], eax
cmp edi, dword [esi + 0x14]
jb 0x1016e9bf
mov ecx, dword [esi + 0x2c]
jmp 0x1016e9db
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + edi*2]
cmp ax, word [esp + 0x1c]
jne 0x1016e9d2
mov ecx, dword [esi + 0x2c]
jmp 0x1016e9db
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1016eaf4
mov eax, dword [ecx]
test al, 2
je 0x1016eaf4
test al, 1
je 0x1016e9ff
or edx, 0xffffff
mov dword [esp + 0x44], edx
movss xmm0, dword [esp + 0x34]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x1016ea14
divss xmm0, dword [esi + 0x10]
jmp 0x1016ea1c
movss xmm0, dword [0x1021521c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
push 4
push 6
cvttss2si edi, dword [eax + 4]
movss dword [esp + 0x50], xmm0
cvttss2si esi, xmm7
call fcn.1017f550
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 8]
movss xmm0, dword [eax + 0x20]
movss xmm3, dword [esp + 0x48]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [eax + 0x24]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x1c]
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x10]
push dword [esp + 0x44]
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm2, edi
addss xmm0, xmm1
cvtdq2ps xmm2, xmm2
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 0x14]
addss xmm0, xmm2
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [eax + 8]
mulss xmm3, dword [eax + 0xc]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x30]
push eax
addss xmm0, xmm1
addss xmm3, xmm2
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm3
call fcn.1017f690
movss xmm7, dword [esp + 0xc]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
sub dword [esp + 0x38], 1
addss xmm7, dword [esp + 0x50]
movss dword [esp + 0xc], xmm7
jne 0x1016e9a0
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
jmp 0x1016ec4f
movss xmm7, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x1016ebbd
addss xmm1, dword [esi + 4]
comiss xmm1, xmm7
jae 0x1016ebbd
movss xmm0, dword [0x1021521c]
xor ecx, ecx
call fcn.1016de60
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x1016ec4f
test edi, edi
jne 0x1016eb71
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016eb64
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1016ec4f
mov edi, dword [esp + 8]
push dword [esi + 4]
push dword [esi]
movups xmm0, xmmword [edi + 0x60]
push 0
movups xmmword [esp + 0x6c], xmm0
mov eax, dword [esp + 0x14]
push ecx
mov dword [esp], 0
push ecx
mov eax, dword [eax + 0x2c]
lea ecx, [esp + 0x74]
push edx
push ecx
push dword [esp + 0x6c]
movss xmm2, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edi
call fcn.10184070
mov edi, dword [ebp + 0x10]
jmp 0x1016ec4f
movss xmm0, dword [0x1021521c]
xor ecx, ecx
call fcn.1016de60
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x1016ec4f
test edi, edi
jne 0x1016ebf3
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016ebe6
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1016ec4f
mov edi, dword [esp + 8]
movss xmm1, dword [esi]
push dword [esi + 4]
movups xmm0, xmmword [edi + 0x60]
push dword [esi]
movaps xmmword [esp + 0x68], xmm0
maxss xmm1, xmm0
movss xmm0, dword [esi + 4]
maxss xmm0, dword [esp + 0x6c]
minss xmm7, dword [esp + 0x74]
push 1
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x2c]
minss xmm0, dword [esp + 0x74]
movss dword [esp + 0x78], xmm7
movss dword [esp + 0x74], xmm0
jmp 0x1016eb8d
mov esi, eax
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x2f3c], 0
je 0x1016ec67
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.1017d610
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10