Function at 0x1400339d0
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 - 0x168]
sub rsp, 0x240
mov rax, qword [0x14004ba88]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, rcx
xor r12d, r12d
lea rcx, [0x14004c900]
mov esi, r12d
mov r13d, r12d
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov rbx, qword [0x14004c908]
test rbx, rbx
je 0x140033a45
cmp qword [rbx], rdi
je 0x140033a40
mov rbx, qword [rbx + 0x18]
test rbx, rbx
jne 0x140033a32
test rbx, rbx
jne 0x140033a92
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 0x140033db1
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 [0x14004c908]
sub eax, 0xea61
mov dword [rbx + 8], eax
mov qword [rbx + 0xc], r12
mov qword [rbx + 0x18], rcx
mov qword [0x14004c908], 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 0x140033db1
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 + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [rbp + 0x20]
mov qword [rsp + 0x20], rax
call fcn.140033924
mov dword [rsp + 0x34], eax
mov r14d, eax
test eax, eax
je 0x140033b05
lea rax, [0x140000000]
cmp rdi, rax
jb 0x140033b05
mov edx, dword [rsp + 0x30]
add rdx, rax
cmp rdx, rax
jbe 0x140033b05
cmp rdi, rdx
ja 0x140033b05
sub edi, eax
jmp 0x140033b08
mov edi, r12d
cmp dword [rbx + 0x10], 1
jne 0x140033c0b
lea rcx, [0x14004b488]
call fcn.1400013e0
test eax, eax
jne 0x140033c0b
cmp dword [0x14004b488], r12d
jbe 0x140033bea
mov dl, byte [rbp + 0x20]
lea esi, [rax + 1]
mov dword [rsp + 0x58], 0x1d1727a6
mov r13d, esi
mov dword [rsp + 0x5c], 0x4e2792c8
mov r15d, r12d
mov dword [rsp + 0x60], 0x8b0f69bc
mov dword [rsp + 0x64], 0x9d548c45
test dl, dl
je 0x140033bac
mov r14, r12
lea r12, [rbp + 0x20]
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 + r14 + 0x58], al
inc r12
lea ecx, [r15 + 1]
cmp ecx, 0x10
lea rax, [r14 + 1]
mov dl, byte [r12]
sbb r15d, r15d
and r15d, ecx
cmp ecx, 0x10
sbb r14, r14
and r14, rax
cmp dl, 0
jne 0x140033b6a
mov r14d, dword [rsp + 0x34]
xor r12d, r12d
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventRegister
test eax, eax
jne 0x140033bea
mov rcx, qword [rsp + 0x40]
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 + 0x40]
test al, al
cmovne esi, r12d
call sub.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister
mov rcx, qword [0x14004b4a8]
mov qword [0x14004b4a8], r12
mov dword [0x14004b488], r12d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
lea rcx, [0x14004b4c0]
call fcn.1400013e0
test eax, eax
jne 0x140033d93
cmp dword [0x14004b4c0], 5
jbe 0x140033d72
movabs rdx, 0x400000000000
test qword [0x14004b4d0], rdx
je 0x140033d72
mov rax, qword [0x14004b4d8]
and rax, rdx
cmp rax, qword [0x14004b4d8]
jne 0x140033d72
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x4c], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x50], eax
mov eax, r14d
neg eax
mov dword [rsp + 0x34], r13d
mov eax, r14d
mov dword [rsp + 0x48], esi
sbb ecx, ecx
mov dword [rsp + 0x54], edi
and dword [rsp + 0x30], ecx
neg eax
mov dword [rsp + 0x40], 0xa
lea rax, [rsp + 0x34]
mov qword [rbp + 0x18], 4
mov qword [rbp + 0x10], rax
sbb ecx, ecx
and dword [rsp + 0x38], ecx
lea rax, [rsp + 0x48]
mov qword [rbp], rax
lea rcx, [rbp + 0x20]
lea rax, [rsp + 0x4c]
mov qword [rbp + 8], 4
mov qword [rbp - 0x10], rax
test r14d, r14d
lea rax, [rsp + 0x50]
mov qword [rbp - 8], 4
mov qword [rbp - 0x20], rax
lea rax, str._unknown_
cmove rcx, rax
mov qword [rbp - 0x18], 4
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x140033ced
inc eax
mov qword [rbp - 0x30], rcx
mov dword [rbp - 0x28], eax
lea rdx, [0x140042dac]
lea rax, [rsp + 0x30]
mov dword [rbp - 0x24], r12d
mov qword [rbp - 0x40], rax
lea rcx, [0x14004b4c0]
lea rax, [rsp + 0x38]
mov qword [rbp - 0x38], 4
mov qword [rbp - 0x50], rax
xor r9d, r9d
lea rax, [rsp + 0x54]
mov qword [rbp - 0x48], 4
mov qword [rbp - 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xb
mov qword [rbp - 0x68], 4
call fcn.140001a58
mov rcx, qword [0x14004b4e0]
mov qword [0x14004b4e0], r12
mov dword [0x14004b4c0], r12d
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
test r13d, r13d
je 0x140033dad
test esi, esi
je 0x140033dad
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, [0x14004c900]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140034200
lea r11, [rsp + 0x240]
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