Function at 0x140222960
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm6
mov ebp, r9d
mov r15d, r8d
mov r12, rdx
mov rsi, rcx
mov rax, qword [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x168], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov r14b, byte [0x1402f83e0]
test r14b, 0x19
jne 0x140222bfb
xor edi, edi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x160], rbx
movaps xmm6, xmmword [0x1402af0f0]
movaps xmmword [rsp + 0x150], xmm6
lea r13, [rsp + 0xc0]
mov rcx, r12
mov rdx, r13
call fcn.140105510
cmp byte [r13 + 0x17], 0
js 0x140222a94
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x160], rax
movups xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x150], xmm0
lea rbx, [rsp + 0xc0]
mov rcx, rbx
call fcn.14018d6b0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x130]
mov qword [r13 + 0x10], rax
movaps xmmword [r13], xmm6
mov rcx, r12
mov rdx, r13
call fcn.140228d90
xorps xmm0, xmm0
movups xmmword [rbx + 0x60], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x30], xmm0
movabs rax, 0x4000000070
mov qword [rbx], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rbx + 8], rax
lea rax, str.runas
mov qword [rbx + 0x10], rax
cmp byte [rsp + 0x167], 0
js 0x140222ab6
lea rax, [rsp + 0x150]
jmp 0x140222abe
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
lea rcx, [rsp + 0x150]
call fcn.1400d8ef0
jmp 0x140222a15
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0xd8], rax
cmp byte [rsp + 0x147], 0
jns 0x140222ad8
mov r13, qword [rsp + 0x130]
lea rcx, [rsp + 0xc0]
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 0x140222b76
test bpl, bpl
je 0x140222b6e
lea r15, [rsp + 0x80]
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 rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x9e
call fcn.14018d210
mov rcx, r15
mov rdx, rbx
xor r8d, r8d
call fcn.140182070
mov rcx, qword [rsp + 0x128]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r15
call fcn.1401822b0
mov r12, qword [rsp + 0x128]
mov rcx, rsi
mov rdx, r12
call fcn.1400f2c10
cmp byte [rsp + 0x147], 0
jns 0x140222b98
mov rcx, qword [rsp + 0x130]
call fcn.1401abf3c
cmp byte [rsp + 0x167], 0
jns 0x140222baf
mov rcx, qword [rsp + 0x150]
call fcn.1401abf3c
test r14b, 0x19
je 0x140222bcc
cmp byte [rdi], 0
je 0x140222bcc
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
call fcn.14017cdc0
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1401ad700
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdi, [rsp + 0xc0]
mov rcx, rdi
call fcn.14017df90
call sub.KERNEL32.dll_GetCurrentThreadId
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rdi, [0x1402f83e0]
lea r8, str.LaunchElevatedProcess
mov cl, 0x58
mov rdx, rdi
mov qword [rsp + 0x58], r8
xor r9d, r9d
call fcn.14017c4c0
mov qword [rsp + 0x50], rax
jmp 0x1402229c0