Function at 0x10085270
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 + 0x3084]
mov esi, dword [0x10192950]
push edi
mov edi, edx
mov dword [esp + 0x14], ecx
mov dword [eax], 0x7f7fffff
lea ecx, [edi + 4]
mov eax, dword [ecx]
movss dword [esp + 0x74], xmm5
movss dword [esp + 0x70], xmm4
movss dword [esp + 0x6c], xmm3
mov eax, dword [eax + 0x20]
movss dword [esp + 0x5c], xmm2
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x54], xmm0
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], esi
call eax
test eax, eax
je 0x100859b2
mov ecx, dword [0x10192958]
push eax
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x100859b2
cmp dword [eax + 0xac], 0
jle 0x100859b2
mov edx, dword [eax + 0xb0]
add edx, eax
mov dword [esp + 0x24], edx
je 0x100859b2
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
nop dword [eax + eax]
cmp byte [ebp + ecx + 0x3060], 0
je 0x100858f2
test ecx, ecx
js 0x100858f2
cmp ecx, dword [edx + 4]
jge 0x100858f2
mov eax, dword [edx + 8]
add eax, esi
add eax, edx
je 0x100858f2
push dword [ebp + 0x307c]
movss xmm0, dword [esp + 0x58]
mov edx, edi
movss xmm1, dword [esp + 0x5c]
movss xmm2, dword [esp + 0x60]
push ecx
push eax
lea eax, [ebp + 0x50]
push eax
lea ecx, [esp + 0x70]
call fcn.10076ba0
mov esi, dword [esp + 0x60]
mov edi, esi
mov dword [esp + 0x30], esi
cmp edi, dword [esp + 0x64]
je 0x10085882
imul esi, dword [ebp + 0x3078], 0x2c
mov dword [esp + 0xc], esi
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [edi]
lea ecx, [esp + 0x78]
subss xmm0, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, dword [esp + 0x5c]
xorps xmm0, xmmword [0x10183eb0]
movss dword [esp + 0x2c], xmm0
fld dword [esp + 0x2c]
fld dword [esp + 0x28]
fst dword [esp + 0x2c]
fld dword [esp + 0x34]
movss xmm1, dword [esp + 0x2c]
fst dword [esp + 0x34]
movss xmm0, dword [esp + 0x34]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x34], xmm0
fld dword [esp + 0x34]
fxch st(1)
fxch st(3)
movss xmm0, dword [esp + 0x6c]
fxch st(1)
fpatan
addss xmm0, dword [eax + 0xc]
fstp dword [esp + 0x34]
movss xmm1, dword [esp + 0x34]
fpatan
mulss xmm1, dword [0x10183920]
fstp dword [esp + 0x34]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x70]
addss xmm0, dword [eax + 0x10]
movss dword [esp + 0x78], xmm1
movss xmm1, dword [esp + 0x34]
mulss xmm1, dword [0x10183920]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x74]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x7c], xmm1
xorps xmm0, xmmword [0x10183eb0]
movss dword [esp + 0x80], xmm0
call fcn.10075960
movq xmm0, qword [eax]
movq qword [esp + 0x84], xmm0
movss xmm1, dword [esp + 0x84]
movq qword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0x88]
mulss xmm0, xmm0
mov eax, dword [eax + 8]
mulss xmm1, xmm1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [esi + eax + 0x14]
ja 0x10085871
cmp byte [esi + eax + 8], 0
jne 0x1008552f
mov eax, dword [0x1019294c]
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 + 0x70]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x78]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call edx
add esp, 0x1c
test al, al
jne 0x10085871
mov eax, dword [esp + 0x10]
mov al, byte [esi + eax + 4]
mov ecx, dword [ebp + 0x3074]
mov dword [esp + 0x34], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
mov edx, edi
push dword [ebp + 0x3080]
mov ecx, esi
push eax
call fcn.100762c0
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x28], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x28]
lea ecx, [esp + 0x28]
xorps xmm2, xmm2
mov dword [esp + 0x34], 0
comiss xmm0, xmm2
lea esi, [esp + 0x38]
movd xmm1, eax
lea eax, [esp + 0x34]
cvtdq2ps xmm1, xmm1
cmovae eax, ecx
comiss xmm1, xmm0
movss dword [esp + 0x38], xmm1
cmovae esi, eax
comiss xmm2, dword [esi]
jae 0x10085869
mov ecx, dword [esp + 0x18]
push edi
call fcn.10084290
mov ecx, dword [esp + 0x10]
test al, al
mov eax, dword [esp + 0xc]
jne 0x100855d1
cmp byte [eax + ecx + 5], 0
jne 0x1008586f
cmp byte [eax + ecx + 0xa], 0
je 0x10085665
mov ecx, dword [ebp + 0x3074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x1008565d
mov eax, dword [0x10194314]
mov ecx, 0x747d37fc
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
call fcn.100b1780
mov ecx, dword [esp + 0x2c]
cmp byte [eax + ecx], 0
jne 0x1008565d
mov ecx, 0x8c04d21d
call fcn.100b1780
mov edx, dword [ebp + 0x3074]
cmp dword [eax + edx], 0
jne 0x10085653
mov ecx, 0x394634f0
call fcn.100b1780
mov ecx, dword [esp + 0x2c]
test byte [eax + ecx], 1
je 0x1008565d
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x3074]
mov eax, dword [ecx + 0x30]
test al, 2
jne 0x10085653
or eax, 0x80000
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x1008566b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov edx, dword [ebp + 0x3074]
cmp byte [eax + ecx + 6], 0
je 0x100856a7
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x1008569f
mov ecx, 0x747d37fc
call fcn.100b1780
mov ecx, dword [0x10194314]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
je 0x100859d7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
cmp byte [eax + ecx + 0xb], 0
je 0x100857f2
mov ecx, 0x394634f0
call fcn.100b1780
mov ecx, dword [0x10194314]
mov ecx, dword [ecx]
test byte [eax + ecx], 1
je 0x100857f2
mov eax, dword [esp + 0x14]
test byte [eax + 0x30], 2
jne 0x100857f2
movss xmm0, dword [0x1027cf28]
movss xmm1, dword [0x1027cf2c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [0x101838c8]
movss dword [esp + 0x3c], xmm0
jb 0x100857f2
movss xmm0, dword [0x1027cf30]
xorps xmm0, xmmword [0x10183eb0]
movss dword [esp + 0x2c], xmm0
fld dword [esp + 0x2c]
fld dword [0x1027cf28]
fstp dword [esp + 0x2c]
movss xmm1, dword [esp + 0x2c]
fld dword [0x1027cf2c]
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
fld dword [esp + 0x2c]
fpatan
fstp dword [esp + 0x2c]
movss xmm0, dword [esp + 0x2c]
call fcn.10149582
fld dword [0x1027cf2c]
fld dword [0x1027cf28]
fpatan
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 0x10]
fstp dword [esp + 0x2c]
movss xmm1, dword [esp + 0x2c]
mulss xmm1, dword [0x10183920]
movss dword [esp + 0x40], xmm0
subss xmm2, xmm1
mulss xmm2, dword [0x101836a8]
movaps xmm0, xmm2
call fcn.10148280
movss xmm3, dword [esp + 0x3c]
movaps xmm1, xmm0
xorps xmm3, xmmword [0x10183eb0]
mov eax, dword [esp + 0x14]
shufps xmm1, xmm0, 1
mulss xmm1, dword [esp + 0x40]
mulss xmm0, dword [esp + 0x40]
mulss xmm1, xmm3
mulss xmm0, xmm3
movss dword [eax + 0x24], xmm1
movss dword [eax + 0x28], xmm0
movd xmm1, dword [ebp + 0x3054]
mov eax, dword [ebp + 0x3084]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
subss xmm1, dword [esi]
mov esi, dword [esp + 0xc]
andps xmm1, xmmword [0x10183e80]
comiss xmm0, xmm1
jb 0x10085871
mov ecx, dword [ebp + 0x3088]
movq xmm0, qword [esp + 0x48]
mov edx, dword [esp + 0x44]
movq qword [ecx], xmm0
mov dword [ecx + 8], edx
mov ecx, dword [ebp + 0x308c]
movss dword [eax], xmm1
movq xmm0, qword [edi]
movq qword [ecx], xmm0
mov eax, dword [edi + 8]
movss xmm0, dword [ebp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x3094]
mov ecx, dword [ebp + 0x3090]
movss dword [eax], xmm0
mov eax, dword [ebp + 0x3050]
mov dword [ecx], eax
jmp 0x10085871
mov esi, dword [esp + 0xc]
jmp 0x10085871
mov esi, eax
add edi, 0xc
cmp edi, dword [esp + 0x64]
jne 0x100853a0
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100858e2
mov ecx, dword [esp + 0x68]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x100858c0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085a21
push ecx
push esi
call fcn.10117c1f
add esp, 8
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
add esi, 0x44
inc ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
cmp esi, 0x50c
jb 0x10085320
mov esi, dword [ebp + 0x308c]
xorps xmm1, xmm1
movss xmm0, dword [esi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008593c
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1008593c
movss xmm0, dword [esi + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x100859b2
imul eax, dword [ebp + 0x3078], 0x2c
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 0x3088]
mov edx, dword [eax + ecx + 0x1c]
lea ecx, [ebp + 0x50]
mov eax, dword [0x10194314]
push edx
push dword [esp + 0x18]
push edi
push dword [ebp + 0x3074]
push ecx
push dword [esp + 0x38]
mov ecx, dword [eax]
call fcn.10077160
test al, al
jne 0x100859b2
mov eax, dword [ebp + 0x3090]
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 0x3094]
mov dword [eax], 0
mov eax, dword [ebp + 0x3084]
mov dword [eax], 0x7f7fffff
lea ecx, [ebp + 8]
call fcn.1007a4a0
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 8], 0
call fcn.10117c1f
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x3090
mov esi, dword [esp + 0x30]
test esi, esi
je 0x100859b2
mov ecx, dword [esp + 0x68]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x10085a15
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085a21
push ecx
push esi
call fcn.10117c1f
add esp, 8
jmp 0x100859b2
call fcn.10124776
int3