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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80
push esi
mov eax, dword [ebp + 0x3084]
mov esi, dword [0x101939c0]
push edi
mov edi, edx
mov dword [esp + 0x10], ecx
mov dword [eax], 0x7f7fffff
lea ecx, [edi + 4]
mov eax, dword [ecx]
movss dword [esp + 0x6c], xmm5
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x64], xmm3
mov eax, dword [eax + 0x20]
movss dword [esp + 0x54], xmm2
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x4c], xmm0
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
call eax
test eax, eax
je 0x10085e5f
mov ecx, dword [0x101939c8]
push eax
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x80]
call edx
test eax, eax
je 0x10085e5f
cmp dword [eax + 0xac], 0
jle 0x10085e5f
mov edx, dword [eax + 0xb0]
add edx, eax
mov dword [esp + 0x20], edx
je 0x10085e5f
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
cmp byte [ebp + ecx + 0x3060], 0
je 0x10085d9e
test ecx, ecx
js 0x10085d9e
cmp ecx, dword [edx + 4]
jge 0x10085d9e
mov eax, dword [edx + 8]
add eax, esi
add eax, edx
je 0x10085d9e
push dword [ebp + 0x307c]
movss xmm0, dword [esp + 0x50]
mov edx, edi
movss xmm1, dword [esp + 0x54]
movss xmm2, dword [esp + 0x58]
push ecx
push eax
lea eax, [ebp + 0x50]
push eax
lea ecx, [esp + 0x68]
call fcn.10077150
mov esi, dword [esp + 0x58]
mov edi, esi
mov dword [esp + 0x2c], esi
cmp edi, dword [esp + 0x5c]
je 0x10085d2e
imul esi, dword [ebp + 0x3078], 0x2c
mov dword [esp + 8], esi
nop dword [eax]
nop dword [eax + eax]
movss xmm0, dword [edi]
lea ecx, [esp + 0x70]
subss xmm0, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 4]
subss xmm0, dword [esp + 0x50]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 8]
subss xmm0, dword [esp + 0x54]
xorps xmm0, xmmword [0x10184ed0]
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fst dword [esp + 0x28]
fld dword [esp + 0x30]
movss xmm1, dword [esp + 0x28]
fst dword [esp + 0x30]
movss xmm0, dword [esp + 0x30]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x30], xmm0
fld dword [esp + 0x30]
fxch st(1)
fxch st(3)
movss xmm0, dword [esp + 0x64]
fxch st(1)
fpatan
addss xmm0, dword [eax + 0xc]
fstp dword [esp + 0x30]
movss xmm1, dword [esp + 0x30]
fpatan
mulss xmm1, dword [0x10184940]
fstp dword [esp + 0x30]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [eax + 0x10]
movss dword [esp + 0x70], xmm1
movss xmm1, dword [esp + 0x30]
mulss xmm1, dword [0x10184940]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x74], xmm1
xorps xmm0, xmmword [0x10184ed0]
movss dword [esp + 0x78], xmm0
call fcn.10075f10
movq xmm0, qword [eax]
movq qword [esp + 0x7c], xmm0
movss xmm1, dword [esp + 0x7c]
movq qword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x80]
mulss xmm0, xmm0
mov eax, dword [eax + 8]
mulss xmm1, xmm1
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [esi + eax + 0x14]
ja 0x10085d1d
cmp byte [esi + eax + 8], 0
jne 0x100859e6
mov eax, dword [0x101939bc]
movq xmm0, qword [edi]
push 1
sub esp, 0xc
mov edx, dword [eax + 0x2c]
mov ecx, esp
mov eax, dword [edi + 8]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0x68]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x70]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call edx
add esp, 0x1c
test al, al
jne 0x10085d1d
mov eax, dword [esp + 0xc]
mov al, byte [esi + eax + 4]
mov ecx, dword [ebp + 0x3074]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x734]
call eax
push dword [esp + 0x30]
mov esi, dword [esp + 0x18]
mov edx, edi
push dword [ebp + 0x3080]
mov ecx, esi
push eax
call fcn.10076870
mov eax, dword [esi]
mov ecx, esi
movss dword [esp + 0x24], xmm0
mov eax, dword [eax + 0x1ec]
call eax
movss xmm0, dword [esp + 0x24]
lea ecx, [esp + 0x24]
xorps xmm2, xmm2
mov dword [esp + 0x30], 0
comiss xmm0, xmm2
lea esi, [esp + 0x34]
movd xmm1, eax
lea eax, [esp + 0x30]
cvtdq2ps xmm1, xmm1
cmovae eax, ecx
comiss xmm1, xmm0
movss dword [esp + 0x34], xmm1
cmovae esi, eax
comiss xmm2, dword [esi]
jae 0x10085d15
mov ecx, dword [esp + 0x14]
push edi
call fcn.10084810
mov ecx, dword [esp + 0xc]
test al, al
mov eax, dword [esp + 8]
jne 0x10085a88
cmp byte [eax + ecx + 5], 0
jne 0x10085d1b
cmp byte [eax + ecx + 0xa], 0
je 0x10085b1c
mov ecx, dword [ebp + 0x3074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x10085b14
mov eax, dword [0x10195304]
mov ecx, 0x747d37fc
mov eax, dword [eax]
mov dword [esp + 0x28], eax
call fcn.100b1a90
mov ecx, dword [esp + 0x28]
cmp byte [eax + ecx], 0
jne 0x10085b14
mov ecx, 0x8c04d21d
call fcn.100b1a90
mov edx, dword [ebp + 0x3074]
cmp dword [eax + edx], 0
jne 0x10085b0a
mov ecx, 0x394634f0
call fcn.100b1a90
mov ecx, dword [esp + 0x28]
test byte [eax + ecx], 1
je 0x10085b14
mov ecx, dword [esp + 0x10]
mov edx, dword [ebp + 0x3074]
mov eax, dword [ecx + 0x30]
test al, 2
jne 0x10085b0a
or eax, 0x80000
mov dword [ecx + 0x30], eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
jmp 0x10085b22
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [ebp + 0x3074]
cmp byte [eax + ecx + 6], 0
je 0x10085b5e
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x71c]
call eax
cmp eax, 5
jne 0x10085b56
mov ecx, 0x747d37fc
call fcn.100b1a90
mov ecx, dword [0x10195304]
mov ecx, dword [ecx]
cmp byte [eax + ecx], 0
je 0x10085e84
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
cmp byte [eax + ecx + 0xb], 0
je 0x10085c9e
mov ecx, 0x394634f0
call fcn.100b1a90
mov ecx, dword [0x10195304]
mov ecx, dword [ecx]
test byte [eax + ecx], 1
je 0x10085c9e
mov eax, dword [esp + 0x10]
test byte [eax + 0x30], 2
jne 0x10085c9e
movss xmm0, dword [0x1027df18]
movss xmm1, dword [0x1027df1c]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, dword [0x101848e8]
movss dword [esp + 0x38], xmm0
jb 0x10085c9e
movss xmm0, dword [0x1027df20]
xorps xmm0, xmmword [0x10184ed0]
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fld dword [0x1027df18]
fst dword [esp + 0x28]
movss xmm1, dword [esp + 0x28]
fld dword [0x1027df1c]
fst dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
mulss xmm1, xmm1
mulss xmm0, xmm0
movss xmm2, dword [eax + 0x10]
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x28], xmm0
fld dword [esp + 0x28]
fxch st(1)
fxch st(3)
fxch st(1)
fpatan
fstp dword [esp + 0x28]
movss xmm0, dword [esp + 0x28]
fpatan
fstp dword [esp + 0x28]
movss xmm1, dword [esp + 0x28]
mulss xmm1, dword [0x10184940]
subss xmm2, xmm1
mulss xmm2, dword [0x101846c0]
movaps xmm1, xmm2
call fcn.10148620
movss xmm3, dword [esp + 0x38]
movaps xmm1, xmm0
xorps xmm3, xmmword [0x10184ed0]
movaps xmm2, xmm1
mov eax, dword [esp + 0x10]
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 + 0x3054]
mov eax, dword [ebp + 0x3084]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
subss xmm1, dword [esi]
mov esi, dword [esp + 8]
andps xmm1, xmmword [0x10184ea0]
comiss xmm0, xmm1
jb 0x10085d1d
mov ecx, dword [ebp + 0x3088]
movq xmm0, qword [esp + 0x40]
mov edx, dword [esp + 0x3c]
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 0x10085d1d
mov esi, dword [esp + 8]
jmp 0x10085d1d
mov esi, eax
add edi, 0xc
cmp edi, dword [esp + 0x5c]
jne 0x10085860
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x10085d8e
mov ecx, dword [esp + 0x60]
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 0x10085d6c
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085ece
push ecx
push esi
call fcn.1011808f
add esp, 8
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
add esi, 0x44
inc ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], esi
cmp esi, 0x50c
jb 0x100857e0
mov esi, dword [ebp + 0x308c]
xorps xmm1, xmm1
movss xmm0, dword [esi]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10085de8
movss xmm0, dword [esi + 4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10085de8
movss xmm0, dword [esi + 8]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10085e5f
imul eax, dword [ebp + 0x3078], 0x2c
mov ecx, dword [esp + 0xc]
mov edi, dword [ebp + 0x3088]
mov edx, dword [eax + ecx + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [0x10195304]
push edx
push ecx
push edi
push dword [ebp + 0x3074]
lea ecx, [ebp + 0x50]
push ecx
push dword [esp + 0x34]
mov ecx, dword [eax]
call fcn.10077710
test al, al
jne 0x10085e5f
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.1007aa10
mov eax, dword [ebp + 8]
push 8
push eax
mov dword [ebp + 8], 0
call fcn.1011808f
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x3090
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x10085e5f
mov ecx, dword [esp + 0x60]
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 0x10085ec2
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10085ece
push ecx
push esi
call fcn.1011808f
add esp, 8
jmp 0x10085e5f
call fcn.10124a26
int3