Function at 0x1400b50f0
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 0x1400b516a
cmp dword [rcx + 0x20], 0
ja 0x1400b516a
cmp qword [rcx + 0x50], 0
jne 0x1400b516a
movsd xmm0, qword [0x14039c4e8]
xor r15d, r15d
mov edi, r15d
call fcn.1400afb00
mov qword [rbx + 0x40], rax
cmp dword [rbx + 0x30], 0
je 0x1400b5149
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 [0x14039c4e8]
mov edi, 1
movsd xmm6, qword [0x14039c508]
xor r15d, r15d
movabs r12, 0x8000000000000000
xorps xmm8, xmm8
cmp dword [rbx + 0x30], r15d
jne 0x1400b513f
movsd xmm0, qword [0x1406b1a70]
ucomisd xmm0, xmm8
jp 0x1400b51ac
jne 0x1400b51ac
mov rax, r15
jmp 0x1400b51f9
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400b51c3
mov rax, r15
jmp 0x1400b51f9
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0xc0]
mulsd xmm0, qword [0x1406b1a70]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x1400b51f1
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400b51f1
mov rcx, r12
cvttsd2si rax, xmm0
add rax, rcx
mov rcx, rbx
mov qword [rbx + 0x40], rax
call fcn.1400b3510
mov rcx, rbx
call fcn.1400b4210
mov rax, qword [rbx + 0x70]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x1400b5241
nop dword [rax]
mov rdx, qword [rbx + 0x88]
mov rcx, rdx
mov rax, qword [rdx + 0x68]
mov qword [rbx + 0x88], rax
call qword [rdx + reloc.WS2_32.dll_WSASetLastError]
cmp qword [rbx + 0x88], r15
jne 0x1400b5220
mov rax, qword [rbx + 0x60]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x1400b5268
nop
mov rdx, qword [rbx + 0x78]
mov rcx, rdx
mov rax, qword [rdx + 0x68]
mov qword [rbx + 0x78], rax
call qword [rdx + reloc.WS2_32.dll_WSASetLastError]
cmp qword [rbx + 0x78], r15
jne 0x1400b5250
mov rcx, rbx
call fcn.1400b4e80
cmp qword [0x1407320b8], r15
mov edi, eax
je 0x1400b528a
mov edx, edi
mov rcx, rbx
call fcn.1400b4ee0
jmp 0x1400b53d6
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 0x1400b534a
lea esi, [rcx + 1]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
jne 0x1400b5430
test edi, edi
je 0x1400b53d6
movaps xmm0, xmm7
call fcn.1400afb00
mov qword [rbx + 0x40], rax
cmp rbp, rax
jbe 0x1400b53d6
mov edi, ebp
sub edi, eax
test r14d, r14d
je 0x1400b530d
mov eax, esi
ror eax, 1
jmp 0x1400b5310
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 0x1400b52d0
add rcx, 0xffffffffffffffc0
mov qword [rcx + 0x68], r15
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x1400b536d
mov rax, qword [rax + 0x68]
mov qword [rcx + 0x68], rax
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x68], rcx
jmp 0x1400b5371
mov qword [rcx + 0x68], rcx
mov qword [rbx + 0x48], rcx
movsd xmm0, qword [0x1406b1a70]
ucomisd xmm0, xmm8
jp 0x1400b538b
jne 0x1400b538b
mov rax, r15
jmp 0x1400b53d2
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400b539f
mov rax, r15
jmp 0x1400b53d2
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1406b1a70]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x1400b53ca
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400b53ca
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 0x1400b5411
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 + reloc.WS2_32.dll_WSASetLastError]
cmp qword [rbx + 0x80], r15
jne 0x1400b53f0
mov rcx, rbx
call fcn.1400b3f80
mov rcx, rbx
call fcn.1400b50d0
mov edi, eax
test eax, eax
jne 0x1400b5190
jmp 0x1400b513f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [0x14039c018]
call fcn.1400b8560
int3