Function at 0x14016c280
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x148
movaps xmmword [rsp + 0x130], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x128], rax
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], rsi
movaps xmm6, xmmword [0x1401e90c0]
movaps xmmword [rsp + 0x110], xmm6
lea rbx, [rsp + 0x70]
mov rdx, rbx
call fcn.140045f90
cmp byte [rbx + 0x17], 0
js 0x14016c62d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x110], xmm0
lea rcx, [rsp + 0x70]
call fcn.1400e68a0
lea rbx, [rsp + 0xf0]
mov qword [rbx + 0x10], rsi
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.140047160
cmp byte [rbx + 0x17], 0
jns 0x14016c336
mov rbx, qword [rsp + 0xf0]
cmp word [rbx], 0x22
jne 0x14016c529
movzx r8d, byte [rsp + 0x127]
test r8b, r8b
jns 0x14016c356
mov r8, qword [rsp + 0x118]
add r8, 2
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rdi, [rsp + 0xf0]
mov rdx, rdi
mov r9, 0xffffffffffffffff
call fcn.140032520
cmp byte [rdi + 0x17], 0
jns 0x14016c396
mov rcx, qword [rsp + 0xf0]
call fcn.1401109f8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xf0], xmm0
lea rbx, [rsp + 0xf0]
movzx eax, byte [rbx + 0x17]
test al, al
mov rdx, qword [rbx]
cmovns rdx, rbx
lea rcx, [rsp + 0xe0]
mov qword [rcx], rdx
cmovs rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov edx, 3
mov r8, rbx
call fcn.140163bd0
xor esi, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x50], rax
xorps xmm6, xmm6
movups xmmword [rsp + 0x40], xmm6
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x58], 0
lea rdx, str.STATIC
mov ecx, 0x80
xor r8d, r8d
mov r9d, 0x90000000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rdi, rax
test rax, rax
je 0x14016c4c6
mov rcx, rdi
mov edx, 2
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x14016c4bd
xor r15d, r15d
lea rsi, [rsp + 0x70]
mov dword [rsi + 0x24], r15d
xorps xmm0, xmm0
movups xmmword [rsi + 0x14], xmm0
movups xmmword [rsi + 4], xmm0
mov dword [rsi], 0x28
mov rcx, rax
mov rdx, rsi
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [rsi + 0x14]
mov ecx, dword [rsi + 0x18]
mov ebp, dword [rsi + 0x1c]
mov esi, dword [rsi + 0x20]
sub ebp, eax
mov edx, ebp
shr edx, 0x1f
add edx, ebp
sar edx, 1
sub esi, ecx
mov r8d, esi
shr r8d, 0x1f
add r8d, esi
sar r8d, 1
add r8d, ecx
add edx, eax
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov rcx, rdi
xor r9d, r9d
call qword [sym.imp.USER32.dll_MoveWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
movups xmmword [rsp + 0x98], xmm6
movups xmmword [rsp + 0xc8], xmm6
movups xmmword [rsp + 0xb8], xmm6
movups xmmword [rsp + 0xa8], xmm6
mov qword [rsp + 0xd8], 0
movabs rax, 0x4000000070
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdi
lea rax, str.runas
mov qword [rsp + 0x80], rax
cmp byte [rsp + 0x127], 0
jns 0x14016c548
mov rax, qword [rsp + 0x110]
jmp 0x14016c550
movzx r8d, byte [rsp + 0x127]
test r8b, r8b
jns 0x14016c35a
mov r8, qword [rsp + 0x118]
jmp 0x14016c35a
lea rax, [rsp + 0x110]
mov qword [rsp + 0x88], rax
cmp byte [rsp + 0x107], 0
jns 0x14016c56a
mov rbx, qword [rsp + 0xf0]
lea rcx, [rsp + 0x70]
mov qword [rcx + 0x20], rbx
mov dword [rcx + 0x30], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x14016c5c5
mov rcx, qword [rsp + 0xd8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x6c]
mov dword [rdx], 0
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x14016c5c5
mov bl, 1
test r14, r14
je 0x14016c5c7
mov eax, dword [rsp + 0x6c]
mov dword [r14], eax
jmp 0x14016c5c7
xor ebx, ebx
test rdi, rdi
je 0x14016c5d5
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [rsp + 0x107], 0
jns 0x14016c5ec
mov rcx, qword [rsp + 0xf0]
call fcn.1401109f8
cmp byte [rsp + 0x127], 0
jns 0x14016c603
mov rcx, qword [rsp + 0x110]
call fcn.1401109f8
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x148
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
lea rcx, [rsp + 0x110]
call fcn.1400e4a50
jmp 0x14016c304