Function at 0x140026be0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rbx
lea rbp, [rax - 0x278]
sub rsp, 0x368
xor edx, edx
mov qword [rax - 0x18], rsi
lea rcx, [rbp - 0x48]
mov qword [rax - 0x38], r14
xor bl, bl
mov dword [rbp - 0x50], 0x70
lea r8d, [rdx + 0x68]
call fcn.14010ed90
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x20]
mov rcx, qword [0x14018ad78]
movzx esi, word [rax + 0x70]
mov r14, qword [rax + 0x78]
cmp rcx, rsi
ja 0x140026c63
mov qword [rbp - 0x78], rcx
lea rdx, [0x14018ad78]
mov eax, esi
xor r8d, r8d
sub rax, rcx
lea rcx, [rbp - 0x78]
add rax, r14
mov qword [rbp - 0x70], rax
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x140027088
lea rax, [0x140158b30]
mov dword [rsp + 0x68], 0x140012
lea r9, [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x68]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_LdrGetDllHandle]
test eax, eax
js 0x140027088
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140027088
lea rax, str.LdrSystemDllInitBlock
mov dword [rsp + 0x78], 0x160015
lea r9, [rsp + 0x58]
mov qword [rbp - 0x80], rax
xor r8d, r8d
lea rdx, [rsp + 0x78]
call qword [sym.imp.ntdll.dll_LdrGetProcedureAddress]
test eax, eax
js 0x140027088
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140027088
mov ecx, dword [rdx]
lea rax, [rdx + 0xb0]
add rcx, rdx
cmp rax, rcx
ja 0x140027088
mov rax, qword [rdx + 0xa0]
mov qword [rsp + 0x358], rdi
movabs rdi, 0x110011100111000
and rax, rdi
cmp rax, rdi
je 0x140027080
xor r8d, r8d
lea r9, [rbp + 0x298]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x140026d40
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140027080
mov r8, qword [rbp + 0x298]
mov edx, 4
mov rcx, qword [0x140196670]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
xor r8d, r8d
lea r9, [rbp + 0x298]
mov rcx, rax
mov qword [rbp + 0x18], rax
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x140027080
mov rcx, qword [rbp + 0x18]
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rdi
xor edx, edx
xor edi, edi
mov r8d, 0x20007
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 8
call qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x140027080
mov rbx, qword [0x14018ad78]
mov rdx, qword [0x140196800]
add rbx, rsi
mov qword [rsp + 0x350], r12
mov qword [rsp + 0x348], r13
mov qword [rsp + 0x338], r15
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r8, rsi
mov qword [rbp + 0x290], rax
mov rdx, r14
mov r13, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
mov rcx, qword [rax + 8]
call fcn.14010e700
mov rcx, qword [r13 + 8]
mov r8, qword [0x14018ad78]
add rcx, rsi
mov rdx, qword [str.__nomp]
call fcn.14010e700
mov r15, qword [r13 + 8]
or rsi, 0xffffffffffffffff
mov r14d, edi
mov r12d, edi
test r15, r15
je 0x140026f8d
mov rbx, rsi
inc rbx
cmp word [r15 + rbx*2], di
jne 0x140026e43
mov rdx, qword [0x140196800]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r8, rbx
mov rdx, r15
mov r12, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
mov rcx, qword [rax + 8]
call fcn.14010e700
mov rcx, qword [r12 + 8]
lea rdx, [rbp + 0x280]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r13, rax
test rax, rax
je 0x140026f86
mov r14, qword [rax]
mov rbx, rsi
inc rbx
cmp word [r14 + rbx*2], di
jne 0x140026ea5
mov rdx, qword [0x140196800]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r15, rax
mov qword [rax], rbx
lea rcx, [rax + 0x10]
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
test r14, r14
je 0x140026ee8
mov rcx, qword [rax + 8]
mov r8, rbx
mov rdx, r14
call fcn.14010e700
mov rcx, r13
mov r14, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [r15 + 8]
call qword [sym.imp.ntdll.dll_RtlDoesFileExists_U]
test al, al
jne 0x140026f86
mov rcx, qword [r15 + 8]
lea r8, [rbp + 0x20]
call fcn.1400c7af0
test al, al
je 0x140026f6e
lea rax, [rbp + 0x20]
mov rbx, rsi
nop
inc rbx
cmp word [rax + rbx*2], di
jne 0x140026f20
mov rdx, qword [0x140196800]
add rbx, rbx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r8, rbx
lea rdx, [rbp + 0x20]
mov r14, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
mov rcx, qword [rax + 8]
call fcn.14010e700
lea rcx, [r15 - 0x10]
mov edx, esi
lock xadd dword [rcx + 8], edx
cmp edx, 1
jmp 0x140026f7f
mov r14, rdi
lea rcx, [r15 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140026f86
call fcn.1400c8bc0
mov r13, qword [rbp + 0x290]
mov r15, qword [rsp + 0x338]
test r12, r12
je 0x140026fa1
mov rdx, qword [r12 + 8]
jmp 0x140026fa4
mov rdx, rdi
test r14, r14
je 0x140026faf
mov rcx, qword [r14 + 8]
jmp 0x140026fb2
mov rcx, rdi
lea rax, [rbp - 0x68]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x1080000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140026ffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x140026ffc
movzx eax, ax
or eax, 0xc0070000
mov edi, eax
test r14, r14
je 0x140027018
lea rcx, [r14 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x140027018
call fcn.1400c8bc0
test r12, r12
je 0x140027033
lea rcx, [r12 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
sub eax, 1
jne 0x140027033
call fcn.1400c8bc0
mov r12, qword [rsp + 0x350]
test edi, edi
js 0x14002705d
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14002704e
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14002705d
call qword [sym.imp.ntdll.dll_NtClose]
mov ebx, edi
shr ebx, 0x1f
xor bl, 1
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], esi
mov r13, qword [rsp + 0x348]
cmp esi, 1
jne 0x140027080
call fcn.1400c8bc0
mov rdi, qword [rsp + 0x358]
mov rcx, qword [rbp + 0x18]
mov r14, qword [rsp + 0x340]
mov rsi, qword [rsp + 0x360]
test rcx, rcx
je 0x1400270ba
call qword [sym.imp.KERNEL32.dll_DeleteProcThreadAttributeList]
mov r8, qword [rbp + 0x18]
xor edx, edx
mov rcx, qword [0x140196670]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, bl
add rsp, 0x368
pop rbx
pop rbp
ret