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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x66f4
call fcn.10148270
mov eax, dword [0x101939c0]
push ebx
push esi
push edi
cmp byte [eax + 0x313b], 0
mov dword [esp + 0x2c], ecx
je 0x10084768
mov eax, dword [0x10195304]
mov ecx, dword [eax]
test ecx, ecx
je 0x10084768
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10084768
mov eax, dword [0x10195304]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov esi, eax
test esi, esi
je 0x10084768
mov ecx, dword [esi]
mov edx, dword [ecx + 0x71c]
mov ecx, esi
call edx
test eax, eax
jne 0x10084768
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je 0x10084768
mov eax, dword [0x101939bc]
mov ecx, 0xb439d47
movd xmm1, dword [0x1027ef4c]
cvtdq2ps xmm1, xmm1
mov eax, dword [eax + 0xc]
mulss xmm1, dword [eax + 0x20]
call fcn.100b1a90
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
jbe 0x100841b1
mov ecx, 0x2d0850d3
call fcn.100b1a90
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
ja 0x10084768
mov eax, dword [0x10195304]
mov ecx, 0xec5d89e5
mov esi, dword [eax]
call fcn.100b1a90
mov edx, dword [esi]
mov ecx, esi
lea ebx, [esi + eax]
mov edx, dword [edx + 0x474]
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x20], ebx
call edx
mov eax, dword [0x10195304]
lea edx, [esp + 0x60]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
movss xmm0, dword [0x10184a4c]
xor eax, eax
mov dword [esp + 0x18], eax
xorps xmm1, xmm1
mov eax, dword [0x101939c8]
mov esi, 1
movss dword [esp + 0x14], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movq qword [esp + 0x30], xmm0
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, esi
jl 0x10084768
mov dword [esp + 0x24], 0x101a4e64
mov dword [esp + 0x20], 0x363c
mov eax, dword [0x101939c8]
push esi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100844fe
mov ecx, dword [0x10195304]
cmp esi, dword [ecx]
je 0x100844fe
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100844fe
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100844fe
mov eax, dword [0x10195304]
mov ecx, dword [eax]
mov eax, dword [0x101939bc]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x100844fe
mov ecx, 0xe7cc7916
call fcn.100b1a90
cmp byte [eax + esi], 0
jne 0x100844fe
cmp dword [esp + 0x20], 0xdc53c
jae 0x10084774
push dword [esp + 0x24]
lea ecx, [esp + 0x7c]
call fcn.1007a730
cmp byte [esp + 0x36a0], 0
je 0x100844db
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x2c]
call eax
movss xmm2, dword [ebx]
movss xmm1, dword [ebx + 4]
subss xmm1, dword [esp + 0x3658]
subss xmm2, dword [esp + 0x3654]
movss xmm0, dword [ebx + 8]
subss xmm0, dword [esp + 0x365c]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
movss xmm0, dword [esp + 0x14]
sqrtss xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10084398
movq xmm0, qword [esp + 0x3654]
movq qword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x3694]
movss dword [esp + 0x14], xmm1
mov dword [esp + 0x18], esi
movss dword [esp + 0x28], xmm0
mov eax, dword [0x101939c0]
cmp byte [eax + 0x1294], 0
je 0x100844db
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x41
jae 0x10084774
imul edi, eax, 0x363c
add edi, 0x101a1828
je 0x100844db
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100844db
lea ebx, [eax - 1]
test ebx, ebx
js 0x100846e4
cmp eax, ebx
jbe 0x1008476f
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add ecx, ebx
dec eax
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0x44]
call fcn.1007c890
test al, al
je 0x100846e4
cmp dword [edi + 0x10], ebx
jbe 0x1008476f
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add ecx, ebx
dec eax
and ecx, eax
mov eax, dword [edi + 4]
push dword [eax + ecx*4]
lea ecx, [esp + 0x36bc]
call fcn.1007aec0
mov ebx, dword [esp + 0x1c]
movss xmm1, dword [ebx]
subss xmm1, dword [esp + 0x36cc]
movss xmm2, dword [ebx + 4]
subss xmm2, dword [esp + 0x36d0]
movss xmm0, dword [ebx + 8]
subss xmm0, dword [esp + 0x36d4]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
movss xmm0, dword [esp + 0x14]
sqrtss xmm1, xmm2
comiss xmm0, xmm1
jbe 0x100844b2
movq xmm0, qword [esp + 0x36cc]
movq qword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x36fc]
movss dword [esp + 0x14], xmm1
mov dword [esp + 0x18], esi
movss dword [esp + 0x28], xmm0
lea ecx, [esp + 0x36b8]
call fcn.1007aa10
mov eax, dword [esp + 0x36b8]
push 8
push eax
mov dword [esp + 0x36c0], 0
call fcn.1011808f
add esp, 8
lea ecx, [esp + 0x78]
call fcn.1007a940
mov eax, dword [esp + 0x78]
push 8
push eax
mov dword [esp + 0x80], 0
call fcn.1011808f
add esp, 8
mov eax, dword [0x101939c8]
mov esi, dword [esp + 0x10]
add dword [esp + 0x20], 0x363c
inc esi
add dword [esp + 0x24], 0x363c
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp esi, eax
jle 0x10084246
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10084768
movss xmm0, dword [esp + 0x14]
comiss xmm0, dword [0x10184950]
jae 0x10084768
push 7
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call fcn.10084060
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
movss xmm0, dword [eax]
subss xmm0, dword [esp + 0x54]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x58]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x5c]
xorps xmm0, xmmword [0x10184ed0]
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fst dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
fld dword [esp + 0x18]
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 [0x10184940]
fstp dword [esp + 0x2c]
subss xmm0, dword [ebx + 0xc]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [0x10184940]
subss xmm0, dword [ebx + 0x10]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [ebx + 0x14]
xorps xmm0, xmmword [0x10184ed0]
movss dword [esp + 0x44], xmm0
call fcn.10075f10
mov ecx, 0xec5d89e5
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x48], xmm0
mov dword [esp + 0x50], eax
call fcn.100b1a90
mov ecx, dword [0x10195304]
movss xmm0, dword [esp + 0x30]
mov dword [esp + 0x44], 0
add eax, dword [ecx]
lea ecx, [esp + 0x3c]
subss xmm0, dword [eax]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [eax + 4]
movss dword [esp + 0x40], xmm0
call fcn.10075f10
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1e8]
call eax
mov ecx, 0x7ca9f5ea
mov esi, eax
call fcn.100b1a90
mov ecx, 0x1e
mov edx, dword [eax + edi]
cmp edx, 1
mov eax, 0x23
cmovle ecx, eax
cmp esi, ecx
jle 0x1008470d
cmp edx, 1
mov eax, 0x37
mov ecx, 0x41
cmovle eax, ecx
cmp esi, eax
jg 0x1008470d
movss xmm0, dword [0x10184948]
comiss xmm0, dword [esp + 0x14]
jb 0x10084711
or dword [ebx + 0x30], 0x800
jmp 0x10084711
lea ecx, [esp + 0x78]
call fcn.1007a940
mov eax, dword [esp + 0x78]
push 8
push eax
mov dword [esp + 0x80], 0
call fcn.1011808f
mov ebx, dword [esp + 0x24]
jmp 0x100844fb
or dword [ebx + 0x30], 1
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [ebx + 0xc]
movss dword [ebx + 0xc], xmm0
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [ebx + 0x10]
movss dword [ebx + 0x10], xmm0
movss xmm0, dword [esp + 0x50]
addss xmm0, dword [ebx + 0x14]
movss dword [ebx + 0x14], xmm0
call fcn.1007c1d0
mov eax, dword [0x101939bc]
addss xmm0, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10184794]
cvttss2si eax, xmm0
mov dword [ebx + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1007ca50
call fcn.1007a930
int3