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

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x70
cmp dword [rcx + 8], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm8
ja 0x14006bcba
cmp dword [rcx + 0x20], 0
ja 0x14006bcba
cmp qword [rcx + 0x50], 0
jne 0x14006bcba
movsd xmm0, qword [0x140134490]
xor r15d, r15d
mov edi, r15d
call fcn.140067d10
mov qword [rbx + 0x40], rax
cmp dword [rbx + 0x30], 0
je 0x14006bc99
mov dword [rbx + 0x30], r15d
movaps xmm6, xmmword [rsp + 0x60]
mov eax, edi
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsd xmm7, qword [0x140134490]
mov edi, 1
movsd xmm6, qword [0x1401344a8]
xor r15d, r15d
movabs r12, 0x8000000000000000
xorps xmm8, xmm8
cmp dword [rbx + 0x30], r15d
jne 0x14006bc8f
movsd xmm0, qword [0x140151b90]
ucomisd xmm0, xmm8
jp 0x14006bcfc
jne 0x14006bcfc
mov rax, r15
jmp 0x14006bd49
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
jne 0x14006bd13
mov rax, r15
jmp 0x14006bd49
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0xc0]
mulsd xmm0, qword [0x140151b90]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x14006bd41
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14006bd41
mov rcx, r12
cvttsd2si rax, xmm0
add rax, rcx
mov rcx, rbx
mov qword [rbx + 0x40], rax
call fcn.14006a9c0
mov rcx, rbx
call fcn.14006ad40
mov rax, qword [rbx + 0x70]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14006bd91
nop dword [rax]
mov rdx, qword [rbx + 0x88]
mov rcx, rdx
mov rax, qword [rdx + 0x68]
mov qword [rbx + 0x88], rax
call qword [rdx + 0x70]
cmp qword [rbx + 0x88], r15
jne 0x14006bd70
mov rax, qword [rbx + 0x60]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x14006bdb8
nop
mov rdx, qword [rbx + 0x78]
mov rcx, rdx
mov rax, qword [rdx + 0x68]
mov qword [rbx + 0x78], rax
call qword [rdx + 0x70]
cmp qword [rbx + 0x78], r15
jne 0x14006bda0
mov rcx, rbx
call fcn.14006b9d0
cmp qword [0x1403daf18], r15
mov edi, eax
je 0x14006bdda
mov edx, edi
mov rcx, rbx
call fcn.14006ba30
jmp 0x14006bf26
mov rcx, qword [rbx + 0x38]
lea r9, [rsp + 0xb0]
mov rbp, rdi
mov dword [rsp + 0x20], edi
add rbp, qword [rbx + 0x40]
lea r8, [rsp + 0xc8]
lea rdx, [rsp + 0xb8]
mov r14d, r15d
call qword [sym.imp.KERNEL32.DLL_GetQueuedCompletionStatus]
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
jne 0x14006be9a
lea esi, [rcx + 1]
nop
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x102
jne 0x14006bf80
test edi, edi
je 0x14006bf26
movaps xmm0, xmm7
call fcn.140067d10
mov qword [rbx + 0x40], rax
cmp rbp, rax
jbe 0x14006bf26
mov edi, ebp
sub edi, eax
test r14d, r14d
je 0x14006be5d
mov eax, esi
ror eax, 1
jmp 0x14006be60
mov eax, r15d
mov rcx, qword [rbx + 0x38]
lea r9, [rsp + 0xb0]
add edi, eax
rol esi, 1
lea r8, [rsp + 0xc8]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0xb8]
inc r14d
call qword [sym.imp.KERNEL32.DLL_GetQueuedCompletionStatus]
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x14006be20
add rcx, 0xffffffffffffffc0
mov qword [rcx + 0x68], r15
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14006bebd
mov rax, qword [rax + 0x68]
mov qword [rcx + 0x68], rax
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x68], rcx
jmp 0x14006bec1
mov qword [rcx + 0x68], rcx
mov qword [rbx + 0x48], rcx
movsd xmm0, qword [0x140151b90]
ucomisd xmm0, xmm8
jp 0x14006bedb
jne 0x14006bedb
mov rax, r15
jmp 0x14006bf22
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
jne 0x14006beef
mov rax, r15
jmp 0x14006bf22
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x140151b90]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x14006bf1a
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14006bf1a
mov rcx, r12
cvttsd2si rax, xmm0
add rax, rcx
mov qword [rbx + 0x40], rax
mov rax, qword [rbx + 0x68]
mov qword [rbx + 0x80], rax
test rax, rax
je 0x14006bf61
nop word [rax + rax]
mov rdx, qword [rbx + 0x80]
mov rcx, rdx
mov rax, qword [rdx + 0x68]
mov qword [rbx + 0x80], rax
call qword [rdx + 0x70]
cmp qword [rbx + 0x80], r15
jne 0x14006bf40
mov rcx, rbx
call fcn.14006aab0
mov rcx, rbx
call fcn.14006bc20
mov edi, eax
test eax, eax
jne 0x14006bce0
jmp 0x14006bc8f
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
lea rdx, str.GetQueuedCompletionStatus
call fcn.14006ee80
int3