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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14010bc48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
and eax, 1
test eax, eax
jne 0x14009a556
jmp 0x14009a774
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
and eax, 0xc0
test eax, eax
jne 0x14009a571
mov byte [rsp + 0x20], 1
jmp 0x14009a576
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14009a59d
mov rax, qword [rsp + 0x80]
vmovss xmm0, dword [rax + 0x50]
vmovss dword [rsp + 0x38], xmm0
jmp 0x14009a5a7
vxorps xmm0, xmm0, xmm0
vmovss dword [rsp + 0x38], xmm0
mov rax, qword [rsp + 0x80]
vmovss xmm0, dword [rax + 0x2c]
vsubss xmm0, xmm0, dword [rsp + 0x38]
vmovss dword [rsp + 0x2c], xmm0
mov rax, qword [rsp + 0x88]
vmovss xmm0, dword [rsp + 0x2c]
vaddss xmm0, xmm0, dword [rax + 0x10]
vcomiss xmm0, dword [rsp + 0x90]
jbe 0x14009a5e8
mov dword [rsp + 0x3c], 0xffffffff
jmp 0x14009a5f0
mov dword [rsp + 0x3c], 1
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x58]
call fcn.14009cbb0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x24], eax
jmp 0x14009a63d
mov eax, dword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14009a746
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jge 0x14009a746
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x60]
call fcn.140052550
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0x20
test eax, eax
je 0x14009a690
jmp 0x14009a746
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
and eax, 0xc0
mov rcx, qword [rsp + 0x88]
mov ecx, dword [rcx + 4]
and ecx, 0xc0
cmp eax, ecx
je 0x14009a6b7
jmp 0x14009a746
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x40]
vmovss xmm0, dword [rsp + 0x2c]
vaddss xmm0, xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x50]
vsubss xmm0, xmm0, dword [rax + 0x3824]
vmovss dword [rsp + 0x48], xmm0
mov rax, qword [rsp + 0x40]
vmovss xmm0, dword [rsp + 0x2c]
vaddss xmm0, xmm0, dword [rax + 0x10]
mov rax, qword [rsp + 0x40]
vaddss xmm0, xmm0, dword [rax + 0x14]
mov rax, qword [rsp + 0x50]
vaddss xmm0, xmm0, dword [rax + 0x3824]
vmovss dword [rsp + 0x4c], xmm0
cmp dword [rsp + 0x30], 0
jge 0x14009a727
vmovss xmm0, dword [rsp + 0x90]
vcomiss xmm0, dword [rsp + 0x48]
ja 0x14009a73f
cmp dword [rsp + 0x30], 0
jle 0x14009a741
vmovss xmm0, dword [rsp + 0x90]
vcomiss xmm0, dword [rsp + 0x4c]
jae 0x14009a741
jmp 0x14009a746
jmp 0x14009a62d
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x34], eax
je 0x14009a774
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov r8d, eax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call fcn.14009a4f0
add rsp, 0x78
ret