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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rdi, qword [0x140122d88]
movzx ebx, r9b
mov r12d, dword [rsp + 0xc0]
mov ebp, edx
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
mov r14, qword [rdi + 0x3ed0]
mov eax, dword [r14 + 0xc]
movss xmm3, dword [r14 + 0x248]
and eax, 4
movss xmm4, dword [r14 + 0x24c]
or eax, 0x1000103
or r12d, eax
cmp qword [r14 + 0x1a0], 0
jne 0x140016d67
cmp qword [rdi + 0x4b18], 0
je 0x140016d70
movss xmm3, dword [r14 + 0x218]
cvttss2si eax, dword [r8]
xor r13d, r13d
subss xmm3, dword [r14 + 0xf8]
subss xmm4, dword [r14 + 0xfc]
xorps xmm7, xmm7
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm7
cvtdq2ps xmm0, xmm0
jp 0x140016dad
mov eax, 1
je 0x140016db0
mov eax, r13d
ucomiss xmm0, xmm7
jp 0x140016dbd
mov r15d, 2
je 0x140016dc0
mov r15d, r13d
movss xmm2, dword [0x1400c6574]
or r15d, eax
comiss xmm7, xmm1
jb 0x140016dd8
addss xmm1, xmm3
maxss xmm1, xmm2
comiss xmm7, xmm0
jb 0x140016de5
addss xmm0, xmm4
maxss xmm0, xmm2
or dword [rdi + 0x47a8], 2
xor edx, edx
movss dword [rdi + 0x47c8], xmm1
movss dword [rdi + 0x47cc], xmm0
mov dword [rdi + 0x47b0], 1
mov r9, qword [r14]
test rcx, rcx
je 0x140016e2f
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0xa0]
call fcn.14000fd20
jmp 0x140016e47
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
lea rcx, [rsp + 0xa0]
call fcn.14000fd20
movss xmm6, dword [rdi + 0x3810]
test bl, bl
jne 0x140016e5a
mov dword [rdi + 0x3810], r13d
mov rcx, qword [rsp + 0xa0]
mov r8d, r12d
xor edx, edx
call fcn.140019bf0
mov rbx, qword [rdi + 0x3ed0]
movzx esi, al
movss dword [rdi + 0x3810], xmm6
cmp word [rbx + 0xba], 1
mov dword [rbx + 0x78], ebp
mov byte [rbx + 0xca], r15b
jne 0x140016ea0
movsd xmm0, qword [rbx + 0x18]
movsd qword [r14 + 0xf8], xmm0
mov r11, qword [0x140122d88]
lea rdx, [rsp + 0x38]
mov qword [r14 + 0x8c], 0x41200000
lea rcx, [rsp + 0x40]
mov r8b, 1
mov r10, qword [r11 + 0x3ed0]
movss xmm6, dword [r11 + 0xfc]
xorps xmm6, xmmword [0x1400c6db0]
movss xmm3, dword [r10 + 0x18]
movss xmm2, dword [r10 + 0x1c]
movaps xmm1, xmm3
addss xmm1, dword [r10 + 0x20]
movaps xmm0, xmm2
movss dword [rsp + 0x30], xmm3
addss xmm0, dword [r10 + 0x24]
movss dword [rsp + 0x34], xmm2
movss dword [rsp + 0x40], xmm3
movss dword [rsp + 0x38], xmm1
movss dword [rsp + 0x48], xmm1
movss dword [rsp + 0x3c], xmm0
movss dword [rsp + 0x4c], xmm0
movss dword [rsp + 0x44], xmm2
call fcn.14001d590
test al, al
je 0x140016fab
cmp byte [r11 + 0xe04], r13b
je 0x140016fab
mov ecx, 0x281
call fcn.14000f270
cmp byte [rax + 8], r13b
jne 0x140016fab
call fcn.14001ca30
test al, al
jne 0x140016fab
ucomiss xmm6, xmm7
jp 0x140016f56
je 0x140016fab
comiss xmm7, xmm6
movss xmm2, dword [r10 + 0x4c]
movaps xmm1, xmm6
addss xmm1, dword [r10 + 0x80]
jbe 0x140016f88
movss xmm0, dword [r10 + 0x88]
subss xmm0, xmm2
subss xmm0, dword [0x1400c6550]
minss xmm1, xmm0
jmp 0x140016f94
addss xmm2, dword [0x1400c6550]
maxss xmm1, xmm2
movss dword [r10 + 0x90], xmm1
mov dword [r10 + 0x98], r13d
mov dword [r10 + 0xa0], r13d
cmp dword [rdi + 0x48c0], ebp
jne 0x140016ff4
bt r12d, 0x17
jb 0x140016ff4
cmp word [rbx + 0x154], r13w
jne 0x140016fcd
cmp byte [rbx + 0x159], r13b
je 0x140016ff4
mov rcx, rbx
call fcn.14001c510
xor edx, edx
mov rcx, rbx
call fcn.140021c30
lea ecx, [rbp + 1]
mov rdx, rbx
call fcn.140013570
mov dword [rdi + 0x3f58], 5
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
movzx eax, sil
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret