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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
push esi
mov eax, dword [ebp + 0x40]
mov esi, dword [0x10187fc4]
push edi
mov edi, edx
mov dword [esp + 0x1c], ecx
mov dword [eax], 0x7f7fffff
lea ecx, [edi + 4]
mov eax, dword [ecx]
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x54], xmm3
mov eax, dword [eax + 0x20]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], esi
call eax
test eax, eax
je 0x100872fb
mov ecx, dword [0x10187fcc]
push eax
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100872fb
cmp dword [eax + 0xac], 0
jle 0x100872fb
mov ecx, dword [eax + 0xb0]
add ecx, eax
mov dword [esp + 0x44], ecx
je 0x100872fb
xor esi, esi
xor edx, edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
nop dword [eax + eax]
cmp byte [ebp + esi + 0x1c], 0
je 0x1008725f
test esi, esi
js 0x1008725f
cmp esi, dword [ecx + 4]
jge 0x1008725f
mov eax, dword [ecx + 8]
add eax, edx
add eax, ecx
je 0x1008725f
push dword [ebp + 0x38]
movss xmm0, dword [esp + 0x34]
lea ecx, [esp + 0x64]
movss xmm1, dword [esp + 0x38]
mov edx, edi
movss xmm2, dword [esp + 0x3c]
push esi
push eax
push dword [ebp + 8]
call fcn.10078340
mov edi, dword [esp + 0x60]
cmp edi, dword [esp + 0x64]
je 0x1008724a
mov eax, dword [ebp + 0x34]
lea esi, [eax + eax*2]
shl esi, 4
mov dword [esp + 0xc], esi
nop dword [eax]
movss xmm0, dword [edi]
lea ecx, [esp + 0x6c]
subss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, dword [esp + 0x34]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, dword [esp + 0x38]
xorps xmm0, xmmword [0x101775b0]
movss dword [esp + 8], xmm0
fld dword [esp + 8]
fld dword [esp + 0x18]
fst dword [esp + 8]
movss xmm1, dword [esp + 8]
fld dword [esp + 0x20]
fst dword [esp + 8]
movss xmm0, dword [esp + 8]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 8], xmm0
fld dword [esp + 8]
fxch st(1)
fxch st(3)
movss xmm0, dword [esp + 0x54]
fxch st(1)
fpatan
addss xmm0, dword [eax + 0xc]
fstp dword [esp + 8]
movss xmm1, dword [esp + 8]
fpatan
mulss xmm1, dword [0x1017703c]
fstp dword [esp + 8]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [eax + 0x10]
movss dword [esp + 0x6c], xmm1
movss xmm1, dword [esp + 8]
mulss xmm1, dword [0x1017703c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x70], xmm1
xorps xmm0, xmmword [0x101775b0]
movss dword [esp + 0x74], xmm0
call fcn.10077150
movq xmm0, qword [eax]
movq qword [esp + 0x84], xmm0
movss xmm1, dword [esp + 0x84]
movq qword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x88]
mulss xmm0, xmm0
mov eax, dword [eax + 8]
mulss xmm1, xmm1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [esi + eax + 0x14]
ja 0x10087239
cmp byte [esi + eax + 7], 0
jne 0x10086ecc
mov eax, dword [0x10187fc0]
movq xmm0, qword [edi]
push 1
sub esp, 0xc
mov edx, dword [eax + 0x30]
mov ecx, esp
mov eax, dword [edi + 8]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x54]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call edx
add esp, 0x1c
test al, al
jne 0x10087239
mov eax, dword [esp + 0x10]
mov al, byte [esi + eax + 3]
mov ecx, dword [ebp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [esp + 8]
mov esi, dword [esp + 0x28]
mov edx, edi
push dword [ebp + 0x3c]
mov ecx, esi
push eax
call fcn.10077a60
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x20], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x20]
lea ecx, [esp + 0x20]
xorps xmm2, xmm2
mov dword [esp + 0x48], 0
comiss xmm0, xmm2
lea esi, [esp + 0x4c]
movd xmm1, eax
lea eax, [esp + 0x48]
cvtdq2ps xmm1, xmm1
cmovae eax, ecx
comiss xmm1, xmm0
movss dword [esp + 0x4c], xmm1
cmovae esi, eax
comiss xmm2, dword [esi]
jae 0x10087235
mov ecx, dword [esp + 0x24]
push edi
call fcn.10085d70
mov ecx, dword [esp + 0x10]
test al, al
mov eax, dword [esp + 0xc]
jne 0x10086f68
cmp byte [eax + ecx + 4], 0
jne 0x10087231
cmp byte [eax + ecx + 9], 0
je 0x10086ff3
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x10086feb
mov eax, dword [0x10189648]
mov ecx, 0x747d37fc
mov eax, dword [eax]
mov dword [esp + 0x18], eax
call fcn.100b44d0
mov ecx, dword [esp + 0x18]
cmp byte [eax + ecx], 0
jne 0x10086feb
mov ecx, 0x8c04d21d
call fcn.100b44d0
mov edx, dword [ebp + 0x30]
cmp dword [eax + edx], 0
jne 0x10086fe1
mov ecx, 0x394634f0
call fcn.100b44d0
mov ecx, dword [esp + 0x18]
test byte [eax + ecx], 1
je 0x10086feb
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x30]
mov eax, dword [ecx + 0x30]
test al, 2
jne 0x10086fe1
or eax, 0x80000
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x10086ff6
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x30]
cmp byte [eax + ecx + 5], 0
je 0x10087032
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x1008702a
mov ecx, 0x747d37fc
call fcn.100b44d0
mov ecx, dword [0x10189648]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
je 0x10087303
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp byte [eax + ecx + 0xa], 0
je 0x100871e3
mov eax, dword [0x10189648]
mov ecx, 0x394634f0
mov eax, dword [eax]
mov dword [esp + 8], eax
call fcn.100b44d0
mov ecx, dword [esp + 8]
test byte [eax + ecx], 1
je 0x100871e3
mov eax, dword [esp + 0x1c]
test byte [eax + 0x30], 2
jne 0x100871e3
movss xmm0, dword [0x1026f8b0]
movss xmm1, dword [0x1026f8ac]
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x2c], xmm1
mulss xmm0, xmm0
mov eax, dword [ecx]
mulss xmm1, xmm1
movss xmm2, dword [0x1026f8b4]
mov eax, dword [eax + 0x430]
addss xmm1, xmm0
movss dword [esp + 0x28], xmm2
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 8], xmm0
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x734]
mov ecx, eax
call edx
mov ecx, 0x747d37fc
mov dword [esp + 0x18], eax
call fcn.100b44d0
mov ecx, dword [0x10189648]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
mov eax, dword [esp + 0x18]
je 0x100870f1
movss xmm0, dword [eax + 0x138]
jmp 0x100870f9
movss xmm0, dword [eax + 0x134]
mulss xmm0, dword [0x10176e40]
movss xmm1, dword [esp + 8]
comiss xmm1, xmm0
jb 0x100871e3
movss xmm0, dword [esp + 0x28]
xorps xmm0, xmmword [0x101775b0]
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x2c]
fst dword [esp + 0x2c]
fld dword [esp + 0x14]
movss xmm1, dword [esp + 0x2c]
fst dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
mulss xmm1, xmm1
mov eax, dword [esp + 0x1c]
mulss xmm0, xmm0
movss xmm2, dword [eax + 0x10]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fxch st(1)
fxch st(3)
fxch st(1)
fpatan
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
fpatan
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x1017703c]
subss xmm2, xmm1
mulss xmm2, dword [0x10176da8]
movaps xmm1, xmm2
call fcn.10145410
movss xmm3, dword [esp + 8]
movaps xmm1, xmm0
xorps xmm3, xmmword [0x101775b0]
movaps xmm2, xmm1
mov eax, dword [esp + 0x1c]
shufps xmm2, xmm1, 0xe
movaps xmm0, xmm2
shufps xmm1, xmm1, 1
shufps xmm0, xmm2, 1
mulss xmm0, xmm1
mulss xmm2, xmm1
mulss xmm0, xmm3
mulss xmm2, xmm3
movss dword [eax + 0x24], xmm0
movss dword [eax + 0x28], xmm2
movd xmm1, dword [ebp + 0x10]
mov eax, dword [ebp + 0x40]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
subss xmm1, dword [esi]
mov esi, dword [esp + 0xc]
andps xmm1, xmmword [0x10177580]
comiss xmm0, xmm1
jb 0x10087239
mov ecx, dword [ebp + 0x44]
movq xmm0, qword [esp + 0x78]
mov edx, dword [esp + 0x50]
movq qword [ecx], xmm0
mov dword [ecx + 8], edx
mov ecx, dword [ebp + 0x48]
movss dword [eax], xmm1
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
mov dword [ecx + 8], eax
jmp 0x10087239
mov esi, eax
jmp 0x10087239
mov esi, dword [esp + 0xc]
add edi, 0xc
cmp edi, dword [esp + 0x64]
jne 0x10086d40
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x60]
call fcn.10073830
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add edx, 0x44
inc esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
cmp edx, 0x50c
jb 0x10086cd0
mov esi, dword [ebp + 0x48]
xorps xmm1, xmm1
movss xmm0, dword [esi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100872a6
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100872a6
movss xmm0, dword [esi + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100872fb
mov eax, dword [ebp + 0x34]
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 0x44]
lea eax, [eax + eax*2]
add eax, eax
mov edx, dword [ecx + eax*8 + 0x1c]
mov eax, dword [0x10189648]
push edx
push dword [esp + 0x20]
mov ecx, dword [eax]
push edi
push dword [ebp + 0x30]
push dword [ebp + 8]
push dword [esp + 0x58]
call fcn.10078900
test al, al
jne 0x100872fb
mov eax, dword [ebp + 0x40]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [eax], 0x7f7fffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x44
lea ecx, [esp + 0x60]
call fcn.10073830
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x44