Function at 0x140315b80
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 - 0x118]
sub rsp, 0x1f0
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, rcx
mov dword [rbp - 0x70], r9d
xor r14d, r14d
mov dword [rbp - 0x6c], edx
lea rcx, [0x140505e80]
mov esi, r14d
mov r15d, r14d
mov r12, r8
mov r13d, edx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x140505e78]
test rbx, rbx
je 0x140315c02
cmp qword [rbx], rdi
je 0x140315bfd
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140315bef
test rbx, rbx
jne 0x140315c4f
mov edx, Compress
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 0x14031601e
mov qword [rax], rdi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov rcx, qword [0x140505e78]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r14
mov qword [rbx + 0x18], rcx
mov qword [0x140505e78], rbx
inc dword [rbx + 0xc]
inc dword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, dword [rbx + 8]
cmp eax, 0xea60
jbe 0x14031601e
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbx + 8], eax
lea r9, [rbp - 0x80]
lea rax, [rbp - 0x7c]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
call fcn.140315aa8
xor edx, edx
mov dword [rbp - 0x78], eax
mov r14d, eax
test eax, eax
je 0x140315cc1
lea r8, [0x140000000]
cmp rdi, r8
jb 0x140315cc1
mov eax, dword [rbp - 0x7c]
add rax, r8
cmp rax, r8
jbe 0x140315cc1
cmp rdi, rax
ja 0x140315cc1
sub edi, r8d
jmp 0x140315cc3
mov edi, edx
test r12, r12
jne 0x140315cd6
test r14d, r14d
lea rax, [rbp - 0x30]
cmove rax, r12
mov r12, rax
cmp dword [rbx + 0x10], 1
jne 0x140315dd9
lea rcx, [0x1404b94f8]
call fcn.14000864c
xor ecx, ecx
test eax, eax
jne 0x140315dd9
cmp dword [0x1404b94f8], ecx
jbe 0x140315db7
mov dl, byte [rbp - 0x30]
lea r15d, [rcx + 1]
mov dword [rbp - 0x48], 0x1d1727a6
mov esi, r15d
mov dword [rbp - 0x44], 0x4e2792c8
mov r13d, ecx
mov dword [rbp - 0x40], 0x8b0f69bc
mov dword [rbp - 0x3c], 0x9d548c45
test dl, dl
je 0x140315d76
mov r15d, ecx
lea r14, [rbp - 0x30]
movsx ecx, dl
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_toupper]
nop dword [rax + rax]
add byte [rbp + r15 - 0x48], al
inc r14
lea ecx, [r13 + 1]
cmp ecx, 0x10
lea rax, [r15 + 1]
mov dl, byte [r14]
sbb r13d, r13d
and r13d, ecx
cmp ecx, 0x10
sbb r15, r15
and r15, rax
cmp dl, 0
jne 0x140315d36
mov r14d, dword [rbp - 0x78]
mov r15d, esi
lea r9, [rbp - 0x58]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x48]
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister
xor r13d, r13d
test eax, eax
jne 0x140315db3
mov rcx, qword [rbp - 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 [rbp - 0x58]
test al, al
cmovne esi, r13d
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister
mov r13d, dword [rbp - 0x6c]
mov rcx, qword [0x1404b9518]
xor eax, eax
mov dword [0x1404b94f8], eax
mov qword [0x1404b9518], rax
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
lea rcx, [0x1404b94c0]
call fcn.14000864c
xor r11d, r11d
test eax, eax
jne 0x140315ffd
test r13d, r13d
je 0x140315f03
cmp dword [0x1404b94c0], 5
jbe 0x140315fd8
movabs rdx, 0x400000000000
lea rcx, [0x1404b94c0]
call fcn.1400072c8
test al, al
je 0x140315fd8
mov r8d, dword [rbx + 0x10]
lea rax, str._unknown_
mov r9d, dword [rbx + 0xc]
lea r10, [rbp - 0x30]
test r14d, r14d
mov dword [rbp - 0x74], r15d
mov dword [rbp - 0x78], esi
cmove r10, rax
mov qword [rbp - 0x50], r12
mov eax, r14d
mov dword [rbp - 0x6c], r8d
neg eax
mov qword [rbp - 0x48], r10
mov eax, dword [rbp + 0x140]
sbb edx, edx
mov dword [rbp - 0x60], edi
and edx, dword [rbp - 0x7c]
neg r14d
mov dword [rbp - 0x68], edx
lea rdx, [0x140459290]
mov dword [rbp - 0x7c], r9d
sbb ecx, ecx
mov dword [rbp - 0x58], 0xa
and ecx, dword [rbp - 0x80]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x70]
mov dword [rbp - 0x70], eax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x64], ecx
call fcn.140014a6c
jmp 0x140315fd8
cmp dword [0x1404b94c0], 5
jbe 0x140315fd8
movabs rdx, 0x400000000000
lea rcx, [0x1404b94c0]
call fcn.1400072c8
test al, al
je 0x140315fd8
mov edx, dword [rbx + 0x10]
lea rax, str._unknown_
mov r8d, dword [rbx + 0xc]
lea r9, [rbp - 0x30]
test r14d, r14d
mov dword [rbp - 0x64], edx
lea rdx, [0x14045920f]
mov dword [rbp - 0x58], r15d
cmove r9, rax
mov dword [rbp - 0x60], esi
mov eax, r14d
mov dword [rbp - 0x68], r8d
neg eax
mov qword [rbp - 0x48], r9
mov dword [rbp - 0x78], edi
sbb ecx, ecx
and ecx, dword [rbp - 0x7c]
neg r14d
mov dword [rbp - 0x70], ecx
sbb eax, eax
and eax, dword [rbp - 0x80]
mov dword [rbp - 0x74], eax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x80], 0xa
call fcn.140014958
mov rcx, qword [0x1404b94e0]
xor eax, eax
mov dword [0x1404b94c0], eax
mov qword [0x1404b94e0], rax
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
xor r11d, r11d
test r15d, r15d
je 0x14031601a
test esi, esi
je 0x14031601a
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop dword [rax + rax]
xor r11d, r11d
mov dword [rbx + 0xc], r11d
lea rcx, [0x140505e80]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140112420
lea r11, [rsp + 0x1f0]
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