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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
cmp dword [rcx + 8], 0
mov r13d, edx
movaps xmmword [rsp + 0x70], xmm6
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm7
movaps xmmword [rsp + 0x50], xmm8
ja 0x14000af4b
cmp dword [rcx + 0x20], 0
ja 0x14000af4b
cmp qword [rcx + 0x50], 0
jne 0x14000af4b
movsd xmm0, qword [0x1400aa0f0]
xor esi, esi
mov edi, esi
call fcn.140006c30
mov qword [rbx + 0x40], rax
cmp dword [rbx + 0x30], 0
je 0x14000af1e
mov dword [rbx + 0x30], esi
mov rbx, qword [rsp + 0xc8]
mov eax, edi
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsd xmm8, qword [0x1400aa0f0]
mov edi, 1
movsd xmm6, qword [0x1400aa0f8]
xor esi, esi
movabs r12, 0x8000000000000000
xorps xmm7, xmm7
cmp dword [rbx + 0x30], esi
jne 0x14000af15
movsd xmm0, qword [0x1400b8040]
ucomisd xmm0, xmm7
jp 0x14000af8a
jne 0x14000af8a
mov rax, rsi
jmp 0x14000afd8
lea rcx, [rsp + 0xd8]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
jne 0x14000afa1
mov rax, rsi
jmp 0x14000afd8
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0xd8]
mulsd xmm0, qword [0x1400b8040]
mulsd xmm0, xmm8
comisd xmm0, xmm6
jb 0x14000afd0
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000afd0
mov rcx, r12
cvttsd2si rax, xmm0
add rax, rcx
mov rcx, rbx
mov qword [rbx + 0x40], rax
call fcn.140009bb0
mov rcx, rbx
call fcn.140009f30
mov rcx, qword [rbx + 0x70]
mov ebp, eax
mov qword [rbx + 0x88], rcx
test rcx, rcx
je 0x14000b021
nop
mov rdx, qword [rbx + 0x88]
mov rcx, qword [rdx + 0x68]
mov qword [rbx + 0x88], rcx
mov rcx, rdx
call qword [rdx + reloc.WS2_32.dll_WSASetLastError]
cmp qword [rbx + 0x88], rsi
jne 0x14000b000
mov rax, qword [rbx + 0x60]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x14000b048
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], rsi
jne 0x14000b030
mov edi, esi
cmp r13d, 1
jne 0x14000b056
test ebp, ebp
je 0x14000b05b
jmp 0x14000b065
test r13d, r13d
jne 0x14000b065
mov rcx, rbx
call fcn.14000ac50
mov edi, eax
cmp qword [0x140341378], rsi
je 0x14000b07d
mov edx, edi
mov rcx, rbx
call fcn.14000acb0
jmp 0x14000b21c
mov rcx, qword [rbx + 0x38]
lea r9, [rsp + 0xd0]
mov r14d, edi
lea r8, [rsp + 0x38]
add r14, qword [rbx + 0x40]
lea rdx, [rsp + 0xc0]
mov r15d, esi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.DLL_GetQueuedCompletionStatus]
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
jne 0x14000b190
lea ebp, [rcx + 1]
nop
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x102
jne 0x14000b28b
test edi, edi
je 0x14000b21c
movsd xmm0, qword [0x1400b8040]
ucomisd xmm0, xmm7
jp 0x14000b0ee
jne 0x14000b0ee
mov rax, rsi
jmp 0x14000b136
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
jne 0x14000b102
mov rax, rsi
jmp 0x14000b136
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x30]
mulsd xmm0, qword [0x1400b8040]
mulsd xmm0, xmm8
comisd xmm0, xmm6
jb 0x14000b12e
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000b12e
mov rcx, r12
cvttsd2si rax, xmm0
add rax, rcx
mov qword [rbx + 0x40], rax
cmp r14, rax
jbe 0x14000b21c
mov edi, r14d
sub edi, eax
test r15d, r15d
je 0x14000b153
mov eax, ebp
ror eax, 1
jmp 0x14000b155
mov eax, esi
mov rcx, qword [rbx + 0x38]
lea r9, [rsp + 0xd0]
add edi, eax
rol ebp, 1
lea r8, [rsp + 0x38]
mov dword [rsp + 0x20], edi
lea rdx, [rsp + 0xc0]
inc r15d
call qword [sym.imp.KERNEL32.DLL_GetQueuedCompletionStatus]
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x14000b0c0
add rcx, 0xffffffffffffffc0
mov qword [rcx + 0x68], rsi
mov rax, qword [rbx + 0x48]
test rax, rax
je 0x14000b1b3
mov rax, qword [rax + 0x68]
mov qword [rcx + 0x68], rax
mov rax, qword [rbx + 0x48]
mov qword [rax + 0x68], rcx
jmp 0x14000b1b7
mov qword [rcx + 0x68], rcx
mov qword [rbx + 0x48], rcx
movsd xmm0, qword [0x1400b8040]
ucomisd xmm0, xmm7
jp 0x14000b1d0
jne 0x14000b1d0
mov rax, rsi
jmp 0x14000b218
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
jne 0x14000b1e4
mov rax, rsi
jmp 0x14000b218
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x40]
mulsd xmm0, qword [0x1400b8040]
mulsd xmm0, xmm8
comisd xmm0, xmm6
jb 0x14000b210
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000b210
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 0x14000b251
nop dword [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], rsi
jne 0x14000b230
mov rcx, rbx
call fcn.140009c90
cmp r13d, 1
jne 0x14000b267
mov rcx, rbx
call fcn.140009bb0
mov rcx, rbx
call fcn.14000aea0
lea ecx, [r13 - 1]
mov edi, eax
cmp ecx, 1
jbe 0x14000af15
test eax, eax
jne 0x14000af70
jmp 0x14000af15
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, eax
lea rdx, [0x1400a9ba0]
call fcn.14000e7d0
int3