Function at 0x1400eb050
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
movaps xmmword [rsp + 0x190], xmm6
mov ebp, r9d
mov r15d, r8d
mov r12, rdx
mov qword [rsp + 0x68], rcx
mov rax, qword [0x140149038]
xor rax, rsp
mov qword [rsp + 0x188], rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov r14b, byte [0x14014af80]
test r14b, 0x19
jne 0x1400eb2f0
xor ebx, ebx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x130], rdi
movaps xmm6, xmmword [0x14012f810]
movaps xmmword [rsp + 0x120], xmm6
lea r13, [rsp + 0x90]
mov rcx, r12
mov rdx, r13
call fcn.140051850
cmp byte [r13 + 0x17], 0
js 0x1400eb186
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x130], rax
movups xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0x120], xmm0
lea rdi, [rsp + 0x90]
mov rcx, rdi
call fcn.14007b990
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x100]
mov qword [r13 + 0x10], rsi
movaps xmmword [r13], xmm6
mov rcx, r12
mov rdx, r13
call fcn.1400ef890
xorps xmm0, xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x30], xmm0
movabs rax, 0x4000000070
mov qword [rdi], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rdi + 8], rax
lea rax, str.runas
mov qword [rdi + 0x10], rax
cmp byte [rsp + 0x137], 0
js 0x1400eb1a8
lea rax, [rsp + 0x120]
jmp 0x1400eb1b0
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
lea rcx, [rsp + 0x120]
call fcn.140043b80
jmp 0x1400eb107
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xa8], rax
cmp byte [rsp + 0x117], 0
jns 0x1400eb1ca
mov r13, qword [rsp + 0x100]
lea rcx, [rsp + 0x90]
mov qword [rcx + 0x20], r13
xor r12d, r12d
mov qword [rcx + 0x28], r12
xor r15b, 1
movzx eax, r15b
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r12
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400eb26c
test bpl, bpl
je 0x1400eb264
lea r15, [rsp + 0x140]
mov qword [r15 + 0x40], rsi
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rdi, [rsp + 0x70]
mov rcx, rdi
mov r9d, 0x9e
call fcn.14007b560
and eax, 0x4cfff903
mov ecx, edi
mov rdx, rdi
xor r8d, r8d
call fcn.140074580
mov rcx, qword [rsp + 0xf8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r15
call fcn.1400747c0
mov r12, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x68]
mov rdx, r12
call fcn.140048980
cmp byte [rsp + 0x117], 0
jns 0x1400eb290
mov rcx, qword [rsp + 0x100]
call fcn.1400974d0
cmp byte [rsp + 0x137], 0
jns 0x1400eb2a7
mov rcx, qword [rsp + 0x120]
call fcn.1400974d0
test r14b, 0x19
je 0x1400eb2c4
cmp byte [rbx], 0
je 0x1400eb2c4
mov rcx, rbx
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x58]
call fcn.140071510
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.140098a60
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x90]
mov rcx, rsi
call fcn.140071e90
call sub.KERNEL32.dll_GetCurrentThreadId
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rbx, [0x14014af80]
lea r8, str.LaunchElevatedProcess
mov cl, 0x58
mov rdx, rbx
mov qword [rsp + 0x60], r8
xor r9d, r9d
call fcn.140070ba0
mov qword [rsp + 0x58], rax
jmp 0x1400eb0b2