Function at 0x140022ca0
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0xb0
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x74], xmm0
mov qword [r11 - 0x14], rax
mov rsi, rcx
mov dword [r11 - 0xc], eax
lea rcx, str.runas
movups xmmword [r11 - 0x34], xmm0
mov rdi, rdx
xor edx, edx
movups xmmword [r11 - 0x24], xmm0
mov dword [rsp + 0x40], 0x70
lea rax, [0x140130e48]
mov dword [rsp + 0x44], 0x40
test r8b, r8b
mov qword [r11 - 0x70], rdx
cmovne rax, rcx
mov qword [r11 - 0x50], rdx
mov rcx, qword [rsi + 0x18]
mov qword [r11 - 0x68], rax
mov rax, rsi
mov dword [rsp + 0x70], 1
cmp rcx, 8
jb 0x140022d20
mov rax, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x58], rax
jb 0x140022d39
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov rdi, rax
jmp 0x140022d3e
mov qword [rsp + 0x60], rdi
cmp rcx, 8
jb 0x140022d47
mov rsi, qword [rsi]
lea rbx, str.C:.image_jenkinsworkspaceCC_Windows_Release_2AppMonitorVEDetectordetectorsprocess_helper.h
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140022d72
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x140022d75
mov rax, rbx
mov rdx, qword [str.COMMON]
lea r8, str.__s:_d__s__ShellExecuteEx_exe_path:_S_param:_S
mov qword [rsp + 0x38], rdi
mov r9, rax
mov qword [rsp + 0x30], rsi
mov ecx, 0x1000
lea rsi, str.process_helper::createNewProcess
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x4f
call fcn.1400a0de0
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140022ebe
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140022de5
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
inc rax
jmp 0x140022de8
mov rax, rbx
mov rdx, qword [str.COMMON]
lea r8, str.__s:_d__s__ShellExecuteEx_success
mov qword [rsp + 0x28], rsi
mov r9, rax
mov ecx, 0x1000
mov dword [rsp + 0x20], 0x52
call fcn.1400a0de0
mov rax, qword [rsp + 0xa8]
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x140022e79
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140022e44
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov rdx, qword [str.COMMON]
lea r8, str.__s:_d__s__hProcess_is_valid
mov qword [rsp + 0x28], rsi
mov r9, rbx
mov ecx, 0x1000
mov dword [rsp + 0x20], 0x56
call fcn.1400a0de0
mov rax, qword [rsp + 0xa8]
jmp 0x140022f22
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5c
mov rcx, rbx
mov edi, eax
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140022ea4
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], edi
lea r8, str.__s:_d__s__hProcess_is_invalid_error:_d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x54
jmp 0x140022f07
call qword [sym.imp.KERNEL32.dll_GetLastError]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5c
mov rcx, rbx
mov edi, eax
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140022eef
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x30], edi
lea r8, str.__s:_d__s__ShellExecuteEx_fail_error:_d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x5b
mov rdx, qword [str.COMMON]
mov r9, rbx
mov ecx, 4
call fcn.1400a0de0
mov rax, 0xffffffffffffffff
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret