Function at 0x1400973e8
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 - 0xf8]
sub rsp, 0x1d0
mov rax, qword [0x1400da318]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
xor r12d, r12d
lea rcx, [0x1400db3a8]
mov esi, r12d
mov r15d, r12d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x1400dae60]
test rbx, rbx
je 0x14009745d
cmp qword [rbx], rdi
je 0x140097458
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14009744a
test rbx, rbx
jne 0x1400974aa
mov edx, 0x20
lea ecx, [rdx + 0x20]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140097765
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 [0x1400dae60]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r12
mov qword [rbx + 0x18], rcx
mov qword [0x1400dae60], 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 0x140097765
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 + 0x78]
lea rax, [rsp + 0x70]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x20], rax
call fcn.140097320
mov dword [rsp + 0x74], eax
mov r14d, eax
test eax, eax
je 0x14009751d
lea rax, [0x140000000]
cmp rdi, rax
jb 0x14009751d
mov edx, dword [rsp + 0x70]
add rdx, rax
cmp rdx, rax
jbe 0x14009751d
cmp rdi, rdx
ja 0x14009751d
sub edi, eax
jmp 0x140097520
mov edi, r12d
cmp dword [rbx + 0x10], 1
jne 0x140097620
xor r8d, r8d
lea rcx, [0x1400d94f8]
xor edx, edx
call fcn.140026ee4
test eax, eax
jne 0x140097620
cmp dword [0x1400d94f8], r12d
jbe 0x1400975ff
mov dl, byte [rbp - 0x50]
lea esi, [rax + 1]
mov dword [rbp - 0x68], 0x1d1727a6
mov r15d, esi
mov dword [rbp - 0x64], 0x4e2792c8
mov r13d, r12d
mov dword [rbp - 0x60], 0x8b0f69bc
mov dword [rbp - 0x5c], 0x9d548c45
test dl, dl
je 0x1400975c5
mov r14, r12
lea r12, [rbp - 0x50]
movsx ecx, dl
call qword [sym.imp.msvcrt.dll_toupper]
nop dword [rax + rax]
add byte [rbp + r14 - 0x68], 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 0x140097583
mov r14d, dword [rsp + 0x74]
xor r12d, r12d
lea r9, [rbp - 0x80]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister
test eax, eax
jne 0x1400975ff
mov rcx, qword [rbp - 0x80]
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 [rbp - 0x80]
test al, al
cmovne esi, r12d
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister
mov rcx, qword [0x1400d9518]
mov qword [0x1400d9518], r12
mov dword [0x1400d94f8], r12d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
xor r8d, r8d
lea rcx, [0x1400d9530]
xor edx, edx
call fcn.140026ee4
test eax, eax
jne 0x140097747
cmp dword [0x1400d9530], 5
jbe 0x140097726
movabs rdx, 0x400000000000
test qword [0x1400d9540], rdx
je 0x140097726
mov rax, qword [0x1400d9548]
and rax, rdx
cmp rax, qword [0x1400d9548]
jne 0x140097726
mov edx, dword [rbx + 0x10]
lea rax, [0x1400a8930]
mov r8d, dword [rbx + 0xc]
lea r9, [rbp - 0x50]
test r14d, r14d
mov dword [rsp + 0x74], esi
mov dword [rbp - 0x78], r8d
cmove r9, rax
mov dword [rbp - 0x6c], edi
mov eax, r14d
mov qword [rbp - 0x68], r9
neg eax
mov dword [rbp - 0x80], 0xa
sbb ecx, ecx
and ecx, dword [rsp + 0x70]
neg r14d
mov dword [rsp + 0x70], edx
lea rdx, [0x1400b2e3b]
mov dword [rbp - 0x74], ecx
sbb eax, eax
and eax, dword [rsp + 0x78]
mov dword [rbp - 0x70], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x78], r15d
call fcn.14009720c
mov rcx, qword [0x1400d9550]
mov qword [0x1400d9550], r12
mov dword [0x1400d9530], r12d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
test r15d, r15d
je 0x140097761
test esi, esi
je 0x140097761
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, [0x1400db3a8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140029fb0
lea r11, [rsp + 0x1d0]
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