Function at 0x14013a820
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 0x14013a870
mov rcx, rdx
call sym.SystemInformer.exe_PhCreateString
mov r15, rax
mov esi, 0xffffffff
test rbx, rbx
je 0x14013a88e
mov rcx, rbx
call sym.SystemInformer.exe_PhCreateString
mov qword [rbp + 0x68], rax
jmp 0x14013aad1
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 0x14013a8b9
cmp qword [rbx], rdi
jne 0x14013a92a
mov r14, qword ds:[rsp + 0x60]
test r14, r14
jne 0x14013a8cf
call sym.SystemInformer.exe_PhReferenceEmptyString
mov rbx, rax
jmp 0x14013a908
mov rdx, qword [0x1402ca998]
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 0x14013a908
mov rcx, qword [rbx + 8]
mov r8, r14
call fcn.14020af00
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rbx
test rcx, rcx
je 0x14013a92f
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013a92a
call fcn.140141ea0
mov r14, qword [rsp + 0x60]
mov rax, qword [0x1402c5930]
mov rdx, qword [0x1402ca998]
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 [0x1402c5930]
mov rcx, rbx
mov rdx, qword [0x1402c5938]
call fcn.14020af00
add rbx, qword [0x1402c5930]
mov r8, r14
mov rdx, qword [rsp + 0x68]
mov rcx, rbx
call fcn.14020af00
mov r8, qword [0x1402c5930]
lea rcx, [r14 + rbx]
mov rdx, qword [0x1402c5938]
call fcn.14020af00
mov rax, qword [rbp - 0x78]
mov r14, r12
test rax, rax
je 0x14013aa45
mov rbx, qword [r12]
add rbx, qword [0x1402c5960]
mov rdx, qword [0x1402ca998]
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.14020af00
add rbx, qword [r12]
mov r8, qword [0x1402c5960]
mov rcx, rbx
mov rdx, qword [0x1402c5968]
call fcn.14020af00
add rbx, qword [0x1402c5960]
mov r8, qword [rbp - 0x78]
mov rcx, rbx
mov rdx, qword [rbp - 0x70]
call fcn.14020af00
lea rcx, [r12 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013aa45
nop dword [rax]
call fcn.140141ea0
mov r12, qword [rsp + 0x130]
mov rcx, r15
mov r15, r14
test rcx, rcx
je 0x14013aa6d
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013aa6d
call fcn.140141ea0
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013aacd
mov rcx, qword [rbx + 8]
call sym.SystemInformer.exe_PhDoesFileExistWin32
nop
test al, al
jne 0x14013aacd
mov rcx, qword [rbx + 8]
lea rdx, str..exe
call fcn.14013f860
test rax, rax
je 0x14013aaab
mov qword ds:[rbp + 0x68], rax
test rbx, rbx
je 0x14013aacd
lea rcx, [rbx - 0x10]
jmp 0x14013aabc
mov rcx, qword [rbp + 0x68]
mov qword [rbp + 0x68], rdi
test rcx, rcx
je 0x14013aacd
add rcx, 0xfffffffffffffff0
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013aacd
call fcn.140141ea0
mov r14, qword [rbp + 0x70]
mov rax, qword [rbp + 0x78]
test rax, rax
je 0x14013aae7
mov rcx, rax
call sym.SystemInformer.exe_PhCreateString
jmp 0x14013aafd
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013ab00
cmp qword [rbx], rdi
je 0x14013ab00
mov rcx, rbx
call sym.SystemInformer.exe_PhGetBaseDirectory
mov r13, rax
mov ecx, dword [rbp + 0x80]
mov eax, edi
test cl, 0x20
je 0x14013ab15
lfence
mov eax, 1
test cl, 0x40
je 0x14013ab20
lfence
or eax, 2
test cl, 4
je 0x14013ab2b
lfence
or eax, 4
test cl, 0x10
je 0x14013ab36
lfence
or eax, 0x10
test cl, 2
je 0x14013ab42
lfence
bts eax, 0xa
test cl, cl
jns 0x14013ab4d
lfence
bts eax, 0x13
test cl, 8
je 0x14013ab59
lfence
bts eax, 0x18
bt ecx, 8
jae 0x14013ab66
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 0x14013abfd
test r13, r13
je 0x14013aba4
mov r9, qword [r13 + 8]
jmp 0x14013aba7
mov r9, rdi
test r15, r15
je 0x14013abb2
mov r8, qword [r15 + 8]
jmp 0x14013abb5
mov r8, rdi
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14013abc2
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 0x14013ac66
nop dword [rax]
test r13, r13
je 0x14013ac0b
mov r8, qword [r13 + 8]
jmp 0x14013ac0e
mov r8, rdi
test r15, r15
je 0x14013ac17
mov rdx, qword [r15 + 8]
mov rbx, qword ds:[rbp + 0x68]
test rbx, rbx
je 0x14013ac2b
mov r10, qword [rbx + 8]
jmp 0x14013ac2e
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 0x14013ac91
cmp dword [0x1402bff40], 0xffffffff
jae 0x14013ac82
mov rax, qword gs:[0x30]
mov eax, dword [rax + 0x68]
jmp 0x14013ac88
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 0x14013acba
lea rcx, [rbx - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013acba
call fcn.140141ea0
mov rbx, qword [rsp + 0x140]
test r15, r15
je 0x14013acdc
lea rcx, [r15 - 0x10]
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14013acdc
call fcn.140141ea0
mov r15, qword [rsp + 0x118]
test r13, r13
je 0x14013acfc
lea rcx, [r13 - 0x10]
lock xadd dword [rcx + 8], esi
cmp esi, 1
jne 0x14013acfc
call fcn.140141ea0
mov r13, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x138]
test edi, edi
js 0x14013ad59
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x14013ad26
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
jmp 0x14013ad36
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14013ad36
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword ds:[rbp + 0x98]
test rcx, rcx
je 0x14013ad6b
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 0x14013ad6b
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14013ad7b
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x148
pop rdi
pop rbp
ret