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

Disassembly:
sub esp, 0x6c
mov eax, dword [0x10071a4c]
push edi
mov edi, dword [esp + 0x74]
mov dword [esp + 0x68], eax
test byte [edi + 0xc], 0x42
jne 0x100170ae
cmp byte [edi + 0xc4], 0
jg 0x100170ae
cmp byte [edi + 0xc5], 0
jg 0x100170ae
cmp byte [edi + 0xab], 0
je 0x100170ae
movss xmm1, dword [eax + 0x3bd4]
xor edx, edx
mov cl, byte [eax + 0x66]
movaps xmm0, xmm1
mulss xmm0, dword [0x1005b298]
test cl, cl
push esi
mulss xmm1, dword [0x1005b2c8]
push 4
addss xmm0, dword [edi + 0x4c]
pop esi
cmovne edx, esi
mov byte [esp + 0x71], 0
mov dword [esp + 0x50], edx
addss xmm0, dword [0x100553c8]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1005b2b8]
cvttss2si esi, xmm0
mov dword [esp + 0x5c], esi
je 0x1001678c
movss xmm0, dword [0x1005b2d4]
jmp 0x1001678f
xorps xmm0, xmm0
movss xmm1, dword [0x1005b304]
movss dword [esp + 0x58], xmm0
movaps xmm0, xmm1
push str.RESIZE
movss dword [esp + 0x34], xmm1
mov dword [esp + 0x38], 0x7f7fffff
movss dword [esp + 0x64], xmm0
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x6c], xmm0
movss dword [esp + 0x40], xmm0
mov dword [edi + 0x148], 1
call fcn.10011281
xor eax, eax
pop ecx
mov dword [esp + 0x64], eax
cmp dword [esp + 0x84], eax
jle 0x10016b19
movss xmm4, dword [edi + 0x1c]
movss xmm2, dword [edi + 0x20]
imul ecx, eax, 0x18
movd xmm6, esi
cvtdq2ps xmm6, xmm6
add ecx, 0x10055988
mov dword [esp + 0x54], ecx
mulss xmm4, dword [ecx]
mulss xmm2, dword [ecx + 4]
movss xmm0, dword [ecx + 8]
movss xmm1, dword [ecx + 0xc]
movaps xmm5, xmm0
addss xmm4, dword [edi + 0x14]
addss xmm2, dword [edi + 0x18]
mulss xmm0, dword [esp + 0x58]
movaps xmm3, xmm1
mulss xmm1, dword [esp + 0x58]
mulss xmm5, xmm6
mulss xmm3, xmm6
addss xmm5, xmm4
subss xmm4, xmm0
addss xmm3, xmm2
subss xmm2, xmm1
movss dword [esp + 0x20], xmm5
comiss xmm4, xmm5
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x1c], xmm2
movss dword [esp + 0x24], xmm3
jbe 0x1001687c
movss dword [esp + 0x18], xmm5
movss dword [esp + 0x20], xmm4
comiss xmm2, xmm3
jbe 0x1001688d
movss dword [esp + 0x1c], xmm3
movss dword [esp + 0x24], xmm2
push eax
mov ecx, edi
call fcn.1000a9bf
push 8
mov edi, eax
lea eax, [esp + 0x1c]
push 0
push edi
push eax
call fcn.1000c652
push 0x40800
lea eax, [esp + 0x87]
push eax
lea eax, [esp + 0x8a]
push eax
lea eax, [esp + 0x34]
push edi
push eax
call fcn.1002e5d8
mov dl, byte [esp + 0x97]
add esp, 0x24
test dl, dl
je 0x10016a91
mov ecx, dword [esp + 0x6c]
push 2
pop eax
cmp word [ecx + 0x370a], ax
jne 0x10016943
cmp dword [esp + 0x64], 0
jne 0x10016943
push dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10007b7b
push 0
push 0
mov byte [esp + 0x85], 1
movss xmm0, dword [eax]
movss dword [esp + 0x74], xmm0
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x50], xmm0
call fcn.100135d1
mov dl, byte [esp + 0x87]
add esp, 0x14
jmp 0x10016aa3
mov edi, dword [esp + 0x54]
movss xmm1, dword [0x100553c8]
mov edx, dword [esp + 0x8c]
movss xmm0, dword [edi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1001696b
movss xmm5, dword [edx + 4]
jmp 0x10016973
movss xmm5, dword [0x1005b310]
movss xmm2, dword [edi]
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x10016986
movss xmm4, dword [edx]
jmp 0x1001698e
movss xmm4, dword [0x1005b310]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
movss xmm0, dword [0x1005b304]
lahf
test ah, 0x44
jp 0x100169a9
movss xmm7, dword [edx + 0xc]
jmp 0x100169ac
movaps xmm7, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x100169bc
movss xmm6, dword [edx + 8]
jmp 0x100169bf
movaps xmm6, xmm0
movss xmm0, dword [edi + 8]
xorps xmm2, xmm2
mulss xmm0, dword [esp + 0x58]
movss xmm1, dword [edi + 0xc]
mulss xmm1, dword [esp + 0x58]
cvtsi2ss xmm2, esi
xorps xmm2, xmmword [0x1005b3b0]
movaps xmm3, xmm2
mulss xmm2, dword [edi + 0xc]
mulss xmm3, dword [edi + 8]
subss xmm2, xmm1
subss xmm3, xmm0
mulss xmm2, dword [edi + 4]
mulss xmm3, dword [edi]
addss xmm2, xmm1
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdc0]
subss xmm0, dword [ecx + 0x3ea8]
addss xmm3, xmm0
movss xmm0, dword [ecx + 0xdc4]
subss xmm0, dword [ecx + 0x3eac]
addss xmm0, xmm2
comiss xmm5, xmm0
ja 0x10016a3d
movaps xmm5, xmm0
minss xmm5, xmm7
comiss xmm4, xmm3
ja 0x10016a49
movaps xmm4, xmm3
minss xmm4, xmm6
lea eax, [esp + 0x38]
movss dword [esp + 0x40], xmm4
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x48], xmm5
push eax
push edi
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x88]
push eax
call fcn.10007551
movss xmm0, dword [esp + 0x50]
add esp, 0x14
mov dl, byte [esp + 0x73]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x60], xmm0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x10016aa3
test dl, dl
jne 0x10016aa3
cmp byte [esp + 0x72], dl
je 0x10016b03
mov ecx, dword [0x10071a4c]
lea edi, [esp + 8]
xor eax, eax
cmp byte [esp + 0x72], al
push 0x20
setne al
add eax, 0x1e
test dl, dl
pop esi
cmovne eax, esi
lea esi, [ecx + 0x3880]
shl eax, 4
add esi, eax
lea eax, [esp + 8]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [ecx + 0x37a4]
movss dword [esp + 0x18], xmm0
call fcn.100082d2
mov edx, dword [esp + 0x8c]
mov esi, dword [esp + 0x60]
pop ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + ecx*4], eax
mov eax, ecx
mov edi, dword [esp + 0x78]
inc eax
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x84]
jl 0x100167ee
xor eax, eax
mov dword [esp + 0x58], eax
cmp dword [esp + 0x50], eax
jbe 0x10016def
imul ecx, eax, 0x1c
mov dword [esp + 0x48], ecx
test eax, eax
je 0x10016b41
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x10016b41
mov dword [esp + 0x60], ecx
jmp 0x10016b46
and dword [esp + 0x60], 0
movd xmm0, esi
push ecx
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 4], 0x40800000
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.1000af69
mov eax, dword [esp + 0x6c]
add esp, 0x14
add eax, 4
mov ecx, edi
push eax
call fcn.1000a9bf
push 8
mov edi, eax
lea eax, [esp + 0xc]
push 0
push edi
push eax
call fcn.1000c652
push 0x40800
lea eax, [esp + 0x87]
push eax
lea eax, [esp + 0x8a]
push eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.1002e5d8
mov al, byte [esp + 0x97]
add esp, 0x24
cmp byte [esp + 0x72], 0
mov ecx, dword [esp + 0x6c]
je 0x10016bd1
movss xmm0, dword [ecx + 0x3e8c]
comiss xmm0, dword [0x1005b288]
ja 0x10016bd9
test al, al
je 0x10016dc0
test al, al
je 0x10016dc0
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x58]
movss xmm1, dword [0x1005b310]
mov dword [edx], eax
cmp eax, 3
jne 0x10016c0f
mov eax, dword [esp + 0x8c]
movss xmm0, dword [eax + 4]
movss dword [esp + 0x64], xmm0
jmp 0x10016c2b
movaps xmm0, xmm1
movss dword [esp + 0x64], xmm0
movaps xmm3, xmm0
cmp eax, 1
jne 0x10016c41
mov eax, dword [esp + 0x8c]
movss xmm1, dword [eax]
movss xmm0, dword [0x1005b304]
movss dword [esp + 0x68], xmm1
movss dword [esp + 0x5c], xmm0
jmp 0x10016c79
movss dword [esp + 0x68], xmm1
movaps xmm2, xmm1
movss dword [esp + 0x64], xmm0
cmp eax, 2
jne 0x10016d7b
mov eax, dword [esp + 0x8c]
movss dword [esp + 0x64], xmm0
movss xmm2, dword [eax + 0xc]
movss dword [esp + 0x5c], xmm2
movss xmm0, dword [0x1005b304]
movss dword [esp + 0x54], xmm0
mov eax, dword [esp + 0x78]
add ecx, 0xdc0
push dword [esp + 0x60]
movss xmm0, dword [eax + 0x14]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [eax + 0x18]
movss dword [esp + 0x48], xmm0
call fcn.1000449d
mov ecx, dword [esp + 0x6c]
mov edi, eax
push dword [esp + 0x60]
add ecx, 0x3ea8
call fcn.1000449d
movss xmm0, dword [edi]
lea ecx, [esp + 0x40]
push dword [esp + 0x60]
subss xmm0, dword [eax]
addss xmm0, dword [0x1005b2d4]
movss dword [esp + 0x50], xmm0
call fcn.1000449d
movss xmm0, dword [esp + 0x4c]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x64]
comiss xmm0, dword [esp + 0x44]
ja 0x10016d03
movss xmm0, dword [esp + 0x44]
minss xmm0, dword [esp + 0x5c]
movss xmm1, dword [esp + 0x68]
comiss xmm1, dword [esp + 0x40]
ja 0x10016d1c
movss xmm1, dword [esp + 0x40]
minss xmm1, dword [esp + 0x54]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x78]
movss dword [esp + 0x44], xmm0
movss dword [esp + 0x40], xmm1
movss xmm0, dword [eax + 0x100559f0]
minss xmm0, dword [eax + 0x100559f8]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0x100559f4]
minss xmm0, dword [eax + 0x100559fc]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
movss dword [esp + 0x34], xmm0
push eax
lea eax, [esp + 0x4c]
push eax
push edi
call fcn.10007551
add esp, 0x14
jmp 0x10016dc4
movss xmm1, dword [0x1005b304]
movss dword [esp + 0x5c], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x68], xmm1
test eax, eax
jne 0x10016c71
mov eax, dword [esp + 0x8c]
movss dword [esp + 0x64], xmm0
movss xmm1, dword [eax + 8]
movss dword [esp + 0x54], xmm1
movaps xmm1, xmm2
movss dword [esp + 0x68], xmm1
jmp 0x10016c7f
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x58]
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x50]
jl 0x10016b29
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x60], xmm0
call fcn.10011058
mov esi, dword [esp + 0x6c]
and dword [edi + 0x148], 0
mov eax, dword [esi + 0x491c]
test eax, eax
je 0x10017029
cmp dword [eax + 0x300], edi
jne 0x10017029
push 2
pop eax
xorps xmm1, xmm1
xorps xmm3, xmm3
cmp dword [esi + 0x47f8], eax
jne 0x10016e5d
cmp byte [esi + 0xddd], 0
je 0x10016e5d
push 0x204
push 0x203
push 0x202
lea eax, [esp + 0x34]
push 0x201
push eax
call fcn.1000ab56
add esp, 0x14
movss xmm1, dword [eax]
movss xmm3, dword [eax + 4]
cmp dword [esi + 0x47f8], 3
jne 0x10016e90
push 0x272
push 0x271
push 0x270
lea eax, [esp + 0x34]
push 0x26f
push eax
call fcn.1000ab56
add esp, 0x14
movss xmm1, dword [eax]
movss xmm3, dword [eax + 4]
xorps xmm0, xmm0
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10016ea9
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jnp 0x10017029
movss xmm2, dword [esi + 0x5c]
minss xmm2, dword [esi + 0x58]
mov eax, dword [esp + 0x8c]
mulss xmm2, dword [esi + 0x18]
mulss xmm2, dword [0x1005b2fc]
movaps xmm0, xmm2
mulss xmm2, xmm3
mulss xmm0, xmm1
addss xmm2, dword [esi + 0x4940]
addss xmm0, dword [esi + 0x493c]
movss dword [esi + 0x4940], xmm2
movss dword [esi + 0x493c], xmm0
movss xmm1, dword [eax]
subss xmm1, dword [edi + 0x14]
subss xmm1, dword [edi + 0x1c]
maxss xmm1, xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x18]
subss xmm0, dword [edi + 0x20]
movss dword [esi + 0x493c], xmm1
lea edi, [esp + 8]
mov byte [esi + 0x4930], 0
mov byte [esi + 0x4803], 1
maxss xmm0, xmm2
movss dword [esi + 0x4940], xmm0
mov eax, dword [0x10071a4c]
lea esi, [eax + 0x3a80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [eax + 0x37a4]
lea eax, [esp + 8]
push eax
movss dword [esp + 0x18], xmm0
call fcn.100082d2
pop ecx
mov ecx, dword [esp + 0x88]
xorps xmm0, xmm0
mov dword [ecx], eax
mov eax, dword [esp + 0x6c]
cvttss2si esi, dword [eax + 0x493c]
cvttss2si edi, dword [eax + 0x4940]
movd xmm2, esi
cvtdq2ps xmm2, xmm2
movd xmm1, edi
ucomiss xmm2, xmm0
cvtdq2ps xmm1, xmm1
lahf
test ah, 0x44
jp 0x10016fab
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10017031
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x28]
movaps xmm0, xmm2
push ecx
push eax
addss xmm0, dword [eax + 0x24]
movss dword [esp + 0x30], xmm0
movaps xmm0, xmm1
addss xmm0, dword [eax + 0x28]
lea eax, [esp + 0x40]
push eax
movss dword [esp + 0x38], xmm0
call fcn.10007b7b
movd xmm2, esi
add esp, 0xc
cvtdq2ps xmm2, xmm2
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [esp + 0x6c]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [eax + 0x493c]
subss xmm0, xmm2
movd xmm2, edi
cvtdq2ps xmm2, xmm2
movss dword [eax + 0x493c], xmm0
movss xmm0, dword [eax + 0x4940]
subss xmm0, xmm2
movss dword [eax + 0x4940], xmm0
jmp 0x10017037
movss xmm1, dword [esp + 0x68]
jmp 0x1001703b
movss xmm1, dword [esp + 0x68]
mov edi, dword [esp + 0x78]
movss xmm0, dword [esp + 0x60]
ucomiss xmm0, dword [0x1005b304]
pop esi
lahf
test ah, 0x44
jnp 0x10017060
push edi
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
call fcn.1000d0d1
pop ecx
movss xmm0, dword [esp + 0x2c]
ucomiss xmm0, dword [0x1005b304]
lahf
test ah, 0x44
jnp 0x1001709c
cvttss2si eax, xmm0
push edi
movd xmm1, eax
cvttss2si eax, dword [esp + 0x34]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x14], xmm1
movss dword [edi + 0x18], xmm0
call fcn.1000d0d1
pop ecx
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x28]
mov al, byte [esp + 0x6d]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
jmp 0x100170b0
xor al, al
pop edi
add esp, 0x6c
ret