Function at 0x1400258c0
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 [0x14015d3b8]
cmp qword [rsi], rcx
jne 0x140025938
mov eax, dword [rsi + 0x10]
cmp eax, 0xfffffdd8
jne 0x140025916
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [0x14015d1a4], eax
xor al, al
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 0xfffffdd9
jne 0x140025906
mov ecx, dword [0x14015d1a4]
call fcn.140027db0
xor al, al
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp dword [rsi + 0x10], 0xfffffe02
jne 0x140025906
mov eax, dword [0x14015d1a0]
cmp eax, 1
jne 0x140025a8a
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 + 0x50]
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 + 0x50]
test r15, r15
jne 0x1400259b0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call sym.ProcessHacker.exe_PhCreateStringEx
mov r15, rax
mov qword [rbp + 0x50], 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.1400e3c20
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 0x140025a37
mov rcx, qword [rbp - 8]
call qword [sym.imp.ntdll.dll_NtClose]
mov qword [r14], 1
jmp 0x140025a3e
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 0x140025a5f
call fcn.1400ae580
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], ebx
mov r13, qword [rsp + 0x108]
cmp ebx, 1
jne 0x140025a7a
call fcn.1400ae580
mov al, 1
add rsp, 0x110
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp eax, 2
jne 0x140025906
lea r8, [rbp + 0x58]
mov edx, 0x600cb
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov edi, eax
test eax, eax
js 0x140025b25
mov rcx, qword [rbp + 0x58]
lea rdx, [rsp + 0x50]
call fcn.1400ab600
mov edi, eax
test eax, eax
js 0x140025b00
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 + 0x58]
call qword [sym.imp.ntdll.dll_NtClose]
test edi, edi
js 0x140025b25
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