Function at 0x140023528
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 [0x140030470]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rcx
xor r12d, r12d
lea rcx, [0x1400325d8]
mov esi, r12d
mov r13d, r12d
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x1400325e0]
test rbx, rbx
je 0x14002359d
cmp qword [rbx], rdi
je 0x140023598
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14002358a
test rbx, rbx
jne 0x1400235ea
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 0x140023909
mov qword [rax], rdi
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [0x1400325e0]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r12
mov qword [rbx + 0x18], rcx
mov qword [0x1400325e0], rbx
inc dword [rbx + 0xc]
inc dword [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rbx + 8]
cmp eax, 0xea60
jbe 0x140023909
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.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.14002347c
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
je 0x14002365d
lea rax, [0x140000000]
cmp rdi, rax
jb 0x14002365d
mov edx, dword [rsp + 0x30]
add rdx, rax
cmp rdx, rax
jbe 0x14002365d
cmp rdi, rdx
ja 0x14002365d
sub edi, eax
jmp 0x140023660
mov edi, r12d
cmp dword [rbx + 0x10], 1
jne 0x140023763
lea rcx, [0x140030230]
call fcn.140001380
test eax, eax
jne 0x140023763
cmp dword [0x140030230], r12d
jbe 0x140023742
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 0x140023704
mov r14, r12
lea r12, [rbp + 0x20]
movsx ecx, dl
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_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 0x1400236c2
mov r14d, dword [rsp + 0x34]
xor r12d, r12d
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.ADVAPI32.dll_EventRegister
test eax, eax
jne 0x140023742
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventProviderEnabled]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
test al, al
cmovne esi, r12d
call sub.ADVAPI32.dll_EventUnregister
mov rcx, qword [0x140030250]
mov qword [0x140030250], r12
mov dword [0x140030230], r12d
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
lea rcx, [0x140030268]
call fcn.140001380
test eax, eax
jne 0x1400238eb
cmp dword [0x140030268], 5
jbe 0x1400238ca
movabs rdx, 0x400000000000
test qword [0x140030278], rdx
je 0x1400238ca
mov rax, qword [0x140030280]
and rax, rdx
cmp rax, qword [0x140030280]
jne 0x1400238ca
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 0x140023845
inc eax
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], eax
lea rdx, [0x14002b3e8]
lea rax, [rsp + 0x30]
mov dword [rbp - 0x24], r12d
mov qword [rbp - 0x40], rax
lea rcx, [0x140030268]
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], 0xb
mov qword [rbp - 0x68], 4
call fcn.14000125c
mov rcx, qword [0x140030288]
mov qword [0x140030288], r12
mov dword [0x140030268], r12d
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
test r13d, r13d
je 0x140023905
test esi, esi
je 0x140023905
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
mov dword [rbx + 0xc], r12d
lea rcx, [0x1400325d8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140023ec0
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