Function at 0x14009e6e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x48], rax
mov rsi, rdx
xor r14d, r14d
lea rdx, [rbp - 0x20]
mov dword [rsp + 0x60], r14d
mov rbx, rcx
call fcn.1400606b0
or r15, 0xffffffffffffffff
mov qword [rbp + 0x38], r14
lea edi, [r14 + 7]
mov word [rbp + 0x28], r14w
mov r9, r15
mov qword [rbp + 0x40], rdi
xor r8d, r8d
lea rcx, [rbp + 0x28]
mov rdx, rax
call fcn.140029d5c
lea rcx, [rbp - 0x20]
call fcn.1400599c0
lea rdx, [rbp + 8]
mov rcx, rbx
call fcn.1400619a0
cmp qword [rbp + 0x20], 8
lea rax, [rbp + 8]
mov r8, qword [rbp + 0x38]
lea rdx, [rbp + 8]
cmovae rax, qword [rbp + 8]
lea rcx, [rbp - 0x20]
mov qword [rbp - 8], rdi
mov r9, r15
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
cmp word [rax], 0x22
jne 0x14009e78d
add r8, 2
call fcn.140029d5c
xor r8d, r8d
lea rcx, [rbp + 8]
mov dl, 1
call fcn.140029bc0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 8]
call fcn.140029ff0
xor r8d, r8d
lea rcx, [rbp - 0x20]
mov dl, 1
call fcn.140029bc0
lea r8, [rbp + 8]
lea rcx, [rbp + 8]
call fcn.140056e80
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], r14
lea rdx, str.STATIC
mov qword [rsp + 0x50], rax
mov r9d, 0x90000000
mov qword [rsp + 0x48], r14
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov ecx, 0x80
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
test rax, rax
je 0x14009e8a2
mov edx, 2
mov rcx, rax
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rdi, rax
test rax, rax
je 0x14009e899
xor edx, edx
lea rcx, [rbp - 0x1c]
lea r8d, [rdx + 0x24]
call fcn.140113400
lea rdx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x28
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov rcx, qword [rbp - 0xc]
xor r9d, r9d
mov rax, qword [rbp - 4]
shr rax, 0x20
shr rcx, 0x20
sub eax, ecx
mov dword [rsp + 0x28], r14d
cdq
mov dword [rsp + 0x20], r14d
sub eax, edx
sar eax, 1
lea r8d, [rcx + rax]
mov eax, dword [rbp - 4]
sub eax, dword [rbp - 0xc]
mov rcx, rbx
cdq
sub eax, edx
sar eax, 1
add eax, dword [rbp - 0xc]
mov edx, eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x6c]
call fcn.140113400
cmp qword [rbp + 0x40], 8
lea rax, str.runas
mov qword [rbp - 0x80], rax
lea rcx, [rsp + 0x70]
lea rax, [rbp + 0x28]
mov dword [rsp + 0x70], 0x70
cmovae rax, qword [rbp + 0x28]
mov dil, r14b
cmp qword [rbp + 0x20], 8
mov qword [rbp - 0x78], rax
lea rax, [rbp + 8]
cmovae rax, qword [rbp + 8]
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x74], 0x40
mov qword [rsp + 0x78], rbx
mov dword [rbp - 0x60], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x14009e943
mov rcx, qword [rbp - 0x28]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x28]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], r14d
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14009e943
mov dil, 1
test rsi, rsi
je 0x14009e943
mov eax, dword [rsp + 0x60]
mov dword [rsi], eax
test rbx, rbx
je 0x14009e951
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
xor r8d, r8d
lea rcx, [rbp + 8]
mov dl, 1
call fcn.140029bc0
xor r8d, r8d
lea rcx, [rbp + 0x28]
mov dl, 1
call fcn.140029bc0
mov al, dil
mov rcx, qword [rbp + 0x48]
xor rcx, rsp
call fcn.140111850
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret