Function at 0x14000cba0
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400c42d8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
cmp byte [rcx + 0x68], 0
jne 0x14000d1d4
mov rcx, qword [rcx]
cmp rcx, qword [rdi + 8]
je 0x14000d15a
mov rcx, qword [rcx]
call fcn.140022000
test al, al
je 0x14000d15a
mov byte [rdi + 0x68], 1
mov r15, qword [rdi]
cmp byte [rdi + 0x1c], 0
je 0x14000cc65
call fcn.140022570
test al, al
je 0x14000cc65
cmp qword [rdi + 0x28], 0
jne 0x14000cc65
lea rdx, str.runas
mov rcx, rdi
call fcn.14000c8a0
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14003cb80
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp byte [rdi + 0x52], 0
je 0x14000cc74
lea rdx, str.open
jmp 0x14000cc2d
mov dword [rbp - 0x20], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x18]
call fcn.14003fce0
xor r13d, r13d
cmp byte [rdi + 0x50], r13b
jne 0x14000cc9c
mov word [rbp + 0x20], r13w
or dword [rbp + 0x1c], 1
mov rsi, qword [rdi + 8]
mov rbx, qword [rdi]
mov rax, rsi
sub rax, rbx
sar rax, 3
mov qword [rbp - 0x68], r13
mov dword [rbp - 0x60], r13d
lea edx, [rax + rax*4]
shl edx, 2
lea rcx, [rbp - 0x68]
call fcn.14000e180
nop
cmp rbx, rsi
je 0x14000cce5
nop word [rax + rax]
mov rdx, qword [rbx]
lea rcx, [rbp - 0x68]
call fcn.14000b760
add rbx, 8
cmp rbx, rsi
jne 0x14000ccd0
mov r14, qword [rbp - 0x68]
mov qword [rbp - 0x68], r13
mov dword [rbp - 0x60], r13d
xor ecx, ecx
call fcn.14003cadc
mov qword [rbp - 0x38], r14
mov rcx, qword [rbp - 0x68]
call fcn.14003cadc
nop
mov r8, r14
lea rdx, str.Launching__s
lea rcx, [0x1400c59c0]
call fcn.14000c7a0
mov eax, 0x410
mov r12d, 0x8000400
cmp byte [rdi + 0x51], 0
cmovne r12d, eax
mov rsi, qword [rdi + 0x60]
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov rax, qword [rdi + 0x58]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14000cf73
mov rbx, r13
mov qword [rbp - 0x70], rbx
test rsi, rsi
jne 0x14000cd8a
lea ecx, [rsi + 8]
call fcn.14003ca98
mov qword [rbp - 0x30], rax
test rax, rax
je 0x14000cd80
mov rdx, qword [rdi + 0x58]
mov rcx, rax
call fcn.140022e10
mov rbx, rax
jmp 0x14000cd83
mov rbx, r13
mov qword [rbp - 0x70], rbx
mov rsi, qword [rbx]
lea rdx, str.__using_CreateProcessAsUser
lea rcx, [0x1400c59c0]
call fcn.14000c7a0
mov dword [rsp + 0x78], r13d
mov qword [rbp - 0x80], r13
mov byte [rbp - 0x78], 0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14000e8d0
nop
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, qword [r15]
lea rcx, [rsp + 0x60]
call fcn.14000e8d0
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
mov r8, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rdi + 0x58]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
sete sil
mov rcx, qword [rsp + 0x68]
cmp byte [rsp + 0x70], 0
je 0x14000ce61
test rcx, rcx
je 0x14000ce61
movsxd rdx, dword [rsp + 0x60]
add rdx, rdx
call fcn.140004df0
mov rcx, qword [rsp + 0x68]
call fcn.14003cadc
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
mov rcx, qword [rbp - 0x80]
cmp byte [rbp - 0x78], 0
je 0x14000ce90
test rcx, rcx
je 0x14000ce90
movsxd rdx, dword [rsp + 0x78]
add rdx, rdx
call fcn.140004df0
mov rcx, qword [rbp - 0x80]
call fcn.14003cadc
nop
test sil, sil
jne 0x14000d1fa
test rbx, rbx
je 0x14000ceb9
mov rcx, rbx
call fcn.140022f60
mov edx, 8
mov rcx, rbx
call fcn.14003cad4
mov r8d, dword [rbp - 0x48]
lea rdx, str.Process_id__d
lea rcx, [0x1400c59c0]
call fcn.14000c7a0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rbp - 0x58]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 - 1]
lea rcx, [rdi + 0x70]
call fcn.140022a60
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x70], rbx
test rcx, rcx
je 0x14000cf03
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rdi + 0x18], 2
jne 0x14000cf1c
mov rcx, qword [rdi + 0x70]
mov qword [rdi + 0x70], r13
test rcx, rcx
je 0x14000cf1c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rdi + 0x28], 0
je 0x14000d14b
cmp byte [rdi + 0x1c], 0
je 0x14000d14b
cmp qword [rdi + 0x70], 0
je 0x14000d224
mov rax, qword [rdi]
mov r9, qword [rax]
mov r8d, 0xffffffff
lea rdx, [rbp - 0x70]
lea rcx, [rdi + 0x70]
call fcn.140022a60
mov edx, dword [rbp - 0x70]
test al, al
cmovne edx, dword [rbp - 0x70]
test edx, edx
sete bl
mov rcx, r14
call fcn.14003cadc
movzx eax, bl
jmp 0x14000cc35
mov r8, qword [rdi + 0x28]
lea rcx, [0x1400c59c0]
test r8, r8
je 0x14000d044
lea rdx, str.__using_CreateProcessWithLogonW_for__s
call fcn.14000c7a0
mov rax, qword [0x1400c5a58]
cmp byte [rax + 0x19], 0
je 0x14000cfa6
mov rax, qword [rax + 0x10]
jmp 0x14000cffd
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
je 0x14000cfdd
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x14000cfd2
nop dword [rax]
cmp rax, qword [rcx]
jne 0x14000cfd2
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x14000cfc0
cmp byte [rax + 0x19], 0
jne 0x14000cffd
mov rax, rcx
jmp 0x14000cffd
mov rax, rcx
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
jne 0x14000cffd
nop word [rax + rax]
mov rax, rcx
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x14000cff0
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r14
mov r9, qword [r15]
mov r8d, dword [rax + 0x20]
mov rdx, qword [rdi + 0x30]
mov rcx, qword [rdi + 0x28]
call fcn.1400231b0
test al, al
je 0x14000d180
jmp 0x14000ceb9
lea rdx, str.__using_CreateProcess
call fcn.14000c7a0
mov dword [rsp + 0x78], r13d
mov qword [rbp - 0x80], r13
mov byte [rbp - 0x78], 0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.14000e8d0
nop
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
mov byte [rsp + 0x70], 0
mov byte [rsp + 0x20], 1
mov r9d, 0xffffffff
mov r8d, 0xfde9
mov rdx, qword [r15]
lea rcx, [rsp + 0x60]
call fcn.14000e8d0
nop
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x68]
cmp byte [rsp + 0x70], 0
je 0x14000d10d
test rcx, rcx
je 0x14000d10d
movsxd rdx, dword [rsp + 0x60]
add rdx, rdx
call fcn.140004df0
mov rcx, qword [rsp + 0x68]
call fcn.14003cadc
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
mov rcx, qword [rbp - 0x80]
cmp byte [rbp - 0x78], 0
je 0x14000d13c
test rcx, rcx
je 0x14000d13c
movsxd rdx, dword [rsp + 0x78]
add rdx, rdx
call fcn.140004df0
mov rcx, qword [rbp - 0x80]
call fcn.14003cadc
nop
test bl, bl
jne 0x14000d1aa
jmp 0x14000ceb9
mov rcx, r14
call fcn.14003cadc
mov al, 1
jmp 0x14000cc35
mov r9d, 0x2f
lea r8, str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.7.xlabelcon_windows_64_rvcore_baseoswinlaunchprocess.cxx
lea rdx, str._cfg.args.empty____isAbsolutePath_cfg.args_0__
lea rcx, [rbp + 0x50]
call fcn.1400101f0
mov rcx, rax
call fcn.1400102f0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [0x14009ac90]
lea rcx, [rbp + 0x50]
call fcn.14000c540
lea rdx, [0x1400c2288]
lea rcx, [rbp + 0x50]
call fcn.14003e874
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateProcess
lea rcx, [rbp + 0x50]
call fcn.14000c540
lea rdx, [0x1400c2288]
lea rcx, [rbp + 0x50]
call fcn.14003e874
nop
mov r9d, 0x2e
lea r8, str.c:ent_slave_rootworkspace_vncconnect_buildsclients_vnc_7.7.xlabelcon_windows_64_rvcore_baseoswinlaunchprocess.cxx
lea rdx, str._used
lea rcx, [rbp + 0x50]
call fcn.1400101f0
mov rcx, rax
call fcn.1400102f0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.CreateProcessAsUser
lea rcx, [rbp + 0x50]
call fcn.14000c540
lea rdx, [0x1400c2288]
lea rcx, [rbp + 0x50]
call fcn.14003e874
nop
lea rdx, str.LaunchProcess:_process_detached_or_not_started
lea rcx, [rbp + 0x50]
call fcn.140001a10
lea rdx, [0x1400c2258]
lea rcx, [rbp + 0x50]
call fcn.14003e874
int3