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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x140049070]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rbp - 0x49]
lea r8d, [rdx + 0x70]
call fcn.140012080
lea rcx, [rbp - 0x59]
mov dword [rbp - 0x39], 0x18
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call qword [rax + 0x20]
test eax, eax
jne 0x140002ecb
mov rax, qword [rbx]
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0x100], rdi
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
xor edx, edx
mov rcx, rbx
call qword [rax + 0x10]
xor esi, esi
movsd xmm7, qword [0x140043cf8]
movsd xmm6, qword [0x140043ce0]
nop
mov rax, qword [rbx]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call qword [rax + 0x10]
mov edi, eax
cmp byte [rbx + 0x19], sil
je 0x140002d8c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x80]
cmp eax, 0xc8
jbe 0x140002e27
mov byte [rbx + 0x19], sil
test edi, edi
js 0x140002d99
mov edx, dword [rbp - 0x15]
jmp 0x140002ddb
cmp edi, 0x80647000
jne 0x140002daf
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x38]
cmp dword [rbx + 8], 2
jne 0x140002dcc
mov edx, dword [rbp - 0x15]
mov dword [rbp - 0x1d], 0x2000
mov dword [rbp - 0x19], 0x2000
mov byte [rbp + 0x1f], 1
jmp 0x140002ddb
mov edx, esi
mov qword [rbp - 0x1d], rsi
mov dword [rbp - 0x11], esi
mov dword [rbp - 0x15], edx
mov byte [rbp + 0x1f], dl
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x78]
mov edx, dword [rbp - 0x11]
mov rcx, rbx
mov dword [rbp - 0x15], eax
mov rax, qword [rbx]
call qword [rax + 0x80]
mov edx, dword [rbp - 0x1d]
mov rcx, rbx
mov dword [rbp - 0x11], eax
mov rax, qword [rbx]
call qword [rax + 0x78]
mov edx, dword [rbp - 0x19]
mov rcx, rbx
mov dword [rbp - 0x1d], eax
mov rax, qword [rbx]
call qword [rax + 0x80]
lea rdx, [rbp - 0x49]
mov rcx, rbx
mov dword [rbp - 0x19], eax
mov rax, qword [rbx]
call qword [rax + 0x18]
lea rcx, [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [rbp - 0x61]
xorps xmm1, xmm1
xorps xmm0, xmm0
sub eax, dword [rbp - 0x69]
cvtsi2sd xmm0, qword [rbp - 0x59]
cvtsi2sd xmm1, rax
mulsd xmm1, xmm7
divsd xmm1, xmm0
comisd xmm6, xmm1
jbe 0x140002e68
movaps xmm0, xmm6
subsd xmm0, xmm1
cvttsd2si rcx, xmm0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x69]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
test al, al
je 0x140002e89
cmp byte [rbx + 0x18], sil
je 0x140002d60
mov rax, qword [rbx]
lea rdx, [rbp - 0x49]
mov rcx, rbx
mov qword [rbp - 0x1d], rsi
mov qword [rbp - 0x15], rsi
call qword [rax + 0x18]
mov rax, qword [rbx]
lea rdx, [rbp - 0x49]
mov rcx, rbx
call qword [rax + 0x28]
mov rdi, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xf8]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14000e2f0
mov rbx, qword [rsp + 0x108]
add rsp, 0xe0
pop rbp
ret