Function at 0x14013a620
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rdi
lea rbp, [rax - 0x58]
sub rsp, 0x148
mov qword [rax - 0x18], rbx
xor edi, edi
mov qword [rax - 0x20], rsi
mov rbx, rcx
mov qword [rax - 0x30], r13
mov r13d, edi
mov qword [rax - 0x38], r14
mov r14, r8
mov qword [rax - 0x40], r15
mov r15d, edi
mov qword [rbp + 0x68], rdi
test rdx, rdx
je 0x14013a670
mov rcx, rdx
call sym.SystemInformer.exe_PhCreateString
mov r15, rax
mov esi, 0xffffffff
test rbx, rbx
je 0x14013a68e
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov qword [rbp + 0x68], rax
jmp 0x14013a8d1
lea r9, [rbp + 0x68]
mov qword [rsp + 0x130], r12
lea r8, [rbp - 0x78]
mov rcx, r15
lea rdx, [rsp + 0x60]
call sym.SystemInformer.exe_PhParseCommandLineFuzzy
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013a6b9
cmp qword [rbx], rdi
jne 0x14013a72a
mov r14, qword ds:[rsp + 0x60]
test r14, r14
jne 0x14013a6cf
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14013a708
mov rdx, qword [0x1402ca978]
lea rcx, [r14 + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov rdx, qword [rsp + 0x68]
mov rbx, rax
mov qword [rax], r14
add rax, 0x10
mov qword [rbx + 8], rax
mov word [rax + r14], di
test rdx, rdx
je 0x14013a708
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020a640
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rbx
test rcx, rcx
je 0x14013a72f
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013a72a
call fcn.140141ca0
mov r14, qword [rsp + 0x60]
mov rax, qword [0x1402c5910]
mov rdx, qword [0x1402ca978]
lea rbx, [r14 + rax*2]
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r12, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [r12 + 8], rax
mov word [rbx + rax], di
mov rbx, qword [r12 + 8]
mov r8, qword [0x1402c5910]
mov rcx, rbx
mov rdx, qword [0x1402c5918]
call fcn.14020a640
add rbx, qword [0x1402c5910]
mov r8, r14
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14020a640
mov r8, qword [0x1402c5910]
lea rcx, [r14 + rbx]
mov rdx, qword [0x1402c5918]
call fcn.14020a640
mov rax, qword [rbp - 0x78]
mov r14, r12
test rax, rax
je 0x14013a845
mov rbx, qword [r12]
add rbx, qword [0x1402c5940]
mov rdx, qword [0x1402ca978]
add rbx, rax
lea rcx, [rbx + 0x12]
call sym.SystemInformer.exe_PhCreateObject
mov r14, rax
mov qword [rax], rbx
add rax, 0x10
mov qword [r14 + 8], rax
mov word [rbx + rax], di
mov rbx, qword [r14 + 8]
mov r8, qword [r12]
mov rcx, rbx
mov rdx, qword [r12 + 8]
call fcn.14020a640
add rbx, qword [r12]
mov r8, qword [0x1402c5940]
mov rcx, rbx
mov rdx, qword [0x1402c5948]
call fcn.14020a640
add rbx, qword [0x1402c5940]
mov r8, qword [rbp - 0x78]
mov rcx, rbx
mov rdx, qword [rbp - 0x70]
call fcn.14020a640
lea rcx, [r12 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013a845
nop dword [rax]
call fcn.140141ca0
mov r12, qword [rsp + 0x130]
mov rcx, r15
mov r15, r14
test rcx, rcx
je 0x14013a86d
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013a86d
call fcn.140141ca0
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013a8cd
mov rcx, qword [rbx + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
nop
test al, al
jne 0x14013a8cd
mov rcx, qword [rbx + 8]
lea rdx, str..exe
call fcn.14013f660
test rax, rax
je 0x14013a8ab
mov qword ds:[rbp + 0x68], rax
test rbx, rbx
je 0x14013a8cd
lea rcx, [rbx - 0x10]
jmp 0x14013a8bc
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rdi
test rcx, rcx
je 0x14013a8cd
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013a8cd
call fcn.140141ca0
mov r14, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14013a8e7
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x14013a8fd
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013a900
cmp qword [rbx], rdi
je 0x14013a900
mov rcx, rbx
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r13, rax
mov ecx, dword [rbp + 0x80]
mov eax, edi
test cl, 0x20
je 0x14013a915
lfence
mov eax, 1
test cl, 0x40
je 0x14013a920
lfence
or eax, 2
test cl, 4
je 0x14013a92b
lfence
or eax, 4
test cl, 0x10
je 0x14013a936
lfence
or eax, 0x10
test cl, 2
je 0x14013a942
lfence
bts eax, 0xa
test cl, cl
jns 0x14013a94d
lfence
bts eax, 0x13
test cl, 8
je 0x14013a959
lfence
bts eax, 0x18
bt ecx, 8
jae 0x14013a966
lfence
bts eax, 0x1a
mov r10, qword [rbp + 0x88]
xorps xmm0, xmm0
xor edx, edx
mov dword [rbp - 0x60], 0x68
mov dword [rbp + 4], edx
movups xmmword [rbp - 0x5c], xmm0
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
test r10, r10
je 0x14013a9fd
test r13, r13
je 0x14013a9a4
mov r9, qword [r13 + 8]
jmp 0x14013a9a7
mov r9, rdi
test r15, r15
je 0x14013a9b2
mov r8, qword [r15 + 8]
jmp 0x14013a9b5
mov r8, rdi
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013a9c2
mov rdx, qword [rbx + 8]
and ecx, 1
lea r11, [rsp + 0x70]
mov qword [rsp + 0x50], r11
lea r11, [rbp - 0x60]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov rcx, r10
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
jmp 0x14013aa66
nop dword [rax]
test r13, r13
je 0x14013aa0b
mov r8, qword [r13 + 8]
jmp 0x14013aa0e
mov r8, rdi
test r15, r15
je 0x14013aa17
mov rdx, qword [r15 + 8]
mov rbx, qword ds:[rbp + 0x68]
test rbx, rbx
je 0x14013aa2b
mov r10, qword [rbx + 8]
jmp 0x14013aa2e
mov r10, rdi
and ecx, 1
lea r9, [rsp + 0x70]
mov qword [rsp + 0x48], r9
lea r9, [rbp - 0x60]
mov qword [rsp + 0x40], r9
xor r9d, r9d
mov qword [rsp + 0x38], r8
xor r8d, r8d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14013aa91
cmp dword [0x1402bff40], 0xffffffff
jae 0x14013aa82
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x14013aa88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov edi, eax
mov rbx, qword ds:[rbp + 0x68]
mov r14, qword [rsp + 0x120]
test rbx, rbx
je 0x14013aaba
lea rcx, [rbx - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013aaba
call fcn.140141ca0
mov rbx, qword [rsp + 0x140]
test r15, r15
je 0x14013aadc
lea rcx, [r15 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013aadc
call fcn.140141ca0
mov r15, qword [rsp + 0x118]
test r13, r13
je 0x14013aafc
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x14013aafc
call fcn.140141ca0
mov r13, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x138]
test edi, edi
js 0x14013ab59
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14013ab26
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x14013ab36
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013ab36
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp + 0x98]
test rcx, rcx
je 0x14013ab6b
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
mov eax, edi
add rsp, 0x148
pop rdi
pop rbp
ret
mov rcx, qword ds:[rsp + 0x70]
test rcx, rcx
je 0x14013ab6b
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013ab7b
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x148
pop rdi
pop rbp
ret