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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1e0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rdx
mov rdi, rcx
xor r15b, r15b
lea rcx, [rsp + 0x60]
call fcn.140068c38
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r12b, 0x4e
mov r9b, r12b
mov r8b, r12b
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.14006a410
mov ebx, eax
lea r13, [rdi + 8]
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov qword [rsp + 0x58], r13
xor esi, esi
test ebx, ebx
js 0x14006b91f
movzx esi, byte [rbp + 0x60]
lea rcx, [rdi + 0x40]
lea rax, [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 0x7e]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
add rcx, r8
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
add rax, r8
sub rdx, 1
jne 0x14006b890
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
mov rax, qword [rax + 0x60]
mov qword [rcx + 0x60], rax
lea r8, [rsp + 0x60]
mov rcx, rdi
call fcn.14006c384
jmp 0x14006b937
mov rcx, qword [r14 + 0x38]
test rcx, rcx
je 0x14006b937
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400aa8c0]
mov esi, eax
mov ebx, 1
sub esi, ebx
je 0x14006b955
sub esi, ebx
je 0x14006b94b
xor ebx, ebx
jmp 0x14006b9d8
mov ebx, 2
jmp 0x14006b9d8
mov rax, qword [rdi + 0x2e0]
mov al, byte [rax + 0x80]
cmp al, 2
jne 0x14006b9d3
mov ecx, dword [rdi + 0x30]
sub ecx, ebx
je 0x14006b9a7
cmp ecx, 3
jne 0x14006b9cc
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [0x1400e23f0]
mulsd xmm0, qword [0x1400b7c78]
cvttsd2si rax, xmm0
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov qword [rdi + 0x228], rcx
jmp 0x14006b9d8
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov rax, qword [rdi + 0x228]
cmp qword [rsp + 0x40], rax
jge 0x14006b9cc
mov dl, 2
mov rcx, rdi
call fcn.14006b648
jmp 0x14006b9d8
mov ebx, 5
jmp 0x14006b9d8
mov ebx, 4
cmp ebx, dword [rdi + 0x30]
je 0x14006baf0
mov rax, qword [rdi + 0x2e0]
movzx eax, byte [rax + 0x80]
mov ecx, eax
mov sil, 0x3f
test al, al
je 0x14006ba0f
sub ecx, 1
je 0x14006ba0c
cmp ecx, 1
je 0x14006ba07
mov r12b, sil
jmp 0x14006ba0f
mov r12b, 0x50
jmp 0x14006ba0f
mov r12b, 0x4f
mov ecx, dword [rdi + 0x30]
sub ecx, 1
je 0x14006ba44
sub ecx, 1
je 0x14006ba3f
sub ecx, 1
je 0x14006ba3a
sub ecx, 1
je 0x14006ba35
cmp ecx, 1
je 0x14006ba30
mov r14b, sil
jmp 0x14006ba47
mov r14b, 0x49
jmp 0x14006ba47
mov r14b, 0x4f
jmp 0x14006ba47
mov r14b, 0x44
jmp 0x14006ba47
mov r14b, 0x50
jmp 0x14006ba47
mov r14b, 0x41
mov ecx, ebx
sub ecx, 1
je 0x14006ba76
sub ecx, 1
je 0x14006ba71
sub ecx, 1
je 0x14006ba6c
sub ecx, 1
je 0x14006ba67
cmp ecx, 1
jne 0x14006ba79
mov sil, 0x49
jmp 0x14006ba79
mov sil, 0x4f
jmp 0x14006ba79
mov sil, 0x44
jmp 0x14006ba79
mov sil, 0x50
jmp 0x14006ba79
mov sil, 0x41
mov r15, qword [rdi]
add r15, 0x38
call fcn.140007fc8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14006baab
cmp dword [rcx], 0
jbe 0x14006baab
call fcn.140007fc8
mov byte [rsp + 0x20], r12b
mov r9b, r14b
mov r8b, sil
mov rdx, r15
call fcn.14006f2d4
cmp dword [rdi + 0x30], 2
jne 0x14006bac5
lea rcx, [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_profile_l1_1_0.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x38], rax
mov r15b, 1
mov dword [rdi + 0x30], ebx
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, rdi
call fcn.14006bce4
cmp ebx, 5
jne 0x14006baf0
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
call qword [0x1400aa8c0]
nop
test r13, r13
je 0x14006bafe
mov rcx, r13
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov al, r15b
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140098120
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret