Function at 0x14005ecf0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1401c73e8]
xor rax, rsp
mov qword [rbp + 0x1c8], rax
mov rdi, rcx
mov ecx, dword [rcx + 0xf0]
xor r15d, r15d
lea r13, str.UserProcessLauncher.cpp
lea r12, vtable.std::ios_base.0
cmp ecx, 0xffffffff
je 0x14005edeb
mov qword [rbp + 0x168], r15
lea rdx, [rbp + 0x168]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x14005ede2
call fcn.1400595a0
lea r8d, [r15 + 1]
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x190], r13
mov dword [rbp + 0x198], 0x85
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x70]
call fcn.140026620
lea rdx, str.WTSQueryUserToken_failed:
lea rcx, [rbp + 0x70]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.14003cd90
lea rcx, [rbp + 0x108]
call fcn.14005be70
nop
mov qword [rbp + 0x108], r12
lea rcx, [rbp + 0x108]
call fcn.1400fa82c
nop
mov rsi, qword [rbp + 0x168]
jmp 0x14005ee0d
mov ecx, dword [rdi + 0xf4]
test ecx, ecx
je 0x14005edfc
call fcn.14005f510
jmp 0x14005ee0a
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
call fcn.14005f390
mov rsi, rax
test rsi, rsi
jne 0x14005ee7a
call fcn.1400595a0
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x190], r13
mov dword [rbp + 0x198], 0x31
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x78]
call fcn.140026620
lea rdx, str.UserToken_is_null
lea rcx, [rsp + 0x78]
call fcn.140026650
lea rcx, [rbp + 0x10]
call fcn.14005be70
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.1400fa82c
nop
xor al, al
jmp 0x14005f35f
mov qword [rbp + 0x1c0], rsi
mov qword [rbp + 0x188], r15
lea rax, [rbp + 0x188]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0xf01ff
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x14005ef43
call fcn.1400595a0
mov r8d, 1
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140059480
mov qword [rbp + 0x190], r13
mov dword [rbp + 0x198], 0x3b
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x70]
call fcn.140026620
lea rdx, str.DuplicateTokenEx_failed:
lea rcx, [rbp + 0x70]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.14003cd90
lea rcx, [rbp + 0x108]
call fcn.14005be70
nop
mov qword [rbp + 0x108], r12
lea rcx, [rbp + 0x108]
call fcn.1400fa82c
nop
xor bl, bl
jmp 0x14005f33a
cmp qword [rdi + 0x108], 0
je 0x14005f158
lea rcx, [rdi + 0xf8]
cmp qword [rcx + 0x18], 8
jb 0x14005ef62
mov rcx, qword [rcx]
mov r14, qword [rbp + 0x188]
mov qword [rbp + 0x168], r15
lea rdx, [rbp + 0x168]
call qword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidW]
test eax, eax
jne 0x14005f012
call fcn.1400595a0
mov r8d, 1
lea rdx, [rbp + 0x70]
mov rcx, rax
call fcn.140059480
lea rax, str.SessionUtils.cpp
mov qword [rbp + 0x190], rax
mov dword [rbp + 0x198], 0x85
lea rdx, [rbp + 0x190]
lea rcx, [rbp + 0x70]
call fcn.140026620
lea rdx, str.ConvertStringSidToSid_failed:
lea rcx, [rbp + 0x70]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.14003cd90
lea rcx, [rbp + 0x108]
call fcn.14005be70
nop
mov qword [rbp + 0x108], r12
lea rcx, [rbp + 0x108]
call fcn.1400fa82c
nop
jmp 0x14005f0e6
mov rbx, qword [rbp + 0x168]
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x170], rbx
mov dword [rbp + 0x178], 0x20
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetLengthSid]
lea r9d, [rax + 0x10]
lea r8, [rbp + 0x170]
mov edx, 0x19
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
jne 0x14005f14a
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140059480
lea rax, str.SessionUtils.cpp
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.140026620
lea rdx, str.SetTokenInformation_failed:
lea rcx, [rsp + 0x78]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.14003cd90
lea rcx, [rbp + 0x10]
call fcn.14005be70
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.1400fa82c
nop
test rbx, rbx
je 0x14005f0e6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140059480
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x41
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.140026620
lea rdx, str.AddIntegrityToToken_failed
lea rcx, [rsp + 0x78]
call fcn.140026650
lea rcx, [rbp + 0x10]
call fcn.14005be70
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.1400fa82c
nop
xor bl, bl
jmp 0x14005f33a
test rbx, rbx
je 0x14005f158
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rbp + 0x180], r15
mov ebx, 0x30
xor r8d, r8d
mov rdx, qword [rbp + 0x188]
lea rcx, [rbp + 0x180]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14005f186
mov ebx, 0x430
jmp 0x14005f19f
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14005f19f
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov qword [rbp + 0x180], r15
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call fcn.140060460
nop
cmp qword [rbp + 0x1b0], 0
jne 0x14005f21d
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140059480
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x55
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.140026620
lea rdx, str.cmd_is_empty
lea rcx, [rsp + 0x78]
call fcn.140026650
lea rcx, [rbp + 0x10]
call fcn.14005be70
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.1400fa82c
nop
xor bl, bl
jmp 0x14005f314
cmp qword [rdi + 0x58], 0
jne 0x14005f229
mov rdx, r15
jmp 0x14005f237
lea rdx, [rdi + 0x48]
cmp qword [rdx + 0x18], 8
jb 0x14005f237
mov rdx, qword [rdx]
lea rcx, [rdi + 0xd8]
lea r8, [rbp + 0x1a0]
cmp qword [rbp + 0x1b8], 8
cmovae r8, qword [rbp + 0x1a0]
lea rax, [rdi + 0x70]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdx
mov rax, qword [rbp + 0x180]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor edx, edx
mov rcx, qword [rbp + 0x188]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14005f312
call fcn.1400595a0
mov r8d, 1
lea rdx, [rsp + 0x78]
mov rcx, rax
call fcn.140059480
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x70], 0x5e
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x78]
call fcn.140026620
lea rdx, str.CreateProcessAsUser_failed:
lea rcx, [rsp + 0x78]
call fcn.140026650
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.14003cd90
lea rcx, [rbp + 0x10]
call fcn.14005be70
nop
mov qword [rbp + 0x10], r12
lea rcx, [rbp + 0x10]
call fcn.1400fa82c
nop
xor bl, bl
jmp 0x14005f314
mov bl, 1
lea rcx, [rbp + 0x1a0]
call fcn.1400285b0
nop
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14005f33a
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov qword [rbp + 0x180], r15
mov rcx, qword [rbp + 0x188]
test rcx, rcx
je 0x14005f353
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x188], r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rbp + 0x1c8]
xor rcx, rsp
call fcn.140122510
lea r11, [rsp + 0x2d0]
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