Function at 0x140042d80
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 [0x1400e4040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xa
mov rax, qword [0x1400cfc28]
movzx eax, byte [rax + 0xa]
test al, al
jne 0x14004303a
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r15
movaps xmm6, xmmword [0x1400c5aa0]
movaps xmmword [rsp + 0x110], xmm6
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.1400507b0
cmp byte [rsp + 0x97], 0
js 0x140042e2d
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
jmp 0x140042e4a
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.14003fa32
lea rcx, [rsp + 0x80]
call fcn.14004d340
mov qword [rsp + 0x100], r15
movaps xmmword [rsp + 0xf0], xmm6
lea r15, [rsp + 0xf0]
mov rcx, r14
mov rdx, r15
call fcn.140052ac0
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 0x140042ee0
mov rax, qword [rsp + 0x110]
jmp 0x140042ee8
lea rax, [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x140042f02
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 0x140042fb4
test bl, bl
je 0x140042faa
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.14004d0c0
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140057f20
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call fcn.140057fa0
mov rdx, qword [rsp + 0xe8]
jmp 0x140042fb6
xor edx, edx
mov rcx, rsi
call fcn.140042b10
cmp byte [rsp + 0x107], 0
js 0x140043014
cmp byte [rsp + 0x127], 0
js 0x14004302b
mov qword [rsp + 0x40], 0xa
mov rax, qword [0x1400cfc28]
movzx eax, byte [rax + 0xa]
test al, al
jne 0x140043069
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140087ae0
mov rax, rsi
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.1400866dc
cmp byte [rsp + 0x127], 0
jns 0x140042fd2
mov rcx, qword [rsp + 0x110]
call fcn.1400866dc
jmp 0x140042fd2
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.1400221c0
jmp 0x140042dd0
movzx ecx, al
mov qword [rsp + 0x80], 0
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x80]
mov r9d, 2
call fcn.1400230d0
jmp 0x140042fea