Function at 0x140006ef8
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 - 0x168]
sub rsp, 0x240
mov rax, qword [0x14000c078]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rcx
xor r12d, r12d
lea rcx, [0x14000c678]
mov esi, r12d
mov r13d, r12d
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x14000c680]
test rbx, rbx
je 0x140006f6d
cmp qword [rbx], rdi
je 0x140006f68
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140006f5a
test rbx, rbx
jne 0x140006fba
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 0x1400072e7
mov qword [rax], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [0x14000c680]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r12
mov qword [rbx + 0x18], rcx
mov qword [0x14000c680], 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 0x1400072e7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 8], eax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140006e4c
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
je 0x14000702d
lea rax, [0x140000000]
cmp rdi, rax
jb 0x14000702d
mov edx, dword [rsp + 0x30]
add rdx, rax
cmp rdx, rax
jbe 0x14000702d
cmp rdi, rdx
ja 0x14000702d
sub edi, eax
jmp 0x140007030
mov edi, r12d
cmp dword [rbx + 0x10], 1
jne 0x140007141
lea rcx, [section..data]
call fcn.140001090
test eax, eax
jne 0x140007141
cmp dword [section..data], r12d
jbe 0x140007120
mov dl, byte [rbp + 0x20]
lea esi, [rax + 1]
mov dword [rsp + 0x58], 0x1d1727a6
mov r13d, esi
mov dword [rsp + 0x5c], 0x4e2792c8
mov r15d, r12d
mov dword [rsp + 0x60], 0x8b0f69bc
mov dword [rsp + 0x64], 0x9d548c45
test dl, dl
je 0x1400070d4
mov r14, r12
lea r12, [rbp + 0x20]
movsx ecx, dl
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
add byte [rsp + r14 + 0x58], al
inc r12
lea ecx, [r15 + 1]
cmp ecx, 0x10
lea rax, [r14 + 1]
mov dl, byte [r12]
sbb r15d, r15d
and r15d, ecx
cmp ecx, 0x10
sbb r14, r14
and r14, rax
cmp dl, 0
jne 0x140007092
mov r14d, dword [rsp + 0x34]
xor r12d, r12d
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x140007120
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_EventProviderEnabled]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
test al, al
cmovne esi, r12d
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
mov rcx, qword [0x14000c020]
mov qword [0x14000c020], r12
mov dword [section..data], r12d
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
lea rcx, [0x14000c038]
call fcn.140001090
test eax, eax
jne 0x1400072c9
cmp dword [0x14000c038], 5
jbe 0x1400072a8
movabs rdx, 0x400000000000
test qword [0x14000c048], rdx
je 0x1400072a8
mov rax, qword [0x14000c050]
and rax, rdx
cmp rax, qword [0x14000c050]
jne 0x1400072a8
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x50], eax
mov eax, r14d
neg eax
mov dword [rsp + 0x34], r13d
mov eax, r14d
mov dword [rsp + 0x48], esi
sbb ecx, ecx
mov dword [rsp + 0x54], edi
and dword [rsp + 0x30], ecx
neg eax
mov dword [rsp + 0x40], 0xa
lea rax, [rsp + 0x34]
mov qword [rbp + 0x18], 4
mov qword [rbp + 0x10], rax
sbb ecx, ecx
and dword [rsp + 0x38], ecx
lea rax, [rsp + 0x48]
mov qword [rbp], rax
lea rcx, [rbp + 0x20]
lea rax, [rsp + 0x4c]
mov qword [rbp + 8], 4
mov qword [rbp - 0x10], rax
test r14d, r14d
lea rax, [rsp + 0x50]
mov qword [rbp - 8], 4
mov qword [rbp - 0x20], rax
lea rax, str._unknown_
cmove rcx, rax
mov qword [rbp - 0x18], 4
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x140007223
inc eax
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], eax
lea rdx, [0x14000a0f9]
lea rax, [rsp + 0x30]
mov dword [rbp - 0x24], r12d
mov qword [rbp - 0x40], rax
lea rcx, [0x14000c038]
lea rax, [rsp + 0x38]
mov qword [rbp - 0x38], 4
mov qword [rbp - 0x50], rax
xor r9d, r9d
lea rax, [rsp + 0x54]
mov qword [rbp - 0x48], 4
mov qword [rbp - 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], SafeArrayDestroy
mov qword [rbp - 0x68], 4
call fcn.140001144
mov rcx, qword [0x14000c058]
mov qword [0x14000c058], r12
mov dword [0x14000c038], r12d
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
test r13d, r13d
je 0x1400072e3
test esi, esi
je 0x1400072e3
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
mov dword [rbx + 0xc], r12d
lea rcx, [0x14000c678]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140007750
lea r11, [rsp + 0x240]
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