Function at 0x1400260f0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rsi, rcx
mov r14, rdx
mov rcx, qword [0x14015c260]
cmp qword [rsi], rcx
jne 0x140026168
mov eax, dword [rsi + 0x10]
cmp eax, 0xfffffdd8
jne 0x140026146
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x14015c04c], eax
xor al, al
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 0xfffffdd9
jne 0x140026136
mov ecx, dword [0x14015c04c]
call fcn.140028600
xor al, al
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsi + 0x10], 0xfffffe02
jne 0x140026136
mov eax, dword [0x14015c048]
cmp eax, 1
jne 0x1400262ba
mov rbx, qword [rsi + 0x18]
mov rcx, rbx
mov qword [rsp + 0x108], r13
mov qword [rsp + 0x100], r15
call sym.ProcessHacker.exe_PhCountStringZ
add rax, rax
mov qword [rsp + 0x60], rbx
lea r9, [rbp + 0x58]
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call sym.ProcessHacker.exe_PhParseCommandLineFuzzy
mov r15, qword [rbp + 0x58]
test r15, r15
jne 0x1400261e0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhCreateStringEx
mov r15, rax
mov qword [rbp + 0x58], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rbp - 0x80]
call sym.ProcessHacker.exe_PhCreateStringEx
mov esi, dword [rsi + 0x28]
lea rcx, [rbp - 0x6c]
mov rbx, qword [r15 + 8]
xor edx, edx
mov r13, rax
mov dword [rbp - 0x70], 0x70
mov rdi, qword [rax + 8]
lea r8d, [rdx + 0x6c]
call fcn.1400e43c0
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
lea rax, str.runas
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x3c
mov qword [rbp - 0x68], rcx
lea rcx, [rbp - 0x70]
cmovb rax, qword [rbp - 0x60]
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rdi
mov dword [rbp - 0x6c], 0x40
mov dword [rbp - 0x40], esi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140026267
mov rcx, qword [rbp - 8]
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [r14], 1
jmp 0x14002626e
mov qword [r14], 2
or rbx, 0xffffffffffffffff
lea rcx, [r15 - 0x10]
mov eax, ebx
lock xadd dword [rcx + 8], eax
mov r15, qword [rsp + 0x100]
sub eax, 1
jne 0x14002628f
call fcn.1400ae900
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], ebx
mov r13, qword [rsp + 0x108]
cmp ebx, 1
jne 0x1400262aa
call fcn.1400ae900
mov al, 1
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 2
jne 0x140026136
or rbx, 0xffffffffffffffff
lea r8, [rbp + 0x50]
mov rcx, rbx
mov edx, 0x600cb
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov edi, eax
cmp eax, 0xc0000022
jne 0x1400262fe
cmp byte [0x14015e000], 0
je 0x1400262fe
lea r8, [rbp + 0x50]
mov edx, 0x600cb
mov rcx, rbx
call fcn.1400c03e0
mov edi, eax
test edi, edi
js 0x14002637b
mov rcx, qword [rbp + 0x50]
lea rdx, [rsp + 0x50]
call fcn.1400ab8e0
mov edi, eax
test eax, eax
js 0x140026356
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rdx, qword [rsi + 0x18]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rax
call sym.ProcessHacker.exe_PhCreateProcessWin32Ex
mov rcx, rbx
mov edi, eax
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
js 0x14002637b
mov qword [r14], 1
mov al, 1
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [sym.ProcessHacker.exe_PhMainWndHandle]
lea rdx, str.Unable_to_execute_the_program
xor r9d, r9d
mov r8d, edi
call sym.ProcessHacker.exe_PhShowStatus
mov al, 1
mov qword [r14], 2
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret