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

Disassembly:
sub rsp, 0x118
mov dword [rsp + 0x114], r9d
mov dword [rsp + 0x110], r8d
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x100], rcx
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0x110], 3
jl 0x14009bf47
mov eax, dword [rsp + 0x114]
and eax, 0xff000000
cmp eax, 0
jne 0x14009bf4c
jmp 0x14009c73d
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0xc8]
call fcn.1400b3e90
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x30]
and eax, 4
cmp eax, 0
je 0x14009c5ba
mov rcx, qword [rsp + 0x30]
movss xmm0, dword [rcx + 0xb8]
movss dword [rsp + 0xb8], xmm0
mov eax, dword [rsp + 0x114]
and eax, 0xffffff
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0x110]
sub eax, 2
imul eax, eax, 3
imul edx, dword [rsp + 0x110], 6
add eax, edx
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0x110]
shl eax, 1
mov dword [rsp + 0xac], eax
mov r8d, dword [rsp + 0xac]
mov edx, dword [rsp + 0xb0]
call fcn.140093b50
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x34]
mov dword [rsp + 0xa8], ecx
mov ecx, dword [rax + 0x34]
add ecx, 1
mov dword [rsp + 0xa4], ecx
mov rax, qword [rax + 0x38]
add rax, 0x38
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x110]
call fcn.1400b3ee0
mov rcx, qword [rsp + 0x28]
cdqe
add rax, 8
shr rax, 3
mov edx, eax
call fcn.1400b3bd0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov r9, qword [rax + 0x40]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xc8]
call fcn.14009b610
cmp dword [rsp + 0xc8], 0
jle 0x14009c0f0
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0xc8]
call fcn.14009bad0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsp + 0xbc]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx], dx
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsp + 0xc0]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 2], dx
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsp + 0xc4]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 4], dx
mov rcx, qword [rax + 0x48]
add rcx, 6
mov qword [rax + 0x48], rcx
jmp 0x14009c061
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x38]
add rcx, 0x38
mov edx, dword [rsp + 0x110]
call fcn.1400b3bd0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x110]
sub eax, 1
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x90]
cmp eax, dword [rsp + 0x110]
jge 0x14009c29a
mov rax, qword [rsp + 0x108]
movsxd rcx, dword [rsp + 0x94]
shl rcx, 3
add rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x108]
movsxd rcx, dword [rsp + 0x90]
shl rcx, 3
add rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax]
mov rax, qword [rsp + 0x88]
subss xmm0, dword [rax]
movss dword [rsp + 0x7c], xmm0
mov rax, qword [rsp + 0x80]
movss xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x88]
subss xmm0, dword [rax + 4]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x7c]
movss xmm2, dword [rsp + 0x7c]
movss xmm1, dword [rsp + 0x78]
mulss xmm1, dword [rsp + 0x78]
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [rsp + 0x74], xmm0
movss xmm0, dword [rsp + 0x74]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
jbe 0x14009c237
movss xmm0, dword [rsp + 0x74]
call fcn.140095f50
movss dword [rsp + 0x70], xmm0
movss xmm0, dword [rsp + 0x70]
mulss xmm0, dword [rsp + 0x7c]
movss dword [rsp + 0x7c], xmm0
movss xmm0, dword [rsp + 0x70]
mulss xmm0, dword [rsp + 0x78]
movss dword [rsp + 0x78], xmm0
movss xmm0, dword [rsp + 0x78]
mov rax, qword [rsp + 0x98]
movsxd rcx, dword [rsp + 0x94]
movss dword [rax + rcx*8], xmm0
movss xmm0, dword [rsp + 0x7c]
movd eax, xmm0
xor eax, 0x80000000
movd xmm0, eax
mov rax, qword [rsp + 0x98]
movsxd rcx, dword [rsp + 0x94]
movss dword [rax + rcx*8 + 4], xmm0
mov eax, dword [rsp + 0x90]
mov ecx, eax
add ecx, 1
mov dword [rsp + 0x90], ecx
mov dword [rsp + 0x94], eax
jmp 0x14009c13a
mov eax, dword [rsp + 0x110]
sub eax, 1
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
cmp eax, dword [rsp + 0x110]
jge 0x14009c5a0
mov rax, qword [rsp + 0x98]
movsxd rcx, dword [rsp + 0x6c]
shl rcx, 3
add rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x98]
movsxd rcx, dword [rsp + 0x68]
shl rcx, 3
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax]
mov rax, qword [rsp + 0x58]
addss xmm0, dword [rax]
movss xmm1, dword [0x1401416d4]
mulss xmm0, xmm1
movss dword [rsp + 0x54], xmm0
mov rax, qword [rsp + 0x60]
movss xmm0, dword [rax + 4]
mov rax, qword [rsp + 0x58]
addss xmm0, dword [rax + 4]
movss xmm1, dword [0x1401416d4]
mulss xmm0, xmm1
movss dword [rsp + 0x50], xmm0
movss xmm0, dword [rsp + 0x54]
movss xmm2, dword [rsp + 0x54]
movss xmm1, dword [rsp + 0x50]
mulss xmm1, dword [rsp + 0x50]
mulss xmm0, xmm2
addss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
movss xmm0, dword [rsp + 0x4c]
movss xmm1, dword [0x14016028c]
ucomiss xmm0, xmm1
jbe 0x14009c3d7
movss xmm0, dword [0x1401416c0]
divss xmm0, dword [rsp + 0x4c]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
movss xmm1, dword [0x140142860]
ucomiss xmm0, xmm1
jbe 0x14009c3b3
movss xmm0, dword [0x140142860]
movss dword [rsp + 0x48], xmm0
movss xmm0, dword [rsp + 0x48]
mulss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [rsp + 0x48]
mulss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x50], xmm0
mov rax, qword [rsp + 0x30]
movss xmm0, dword [0x1401416d4]
mulss xmm0, dword [rsp + 0xb8]
mulss xmm0, dword [rsp + 0x54]
movss dword [rsp + 0x54], xmm0
movss xmm0, dword [0x1401416d4]
mulss xmm0, dword [rsp + 0xb8]
mulss xmm0, dword [rsp + 0x50]
movss dword [rsp + 0x50], xmm0
mov rcx, qword [rsp + 0x108]
movsxd rdx, dword [rsp + 0x68]
movss xmm0, dword [rcx + rdx*8]
subss xmm0, dword [rsp + 0x54]
mov rcx, qword [rax + 0x40]
movss dword [rcx], xmm0
mov rcx, qword [rsp + 0x108]
movsxd rdx, dword [rsp + 0x68]
movss xmm0, dword [rcx + rdx*8 + 4]
subss xmm0, dword [rsp + 0x50]
mov rcx, qword [rax + 0x40]
movss dword [rcx + 4], xmm0
mov rcx, qword [rax + 0x40]
mov rdx, qword [rsp + 0xf8]
mov qword [rcx + 8], rdx
mov edx, dword [rsp + 0x114]
mov rcx, qword [rax + 0x40]
mov dword [rcx + 0x10], edx
mov rcx, qword [rsp + 0x108]
movsxd rdx, dword [rsp + 0x68]
movss xmm0, dword [rcx + rdx*8]
addss xmm0, dword [rsp + 0x54]
mov rcx, qword [rax + 0x40]
movss dword [rcx + 0x14], xmm0
mov rcx, qword [rsp + 0x108]
movsxd rdx, dword [rsp + 0x68]
movss xmm0, dword [rcx + rdx*8 + 4]
addss xmm0, dword [rsp + 0x50]
mov rcx, qword [rax + 0x40]
movss dword [rcx + 0x18], xmm0
mov rcx, qword [rax + 0x40]
mov rdx, qword [rsp + 0xf8]
mov qword [rcx + 0x1c], rdx
mov edx, dword [rsp + 0xb4]
mov rcx, qword [rax + 0x40]
mov dword [rcx + 0x24], edx
mov rcx, qword [rax + 0x40]
add rcx, 0x28
mov qword [rax + 0x40], rcx
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsp + 0x68]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx], dx
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsp + 0x6c]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 2], dx
mov ecx, dword [rsp + 0xa4]
mov edx, dword [rsp + 0x6c]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 4], dx
mov ecx, dword [rsp + 0xa4]
mov edx, dword [rsp + 0x6c]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 6], dx
mov ecx, dword [rsp + 0xa4]
mov edx, dword [rsp + 0x68]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 8], dx
mov ecx, dword [rsp + 0xa8]
mov edx, dword [rsp + 0x68]
shl edx, 1
add ecx, edx
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 0xa], dx
mov rcx, qword [rax + 0x48]
add rcx, 0xc
mov qword [rax + 0x48], rcx
mov eax, dword [rsp + 0x68]
mov ecx, eax
add ecx, 1
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], eax
jmp 0x14009c2b0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0xac]
movzx ecx, cx
add ecx, dword [rax + 0x34]
mov dword [rax + 0x34], ecx
jmp 0x14009c73d
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x110]
sub eax, 2
imul eax, eax, 3
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x110]
mov dword [rsp + 0x40], eax
mov r8d, dword [rsp + 0x40]
mov edx, dword [rsp + 0x44]
call fcn.140093b50
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
cmp eax, dword [rsp + 0x40]
jge 0x14009c656
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x108]
movsxd r8, dword [rsp + 0x3c]
mov rcx, qword [rax + 0x40]
mov rdx, qword [rdx + r8*8]
mov qword [rcx], rdx
mov rcx, qword [rax + 0x40]
mov rdx, qword [rsp + 0xf8]
mov qword [rcx + 8], rdx
mov edx, dword [rsp + 0x114]
mov rcx, qword [rax + 0x40]
mov dword [rcx + 0x10], edx
mov rcx, qword [rax + 0x40]
add rcx, 0x14
mov qword [rax + 0x40], rcx
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x14009c5f1
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
add rax, 0x38
mov qword [rsp + 0x20], rax
mov ecx, dword [rsp + 0x110]
call fcn.1400b3ee0
mov rcx, qword [rsp + 0x20]
cdqe
add rax, 8
shr rax, 3
mov edx, eax
call fcn.1400b3bd0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x38]
mov r9, qword [rax + 0x40]
mov r8d, dword [rsp + 0x110]
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0xc8]
call fcn.14009b610
cmp dword [rsp + 0xc8], 0
jle 0x14009c72b
lea rdx, [rsp + 0xbc]
lea rcx, [rsp + 0xc8]
call fcn.14009bad0
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0x34]
add ecx, dword [rsp + 0xbc]
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx], dx
mov ecx, dword [rax + 0x34]
add ecx, dword [rsp + 0xc0]
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 2], dx
mov ecx, dword [rax + 0x34]
add ecx, dword [rsp + 0xc4]
mov dx, cx
mov rcx, qword [rax + 0x48]
mov word [rcx + 4], dx
mov rcx, qword [rax + 0x48]
add rcx, 6
mov qword [rax + 0x48], rcx
jmp 0x14009c6b4
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x40]
movzx ecx, cx
add ecx, dword [rax + 0x34]
mov dword [rax + 0x34], ecx
add rsp, 0x118
ret