Function at 0x14000c1e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
sub rsp, 0xb0
mov ebp, r9d
mov r12, r8
mov rdi, rdx
mov r13, rcx
test rdx, rdx
jne 0x14000c209
xor eax, eax
jmp 0x14000c4ff
mov rcx, qword [rdx + 0x8d0]
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xe0], rsi
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
movsd xmm7, qword [0x140097a20]
cmp qword [rcx + 0x60], 0
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x50], xmm11
je 0x14000c25e
mov rcx, qword [rcx + 0x60]
call fcn.14007d98c
movapd xmm6, xmm0
divsd xmm6, xmm7
jmp 0x14000c266
movsd xmm6, qword [0x1400a2400]
cmp dword [rdi + 0x97c], 0
jle 0x14000c28e
mov rcx, qword [rdi + 0x8d0]
cmp qword [rcx + 0x68], 0
je 0x14000c28e
mov rcx, qword [rcx + 0x68]
call fcn.14007d98c
movapd xmm6, xmm0
divsd xmm6, xmm7
mov rsi, qword [rsp + 0xf0]
mov rcx, r12
mov edx, dword [rsi]
call fcn.14000ad10
cmp dword [0x140234140], 0
movsd xmm7, qword [0x1400a2370]
movsd xmm9, qword [0x140097a00]
mov ebx, eax
jne 0x14000c2ff
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov r11, qword [rsp + 0xd8]
pxor xmm1, xmm1
cvtsi2sd xmm1, r11
test r11, r11
jns 0x14000c2e4
addsd xmm1, xmm7
movapd xmm0, xmm9
mov dword [0x140234140], 1
divsd xmm0, xmm1
movsd qword [0x140234138], xmm0
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0xd8]
pxor xmm1, xmm1
cvtsi2sd xmm1, r11
test r11, r11
jns 0x14000c327
addsd xmm1, xmm7
mulsd xmm1, qword [0x140234138]
movsd xmm11, qword [0x1400a2368]
pxor xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x60], xmm10
cvttsd2si rax, xmm1
cvtsi2sd xmm0, rax
mov qword [rsp + 0x38], rax
subsd xmm1, xmm0
mulsd xmm1, xmm11
cvttsd2si eax, xmm1
mov dword [rsp + 0x40], eax
test ebx, ebx
jne 0x14000c4c2
xorpd xmm8, xmm8
movsd xmm10, qword [0x1400a23b8]
mov rax, qword [rdi + 0x8c8]
mov ecx, dword [rax + 0x28]
test ecx, ecx
jne 0x14000c4bd
movsxd rax, dword [rsi]
cmp eax, ebp
jge 0x14000c4b6
mov r9d, ebp
lea r8, [r12 + rax]
mov rdx, rdi
mov rcx, r13
sub r9d, eax
movsd qword [rsp + 0x20], xmm6
call fcn.140009ee0
cmp eax, 0xfffffffe
je 0x14000c4bd
test eax, eax
jle 0x14000c3dc
add dword [rsi], eax
mov edx, dword [rsi]
mov rcx, r12
call fcn.14000ad10
mov ebx, eax
test eax, eax
jne 0x14000c4c2
comisd xmm6, xmm8
jb 0x14000c381
mov eax, dword [rsp + 0x40]
pxor xmm0, xmm0
sub eax, dword [rdi + 0x930]
movd xmm1, eax
mov rax, qword [rsp + 0x38]
sub rax, qword [rdi + 0x928]
cvtdq2pd xmm1, xmm1
cvtsi2sd xmm0, rax
mulsd xmm1, xmm10
addsd xmm1, xmm0
comisd xmm1, xmm6
ja 0x14000c4bd
cmp dword [0x140234140], 0
jne 0x14000c463
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov r11, qword [rsp + 0x30]
pxor xmm1, xmm1
cvtsi2sd xmm1, r11
test r11, r11
jns 0x14000c448
addsd xmm1, xmm7
movapd xmm0, xmm9
mov dword [0x140234140], 1
divsd xmm0, xmm1
movsd qword [0x140234138], xmm0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r11, qword [rsp + 0x30]
pxor xmm1, xmm1
cvtsi2sd xmm1, r11
test r11, r11
jns 0x14000c485
addsd xmm1, xmm7
mulsd xmm1, qword [0x140234138]
pxor xmm0, xmm0
cvttsd2si rax, xmm1
cvtsi2sd xmm0, rax
mov qword [rsp + 0x38], rax
subsd xmm1, xmm0
mulsd xmm1, xmm11
cvttsd2si eax, xmm1
mov dword [rsp + 0x40], eax
jmp 0x14000c381
mov eax, 0xfffffffe
jmp 0x14000c4c4
or eax, 0xffffffff
jmp 0x14000c4c4
mov eax, ebx
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
mov rsi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm11, xmmword [rsp + 0x50]
mov rbp, qword [rsp + 0xe8]
add rsp, 0xb0
pop r13
pop r12
pop rdi
ret