Function at 0x140098258
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 [0x1400db348]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
xor r12d, r12d
lea rcx, [0x1400dc3e8]
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 [0x1400dbea0]
test rbx, rbx
je 0x1400982cd
cmp qword [rbx], rdi
je 0x1400982c8
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x1400982ba
test rbx, rbx
jne 0x14009831a
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 0x1400985d5
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 [0x1400dbea0]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r12
mov qword [rbx + 0x18], rcx
mov qword [0x1400dbea0], 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 0x1400985d5
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.140098190
mov dword [rsp + 0x74], eax
mov r14d, eax
test eax, eax
je 0x14009838d
lea rax, [0x140000000]
cmp rdi, rax
jb 0x14009838d
mov edx, dword [rsp + 0x70]
add rdx, rax
cmp rdx, rax
jbe 0x14009838d
cmp rdi, rdx
ja 0x14009838d
sub edi, eax
jmp 0x140098390
mov edi, r12d
cmp dword [rbx + 0x10], 1
jne 0x140098490
xor r8d, r8d
lea rcx, [0x1400da568]
xor edx, edx
call fcn.1400272f8
test eax, eax
jne 0x140098490
cmp dword [0x1400da568], r12d
jbe 0x14009846f
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 0x140098435
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 0x1400983f3
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 0x14009846f
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 [0x1400da588]
mov qword [0x1400da588], r12
mov dword [0x1400da568], r12d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
xor r8d, r8d
lea rcx, [0x1400da530]
xor edx, edx
call fcn.1400272f8
test eax, eax
jne 0x1400985b7
cmp dword [0x1400da530], 5
jbe 0x140098596
movabs rdx, 0x400000000000
test qword [0x1400da540], rdx
je 0x140098596
mov rax, qword [0x1400da548]
and rax, rdx
cmp rax, qword [0x1400da548]
jne 0x140098596
mov edx, dword [rbx + 0x10]
lea rax, [0x1400a9970]
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, [0x1400b410c]
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.14009807c
mov rcx, qword [0x1400da550]
mov qword [0x1400da550], r12
mov dword [0x1400da530], r12d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
test r15d, r15d
je 0x1400985d1
test esi, esi
je 0x1400985d1
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, [0x1400dc3e8]
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.14002a3f0
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