Function at 0x140138120
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 0x140138168
mov rcx, rdx
call sym.SystemInformer.exe_QiCreateString
mov r13, rax
mov r14d, 0xffffffff
test rbx, rbx
je 0x140138187
mov rcx, rbx
call sym.SystemInformer.exe_QiCreateString
mov rdi, rax
mov qword [rbp + 0x68], rax
jmp 0x1401383d2
lea r9, [rbp + 0x68]
mov rcx, r13
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
call sym.SystemInformer.exe_QiParseCommandLineFuzzy
mov rdi, qword [rbp + 0x68]
test rdi, rdi
je 0x1401381aa
cmp qword [rdi], rsi
jne 0x140138220
mov r15, qword [rsp + 0x60]
test r15, r15
jne 0x1401381be
call sym.SystemInformer.exe_QiReferenceEmptyString
mov rbx, rax
jmp 0x1401381f7
mov rdx, qword [0x1402c4fb8]
lea rcx, [r15 + 0x12]
call sym.SystemInformer.exe_QiCreateObject
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 0x1401381f7
mov rcx, qword [rbx + 8]
mov r8, r15
call fcn.1402074d0
mov rcx, rdi
mov qword [rbp + 0x68], rbx
mov rdi, rbx
test rcx, rcx
je 0x140138225
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013821c
call fcn.14013fb00
mov rdi, qword [rbp + 0x68]
mov r15, qword [rsp + 0x60]
mov rax, qword [0x1402c0850]
mov rdx, qword [0x1402c4fb8]
lea rbx, ds:[r15 + rax*2]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
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 [0x1402c0850]
mov rcx, rbx
mov rdx, qword [0x1402c0858]
call fcn.1402074d0
add rbx, qword [0x1402c0850]
mov r8, r15
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.1402074d0
mov r8, qword [0x1402c0850]
lea rcx, ds:[r15 + rbx]
mov rdx, qword [0x1402c0858]
call fcn.1402074d0
mov rcx, qword [rbp - 0x70]
mov r15, qword [rbp + 0x60]
mov rax, r15
test rcx, rcx
je 0x140138354
mov rbx, qword [r15]
add rbx, qword [0x1402c0880]
mov rdx, qword [0x1402c4fb8]
add rbx, rcx
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_QiCreateObject
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.1402074d0
add rbx, qword [r15]
mov r8, qword [0x1402c0880]
mov rcx, rbx
mov rdx, qword [0x1402c0888]
call fcn.1402074d0
add rbx, qword [0x1402c0880]
mov r8, qword [rbp - 0x70]
mov rcx, rbx
mov rdx, qword [rbp - 0x68]
call fcn.1402074d0
lea rcx, [r15 - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013834b
call fcn.14013fb00
mov rax, qword [rsp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rcx, r13
mov r13, rax
test rcx, rcx
je 0x140138379
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140138375
call fcn.14013fb00
mov rdi, qword [rbp + 0x68]
test rdi, rdi
je 0x1401383ce
mov rcx, qword [rdi + 8]
call sym.SystemInformer.exe_QiDoesFileExistWin32
test al, al
jne 0x1401383ce
mov rcx, qword [rdi + 8]
lea rdx, str..exe
call fcn.14013d5c0
mov rcx, rdi
test rax, rax
je 0x1401383e7
mov rdi, rax
mov qword [rbp + 0x68], rax
test rcx, rcx
je 0x1401383ce
add rcx, 0xfffffffffffffff0
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401383ca
call fcn.14013fb00
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x1401383f0
mov rcx, rax
call sym.SystemInformer.exe_QiCreateString
jmp 0x140138405
mov rdi, rsi
mov qword [rbp + 0x68], rsi
jmp 0x1401383ac
test rdi, rdi
je 0x140138410
cmp qword [rdi], rsi
je 0x140138410
mov rcx, rdi
call sym.SystemInformer.exe_QiGetBaseDirectory
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 0x140138518
test r12, r12
je 0x1401384bb
mov rcx, qword [r12 + 8]
jmp 0x1401384be
mov rcx, rsi
nop
test r13, r13
je 0x1401384c9
mov rax, qword [r13 + 8]
test rdi, rdi
je 0x1401384d4
mov rdx, qword [rdi + 8]
jmp 0x1401384d7
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 0x140138575
test r12, r12
je 0x140138522
mov rax, qword [r12 + 8]
test r13, r13
je 0x14013852d
mov rdx, qword [r13 + 8]
jmp 0x140138530
mov rdx, rsi
test rdi, rdi
je 0x14013853b
mov rcx, qword [rdi + 8]
jmp 0x14013853e
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 0x140138588
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_QiDosErrorToNtStatus
mov esi, eax
test rdi, rdi
je 0x1401385a5
lea rcx, [rdi - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401385a5
nop
call fcn.14013fb00
test r13, r13
je 0x1401385c5
lea rcx, [r13 - 0x10]
mov eax, r14d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1401385c5
nop dword [rax + rax]
call fcn.14013fb00
test r12, r12
je 0x1401385e5
lea rcx, [r12 - 0x10]
lock xadd dword [rcx + 8], r14d
cmp r14d, 1
jne 0x1401385e5
nop dword [rax + rax]
call fcn.14013fb00
test esi, esi
js 0x140138624
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x1401385ff
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
jmp 0x14013860f
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013860f
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x140138634
mov rax, qword [rbp - 0x80]
mov qword [rcx], rax
jmp 0x140138646
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140138634
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140138646
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