Function at 0x14004ec50
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1400e8040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xb
mov rax, qword [0x1400d3350]
movzx eax, byte [rax + 0xb]
test al, al
jne 0x14004ef07
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r15
movaps xmm6, xmmword [0x1400c9a30]
movaps xmmword [rsp + 0x110], xmm6
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.14005d040
cmp byte [rsp + 0x97], 0
js 0x14004ecfd
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
jmp 0x14004ed1a
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.14004bf10
lea rcx, [rsp + 0x80]
call fcn.140059b70
mov qword [rsp + 0x100], r15
movaps xmmword [rsp + 0xf0], xmm6
lea r15, [rsp + 0xf0]
mov rcx, r14
mov rdx, r15
call fcn.14005f710
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xd0], xmm0
movups xmmword [rsp + 0xc0], xmm0
movups xmmword [rsp + 0xb0], xmm0
movabs rax, 0x4000000070
mov qword [rsp + 0x80], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x88], rax
lea rax, str.runas
mov qword [rsp + 0x90], rax
cmp byte [rsp + 0x127], 0
jns 0x14004edb0
mov rax, qword [rsp + 0x110]
jmp 0x14004edb8
lea rax, [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x14004edd2
mov r15, qword [rsp + 0xf0]
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], 0
xor dil, 1
movzx eax, dil
mov dword [rsp + 0xb0], eax
mov qword [rsp + 0xb8], 0
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14004ee84
test bl, bl
je 0x14004ee7a
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x9e
call fcn.140059890
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140065100
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call fcn.140065180
mov rdx, qword [rsp + 0xe8]
jmp 0x14004ee86
xor edx, edx
mov rcx, rsi
call fcn.14004e9e0
cmp byte [rsp + 0x107], 0
js 0x14004eee1
cmp byte [rsp + 0x127], 0
js 0x14004eef8
mov qword [rsp + 0x40], 0xb
mov rax, qword [0x1400d3350]
movzx eax, byte [rax + 0xb]
test al, al
jne 0x14004ef36
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14008cf80
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xf0]
call fcn.14008bb84
cmp byte [rsp + 0x127], 0
jns 0x14004eea2
mov rcx, qword [rsp + 0x110]
call fcn.14008bb84
jmp 0x14004eea2
movzx ecx, al
lea rax, str.LaunchElevatedProcess
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x80]
mov r9d, 1
call fcn.140024d60
jmp 0x14004eca0
movzx ecx, al
mov qword [rsp + 0x80], 0
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x80]
mov r9d, 2
call fcn.140024d60
jmp 0x14004eeba