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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x6724
call fcn.1011ce80
mov eax, dword [0x10189818]
push ebx
push esi
push edi
cmp byte [eax + 0x3436], 0
mov dword [esp + 0x18], ecx
je 0x10080cee
mov eax, dword [0x1018ae24]
cmp dword [eax], 0
je 0x10080cee
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10080cee
mov eax, dword [0x1018ae24]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov esi, eax
test esi, esi
je 0x10080cee
mov ecx, dword [esi]
mov edx, dword [ecx + 0x71c]
mov ecx, esi
call edx
test eax, eax
jne 0x10080cee
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je 0x10080cee
mov eax, dword [0x10189814]
mov ecx, 0xb439d47
movd xmm1, dword [0x10352e88]
cvtdq2ps xmm1, xmm1
mov eax, dword [eax + 0x10]
mulss xmm1, dword [eax + 0x20]
call fcn.100b07b0
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
jbe 0x10080642
mov ecx, 0x2d0850d3
call fcn.100b07b0
movss xmm0, dword [eax + esi]
comiss xmm0, xmm1
ja 0x10080cee
mov eax, dword [0x1018ae24]
mov ecx, 0xec5d89e5
mov esi, dword [eax]
call fcn.100b07b0
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
movq xmm0, qword [eax + esi]
mov eax, dword [eax + esi + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
movq qword [esp + 0x44], xmm0
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [0x1018ae24]
lea edx, [esp + 0x5c]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
mov eax, dword [0x10189820]
xor edi, edi
movss xmm0, dword [0x101791b4]
xorps xmm1, xmm1
movss dword [esp + 0x1c], xmm0
mov ebx, 1
xorps xmm0, xmm0
mov dword [esp + 0x28], edi
mov ecx, dword [eax + 0x10]
movss dword [esp + 0x4c], xmm1
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x3c], edi
mov eax, dword [ecx]
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x58], edi
mov dword [esp + 0x30], ebx
mov eax, dword [eax + 0x50]
call eax
cmp eax, ebx
jl 0x10080cee
mov edi, 0x3644
mov dword [esp + 0x20], 0x10198474
mov dword [esp + 0x24], edi
mov eax, dword [0x10189820]
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 0x100809f2
mov ecx, dword [0x1018ae24]
cmp ebx, dword [ecx]
je 0x100809f2
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100809f2
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100809f2
mov eax, dword [0x1018ae24]
mov ecx, dword [eax]
mov eax, dword [0x10189814]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100809f2
mov ecx, 0xe7cc7916
call fcn.100b07b0
cmp byte [eax + ebx], 0
jne 0x100809f2
cmp edi, 0xdc744
jae 0x10080cfa
push dword [esp + 0x20]
lea ecx, [esp + 0x94]
call fcn.10076490
cmp byte [esp + 0x36b8], 0
je 0x100809c9
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [esp + 0x366c]
movss xmm2, dword [esp + 0x44]
subss xmm2, dword [esp + 0x3670]
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x3674]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
sqrtss xmm1, xmm2
comiss xmm0, xmm1
jbe 0x1008083b
movq xmm0, qword [esp + 0x3684]
mov eax, dword [esp + 0x368c]
movq qword [esp + 0x34], xmm0
movq xmm0, qword [esp + 0x366c]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x36ac]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3674]
movss dword [esp + 0x1c], xmm1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], eax
movss dword [esp + 0x4c], xmm0
mov eax, dword [0x10189818]
cmp byte [eax + 0x1500], 0
je 0x100809c9
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x41
jae 0x10080cfa
imul edi, eax, 0x3644
add edi, 0x10194e30
je 0x100809c9
mov esi, dword [edi + 0x10]
test esi, esi
je 0x100809c9
add esi, 0xffffffff
js 0x100809c9
cmp dword [edi + 0x10], esi
jbe 0x10080cf5
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
add edx, esi
test ecx, ecx
je 0x1008089f
mov eax, dword [ecx]
jmp 0x100808a1
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.10079180
test al, al
jne 0x100808c5
sub esi, 1
jns 0x10080887
jmp 0x100809c9
cmp esi, 0xffffffff
jle 0x100809c9
cmp dword [edi + 0x10], esi
jbe 0x10080cf5
mov edx, dword [edi + 0xc]
mov ecx, dword [edi]
add edx, esi
test ecx, ecx
je 0x100808e6
mov eax, dword [ecx]
jmp 0x100808e8
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 + 0x36dc]
call fcn.10076a90
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [esp + 0x36ec]
movss xmm2, dword [esp + 0x44]
subss xmm2, dword [esp + 0x36f0]
movss xmm0, dword [esp + 0x48]
subss xmm0, dword [esp + 0x36f4]
mulss xmm1, xmm1
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
sqrtss xmm1, xmm2
comiss xmm0, xmm1
jbe 0x100809a0
movq xmm0, qword [esp + 0x36f8]
mov eax, dword [esp + 0x3700]
movq qword [esp + 0x34], xmm0
movq xmm0, qword [esp + 0x36ec]
movq qword [esp + 0x50], xmm0
movss xmm0, dword [esp + 0x371c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x36f4]
movss dword [esp + 0x1c], xmm1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x58], eax
movss dword [esp + 0x4c], xmm0
lea ecx, [esp + 0x36d8]
call fcn.10076950
mov eax, dword [esp + 0x36d8]
push 8
push eax
mov dword [esp + 0x36e0], 0
call fcn.1011c1c8
add esp, 8
lea ecx, [esp + 0x90]
call fcn.100766d0
mov eax, dword [esp + 0x90]
push 8
push eax
mov dword [esp + 0x98], 0
call fcn.1011c1c8
add esp, 8
mov eax, dword [0x10189820]
mov ebx, dword [esp + 0x30]
add dword [esp + 0x24], 0x3644
inc ebx
add dword [esp + 0x20], 0x3644
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x30], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp ebx, eax
jg 0x10080a27
mov edi, dword [esp + 0x24]
jmp 0x100806f2
mov edi, dword [esp + 0x28]
test edi, edi
je 0x10080cee
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x10179084]
ja 0x10080cee
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x80]
movss xmm0, dword [esp + 0x5c]
mov ecx, edi
push 7
push eax
addss xmm0, dword [esi + 0xc]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0x68]
addss xmm0, dword [esi + 0x10]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [esi + 0x14]
movss dword [esp + 0x34], xmm0
call fcn.100804f0
lea ecx, [esp + 0x74]
movss xmm0, dword [eax]
subss xmm0, dword [esp + 0x68]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [esp + 0x6c]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, dword [esp + 0x70]
xorps xmm0, xmmword [0x10179810]
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fld dword [esp + 0x30]
fst dword [esp + 0x18]
movss xmm1, dword [esp + 0x18]
fld dword [esp + 0x28]
fst dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss dword [esp + 0x18], xmm0
fld dword [esp + 0x18]
fxch st(1)
fxch st(3)
fxch st(1)
fpatan
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
fpatan
mulss xmm0, dword [0x10179074]
fstp dword [esp + 0x18]
subss xmm0, dword [esp + 0x24]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [0x10179074]
subss xmm0, dword [esp + 0x20]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x2c]
xorps xmm0, xmmword [0x10179810]
movss dword [esp + 0x7c], xmm0
call fcn.10071300
movss xmm1, dword [esp + 0x38]
xor bl, bl
mulss xmm1, dword [0x10178dac]
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [esp + 0x40], xmm0
movaps xmm0, xmm1
mov dword [esp + 0x48], eax
call fcn.101429c0
movaps xmmword [esp + 0x80], xmm0
movss xmm0, dword [esp + 0x34]
mulss xmm0, dword [0x10178dac]
call fcn.10143efb
mov ecx, 0xec5d89e5
movss dword [esp + 0x2c], xmm0
call fcn.100b07b0
mov ecx, dword [0x1018ae24]
movss xmm1, dword [esp + 0x50]
movss xmm0, dword [esp + 0x54]
add eax, dword [ecx]
subss xmm1, dword [eax]
movss dword [esp + 0x34], xmm1
subss xmm0, dword [eax + 4]
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], 0
movss dword [esp + 0x38], xmm0
call fcn.10071300
movaps xmm2, xmmword [esp + 0x80]
mov eax, 1
movaps xmm0, xmm2
movzx ebx, bl
shufps xmm0, xmm2, 1
mov ecx, edi
mulss xmm0, dword [esp + 0x2c]
mulss xmm2, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x34]
mulss xmm2, dword [esp + 0x38]
addss xmm0, xmm2
comiss xmm0, dword [0x10178e80]
cmova ebx, eax
mov eax, dword [edi]
mov eax, dword [eax + 0x1e8]
call eax
mov ecx, 0x7ca9f5ea
mov dword [esp + 0x2c], eax
call fcn.100b07b0
test bl, bl
mov edx, 0x41
mov ecx, dword [eax + edi]
mov eax, 0xb4
cmovne edx, eax
cmp ecx, 1
jle 0x10080c75
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10178ed0]
cvttss2si edx, xmm0
cmp dword [esp + 0x2c], edx
jg 0x10080c93
movss xmm0, dword [0x1017907c]
comiss xmm0, dword [esp + 0x1c]
jb 0x10080c93
or dword [esi + 0x30], 0x800
jmp 0x10080c97
or dword [esi + 0x30], 1
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [esi + 0xc]
movss dword [esi + 0xc], xmm0
movss xmm0, dword [esp + 0x44]
addss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esi + 0x14]
movss dword [esi + 0x14], xmm0
call fcn.10078a70
mov eax, dword [0x10189814]
addss xmm0, dword [esp + 0x4c]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10178e88]
cvttss2si eax, xmm0
mov dword [esi + 8], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10079650
call fcn.100766c0
int3