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

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
cmp qword [0x140096988], 0
lea rax, [0x14000efd0]
mov qword [rsp + 0x68], rbp
mov rbx, rcx
lea rbp, [0x14000edb0]
mov qword [rsp + 0x70], rsi
cmovne rbp, rax
cmp dword [rcx + 8], 0
ja 0x14000f33f
lea rax, [rcx + 0x20]
cmp rax, qword [rax]
jne 0x14000f33f
cmp qword [rcx + 0x50], 0
jne 0x14000f33f
movsd xmm0, qword [0x140096408]
xor edi, edi
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jp 0x14000f2d3
jne 0x14000f2d3
xor eax, eax
mov qword [rcx + 0x40], rax
jmp 0x14000f4bc
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14000f2ed
xor eax, eax
mov qword [rbx + 0x40], rax
jmp 0x14000f4bc
movsd xmm1, qword [0x14007dd50]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x60]
xor ecx, ecx
mulsd xmm0, qword [0x140096408]
mulsd xmm0, qword [0x14007dd30]
comisd xmm0, xmm1
jb 0x14000f32e
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14000f32e
movabs rsi, 0x8000000000000000
mov rcx, rsi
cvttsd2si rax, xmm0
add rax, rcx
mov qword [rbx + 0x40], rax
jmp 0x14000f4bc
movaps xmmword [rsp + 0x40], xmm6
mov edi, 1
movsd xmm6, qword [0x14007dd50]
movabs rsi, 0x8000000000000000
movaps xmmword [rsp + 0x30], xmm7
xorps xmm7, xmm7
movaps xmmword [rsp + 0x20], xmm8
movsd xmm8, qword [0x14007dd30]
cmp dword [rbx + 0x30], 0
jne 0x14000f4ac
movsd xmm0, qword [0x140096408]
ucomisd xmm0, xmm7
jp 0x14000f390
jne 0x14000f390
xor eax, eax
jmp 0x14000f3d7
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14000f3a3
xor eax, eax
jmp 0x14000f3d7
xorps xmm0, xmm0
xor ecx, ecx
cvtsi2sd xmm0, qword [rsp + 0x60]
mulsd xmm0, qword [0x140096408]
mulsd xmm0, xmm8
comisd xmm0, xmm6
jb 0x14000f3cf
subsd xmm0, xmm6
comisd xmm0, xmm6
jae 0x14000f3cf
mov rcx, rsi
cvttsd2si rax, xmm0
add rax, rcx
mov rcx, rbx
mov qword [rbx + 0x40], rax
call fcn.140018a80
mov rcx, rbx
call fcn.14000e070
mov rax, qword [rbx + 0x70]
mov qword [rbx + 0x88], rax
test rax, rax
je 0x14000f422
nop dword [rax + 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], 0
jne 0x14000f400
mov rax, qword [rbx + 0x60]
mov qword [rbx + 0x78], rax
test rax, rax
je 0x14000f449
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], 0
jne 0x14000f430
mov rcx, rbx
call fcn.14000ed30
mov edx, eax
mov rcx, rbx
call rbp
mov rax, qword [rbx + 0x68]
mov qword [rbx + 0x80], rax
test rax, rax
je 0x14000f492
nop dword [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], 0
jne 0x14000f470
mov rcx, rbx
call fcn.14000deb0
mov rcx, rbx
call fcn.14000f240
mov edi, eax
test eax, eax
jne 0x14000f372
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x20]
cmp dword [rbx + 0x30], 0
mov eax, edi
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
je 0x14000f4d5
mov dword [rbx + 0x30], 0
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret