Function at 0x14012c1f0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x438]
sub rsp, 0x500
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x140198858]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov rdi, r9
mov rbx, r8
mov qword [rsp + 0x78], rbx
mov r14b, dl
mov r13, rcx
mov rsi, qword [rbp + 0x460]
xor edx, edx
cmp qword [rcx + 8], 0xffffffffffffffff
je 0x14012c27b
call fcn.14012c5dc
xor edx, edx
test al, al
jne 0x14012c27b
lea r8, str.Attempting_to_start_a_new_process_when_the_process_has_already_been_started
mov edx, 0x43
lea rcx, [rbp + 0x60]
call fcn.1400f85f4
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov r12d, 7
mov qword [rbp + 0x18], r12
mov r15, rdx
mov qword [rbp + 0x10], rdx
mov word [rbp], dx
cmp qword [rdi + 0x10], rdx
sete al
test al, al
jne 0x14012c341
cmp qword [rsi + 0x10], rdx
sete al
test al, al
jne 0x14012c341
cmp qword [rsi + 0x18], 8
jb 0x14012c2ba
mov rax, qword [rsi]
jmp 0x14012c2bd
mov rax, rsi
mov ecx, 0x20
cmp cx, word [rax]
je 0x14012c341
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x30], rdx
mov word [rbp + 0x20], dx
lea rdx, [rbp + 0x20]
mov rcx, rdi
call fcn.14001e7b8
mov r9, rsi
lea r8, [rbp + 0x20]
lea rdx, str._s__s
lea rcx, [rbp + 0x40]
call fcn.140009c44
mov rbx, rax
lea rax, [rbp]
cmp rax, rbx
je 0x14012c31d
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140007eb8
mov rdx, rbx
lea rcx, [rbp]
call fcn.140007c60
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x40]
call fcn.140007eb8
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140007eb8
mov rbx, qword [rsp + 0x78]
jmp 0x14012c368
cmp qword [rsi + 0x10], rdx
sete al
test al, al
jne 0x14012c370
lea rax, [rbp]
cmp rax, rsi
je 0x14012c370
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp]
call fcn.1400082c0
mov r15, qword [rbp + 0x10]
mov r12, qword [rbp + 0x18]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x70], 0x68
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
xor ecx, ecx
test r14b, r14b
je 0x14012c491
lea r14, [r13 + 0x18]
cmp qword [r14 + 0x10], rcx
sete al
test al, al
je 0x14012c3b6
mov r14d, ecx
jmp 0x14012c3c0
cmp qword [r14 + 0x18], 8
jb 0x14012c3c0
mov r14, qword [r14]
test r15, r15
sete al
test al, al
je 0x14012c3cf
mov r15, rcx
jmp 0x14012c3dc
lea r15, [rbp]
cmp r12, 8
cmovae r15, qword [rbp]
cmp qword [rdi + 0x18], 8
jb 0x14012c3e8
mov r12, qword [rdi]
jmp 0x14012c3eb
mov r12, rdi
mov rbx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
bts eax, 0x1b
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], r14
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, r15
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14012c583
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp byte [rbp + 0x468], r14b
je 0x14012c571
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
lea r9, str.Failed_to_start_process__as_user__for_file:__s_arguments:__s
mov r8d, eax
lea edx, [r14 + 0xf]
lea rcx, [rbp + 0x60]
call fcn.14012a08c
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rbx, [r13 + 0x18]
cmp qword [rbx + 0x10], rcx
sete al
test al, al
je 0x14012c4a5
mov rbx, rcx
jmp 0x14012c4af
cmp qword [rbx + 0x18], 8
jb 0x14012c4af
mov rbx, qword [rbx]
test r15, r15
sete al
test al, al
je 0x14012c4be
mov r14, rcx
jmp 0x14012c4cb
lea r14, [rbp]
cmp r12, 8
cmovae r14, qword [rbp]
cmp qword [rdi + 0x18], 8
jb 0x14012c4d7
mov r15, qword [rdi]
jmp 0x14012c4da
mov r15, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
bts eax, 0x1b
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rbx
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14012c583
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rbp + 0x468], bl
je 0x14012c56f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
lea r9, str.Failed_to_start_process_for_file:__s_arguments:__s
lea edx, [rbx + 0xf]
lea rcx, [rbp + 0x60]
call fcn.140129f0c
lea rdx, [0x1401e5908]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov ebx, eax
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140007eb8
mov eax, ebx
jmp 0x14012c5b0
mov rax, qword [rsp + 0x60]
mov qword [r13 + 8], rax
mov dword [r13 + 0x10], 0x103
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp]
call fcn.140007eb8
xor eax, eax
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140022430
mov rbx, qword [rsp + 0x548]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret