Function at 0x1016d360
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 [0x10468550]
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x20], xmm5
mov dword [esp + 0x10], esi
mov dword [esp + 0x54], ecx
test edi, edi
jne 0x1016d3c2
mov edi, edx
mov dword [ebp + 0x10], edi
cmp edx, 0xffffffff
jae 0x1016d3c2
mov cl, byte [edi]
test cl, cl
je 0x1016d3bb
cmp cl, 0x23
jne 0x1016d3b5
cmp byte [edi + 1], cl
je 0x1016d3bb
inc edi
cmp edi, 0xffffffff
jb 0x1016d3a5
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x10], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1016d3d4
movss xmm2, dword [eax]
movss xmm1, dword [eax + 4]
jmp 0x1016d440
movss xmm1, dword [ecx + 0x1988]
movss dword [esp + 0x30], xmm1
cmp edx, edi
jne 0x1016d3eb
xorps xmm2, xmm2
jmp 0x1016d446
movss xmm3, dword [0x102145f4]
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.10182d20
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x1021425c]
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 0x1016d997
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 0x1016d4d3
mov eax, dword [esi + 0x2c]
jmp 0x1016d4ef
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + ecx*2]
cmp ax, word [esp + 0x1c]
jne 0x1016d4e6
mov eax, dword [esi + 0x2c]
jmp 0x1016d4ef
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 0x1016d53c
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 [0x10214264]
call fcn.10182d20
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 0x1016d5e1
cmp edx, edi
jae 0x1016d5df
push edi
mov edx, eax
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
call fcn.1016c0c0
mov edx, dword [ebp + 0xc]
add eax, edx
movss xmm3, dword [0x102145f4]
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.10182d20
mov edx, dword [esp + 0x14]
movss xmm0, dword [eax]
mov eax, dword [ebp + 0xc]
movss dword [esp + 0xc], xmm0
cmp edx, eax
jbe 0x1016d651
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 0x1016d604
cmp cl, 9
jne 0x1016d64a
movss xmm3, dword [0x102145f4]
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.10182d20
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 0x1016d5f0
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 0x1016d714
movss xmm0, dword [esp + 0x30]
addss xmm0, dword [eax + 4]
comiss xmm0, xmm7
jae 0x1016d714
movss xmm0, dword [0x10214264]
xor ecx, ecx
call fcn.1016cce0
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x1016d7df
test edx, edx
jne 0x1016d6c1
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 0x1016d6b4
sub ecx, dword [esp + 0x58]
add edx, ecx
mov ecx, dword [ebp + 0xc]
cmp ecx, edx
je 0x1016d7df
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.10182ee0
mov esi, dword [esp + 0x4c]
jmp 0x1016d7df
movss xmm0, dword [0x10214264]
xor ecx, ecx
call fcn.1016cce0
mov dword [esp + 0x30], eax
test eax, 0xff000000
je 0x1016d7df
mov ecx, dword [ebp + 0xc]
test edx, edx
jne 0x1016d74f
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x58], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1016d742
sub edx, dword [esp + 0x58]
add edx, ecx
cmp ecx, edx
je 0x1016d7df
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.10182ee0
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 0x1016dacd
mov eax, dword [esp + 0x48]
movzx edi, ax
mov dword [esp + 0x58], edi
nop word [eax + eax]
movss xmm0, dword [0x10214264]
xor ecx, ecx
call fcn.1016cce0
mov edx, eax
mov dword [esp + 0x44], eax
cmp edi, dword [esi + 0x14]
jb 0x1016d83f
mov ecx, dword [esi + 0x2c]
jmp 0x1016d85b
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + edi*2]
cmp ax, word [esp + 0x1c]
jne 0x1016d852
mov ecx, dword [esi + 0x2c]
jmp 0x1016d85b
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea ecx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x1016d974
mov eax, dword [ecx]
test al, 2
je 0x1016d974
test al, 1
je 0x1016d87f
or edx, 0xffffff
mov dword [esp + 0x44], edx
movss xmm0, dword [esp + 0x34]
xorps xmm1, xmm1
comiss xmm0, xmm1
jb 0x1016d894
divss xmm0, dword [esi + 0x10]
jmp 0x1016d89c
movss xmm0, dword [0x10214264]
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.1017e3c0
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.1017e500
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 0x1016d820
mov edi, dword [ebp + 0x10]
mov esi, dword [esp + 0x10]
jmp 0x1016dacf
movss xmm7, dword [eax + 4]
addss xmm2, xmm4
comiss xmm2, xmm5
jae 0x1016da3d
addss xmm1, dword [esi + 4]
comiss xmm1, xmm7
jae 0x1016da3d
movss xmm0, dword [0x10214264]
xor ecx, ecx
call fcn.1016cce0
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x1016dacf
test edi, edi
jne 0x1016d9f1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016d9e4
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1016dacf
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.10182ee0
mov edi, dword [ebp + 0x10]
jmp 0x1016dacf
movss xmm0, dword [0x10214264]
xor ecx, ecx
call fcn.1016cce0
mov dword [esp + 0x50], eax
mov ecx, edi
test eax, 0xff000000
je 0x1016dacf
test edi, edi
jne 0x1016da73
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x58], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1016da66
sub ecx, dword [esp + 0x58]
add ecx, edx
cmp edx, ecx
je 0x1016dacf
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 0x1016da0d
mov esi, eax
mov eax, dword [esp + 0x54]
cmp byte [eax + 0x2f3c], 0
je 0x1016dae7
mov edx, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.1017c480
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10