Function at 0x1601959f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x200
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
lea r15, [0x160000000]
lea rcx, [0x1602740d0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov rbx, qword [0x160271b08]
xor r14d, r14d
test rbx, rbx
je 0x160195a64
cmp qword [rbx], rdi
je 0x160195a5f
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x160195a51
test rbx, rbx
jne 0x160195aa5
mov edx, 0x20
lea ecx, [rdx + 0x20]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x160195c80
mov qword [rax], rdi
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov rcx, qword [0x160271b08]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r14
mov qword [rbx + 0x18], rcx
mov qword [0x160271b08], rbx
inc dword [rbx + 0xc]
inc dword [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [rbx + 8]
cmp eax, 0xea60
jbe 0x160195c80
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbx + 8], eax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov rcx, r15
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rax
call fcn.160195944
mov esi, eax
test eax, eax
je 0x160195b04
cmp rdi, r15
jb 0x160195b04
mov edx, dword [rsp + 0x30]
add rdx, r15
cmp rdx, r15
jbe 0x160195b04
cmp rdi, rdx
ja 0x160195b04
sub edi, r15d
jmp 0x160195b07
mov edi, r14d
mov dword [rsp + 0x3c], edi
lea rdi, [0x16026f4a0]
mov rcx, rdi
call fcn.1600c268c
cmp dword [0x16026f4a0], 5
jbe 0x160195c14
movabs rdx, 0x400000000000
mov rcx, rdi
call fcn.1600c2794
test al, al
je 0x160195c14
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0xa
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x20]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x78], 4
mov qword [rbp - 0x80], rax
mov eax, esi
neg eax
mov qword [rbp - 0x78], 4
lea rax, [rsp + 0x34]
mov qword [rbp - 0x68], 4
sbb ecx, ecx
mov qword [rbp - 0x70], rax
and dword [rsp + 0x34], ecx
mov eax, esi
neg eax
mov qword [rbp - 0x58], 4
lea rax, [rsp + 0x30]
sbb ecx, ecx
mov qword [rbp - 0x60], rax
and dword [rsp + 0x30], ecx
lea rax, [0x1601da1a8]
test esi, esi
lea rcx, [rbp - 0x50]
cmove rdx, rax
call fcn.1600c2728
mov ecx, dword [rbx + 0xc]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x40], rax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x40], ecx
mov qword [rbp - 0x38], 4
mov qword [rbp - 0x28], 4
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1601f7d13]
xor r8d, r8d
mov dword [rsp + 0x20], 9
mov rcx, rdi
call fcn.1600c27b8
mov rcx, qword [0x16026f4c0]
call qword [sym.imp.ntdll.dll_EtwEventUnregister]
mov qword [0x16026f4c0], r14
mov dword [0x16026f4a0], r14d
cmp dword [rbx + 0x10], 1
mov dword [rbx + 0xc], r14d
jne 0x160195c80
lea rcx, [0x16026f4e0]
call fcn.1600c268c
xor r8d, r8d
lea rcx, [0x16026f4e0]
xor edx, edx
call fcn.1600c2664
test al, al
je 0x160195c65
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [0x16026f500]
call qword [sym.imp.ntdll.dll_EtwEventUnregister]
mov qword [0x16026f500], r14
mov dword [0x16026f4e0], r14d
lea rcx, [0x1602740d0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.16006e590
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret