Function at 0x14002d1d0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push r12
sub rsp, 0x110
mov r12, r9
mov ebx, r8d
mov rbp, rdx
mov rsi, rcx
mov dword [rsp + 0x140], 7
cmp r8d, 0xc0000022
je 0x14002d21d
mov eax, ebx
and eax, 0xfff0000
cmp eax, 0x70000
jne 0x14002d216
movzx eax, bx
cmp eax, 5
je 0x14002d21d
xor al, al
jmp 0x14002d48d
cmp dword [0x1400d8fc0], 0x3c
jb 0x14002d216
cmp byte [0x1400d8fb8], 0
jne 0x14002d216
lea rcx, str.ElevationLevel
call sym.ProcessHacker.exe_PhGetIntegerSetting
test eax, eax
je 0x14002d216
mov qword [rsp + 0x130], rdi
cmp eax, 1
jne 0x14002d379
cmp qword [0x1400d8f58], 0
je 0x14002d37e
lea rcx, [rsp + 0x44]
xor edx, edx
mov r8d, 0x9c
mov dword [rsp + 0x40], 0xa0
call fcn.14009e740
mov rax, qword [0x1400d8fa0]
mov qword [rsp + 0x4c], rax
lea rax, [0x1400ad8c8]
lea rdx, [0x1400aed30]
mov rcx, rbp
mov qword [rsp + 0x44], rsi
mov dword [rsp + 0x54], 0x10
mov qword [rsp + 0x5c], rax
mov qword [rsp + 0x64], 0xfffe
call sym.ProcessHacker.exe_PhConcatStrings2
mov rdi, rax
test rax, rax
je 0x14002d2c5
mov rcx, rax
call sym.ProcessHacker.exe_PhaDereferenceObject
lea rax, [rdi + 0x10]
mov ecx, ebx
mov qword [rsp + 0x6c], rax
call sym.ProcessHacker.exe_PhGetNtMessage
mov rbx, rax
test rax, rax
je 0x14002d2e5
mov rcx, rax
call sym.ProcessHacker.exe_PhaDereferenceObject
lea r8, [rbx + 0x10]
lea r9, str._nDo_you_want_Process_Hacker_to_elevate_the_action_
lea rdx, str.Unable_to_perform_the_action:
mov ecx, 3
call sym.ProcessHacker.exe_PhaConcatStrings
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x40]
add rax, 0x10
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x74], rax
lea rax, str.Elevate_nPrompt_for_credentials_and_elevate_the_action.
mov dword [rsp + 0x58], 0x20
mov qword [rsp + 0x34], rax
lea rax, [rsp + 0x30]
mov dword [rsp + 0x30], 6
mov qword [rsp + 0x80], rax
lea rax, [0x14002d1a0]
mov dword [rsp + 0x7c], 1
mov qword [rsp + 0xcc], rax
mov dword [rsp + 0x88], 6
call qword [0x1400d8f58]
test eax, eax
je 0x14002d37e
xor al, al
jmp 0x14002d485
cmp eax, 2
je 0x14002d38c
cmp dword [rsp + 0x140], 6
jne 0x14002d483
xor edx, edx
lea rcx, [rsp + 0x44]
mov dword [rsp + 0x40], 0x70
lea r8d, [rdx + 0x6c]
call fcn.14009e740
mov r11, qword [0x1400d8270]
lea rax, str.runas
add r11, 0x10
cmp dword [0x1400d8fc0], 0x3c
lea rcx, [rsp + 0x40]
cmovb rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x44], 0x40
mov dword [rsp + 0x70], 5
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14002d483
mov rdi, qword [rsp + 0xa8]
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x30], 0xfffffffffa0a1f00
call qword [sym.imp.ntdll.dll_NtWaitForSingleObject]
mov ebx, eax
test eax, eax
jne 0x14002d44d
lea r9d, [rax + 0x30]
lea r8, [rsp + 0xe0]
xor edx, edx
mov rcx, rdi
mov qword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtQueryInformationProcess]
mov ebx, eax
test eax, eax
cmovns ebx, dword [rsp + 0xe0]
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
test ebx, ebx
js 0x14002d467
mov rax, qword [rsp + 0x150]
mov byte [rax], 1
jmp 0x14002d483
mov rax, qword [rsp + 0x150]
xor r9d, r9d
mov r8d, ebx
mov rdx, rbp
mov rcx, rsi
mov byte [rax], 0
call sym.ProcessHacker.exe_PhShowStatus
mov al, 1
mov rdi, qword [rsp + 0x130]
mov rbx, qword [rsp + 0x138]
add rsp, 0x110
pop r12
pop rsi
pop rbp
ret