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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x6d0c
call fcn.1011ce80
mov eax, dword [0x10189818]
push ebx
push esi
push edi
cmp byte [eax + 0x1500], 0
mov dword [esp + 0x24], ecx
je 0x10079167
test byte [ecx + 0x30], 1
je 0x10079167
mov eax, dword [0x1018ae24]
mov ecx, dword [eax]
test ecx, ecx
je 0x10079167
mov eax, dword [ecx]
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10079167
mov eax, dword [0x10189818]
mov esi, dword [0x1018ae24]
cmp byte [eax + 0x1502], 0
jne 0x10078bc7
mov ecx, 0x346c4efc
call fcn.100b07b0
mov ecx, dword [esi]
movss xmm0, dword [0x10179084]
comiss xmm0, dword [eax + ecx - 8]
jb 0x10079167
mov ecx, dword [esi]
mov eax, dword [ecx]
mov eax, dword [eax + 0x430]
call eax
mov edi, eax
test edi, edi
je 0x10079167
mov ecx, 0xb22c092c
call fcn.100b07b0
cmp dword [eax + edi], 0
je 0x10079167
mov eax, dword [0x1018ae24]
lea edx, [esp + 0x70]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2a4]
call eax
mov eax, dword [edi]
xor esi, esi
movss xmm0, dword [0x10179104]
mov ecx, edi
movss dword [esp + 0x1c], xmm0
xor ebx, ebx
mov dword [esp + 0x18], esi
mov eax, dword [eax + 0x734]
call eax
test eax, eax
je 0x10078c6b
movss xmm0, dword [0x10179054]
comiss xmm0, dword [eax + 0x1a0]
jbe 0x10078c6b
movss xmm0, dword [eax + 0x1b8]
comiss xmm0, dword [eax + 0xdc]
jbe 0x10078c6b
mov eax, dword [0x1018ae24]
lea edx, [esp + 0x64]
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x568]
call eax
lea eax, [esp + 0x64]
jmp 0x10078c7c
xorps xmm0, xmm0
mov dword [esp + 0x38], ebx
movq qword [esp + 0x30], xmm0
lea eax, [esp + 0x30]
movq xmm0, qword [eax]
mov edi, 1
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
mov eax, dword [0x10189820]
movq qword [esp + 0x58], xmm0
mov dword [esp + 0x14], edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, edi
jl 0x100790d2
nop dword [eax]
mov eax, dword [0x10189820]
push edi
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x100790a9
mov ecx, dword [0x1018ae24]
cmp esi, dword [ecx]
je 0x100790a9
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x100790a9
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x100790a9
mov eax, dword [0x1018ae24]
mov ecx, dword [eax]
mov eax, dword [0x10189814]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x38]
call eax
test al, al
je 0x100790a9
cmp edi, 0x41
jae 0x1007916e
imul eax, edi, 0x3644
lea ecx, [esp + 0x88]
add eax, 0x10194e30
push eax
call fcn.10076490
cmp byte [esp + 0x36b0], 0
je 0x10079080
cmp dword [esp + 0x98], 0
je 0x10079080
mov eax, dword [0x10189818]
cmp byte [eax + 0x1501], 0
jne 0x10078dd7
mov eax, dword [0x10189814]
mov ecx, esi
mov edi, dword [eax + 0x30]
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
call eax
lea edx, [esp + 0x64]
push edx
movq xmm0, qword [eax]
mov esi, dword [eax + 8]
mov eax, dword [0x1018ae24]
movq qword [esp + 0x2c], xmm0
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2a4]
call eax
movq xmm0, qword [esp + 0x28]
push 1
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov ecx, esp
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x80]
mov dword [eax + 8], esi
mov eax, dword [esp + 0x88]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call edi
add esp, 0x1c
test al, al
jne 0x1007907c
mov edi, dword [esp + 0x98]
sub edi, 1
js 0x10079050
mov edx, dword [esp + 0x88]
nop
cmp dword [esp + 0x98], edi
jbe 0x10079173
mov esi, dword [esp + 0x94]
add esi, edi
test edx, edx
je 0x10078e0e
mov eax, dword [edx]
jmp 0x10078e10
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
movss xmm0, dword [eax + 0x44]
call fcn.10079180
test al, al
je 0x10079040
cmp dword [esp + 0x98], edi
jbe 0x10079173
mov esi, dword [esp + 0x94]
mov edx, dword [esp + 0x88]
add esi, edi
test edx, edx
je 0x10078e53
mov eax, dword [edx]
jmp 0x10078e55
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x3c], eax
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
add eax, esi
mov dword [esp + 0x28], eax
cmp esi, eax
je 0x10079047
movss xmm1, dword [esp + 0x1c]
nop
mov eax, dword [esp + 0x3c]
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x48], xmm1
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov eax, dword [eax + ecx*4]
lea ecx, [esp + 0x7c]
movq xmm0, qword [eax]
movq qword [esp + 0x4c], xmm0
movss xmm0, dword [esp + 0x4c]
subss xmm0, dword [esp + 0x70]
mov eax, dword [eax + 8]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x50]
subss xmm0, dword [esp + 0x74]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x54]
subss xmm0, dword [esp + 0x78]
xorps xmm0, xmmword [0x10179810]
movss dword [esp + 0x40], xmm0
fld dword [esp + 0x40]
fld dword [esp + 0x20]
fst dword [esp + 0x20]
fld dword [esp + 0x10]
movss xmm1, dword [esp + 0x20]
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)
movss xmm0, dword [esp + 0x58]
fxch st(1)
fpatan
addss xmm0, dword [eax + 0xc]
fstp dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
fpatan
mulss xmm1, dword [0x10179074]
fstp dword [esp + 0x10]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x5c]
addss xmm0, dword [eax + 0x10]
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [esp + 0x10]
mulss xmm1, dword [0x10179074]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [eax + 0x14]
movss dword [esp + 0x80], xmm1
xorps xmm0, xmmword [0x10179810]
movss dword [esp + 0x84], xmm0
call fcn.10071300
movq xmm0, qword [eax]
movq qword [esp + 0x30], xmm0
fld dword [esp + 0x30]
fstp dword [esp + 0x10]
movss xmm1, dword [esp + 0x10]
fld dword [esp + 0x34]
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
movss xmm1, dword [esp + 0x1c]
movss dword [esp + 0x10], xmm0
fld dword [esp + 0x10]
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
comiss xmm1, xmm0
jbe 0x1007900b
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm1
movss xmm2, dword [esp + 0x44]
mov ecx, edi
mov eax, dword [esp + 0x14]
comiss xmm2, xmm0
movss xmm2, dword [esp + 0x48]
cmovbe ecx, dword [esp + 0x18]
comiss xmm2, xmm0
mov dword [esp + 0x18], ecx
cmovbe eax, ebx
inc esi
mov ebx, eax
cmp esi, dword [esp + 0x28]
jne 0x10078e80
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x88]
sub edi, 1
jns 0x10078df0
lea ecx, [esp + 0x88]
call fcn.100766d0
mov eax, dword [esp + 0x88]
push 8
push eax
mov dword [esp + 0x90], 0
call fcn.1011c1c8
mov edi, dword [esp + 0x1c]
jmp 0x100790a6
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x88]
call fcn.100766d0
mov eax, dword [esp + 0x88]
push 8
push eax
mov dword [esp + 0x90], 0
call fcn.1011c1c8
add esp, 8
mov eax, dword [0x10189820]
inc edi
mov dword [esp + 0x14], edi
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp edi, eax
jle 0x10078cb0
cmp ebx, 0x41
jae 0x1007916e
mov esi, dword [esp + 0x18]
imul eax, ebx, 0x3644
lea ecx, [esp + 0x36d0]
add eax, 0x10194e30
push eax
call fcn.10076490
cmp byte [esp + 0x6cf8], 0
je 0x1007913e
test esi, esi
je 0x1007913e
mov eax, dword [esp + 0x36dc]
lea ecx, [esp + 0x36d0]
add esi, eax
mov eax, dword [ecx + 8]
dec eax
and esi, eax
mov eax, dword [ecx + 4]
mov esi, dword [eax + esi*4]
call fcn.10078a70
mov eax, dword [0x10189814]
addss xmm0, dword [esi + 0x44]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + 0x10]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10178e88]
cvttss2si eax, xmm0
mov dword [ecx + 8], eax
lea ecx, [esp + 0x36d0]
call fcn.100766d0
mov eax, dword [esp + 0x36d0]
push 8
push eax
mov dword [esp + 0x36d8], 0
call fcn.1011c1c8
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100766c0
call fcn.10079650
int3