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

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x58]
sub rsp, 0x140
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x70
xor edi, edi
xor eax, eax
cmp dword [sym.ProcessHacker.exe_WindowsVersion], 0x68
mov bl, 1
mov qword [rbp + 0x70], rdi
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp + 8], rax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
jb 0x7ff7bfff400c
mov qword [r11 - 0x20], rsi
lea rdx, [rbp + 0x70]
mov qword [r11 - 0x40], r15
mov r15, 0xffffffffffffffff
mov rcx, r15
call sym.ProcessHacker.exe_PhGetProcessCommandLine
test eax, eax
js 0x7ff7bfff3fb7
mov rsi, qword [rbp + 0x70]
lea rdx, [0x7ff7c01cd610]
mov rcx, rsi
xor r8d, r8d
call sym.ProcessHacker.exe_PhFindStringInStringRef
cmp rax, r15
jne 0x7ff7bfff3fb7
mov rdx, qword [rsi]
mov rcx, qword [0x7ff7c01cd5e0]
cmp rcx, rdx
ja 0x7ff7bfff3bb6
mov rax, qword [rsi + 8]
xor r8d, r8d
sub rax, rcx
mov qword [rsp + 0x68], rcx
add rax, rdx
lea rcx, [rsp + 0x68]
lea rdx, [0x7ff7c01cd5e0]
mov qword [rsp + 0x70], rax
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x7ff7bfff3fb7
mov rcx, qword [0x7ff7c01cd5e0]
mov rsi, qword [rbp + 0x70]
mov rdx, qword [0x7ff7c01d3b58]
mov qword [rsp + 0x120], r14
mov rbx, qword [rsi]
add rbx, rcx
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov r14, rax
lea rcx, [rax + 0x10]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov word [rcx + rbx], di
mov r8, qword [rsi]
mov rdx, qword [rsi + 8]
mov rcx, qword [rax + 8]
call fcn.7ff7c0125120
mov rcx, qword [r14 + 8]
add rcx, qword [rsi]
mov r8, qword [0x7ff7c01cd5e0]
mov rdx, qword [0x7ff7c01cd5e8]
call fcn.7ff7c0125120
mov qword [rbp + 0x70], r14
test rsi, rsi
je 0x7ff7bfff3c33
lea rcx, [rsi - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bfff3c33
call fcn.7ff7c00c6290
lea rcx, [0x7ff7c01759e0]
call fcn.7ff7c00c47c0
nop
test rax, rax
je 0x7ff7bfff3fad
xor r8d, r8d
lea rdx, [0x7ff7c0179760]
mov rcx, rax
call fcn.7ff7c00c4b60
nop dword [rax + rax]
test rax, rax
je 0x7ff7bfff3fad
mov edx, dword [rax]
lea rcx, [rax + 0xb0]
add rdx, rax
cmp rcx, rdx
ja 0x7ff7bfff3fad
mov rax, qword [rax + 0xa0]
movabs rbx, 0x110011100111000
and rax, rbx
cmp rax, rbx
je 0x7ff7bfff3fad
xor r8d, r8d
lea r9, [rbp + 0x78]
xor ecx, ecx
lea edx, [r8 + 1]
call qword [sym.imp.kernel32.dll_InitializeProcThreadAttributeList]
test eax, eax
jne 0x7ff7bfff3cc9
call qword [sym.imp.kernel32.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x7a
jne 0x7ff7bfff3fad
mov r8, qword [rbp + 0x78]
mov edx, 4
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.kernel32.dll_HeapAlloc_1]
xor r8d, r8d
lea r9, [rbp + 0x78]
mov rcx, rax
mov qword [rbp + 8], rax
lea edx, [r8 + 1]
call qword [sym.imp.kernel32.dll_InitializeProcThreadAttributeList]
test eax, eax
je 0x7ff7bfff3fad
mov rcx, qword [rbp + 8]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x28], rdi
mov r8d, 0x20007
mov qword [rsp + 0x20], 0x10
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], 0x11011110
call qword [sym.imp.kernel32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x7ff7bfff3fad
mov rcx, qword ds:[r14 + 8]
mov rbx, rdi
mov qword [rsp + 0x130], r12
mov r14, rdi
mov qword [rsp + 0x128], r13
mov rsi, rdi
test rcx, rcx
je 0x7ff7bfff3e45
call sym.ProcessHacker.exe_PhCreateString
mov r14, rax
mov r13, rax
test rax, rax
je 0x7ff7bfff3e45
mov rcx, qword [rax + 8]
lea rdx, [rbp + 0x68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r12, rax
test rax, rax
je 0x7ff7bfff3e45
mov rcx, qword [rax]
call sym.ProcessHacker.exe_PhCreateString
mov rcx, r12
mov qword [rbp + 0x60], rax
mov rbx, rax
call qword [sym.imp.kernel32.dll_LocalFree]
test rbx, rbx
je 0x7ff7bfff3e45
mov rcx, qword ds:[rbx + 8]
call sym.ProcessHacker.exe_PhDoesFileExistsWin32
test al, al
jne 0x7ff7bfff3df4
mov rcx, qword [rbx + 8]
call fcn.7ff7c00c34e0
mov rcx, qword [rbp + 0x60]
mov rbx, rax
add rcx, 0xfffffffffffffff0
test rax, rax
mov eax, r15d
je 0x7ff7bfff3e2f
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bfff3df4
call fcn.7ff7c00c6290
mov r12, rbx
cmp qword [rbx], rsi
je 0x7ff7bfff3e45
movups xmm0, xmmword [rbx]
mov edx, 0x5c
xor r8d, r8d
mov rcx, rbx
movups xmmword [rbp - 0x78], xmm0
call sym.ProcessHacker.exe_PhFindLastCharInStringRef
cmp rax, r15
je 0x7ff7bfff3e45
lea rbx, ds:[rax + rax]
test rbx, rbx
jne 0x7ff7bfff3e63
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov rsi, rax
jmp 0x7ff7bfff3e9a
mov rbx, rdi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bfff3e45
nop dword [rax]
call fcn.7ff7c00c6290
mov rax, rdi
mov r13, qword [rsp + 0x128]
mov r12, qword [rsp + 0x130]
test r14, r14
je 0x7ff7bfff3eab
mov rdx, qword [r14 + 8]
jmp 0x7ff7bfff3eae
mov rdx, qword [0x7ff7c01d3b58]
lea rcx, [rbx + 0x12]
call sym.ProcessHacker.exe_PhCreateObject
mov rdx, qword [rbp - 0x70]
mov rsi, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rsi + 8], rax
mov word [rax + rbx], di
test rdx, rdx
je 0x7ff7bfff3e9a
mov rcx, qword [rsi + 8]
mov r8, rbx
call fcn.7ff7c0125120
mov rbx, r12
test rsi, rsi
je 0x7ff7bfff3e45
mov rax, qword [rsi + 8]
jmp 0x7ff7bfff3e48
mov rdx, rdi
test rbx, rbx
je 0x7ff7bfff3eb9
mov rcx, qword [rbx + 8]
jmp 0x7ff7bfff3ebc
mov rcx, rdi
lea r8, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], r8
lea r8, [rbp - 0x60]
mov qword [rsp + 0x40], r8
xor r8d, r8d
mov qword [rsp + 0x38], rax
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 0x7ff7bfff3f0c
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jg 0x7ff7bfff3f03
mov edi, eax
jmp 0x7ff7bfff3f0c
movzx edi, ax
or edi, 0xc0070000
test rbx, rbx
je 0x7ff7bfff3f2a
lea rcx, ds:[rbx - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bfff3f2a
call fcn.7ff7c00c6290
test r14, r14
je 0x7ff7bfff3f4a
lea rcx, ds:[r14 - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bfff3f4a
call fcn.7ff7c00c6290
test rsi, rsi
je 0x7ff7bfff3f6a
lea rcx, ds:[rsi - 0x10]
mov eax, r15d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x7ff7bfff3f6a
call fcn.7ff7c00c6290
mov rcx, qword [rsp + 0x50]
test edi, edi
js 0x7ff7bfff3f92
test rcx, rcx
je 0x7ff7bfff3f7e
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x7ff7bfff3f8e
call qword [sym.imp.ntdll.dll_NtClose]
xor bl, bl
jmp 0x7ff7bfff3faf
test rcx, rcx
je 0x7ff7bfff3f9d
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x7ff7bfff3fad
call qword [sym.imp.ntdll.dll_NtClose]
mov bl, 1
mov r14, qword [rsp + 0x120]
mov rsi, qword ds:[rbp + 0x70]
test rsi, rsi
je 0x7ff7bfff3fda
lea rcx, [rsi - 0x10]
lock xadd dword [rcx + 8], r15d
cmp r15d, 1
jne 0x7ff7bfff3fda
call fcn.7ff7c00c6290
mov rcx, qword [rbp + 8]
mov r15, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x138]
test rcx, rcx
je 0x7ff7bfff400c
call qword [sym.imp.kernel32.dll_DeleteProcThreadAttributeList]
mov r8, qword [rbp + 8]
xor edx, edx
mov rcx, qword [0x7ff7c01d3cd0]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
movzx eax, bl
add rsp, 0x140
pop rdi
pop rbx
pop rbp
ret