Function at 0x140136020
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 0x140136068
mov rcx, rdx
call sym.SystemInformer.exe_PhCreateString
mov r13, rax
mov r14d, 0xffffffff
test rbx, rbx
je 0x140136087
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov rdi, rax
mov qword [rbp + 0x68], rax
jmp 0x1401362d2
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 0x1401360aa
cmp qword [rdi], rsi
jne 0x140136120
mov r15, qword [rsp + 0x60]
test r15, r15
jne 0x1401360be
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x1401360f7
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 [r15 + rax], si
test rdx, rdx
je 0x1401360f7
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 0x140136125
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013611c
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 0x140136252
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 [rbp - 0x78], 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, ds:[r15 - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013624a
call fcn.14013d2a0
mov rax, qword [rbp - 0x78]
mov rdi, qword [rbp + 0x68]
mov rcx, r13
mov r13, rax
test rcx, rcx
je 0x140136277
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140136273
call fcn.14013d2a0
mov rdi, qword [rbp + 0x68]
test rdi, rdi
je 0x1401362ce
mov rcx, qword [rdi + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
test al, al
jne 0x1401362ce
mov rcx, qword [rdi + 8]
lea rdx, str..exe
call fcn.14013ad00
mov rcx, rdi
test rax, rax
je 0x1401362e7
mov rdi, rax
mov qword [rbp + 0x68], rax
test rcx, rcx
je 0x1401362ce
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401362ca
call fcn.14013d2a0
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x1401362f0
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x140136305
mov rdi, rsi
mov qword [rbp + 0x68], rsi
jmp 0x1401362ac
test rdi, rdi
je 0x140136310
cmp qword [rdi], rsi
je 0x140136310
mov rcx, rdi
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r12, rax
nop dword [rax + rax]
mov r8d, dword [rbp + 0x88]
mov ecx, r8d
mov r11, qword [rbp + 0x80]
shr ecx, 5
and ecx, 1
mov edx, ecx
or edx, 2
test r8b, 0x40
cmove edx, ecx
mov ecx, edx
or ecx, 4
test r8b, 4
cmove ecx, edx
mov edx, ecx
or edx, 0x10
test r8b, 0x10
cmove edx, ecx
mov ecx, edx
bts ecx, 0xa
test r8b, 2
cmove ecx, edx
mov edx, ecx
bts edx, 0x13
test r8b, 0x80
cmove edx, ecx
mov ecx, edx
bts ecx, 0x18
test r8b, 8
cmove ecx, edx
mov ebx, ecx
bts ebx, 0x1a
bt r8d, 8
cmovae ebx, ecx
test r11, r11
jne 0x1401363ac
xorps xmm0, xmm0
mov dword [rbp - 0x60], 0x68
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
mov dword [rbp + 4], eax
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movups xmmword [rbp - 0xc], xmm0
mov r10, qword [rbp + 0x90]
test r10, r10
je 0x14013642c
test r12, r12
je 0x1401363c4
mov r9, qword [r12 + 8]
jmp 0x1401363c7
mov r9, rsi
test r13, r13
je 0x1401363d2
mov rcx, qword [r13 + 8]
jmp 0x1401363d5
mov rcx, rsi
test rdi, rdi
je 0x1401363e2
mov rdx, qword ds:[rdi + 8]
jmp 0x1401363e5
mov rdx, rsi
test r11, r11
lea rax, [rbp - 0x60]
cmovne rax, r11
and r8d, 1
lea r11, [rsp + 0x70]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r8d
mov r8, rcx
mov rcx, r10
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x140136499
test r12, r12
je 0x140136438
mov r9, qword [r12 + 8]
jmp 0x14013643b
mov r9, rsi
nop dword [rax + rax]
test r13, r13
je 0x14013644b
mov rdx, qword [r13 + 8]
jmp 0x14013644e
mov rdx, rsi
test rdi, rdi
je 0x140136459
mov rcx, qword [rdi + 8]
jmp 0x14013645c
mov rcx, rsi
test r11, r11
lea r10, [rsp + 0x70]
mov qword [rsp + 0x48], r10
lea rax, [rbp - 0x60]
cmovne rax, r11
and r8d, 1
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r9
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r8d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1401364af
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov esi, eax
test rdi, rdi
je 0x1401364ca
lea rcx, [rdi - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401364ca
call fcn.14013d2a0
test r13, r13
je 0x1401364ea
lea rcx, ds:[r13 - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401364ea
call fcn.14013d2a0
test r12, r12
je 0x14013650b
lea rcx, ds:[r12 - 0x10]
lock xadd dword [rcx + 8], r14d
cmp r14d, 1
jne 0x14013650b
call fcn.14013d2a0
test esi, esi
js 0x140136564
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140136528
mov eax, dword [rbp - 0x80]
mov qword [rcx], rax
mov eax, dword [rbp - 0x7c]
mov qword [rcx + 8], rax
mov rcx, qword [rbp + 0xa0]
test rcx, rcx
je 0x14013653e
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x14013654e
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013654e
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0xa8]
test rcx, rcx
je 0x140136574
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x140136586
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140136574
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140136586
nop
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