Function at 0x14013ab80
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 0x14013abd0
mov rcx, rdx
call sym.SystemInformer.exe_PhCreateString
mov r15, rax
mov esi, 0xffffffff
test rbx, rbx
je 0x14013abee
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov qword [rbp + 0x68], rax
jmp 0x14013ae31
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 0x14013ac19
cmp qword [rbx], rdi
jne 0x14013ac8a
mov r14, qword ds:[rsp + 0x60]
test r14, r14
jne 0x14013ac2f
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14013ac68
mov rdx, qword [0x1402cb8c0]
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 0x14013ac68
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020be40
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rbx
test rcx, rcx
je 0x14013ac8f
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013ac8a
call fcn.140142200
mov r14, qword [rsp + 0x60]
mov rax, qword [0x1402c6870]
mov rdx, qword [0x1402cb8c0]
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 [0x1402c6870]
mov rcx, rbx
mov rdx, qword [0x1402c6878]
call fcn.14020be40
add rbx, qword [0x1402c6870]
mov r8, r14
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14020be40
mov r8, qword [0x1402c6870]
lea rcx, [r14 + rbx]
mov rdx, qword [0x1402c6878]
call fcn.14020be40
mov rax, qword [rbp - 0x78]
mov r14, r12
test rax, rax
je 0x14013ada5
mov rbx, qword [r12]
add rbx, qword [0x1402c68a0]
mov rdx, qword [0x1402cb8c0]
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.14020be40
add rbx, qword [r12]
mov r8, qword [0x1402c68a0]
mov rcx, rbx
mov rdx, qword [0x1402c68a8]
call fcn.14020be40
add rbx, qword [0x1402c68a0]
mov r8, qword [rbp - 0x78]
mov rcx, rbx
mov rdx, qword [rbp - 0x70]
call fcn.14020be40
lea rcx, [r12 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013ada5
nop dword [rax]
call fcn.140142200
mov r12, qword [rsp + 0x130]
mov rcx, r15
mov r15, r14
test rcx, rcx
je 0x14013adcd
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013adcd
call fcn.140142200
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013ae2d
mov rcx, qword [rbx + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
nop
test al, al
jne 0x14013ae2d
mov rcx, qword [rbx + 8]
lea rdx, str..exe
call fcn.14013fbc0
test rax, rax
je 0x14013ae0b
mov qword ds:[rbp + 0x68], rax
test rbx, rbx
je 0x14013ae2d
lea rcx, [rbx - 0x10]
jmp 0x14013ae1c
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rdi
test rcx, rcx
je 0x14013ae2d
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013ae2d
call fcn.140142200
mov r14, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14013ae47
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x14013ae5d
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013ae60
cmp qword [rbx], rdi
je 0x14013ae60
mov rcx, rbx
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r13, rax
mov ecx, dword [rbp + 0x80]
mov eax, edi
test cl, 0x20
je 0x14013ae75
lfence
mov eax, 1
test cl, 0x40
je 0x14013ae80
lfence
or eax, 2
test cl, 4
je 0x14013ae8b
lfence
or eax, 4
test cl, 0x10
je 0x14013ae96
lfence
or eax, 0x10
test cl, 2
je 0x14013aea2
lfence
bts eax, 0xa
test cl, cl
jns 0x14013aead
lfence
bts eax, 0x13
test cl, 8
je 0x14013aeb9
lfence
bts eax, 0x18
bt ecx, 8
jae 0x14013aec6
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 0x14013af5d
test r13, r13
je 0x14013af04
mov r9, qword [r13 + 8]
jmp 0x14013af07
mov r9, rdi
test r15, r15
je 0x14013af12
mov r8, qword [r15 + 8]
jmp 0x14013af15
mov r8, rdi
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013af22
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 0x14013afc6
nop dword [rax]
test r13, r13
je 0x14013af6b
mov r8, qword [r13 + 8]
jmp 0x14013af6e
mov r8, rdi
test r15, r15
je 0x14013af77
mov rdx, qword [r15 + 8]
mov rbx, qword ds:[rbp + 0x68]
test rbx, rbx
je 0x14013af8b
mov r10, qword [rbx + 8]
jmp 0x14013af8e
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 0x14013aff1
cmp dword [0x1402c0f40], 0xffffffff
jae 0x14013afe2
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x14013afe8
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 0x14013b01a
lea rcx, [rbx - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013b01a
call fcn.140142200
mov rbx, qword [rsp + 0x140]
test r15, r15
je 0x14013b03c
lea rcx, [r15 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013b03c
call fcn.140142200
mov r15, qword [rsp + 0x118]
test r13, r13
je 0x14013b05c
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x14013b05c
call fcn.140142200
mov r13, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x138]
test edi, edi
js 0x14013b0b9
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14013b086
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x14013b096
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013b096
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp + 0x98]
test rcx, rcx
je 0x14013b0cb
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 0x14013b0cb
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013b0db
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x148
pop rdi
pop rbp
ret