Function at 0x1400f5440
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 0x1400f54ba
cmp dword [rcx + 0x20], 0
ja 0x1400f54ba
cmp qword [rcx + 0x50], 0
jne 0x1400f54ba
movsd xmm0, qword [0x1401a5178]
xor r15d, r15d
mov edi, r15d
call fcn.1400eb820
mov qword [rbx + 0x40], rax
cmp dword [rbx + 0x30], 0
je 0x1400f5499
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 [0x1401a5178]
mov edi, 1
movsd xmm6, qword [0x1401a51a0]
xor r15d, r15d
movabs r12, 0x8000000000000000
xorps xmm8, xmm8
cmp dword [rbx + 0x30], r15d
jne 0x1400f548f
movsd xmm0, qword [0x1401ddb00]
ucomisd xmm0, xmm8
jp 0x1400f54fc
jne 0x1400f54fc
mov rax, r15
jmp 0x1400f5549
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400f5513
mov rax, r15
jmp 0x1400f5549
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0xc0]
mulsd xmm0, qword [0x1401ddb00]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x1400f5541
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400f5541
mov rcx, r12
cvttsd2si rax, xmm0
add rax, rcx
mov rcx, rbx
mov qword [rbx + 0x40], rax
call fcn.1400f41e0
mov rcx, rbx
call fcn.1400f4560
mov rax, qword [rbx + 0x70]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x1400f5591
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 0x1400f5570
mov rax, qword [rbx + 0x60]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x1400f55b8
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 0x1400f55a0
mov rcx, rbx
call fcn.1400f51d0
cmp qword [0x1404674b8], r15
mov edi, eax
je 0x1400f55da
mov edx, edi
mov rcx, rbx
call fcn.1400f5230
jmp 0x1400f5726
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 0x1400f569a
lea esi, [rcx + 1]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
jne 0x1400f5780
test edi, edi
je 0x1400f5726
movaps xmm0, xmm7
call fcn.1400eb820
mov qword [rbx + 0x40], rax
cmp rbp, rax
jbe 0x1400f5726
mov edi, ebp
sub edi, eax
test r14d, r14d
je 0x1400f565d
mov eax, esi
ror eax, 1
jmp 0x1400f5660
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 0x1400f5620
add rcx, 0xffffffffffffffc0
mov qword [rcx + 0x68], r15
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x1400f56bd
mov rax, qword [rax + 0x68]
mov qword [rcx + 0x68], rax
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x68], rcx
jmp 0x1400f56c1
mov qword [rcx + 0x68], rcx
mov qword [rbx + 0x48], rcx
movsd xmm0, qword [0x1401ddb00]
ucomisd xmm0, xmm8
jp 0x1400f56db
jne 0x1400f56db
mov rax, r15
jmp 0x1400f5722
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x1400f56ef
mov rax, r15
jmp 0x1400f5722
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1401ddb00]
mulsd xmm0, xmm7
comisd xmm0, xmm6
jb 0x1400f571a
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x1400f571a
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 0x1400f5761
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 0x1400f5740
mov rcx, rbx
call fcn.1400f42d0
mov rcx, rbx
call fcn.1400f5420
mov edi, eax
test eax, eax
jne 0x1400f54e0
jmp 0x1400f548f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [0x1401a4440]
call fcn.1400f8350
int3