Function at 0x1400887d4
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 r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
mov rax, qword [0x1400c9158]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rdi, rcx
lea r15, [0x140000000]
lea rcx, [0x1400cb5f0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov rbx, qword [0x1400c9bb0]
xor r14d, r14d
test rbx, rbx
je 0x140088840
cmp qword [rbx], rdi
je 0x14008883b
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14008882d
test rbx, rbx
jne 0x140088881
mov edx, 0x20
lea ecx, [rdx + 0x20]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140088b0e
mov qword [rax], rdi
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov rcx, qword [0x1400c9bb0]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r14
mov qword [rbx + 0x18], rcx
mov qword [0x1400c9bb0], rbx
inc dword [rbx + 0xc]
inc dword [rbx + 0x10]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [rbx + 8]
cmp eax, 0xea60
jbe 0x140088b0e
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbx + 8], eax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov rcx, r15
lea rdx, [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.140088720
mov esi, eax
test eax, eax
je 0x1400888e0
cmp rdi, r15
jb 0x1400888e0
mov edx, dword [rsp + 0x30]
add rdx, r15
cmp rdx, r15
jbe 0x1400888e0
cmp rdi, rdx
ja 0x1400888e0
sub edi, r15d
jmp 0x1400888e3
mov edi, r14d
mov rax, qword [str._n_v_n_]
lea r9, [0x1400c8270]
mov dword [rsp + 0x3c], edi
lea r8, [0x1400c8250]
lea rdx, [0x14001a6f0]
lea rcx, [rsp + 0x48]
movups xmm0, xmmword [rax - 0x10]
mov qword [0x1400c8278], r14
mov qword [0x1400c8280], r14
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
mov edi, 2
test eax, eax
jne 0x140088949
mov r8, qword [str._n_v_n_]
mov edx, edi
mov rcx, qword [0x1400c8270]
movzx r9d, word [r8]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventSetInformation]
cmp dword [0x1400c8250], 5
jbe 0x140088a59
movabs rdx, 0x400000000000
test qword [0x1400c8260], rdx
je 0x140088a59
mov rax, qword [0x1400c8268]
and rax, rdx
cmp rax, qword [0x1400c8268]
jne 0x140088a59
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 0xa
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x10]
lea rax, [rsp + 0x3c]
mov qword [rbp - 0x78], 4
mov qword [rbp - 0x70], rax
mov eax, esi
neg eax
mov qword [rbp - 0x68], 4
lea rax, [rsp + 0x34]
mov qword [rbp - 0x58], 4
sbb ecx, ecx
mov qword [rbp - 0x60], rax
and dword [rsp + 0x34], ecx
mov eax, esi
neg eax
mov qword [rbp - 0x48], 4
lea rax, [rsp + 0x30]
sbb ecx, ecx
mov qword [rbp - 0x50], rax
and dword [rsp + 0x30], ecx
lea rax, str._unknown_
test esi, esi
lea rcx, [rbp - 0x40]
cmove rdx, rax
call fcn.1400532d8
mov ecx, dword [rbx + 0xc]
lea rax, [rsp + 0x40]
mov qword [rbp - 0x30], rax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
mov qword [rbp - 0x20], rax
mov dword [rsp + 0x40], ecx
mov qword [rbp - 0x28], 4
mov qword [rbp - 0x18], 4
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, [0x1400a09a3]
xor r8d, r8d
mov dword [rsp + 0x20], 9
lea rcx, [0x1400c8250]
call fcn.140028b34
mov rcx, qword [0x1400c8270]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
mov qword [0x1400c8270], r14
mov dword [0x1400c8250], r14d
cmp dword [rbx + 0x10], 1
mov dword [rbx + 0xc], r14d
jne 0x140088b0e
mov rax, qword [0x1400c8218]
lea r9, [0x1400c8230]
lea r8, [0x1400c8210]
lea rdx, [0x14001a6f0]
lea rcx, [rsp + 0x48]
movups xmm0, xmmword [rax - 0x10]
mov qword [0x1400c8238], r14
mov qword [0x1400c8240], r14
movdqu xmmword [rsp + 0x48], xmm0
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
test eax, eax
jne 0x140088adf
mov r8, qword [0x1400c8218]
mov edx, edi
mov rcx, qword [0x1400c8230]
movzx r9d, word [r8]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventSetInformation]
cmp dword [0x1400c8210], r14d
jbe 0x140088af3
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [0x1400c8230]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
mov qword [0x1400c8230], r14
mov dword [0x1400c8210], r14d
lea rcx, [0x1400cb5f0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14002cdb0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret