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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x6724
call fcn.10127eb0
mov eax, dword [0x10190fc4]
push ebx
push esi
push edi
cmp byte [eax + 0x31bb], 0
mov dword [esp + 0x10], ecx
je 0x100899c9
mov eax, dword [0x1019273c]
mov ecx, dword [eax]
test ecx, ecx
je 0x100899c9
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100899c9
mov eax, dword [0x1019273c]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov esi, eax
test esi, esi
je 0x100899c9
mov ecx, dword [esi]
mov edx, dword [ecx + 0x71c]
mov ecx, esi
call edx
test eax, eax
jne 0x100899c9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je 0x100899c9
mov eax, dword [0x10190fc0]
movd xmm0, dword [0x1027c6c0]
mov ecx, dword [0x10191b58]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
mov eax, dword fs:[0x2c]
movss dword [esp + 0x14], xmm0
mov ebx, dword [eax + ecx*4]
mov eax, dword [0x10192640]
mov dword [esp + 0x4c], ebx
cmp eax, dword [ebx + 4]
jle 0x10089179
push 0x10192640
call fcn.101273eb
add esp, 4
cmp dword [0x10192640], 0xffffffff
jne 0x10089179
mov edx, 0xc60bf9f2
mov ecx, 0x10164e61
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x10192640
mov dword [0x1019267c], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x1019267c]
movss xmm0, dword [eax + esi]
comiss xmm0, dword [esp + 0x14]
jbe 0x100891be
mov eax, dword [0x10190fc0]
mov ecx, esi
movd xmm0, dword [0x1027c6c0]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x10]
mulss xmm0, dword [eax + 0x20]
movss dword [esp + 0x14], xmm0
call fcn.1007f1d0
movss xmm0, dword [eax]
comiss xmm0, dword [esp + 0x14]
ja 0x100899c9
mov eax, dword [0x1019273c]
mov esi, dword [eax]
mov eax, dword [0x10192730]
cmp eax, dword [ebx + 4]
jle 0x10089210
push 0x10192730
call fcn.101273eb
add esp, 4
cmp dword [0x10192730], 0xffffffff
jne 0x10089210
mov edx, 0xc60bf9f2
mov ecx, 0x10164ce5
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x10192730
mov dword [0x101926fc], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x101926fc]
lea edx, [esp + 0x84]
push edx
movq xmm0, qword [esi + eax]
mov eax, dword [esi + eax + 8]
mov dword [esp + 0x48], eax
mov eax, dword [0x1019273c]
movq qword [esp + 0x40], xmm0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x474]
call eax
mov eax, dword [0x1019273c]
lea edx, [esp + 0x78]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
mov eax, dword [0x10190fcc]
xorps xmm1, xmm1
movss xmm0, dword [0x10180448]
mov ebx, 1
movss dword [esp + 0x1c], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
mov ecx, dword [eax + 0x10]
movss dword [esp + 0x48], xmm1
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 0x50]
call eax
cmp eax, ebx
jl 0x100899c9
mov edi, 0x363c
mov dword [esp + 0x24], 0x101a259c
mov dword [esp + 0x28], edi
mov eax, dword [0x10190fcc]
push ebx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ebx, eax
test ebx, ebx
je 0x100895c2
mov ecx, dword [0x1019273c]
cmp ebx, dword [ecx]
je 0x100895c2
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100895c2
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100895c2
mov eax, dword [0x1019273c]
mov ecx, dword [eax]
mov eax, dword [0x10190fc0]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100895c2
mov ecx, ebx
call fcn.10070a80
cmp byte [eax], 0
jne 0x100895c2
cmp edi, 0xdc53c
jae 0x100899d5
push dword [esp + 0x24]
lea ecx, [esp + 0xac]
call fcn.1007e3e0
cmp byte [esp + 0x36d0], 0
je 0x10089599
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x40]
subss xmm2, dword [esp + 0x3688]
subss xmm1, dword [esp + 0x3684]
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x368c]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x1008940b
mov eax, dword [esp + 0x36a4]
movss dword [esp + 0x1c], xmm0
movq xmm0, qword [esp + 0x369c]
movq qword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x3684]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x36c4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x368c]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], eax
movss dword [esp + 0x48], xmm0
mov eax, dword [0x10190fc4]
cmp byte [eax + 0x1264], 0
je 0x10089599
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x41
jae 0x100899d5
imul edi, eax, 0x363c
add edi, 0x1019ef60
je 0x10089599
mov esi, dword [edi + 0x10]
test esi, esi
je 0x10089599
add esi, 0xffffffff
js 0x10089599
cmp dword [edi + 0x10], esi
jbe 0x100899d0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
add edx, esi
test ecx, ecx
je 0x1008946f
mov eax, dword [ecx]
jmp 0x10089471
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0x44]
call fcn.10081180
test al, al
jne 0x10089495
sub esi, 1
jns 0x10089457
jmp 0x10089599
cmp esi, 0xffffffff
jle 0x10089599
cmp dword [edi + 0x10], esi
jbe 0x100899d0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
add edx, esi
test ecx, ecx
je 0x100894b6
mov eax, dword [ecx]
jmp 0x100894b8
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
push dword [eax + ecx*4]
lea ecx, [esp + 0x36ec]
call fcn.1007ee50
movss xmm1, dword [esp + 0x3c]
movss xmm2, dword [esp + 0x40]
subss xmm2, dword [esp + 0x3700]
subss xmm1, dword [esp + 0x36fc]
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [esp + 0x3704]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm1, xmm0
jbe 0x10089570
mov eax, dword [esp + 0x3710]
movss dword [esp + 0x1c], xmm0
movq xmm0, qword [esp + 0x3708]
movq qword [esp + 0x30], xmm0
movq xmm0, qword [esp + 0x36fc]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x372c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3704]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], eax
movss dword [esp + 0x48], xmm0
lea ecx, [esp + 0x36e8]
call fcn.1007e9f0
mov eax, dword [esp + 0x36e8]
push 8
push eax
mov dword [esp + 0x36f0], 0
call fcn.10127383
add esp, 8
lea ecx, [esp + 0xa8]
call fcn.1007e920
mov eax, dword [esp + 0xa8]
push 8
push eax
mov dword [esp + 0xb0], 0
call fcn.10127383
add esp, 8
mov eax, dword [0x10190fcc]
mov ebx, dword [esp + 0x14]
add dword [esp + 0x28], 0x363c
inc ebx
add dword [esp + 0x24], 0x363c
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x14], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp ebx, eax
jg 0x100895f7
mov edi, dword [esp + 0x28]
jmp 0x100892c6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x100899c9
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x10180328]
ja 0x100899c9
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x90]
movss xmm0, dword [esp + 0x78]
push 7
push ecx
addss xmm0, dword [esi + 0xc]
mov ecx, eax
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esi + 0x10]
addss xmm0, dword [esp + 0x84]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x88]
addss xmm0, dword [esi + 0x14]
movss dword [esp + 0x34], xmm0
call fcn.10088ff0
lea ecx, [esp + 0x60]
movss xmm0, dword [eax]
subss xmm0, dword [esp + 0x84]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x88]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x8c]
xorps xmm0, xmmword [0x101808d0]
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fld dword [esp + 0x14]
fst dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
fld dword [esp + 0x28]
fst dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fxch st(1)
fxch st(3)
fxch st(1)
fpatan
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
fpatan
mulss xmm0, dword [0x1018031c]
fstp dword [esp + 0x10]
subss xmm0, dword [esp + 0x24]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x1018031c]
subss xmm0, dword [esp + 0x5c]
movss dword [esp + 0x64], xmm0
movss xmm0, dword [esp + 0x2c]
xorps xmm0, xmmword [0x101808d0]
movss dword [esp + 0x68], xmm0
call fcn.10078680
mov ebx, dword [esp + 0x4c]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], eax
mov eax, dword [0x10192640]
movq qword [esp + 0x3c], xmm0
cmp eax, dword [ebx + 4]
jle 0x100897a5
push 0x10192640
call fcn.101273eb
add esp, 4
cmp dword [0x10192640], 0xffffffff
jne 0x100897a5
mov edx, 0xc60bf9f2
mov ecx, 0x10164e61
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x10192640
mov dword [0x1019267c], eax
call fcn.1012739a
add esp, 4
movss xmm1, dword [esp + 0x34]
mulss xmm1, dword [0x10180078]
mov byte [esp + 0x1a], 0
movaps xmm0, xmm1
call fcn.1014d3e0
movups xmmword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [0x10180078]
call fcn.1014e70b
movups xmm2, xmmword [esp + 0x90]
mov eax, dword [0x1019273c]
movaps xmm1, xmm2
shufps xmm1, xmm2, 1
mov edi, dword [eax]
mov eax, dword [0x10192730]
mulss xmm1, xmm0
mulss xmm2, xmm0
movaps xmmword [esp + 0x60], xmm1
movups xmmword [esp + 0x90], xmm2
cmp eax, dword [ebx + 4]
jle 0x10089851
push 0x10192730
call fcn.101273eb
add esp, 4
cmp dword [0x10192730], 0xffffffff
jne 0x10089851
mov edx, 0xc60bf9f2
mov ecx, 0x10164ce5
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x10192730
mov dword [0x101926fc], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x101926fc]
lea ecx, [esp + 0x30]
movss xmm0, dword [esp + 0x50]
mov dword [esp + 0x38], 0
subss xmm0, dword [edi + eax]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [edi + eax + 4]
movss dword [esp + 0x34], xmm0
call fcn.10078680
movups xmm0, xmmword [esp + 0x90]
mov eax, 1
mov ecx, dword [esp + 0x20]
movss xmm1, dword [esp + 0x34]
movzx ebx, byte [esp + 0x1a]
mulss xmm1, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x60]
addss xmm1, xmm0
comiss xmm1, dword [0x10180140]
cmova ebx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x1e8]
call eax
mov ecx, dword [0x101927b8]
mov edi, eax
mov eax, dword [esp + 0x4c]
cmp ecx, dword [eax + 4]
jle 0x10089920
push 0x101927b8
call fcn.101273eb
add esp, 4
cmp dword [0x101927b8], 0xffffffff
jne 0x10089920
mov edx, 0xc60bf9f2
mov ecx, 0x101731a1
call fcn.10070760
mov ecx, eax
call fcn.100ba500
push 0x101927b8
mov dword [0x101927bc], eax
call fcn.1012739a
add esp, 4
mov eax, dword [0x101927bc]
mov ecx, 0x41
mov edx, dword [esp + 0x20]
mov edx, dword [eax + edx]
test bl, bl
je 0x1008993a
mov ecx, 0xb4
cmp edx, 1
jle 0x10089952
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10180194]
cvttss2si ecx, xmm0
cmp edi, ecx
jg 0x1008996e
movss xmm0, dword [0x10180320]
comiss xmm0, dword [esp + 0x1c]
jb 0x1008996e
or dword [esi + 0x30], 0x800
jmp 0x10089972
or dword [esi + 0x30], 1
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esi + 0xc]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x14], xmm0
call fcn.10080a60
mov eax, dword [0x10190fc0]
addss xmm0, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10180148]
cvttss2si eax, xmm0
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10081310
call fcn.1007e910
int3