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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
push esi
mov eax, dword [ebp + 0x40]
mov esi, dword [0x10190fc4]
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 + 0x64], xmm5
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x5c], xmm3
mov eax, dword [eax + 0x20]
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x30], xmm0
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], esi
call eax
test eax, eax
je 0x1008bcd8
mov ecx, dword [0x10190fcc]
push eax
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x1008bcd8
cmp dword [eax + 0xac], 0
jle 0x1008bcd8
mov ecx, dword [eax + 0xb0]
add ecx, eax
mov dword [esp + 0x48], ecx
je 0x1008bcd8
xor esi, esi
xor edx, edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
nop dword [eax + eax]
cmp byte [ebp + esi + 0x1c], 0
je 0x1008bc40
test esi, esi
js 0x1008bc40
cmp esi, dword [ecx + 4]
jge 0x1008bc40
mov eax, dword [ecx + 8]
add eax, edx
add eax, ecx
je 0x1008bc40
push dword [ebp + 0x38]
movss xmm0, dword [esp + 0x34]
lea ecx, [esp + 0x6c]
movss xmm1, dword [esp + 0x38]
mov edx, edi
movss xmm2, dword [esp + 0x3c]
push esi
push eax
push dword [ebp + 8]
call fcn.10079e60
mov edi, dword [esp + 0x68]
cmp edi, dword [esp + 0x6c]
je 0x1008bc2b
imul esi, dword [ebp + 0x34], 0x2c
mov dword [esp + 0xc], esi
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [edi]
lea ecx, [esp + 0x74]
subss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x24], 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 [0x101808d0]
movss dword [esp + 8], xmm0
fld dword [esp + 8]
fld dword [esp + 0x24]
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 + 0x5c]
fxch st(1)
fpatan
addss xmm0, dword [eax + 0xc]
fstp dword [esp + 8]
movss xmm1, dword [esp + 8]
fpatan
mulss xmm1, dword [0x1018031c]
fstp dword [esp + 8]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [eax + 0x10]
movss dword [esp + 0x74], xmm1
movss xmm1, dword [esp + 8]
mulss xmm1, dword [0x1018031c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x78], xmm1
xorps xmm0, xmmword [0x101808d0]
movss dword [esp + 0x7c], xmm0
call fcn.10078680
movq xmm0, qword [eax]
movq qword [esp + 0x8c], xmm0
movss xmm1, dword [esp + 0x8c]
movq qword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x90]
mulss xmm0, xmm0
mov eax, dword [eax + 8]
mulss xmm1, xmm1
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [esi + eax + 0x14]
ja 0x1008bc1a
cmp byte [esi + eax + 7], 0
jne 0x1008b68f
mov eax, dword [0x10190fc0]
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 0x1008bc1a
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 + 0x2c]
mov edx, edi
push dword [ebp + 0x3c]
mov ecx, esi
push eax
call fcn.100791a0
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x3c], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
xorps xmm2, xmm2
mov dword [esp + 0x4c], 0
comiss xmm0, xmm2
lea esi, [esp + 0x50]
movd xmm1, eax
lea eax, [esp + 0x4c]
cvtdq2ps xmm1, xmm1
cmovae eax, ecx
comiss xmm1, xmm0
movss dword [esp + 0x50], xmm1
cmovae esi, eax
mov dword [esp + 0x54], esi
comiss xmm2, dword [esi]
jae 0x1008bc16
mov ecx, dword [esp + 0x28]
push edi
call fcn.1008a2f0
mov ecx, dword [esp + 0x10]
test al, al
mov eax, dword [esp + 0xc]
jne 0x1008b72f
cmp byte [eax + ecx + 4], 0
jne 0x1008bc12
cmp byte [eax + ecx + 9], 0
je 0x1008b8ad
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x1008b8a5
mov eax, dword [0x1019273c]
mov ecx, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [0x10191b58]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101926a8]
mov dword [esp + 0x18], ecx
cmp eax, dword [ecx + 4]
jle 0x1008b7bd
push 0x101926a8
call fcn.101273eb
add esp, 4
cmp dword [0x101926a8], 0xffffffff
jne 0x1008b7b9
mov edx, 0xc60bf9f2
mov ecx, 0x10164c81
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x101926a8
mov dword [0x101926e4], eax
call fcn.1012739a
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [0x101926e4]
mov edx, dword [esp + 8]
cmp byte [edx + eax], 0
jne 0x1008b8a5
mov eax, dword [0x1019c27c]
cmp eax, dword [ecx + 4]
jle 0x1008b81f
push 0x1019c27c
call fcn.101273eb
add esp, 4
cmp dword [0x1019c27c], 0xffffffff
jne 0x1008b81b
mov edx, 0xc60bf9f2
mov ecx, 0x10174711
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x1019c27c
mov dword [0x1019c280], eax
call fcn.1012739a
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, dword [0x1019c280]
mov edx, dword [ebp + 0x30]
cmp dword [eax + edx], 0
jne 0x1008b8a5
mov eax, dword [0x1019273c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [0x101990c8]
cmp eax, dword [ecx + 4]
jle 0x1008b883
push 0x101990c8
call fcn.101273eb
add esp, 4
cmp dword [0x101990c8], 0xffffffff
jne 0x1008b883
mov edx, 0xc60bf9f2
mov ecx, 0x10173279
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x101990c8
mov dword [0x1019c0d0], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x1019c0d0]
mov ecx, dword [esp + 8]
test byte [ecx + eax], 1
je 0x1008b8a5
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x30]
test al, 2
jne 0x1008b8a5
or eax, 0x80000
mov dword [ecx + 0x30], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp byte [eax + ecx + 5], 0
je 0x1008b94a
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x1008b942
mov eax, dword [0x1019273c]
mov ecx, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [0x10191b58]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101926a8]
cmp eax, dword [ecx + 4]
jle 0x1008b92f
push 0x101926a8
call fcn.101273eb
add esp, 4
cmp dword [0x101926a8], 0xffffffff
jne 0x1008b92f
mov edx, 0xc60bf9f2
mov ecx, 0x10164c81
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x101926a8
mov dword [0x101926e4], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x101926e4]
mov ecx, dword [esp + 8]
cmp byte [ecx + eax], 0
je 0x1008bce0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp byte [eax + ecx + 0xa], 0
je 0x1008bbc1
mov eax, dword [0x1019273c]
mov ecx, dword fs:[0x2c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov eax, dword [0x10191b58]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x101990c8]
cmp eax, dword [ecx + 4]
jle 0x1008b9ba
push 0x101990c8
call fcn.101273eb
add esp, 4
cmp dword [0x101990c8], 0xffffffff
jne 0x1008b9ba
mov edx, 0xc60bf9f2
mov ecx, 0x10173279
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x101990c8
mov dword [0x1019c0d0], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x1019c0d0]
mov ecx, dword [esp + 8]
test byte [ecx + eax], 1
je 0x1008bbc1
mov eax, dword [esp + 0x1c]
test byte [eax + 0x30], 2
jne 0x1008bbc1
movss xmm0, dword [0x1027b668]
movss xmm1, dword [0x1027b664]
movss dword [esp + 0x24], xmm0
movss dword [esp + 0x20], xmm1
mulss xmm0, xmm0
mov eax, dword [0x1019273c]
mulss xmm1, xmm1
movss xmm2, dword [0x1027b66c]
mov ecx, dword [eax]
addss xmm1, xmm0
movss dword [esp + 0x14], xmm2
xorps xmm0, xmm0
mov eax, dword [ecx]
sqrtss xmm0, xmm1
mov eax, dword [eax + 0x430]
movss dword [esp + 8], xmm0
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 0x734]
mov ecx, eax
call edx
mov ecx, dword [0x1019273c]
mov edx, dword [0x10191b58]
mov esi, dword fs:[0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
mov ecx, dword [0x101926a8]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
cmp ecx, dword [eax + 4]
jle 0x1008bab3
push 0x101926a8
call fcn.101273eb
add esp, 4
cmp dword [0x101926a8], 0xffffffff
jne 0x1008baaf
mov edx, 0xc60bf9f2
mov ecx, 0x10164c81
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x101926a8
mov dword [0x101926e4], eax
call fcn.1012739a
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [0x101926e4]
mov ecx, dword [esp + 0x2c]
cmp byte [ecx + eax], 0
je 0x1008bacc
movss xmm0, dword [edx + 0x138]
jmp 0x1008bad4
movss xmm0, dword [edx + 0x134]
mulss xmm0, dword [0x10180110]
movss xmm1, dword [esp + 8]
comiss xmm1, xmm0
jb 0x1008bbc1
movss xmm0, dword [esp + 0x14]
xorps xmm0, xmmword [0x101808d0]
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fld dword [esp + 0x20]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
fld dword [esp + 0x24]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x14], xmm0
fld dword [esp + 0x14]
fpatan
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
call fcn.1014e70b
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fpatan
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax + 0x10]
fstp dword [esp + 0x14]
movss xmm1, dword [esp + 0x14]
mulss xmm1, dword [0x1018031c]
movss dword [esp + 0x2c], xmm0
subss xmm2, xmm1
mulss xmm2, dword [0x10180078]
movaps xmm0, xmm2
call fcn.1014d3e0
movss xmm3, dword [esp + 8]
movaps xmm1, xmm0
xorps xmm3, xmmword [0x101808d0]
mov eax, dword [esp + 0x1c]
shufps xmm1, xmm0, 1
mulss xmm1, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x2c]
mulss xmm1, xmm3
mulss xmm0, xmm3
movss dword [eax + 0x24], xmm1
movss dword [eax + 0x28], xmm0
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 [0x101808a0]
comiss xmm0, xmm1
jb 0x1008bc1a
mov ecx, dword [ebp + 0x44]
movq xmm0, qword [esp + 0x80]
mov edx, dword [esp + 0x58]
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 0x1008bc1a
mov esi, eax
jmp 0x1008bc1a
mov esi, dword [esp + 0xc]
add edi, 0xc
cmp edi, dword [esp + 0x6c]
jne 0x1008b500
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x68]
call fcn.10074d60
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add edx, 0x44
inc esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
cmp edx, 0x50c
jb 0x1008b490
mov esi, dword [ebp + 0x48]
xorps xmm1, xmm1
movss xmm0, dword [esi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008bc87
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008bc87
movss xmm0, dword [esi + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1008bcd8
imul eax, dword [ebp + 0x34], 0x2c
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 0x44]
mov edx, dword [eax + ecx + 0x1c]
mov eax, dword [0x1019273c]
push edx
push dword [esp + 0x20]
mov ecx, dword [eax]
push edi
push dword [ebp + 0x30]
push dword [ebp + 8]
push dword [esp + 0x5c]
call fcn.1007a410
test al, al
jne 0x1008bcd8
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 + 0x68]
call fcn.10074d60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x44