Function at 0x14003cbac
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov rax, qword [0x1400841b0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
mov dword [rsp + 0x44], r9d
lea rcx, [0x140084bd0]
mov dword [rsp + 0x38], edx
mov r12, r8
mov r15d, edx
xor esi, esi
xor r13d, r13d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x140084bd8]
test rbx, rbx
je 0x14003cc2c
cmp qword [rbx], rdi
je 0x14003cc27
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x14003cc19
test rbx, rbx
jne 0x14003cc7b
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 0x14003d0f9
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 [0x140084bd8]
sub eax, 0xea61
and dword [rbx + 0xc], esi
and dword [rbx + 0x10], esi
mov dword [rbx + 8], eax
mov qword [rbx + 0x18], rcx
mov qword [0x140084bd8], 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 0x14003d0f9
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 + 0x3c]
lea rax, [rsp + 0x30]
lea rdx, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14003cb00
mov r14d, eax
test eax, eax
je 0x14003ccea
lea rax, [0x140000000]
cmp rdi, rax
jb 0x14003ccea
mov edx, dword [rsp + 0x30]
add rdx, rax
cmp rdx, rax
jbe 0x14003ccea
cmp rdi, rdx
ja 0x14003ccea
sub edi, eax
jmp 0x14003ccec
xor edi, edi
mov dword [rsp + 0x60], edi
xor edi, edi
test r12, r12
jne 0x14003cd05
test r14d, r14d
lea rax, [rbp + 0x60]
cmove rax, r12
mov r12, rax
cmp dword [rbx + 0x10], 1
jne 0x14003ce14
lea rcx, [0x1400810f0]
call fcn.1400010a0
test eax, eax
jne 0x14003ce14
cmp dword [0x1400810f0], edi
jbe 0x14003ce08
xor edx, edx
lea rcx, [0x1400810f0]
call fcn.140001150
test al, al
je 0x14003ce08
lea r13d, [rdx + 1]
mov dword [rsp + 0x68], 0x1d1727a6
mov dl, byte [rbp + 0x60]
mov esi, r13d
mov dword [rsp + 0x6c], 0x4e2792c8
mov r15d, edi
mov dword [rsp + 0x70], 0x8b0f69bc
mov dword [rsp + 0x74], 0x9d548c45
test dl, dl
je 0x14003cdb8
lea r13, [rbp + 0x60]
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 + rdi + 0x68], al
inc r13
lea ecx, [r15 + 1]
cmp ecx, 0x10
lea rax, [rdi + 1]
mov dl, byte [r13]
sbb r15d, r15d
and r15d, ecx
cmp ecx, 0x10
sbb rdi, rdi
and rdi, rax
cmp dl, 0
jne 0x14003cd7a
mov r13d, esi
xor edi, edi
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x14003ce03
mov rcx, qword [rsp + 0x58]
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 + 0x58]
test al, al
cmovne esi, edi
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
mov r15d, dword [rsp + 0x38]
lea rcx, [0x1400810f0]
call fcn.140001254
lea rcx, [0x140081128]
call fcn.1400010a0
test eax, eax
jne 0x14003d0dc
test r15d, r15d
je 0x14003cfa1
cmp dword [0x140081128], 5
jbe 0x14003d0d0
movabs rdx, 0x400000000000
lea rcx, [0x140081128]
call fcn.140001150
test al, al
je 0x14003d0d0
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 0xa
mov qword [rbp - 0x60], rax
lea rdx, [rbp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x50], rax
mov eax, r14d
neg eax
mov qword [rbp - 0x48], 4
lea rax, [rsp + 0x3c]
mov qword [rbp - 0x38], 4
sbb ecx, ecx
mov qword [rbp - 0x40], rax
and dword [rsp + 0x3c], ecx
mov eax, r14d
neg eax
mov qword [rbp - 0x28], 4
lea rax, [rsp + 0x38]
sbb ecx, ecx
mov qword [rbp - 0x30], rax
and ecx, dword [rsp + 0x30]
lea rax, str._unknown_
mov dword [rsp + 0x38], ecx
test r14d, r14d
lea rcx, [rbp - 0x20]
cmove rdx, rax
call fcn.140001178
mov ecx, dword [rbx + 0xc]
lea rax, [rsp + 0x30]
mov qword [rbp - 0x10], rax
mov rdx, r12
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], ecx
lea rcx, [rbp + 0x10]
mov qword [rbp], rax
mov qword [rbp - 8], 4
mov qword [rbp + 8], 4
call fcn.140001178
mov ecx, dword [rsp + 0x44]
lea rax, [rsp + 0x48]
mov qword [rbp + 0x20], rax
mov eax, dword [rbp + 0x1d0]
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x4c]
mov qword [rbp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rbp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rbp + 0x50], rax
mov dword [rsp + 0x48], ecx
mov qword [rbp + 0x28], 4
mov qword [rbp + 0x38], 4
mov dword [rsp + 0x50], esi
mov qword [rbp + 0x48], 4
mov dword [rsp + 0x58], r13d
mov qword [rbp + 0x58], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rdx, [0x14006ec3d]
lea rcx, [0x140081128]
mov dword [rsp + 0x20], SafeArrayUnlock
call fcn.1400011b0
jmp 0x14003d0d0
cmp dword [0x140081128], 5
jbe 0x14003d0d0
movabs rdx, 0x400000000000
lea rcx, [0x140081128]
call fcn.140001150
test al, al
je 0x14003d0d0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], 0xa
mov qword [rbp - 0x60], rax
lea rdx, [rbp + 0x60]
lea rax, [rsp + 0x60]
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x50], rax
mov eax, r14d
neg eax
mov qword [rbp - 0x48], 4
lea rax, [rsp + 0x50]
mov qword [rbp - 0x38], 4
sbb ecx, ecx
mov qword [rbp - 0x40], rax
and ecx, dword [rsp + 0x3c]
mov eax, r14d
neg eax
mov dword [rsp + 0x50], ecx
lea rax, [rsp + 0x4c]
mov qword [rbp - 0x28], 4
sbb ecx, ecx
mov qword [rbp - 0x30], rax
and ecx, dword [rsp + 0x30]
lea rax, str._unknown_
test r14d, r14d
mov dword [rsp + 0x4c], ecx
lea rcx, [rbp - 0x20]
cmove rdx, rax
call fcn.140001178
mov ecx, dword [rbx + 0xc]
lea rax, [rsp + 0x48]
mov qword [rbp - 0x10], rax
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x44]
mov qword [rbp], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x10], rax
lea rax, [rsp + 0x34]
mov qword [rbp + 0x20], rax
mov dword [rsp + 0x48], ecx
mov qword [rbp - 8], 4
mov qword [rbp + 8], 4
mov dword [rsp + 0x40], esi
mov qword [rbp + 0x18], 4
mov dword [rsp + 0x34], r13d
mov qword [rbp + 0x28], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rdx, [0x14006ebbc]
lea rcx, [0x140081128]
mov dword [rsp + 0x20], SafeArrayGetDim
call fcn.1400011b0
lea rcx, [0x140081128]
call fcn.140001254
test r13d, r13d
je 0x14003d0f6
test esi, esi
je 0x14003d0f6
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], edi
lea rcx, [0x140084bd0]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14004ddf0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret