Function at 0x140135ae0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
xor esi, esi
mov r15, r8
mov qword [rbp + 0x68], rsi
mov rbx, rcx
mov r13d, esi
mov r12d, esi
test rdx, rdx
je 0x140135b28
mov rcx, rdx
call sym.SystemInformer.exe_PhCreateString
mov r13, rax
mov r14d, 0xffffffff
test rbx, rbx
je 0x140135b47
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov rdi, rax
mov qword [rbp + 0x68], rax
jmp 0x140135d92
lea r9, [rbp + 0x68]
mov rcx, r13
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
call sym.SystemInformer.exe_PhParseCommandLineFuzzy
mov rdi, qword [rbp + 0x68]
test rdi, rdi
je 0x140135b6a
cmp qword [rdi], rsi
jne 0x140135be0
mov r15, qword [rsp + 0x60]
test r15, r15
jne 0x140135b7e
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x140135bb7
mov rdx, qword [0x1402bfcf8]
lea rcx, [r15 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword [rsp + 0x68]
mov rbx, rax
mov qword [rax], r15
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r15], si
test rdx, rdx
je 0x140135bb7
mov rcx, qword [rbx + 8]
mov r8, r15
call fcn.1401e3aa0
mov rcx, rdi
mov qword [rbp + 0x68], rbx
mov rdi, rbx
test rcx, rcx
je 0x140135be5
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140135bdc
call fcn.14013d2a0
mov rdi, qword [rbp + 0x68]
mov r15, qword [rsp + 0x60]
mov rax, qword [0x1402bb660]
mov rdx, qword [0x1402bfcf8]
lea rbx, ds:[r15 + rax*2]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rcx, rax
mov qword [rbp + 0x60], rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rcx + 8], rax
mov word [rbx + rax], si
mov rbx, qword [rcx + 8]
mov r8, qword [0x1402bb660]
mov rcx, rbx
mov rdx, qword [str.hd_]
call fcn.1401e3aa0
add rbx, qword [0x1402bb660]
mov r8, r15
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1401e3aa0
mov r8, qword [0x1402bb660]
lea rcx, ds:[r15 + rbx]
mov rdx, qword [str.hd_]
call fcn.1401e3aa0
mov rcx, qword [rbp - 0x70]
mov r15, qword [rbp + 0x60]
mov rax, r15
test rcx, rcx
je 0x140135d14
mov rbx, qword [r15]
add rbx, qword [0x1402bb690]
mov rdx, qword [0x1402bfcf8]
add rbx, rcx
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rcx, rax
mov qword [rsp + 0x70], rax
mov qword [rax], rbx
add rax, 0x10
mov qword [rcx + 8], rax
mov word [rbx + rax], si
mov rbx, qword [rcx + 8]
mov r8, qword [r15]
mov rcx, rbx
mov rdx, qword [r15 + 8]
call fcn.1401e3aa0
add rbx, qword [r15]
mov r8, qword [0x1402bb690]
mov rcx, rbx
mov rdx, qword [str.ld_]
call fcn.1401e3aa0
add rbx, qword [0x1402bb690]
mov r8, qword [rbp - 0x70]
mov rcx, rbx
mov rdx, qword [rbp - 0x68]
call fcn.1401e3aa0
lea rcx, [r15 - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140135d0b
call fcn.14013d2a0
mov rax, qword [rsp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rcx, r13
mov r13, rax
test rcx, rcx
je 0x140135d39
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140135d35
call fcn.14013d2a0
mov rdi, qword [rbp + 0x68]
test rdi, rdi
je 0x140135d8e
mov rcx, qword [rdi + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x140135d8e
mov rcx, qword [rdi + 8]
lea rdx, str..exe
call fcn.14013ad00
mov rcx, rdi
test rax, rax
je 0x140135da7
mov rdi, rax
mov qword [rbp + 0x68], rax
test rcx, rcx
je 0x140135d8e
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140135d8a
call fcn.14013d2a0
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x140135db0
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x140135dc5
mov rdi, rsi
mov qword [rbp + 0x68], rsi
jmp 0x140135d6c
test rdi, rdi
je 0x140135dd0
cmp qword [rdi], rsi
je 0x140135dd0
mov rcx, rdi
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r12, rax
nop dword [rax + rax]
mov r8d, dword [rbp + 0x80]
xorps xmm0, xmm0
mov r10, qword [rbp + 0x88]
mov ecx, r8d
shr ecx, 5
and ecx, 1
mov dword [rbp - 0x60], 0x68
mov edx, ecx
or edx, 2
test r8b, 0x40
movups xmmword [rbp - 0x5c], xmm0
cmove edx, ecx
mov ecx, edx
or ecx, 4
test r8b, 4
movups xmmword [rbp - 0x4c], xmm0
cmove ecx, edx
mov edx, ecx
or edx, 0x10
test r8b, 0x10
movups xmmword [rbp - 0x3c], xmm0
cmove edx, ecx
mov ecx, edx
bts ecx, 0xa
test r8b, 2
movups xmmword [rbp - 0x2c], xmm0
cmove ecx, edx
mov edx, ecx
bts edx, 0x13
test r8b, 0x80
movups xmmword [rbp - 0x1c], xmm0
cmove edx, ecx
mov ecx, edx
bts ecx, 0x18
test r8b, 8
movups xmmword [rbp - 0xc], xmm0
cmove ecx, edx
mov r9d, ecx
bts r9d, 0x1a
bt r8d, 8
cmovae r9d, ecx
xor eax, eax
mov dword [rbp + 4], eax
test r10, r10
je 0x140135ed8
test r12, r12
je 0x140135e7b
mov rcx, qword [r12 + 8]
jmp 0x140135e7e
mov rcx, rsi
nop
test r13, r13
je 0x140135e89
mov rax, qword [r13 + 8]
test rdi, rdi
je 0x140135e94
mov rdx, qword [rdi + 8]
jmp 0x140135e97
mov rdx, rsi
and r8d, 1
lea r11, [rsp + 0x78]
mov qword [rsp + 0x50], r11
lea r11, [rbp - 0x60]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rcx
mov rcx, r10
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r9d
xor r9d, r9d
mov dword [rsp + 0x28], r8d
mov r8, rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x140135f35
test r12, r12
je 0x140135ee2
mov rax, qword [r12 + 8]
test r13, r13
je 0x140135eed
mov rdx, qword [r13 + 8]
jmp 0x140135ef0
mov rdx, rsi
test rdi, rdi
je 0x140135efb
mov rcx, qword [rdi + 8]
jmp 0x140135efe
mov rcx, rsi
and r8d, 1
lea r10, [rsp + 0x78]
mov qword [rsp + 0x48], r10
lea r10, [rbp - 0x60]
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r9d
xor r9d, r9d
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140135f48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov esi, eax
test rdi, rdi
je 0x140135f65
lea rcx, [rdi - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140135f65
nop
call fcn.14013d2a0
test r13, r13
je 0x140135f85
lea rcx, [r13 - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140135f85
nop dword [rax + rax]
call fcn.14013d2a0
test r12, r12
je 0x140135fa5
lea rcx, [r12 - 0x10]
lock xadd dword [rcx + 8], r14d
cmp r14d, 1
jne 0x140135fa5
nop dword [rax + rax]
call fcn.14013d2a0
test esi, esi
js 0x140135fe4
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140135fbf
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x140135fcf
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140135fcf
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140135ff4
mov rax, qword [rbp - 0x80]
mov qword [rcx], rax
jmp 0x140136006
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140135ff4
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140136006
nop dword [rax]
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, esi
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret