Function at 0x14000f714
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 r12
push r13
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x1f0
mov rax, qword [0x1400213a8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rcx
mov dword [rbp - 0x80], r9d
xor r14d, r14d
lea rcx, [0x140022158]
mov esi, r14d
mov r12d, r14d
mov r13d, r9d
mov r15, r8
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x140022160]
test rbx, rbx
je 0x14000f793
cmp qword [rbx], rdi
je 0x14000f78e
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14000f780
test rbx, rbx
jne 0x14000f7e0
mov edx, 0x20
lea ecx, [rdx + 0x20]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000fadc
mov qword [rax], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [0x140022160]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r14
mov qword [rbx + 0x18], rcx
mov qword [0x140022160], rbx
inc dword [rbx + 0xc]
inc dword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rbx + 8]
cmp eax, 0xea60
jbe 0x14000fadc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 8], eax
lea r9, [rbp - 0x70]
lea rax, [rbp - 0x7c]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.14000f668
xor r8d, r8d
mov dword [rbp - 0x78], eax
mov r14d, eax
test eax, eax
je 0x14000f852
lea rax, [0x140000000]
cmp rdi, rax
jb 0x14000f852
mov edx, dword [rbp - 0x7c]
add rdx, rax
cmp rdx, rax
jbe 0x14000f852
cmp rdi, rdx
ja 0x14000f852
sub edi, eax
jmp 0x14000f855
mov edi, r8d
test r15, r15
jne 0x14000f868
test r14d, r14d
lea rax, [rbp - 0x30]
cmove rax, r15
mov r15, rax
cmp dword [rbx + 0x10], 1
jne 0x14000f97a
lea rcx, [0x140021040]
call fcn.140001090
xor ecx, ecx
test eax, eax
jne 0x14000f97a
cmp dword [0x140021040], ecx
jbe 0x14000f958
mov dl, byte [rbp - 0x30]
lea r12d, [rcx + 1]
mov dword [rbp - 0x48], 0x1d1727a6
mov esi, r12d
mov dword [rbp - 0x44], 0x4e2792c8
mov r13d, ecx
mov dword [rbp - 0x40], 0x8b0f69bc
mov dword [rbp - 0x3c], 0x9d548c45
test dl, dl
je 0x14000f909
mov r14d, ecx
lea r12, [rbp - 0x30]
movsx ecx, dl
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
add byte [rbp + r14 - 0x48], al
inc r12
lea ecx, [r13 + 1]
cmp ecx, 0x10
lea rax, [r14 + 1]
mov dl, byte [r12]
sbb r13d, r13d
and r13d, ecx
cmp ecx, 0x10
sbb r14, r14
and r14, rax
cmp dl, 0
jne 0x14000f8c8
mov r14d, dword [rbp - 0x78]
mov r12d, esi
lea r9, [rbp - 0x68]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_EventRegister]
nop dword [rax + rax]
xor r13d, r13d
test eax, eax
jne 0x14000f954
mov rcx, qword [rbp - 0x68]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_EventProviderEnabled]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x68]
test al, al
cmovne esi, r13d
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
mov r13d, dword [rbp - 0x80]
mov rcx, qword [0x140021060]
xor eax, eax
mov dword [0x140021040], eax
mov qword [0x140021060], rax
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
lea rcx, [0x140021078]
call fcn.140001090
xor edx, edx
test eax, eax
jne 0x14000fabd
cmp dword [0x140021078], 5
jbe 0x14000fa9b
movabs r8, 0x400000000000
test qword [0x140021088], r8
je 0x14000fa9b
mov rax, qword [0x140021090]
and rax, r8
cmp rax, qword [0x140021090]
jne 0x14000fa9b
mov eax, dword [rbp + 0x140]
lea rcx, [0x1400191c8]
mov dword [rbp - 0x80], eax
lea rdx, [0x14001c899]
mov eax, dword [rbx + 0x10]
test r14d, r14d
mov dword [rbp - 0x5c], eax
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x58], eax
lea rax, [rbp - 0x30]
cmove rax, rcx
mov dword [rbp - 0x74], r12d
mov qword [rbp - 0x48], rax
mov eax, r14d
neg eax
mov dword [rbp - 0x78], esi
mov dword [rbp - 0x60], r13d
sbb ecx, ecx
mov qword [rbp - 0x50], r15
and dword [rbp - 0x7c], ecx
neg r14d
mov dword [rbp - 0x54], edi
mov dword [rbp - 0x68], 0xa
sbb eax, eax
and dword [rbp - 0x70], eax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x5c]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
call fcn.140001254
xor edx, edx
mov rcx, qword [0x140021098]
mov qword [0x140021098], rdx
mov dword [0x140021078], edx
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
xor edx, edx
test r12d, r12d
je 0x14000fad9
test esi, esi
je 0x14000fad9
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
xor edx, edx
mov dword [rbx + 0xc], edx
lea rcx, [0x140022158]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400144d0
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret