Function at 0x140178280
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14024f038]
xor rax, rsp
mov qword [rsp + 0x128], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r14
movaps xmm6, xmmword [0x1402103c0]
movaps xmmword [rsp + 0x110], xmm6
lea rbx, [rsp + 0x70]
mov rdx, rbx
call fcn.14006c210
cmp byte [rbx + 0x17], 0
js 0x140178300
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x110], xmm0
jmp 0x140178317
mov rdx, qword [rsp + 0x70]
mov r8, qword [rsp + 0x78]
lea rcx, [rsp + 0x110]
call fcn.1400cc5b0
lea rcx, [rsp + 0x70]
call fcn.1400dc710
lea rbx, [rsp + 0xf0]
mov qword [rbx + 0x10], r14
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.14006dab0
cmp byte [rbx + 0x17], 0
jns 0x140178349
mov rbx, qword [rsp + 0xf0]
cmp word [rbx], 0x22
je 0x140178367
movsx r8, byte [rsp + 0x127]
test r8, r8
jns 0x140178381
mov r8, qword [rsp + 0x118]
jmp 0x140178381
movsx r8, byte [rsp + 0x127]
test r8, r8
jns 0x14017837d
mov r8, qword [rsp + 0x118]
add r8, 2
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
lea rdi, [rsp + 0xf0]
mov rdx, rdi
mov r9, 0xffffffffffffffff
call fcn.1400cc7f0
cmp byte [rdi + 0x17], 0
jns 0x1401783ba
mov rcx, qword [rsp + 0xf0]
call fcn.1400fc308
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0xf0]
movsx rcx, byte [rax + 0x17]
test rcx, rcx
cmovs rcx, qword [rax + 8]
cmovs rax, qword [rax]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], rcx
test rcx, rcx
js 0x140178673
sete cl
test rax, rax
setne al
or al, cl
je 0x140178686
lea rcx, [rsp + 0xe0]
lea rbx, [rsp + 0xf0]
mov edx, 3
mov r8, rbx
call fcn.1401650c0
xor edi, edi
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], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
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 0x140178520
mov rcx, rdi
mov edx, 2
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x140178583
xor ebp, ebp
lea r14, [rsp + 0x70]
mov dword [r14 + 0x24], ebp
xorps xmm0, xmm0
movups xmmword [r14 + 0x14], xmm0
movups xmmword [r14 + 4], xmm0
mov dword [r14], 0x28
mov rcx, rax
mov rdx, r14
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [r14 + 0x14]
mov ecx, dword [r14 + 0x18]
mov r8d, dword [r14 + 0x1c]
mov r9d, dword [r14 + 0x20]
sub r8d, eax
mov edx, r8d
shr edx, 0x1f
add edx, r8d
sar edx, 1
sub r9d, ecx
mov r8d, r9d
shr r8d, 0x1f
add r8d, r9d
sar r8d, 1
add r8d, ecx
add edx, eax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
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
js 0x14017858a
lea rax, [rsp + 0x110]
jmp 0x140178592
call fcn.14016d550
jmp 0x140178517
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x88], rax
cmp byte [rsp + 0x107], 0
jns 0x1401785ac
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 0x14017860d
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
setne bl
sete al
test rsi, rsi
sete cl
or cl, al
jne 0x14017860f
mov eax, dword [rsp + 0x6c]
mov dword [rsi], eax
jmp 0x14017860f
xor ebx, ebx
test rdi, rdi
je 0x14017861d
mov rcx, rdi
call qword [sym.imp.USER32.dll_DestroyWindow]
cmp byte [rsp + 0x107], 0
jns 0x140178634
mov rcx, qword [rsp + 0xf0]
call fcn.1400fc308
cmp byte [rsp + 0x127], 0
jns 0x14017864b
mov rcx, qword [rsp + 0x110]
call fcn.1400fc308
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400fd9d0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140210516]
lea rdx, str....._third_partylibc_srcinclude_string_view:318:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.140139400
lea rcx, [0x140210516]
lea rdx, str....._third_partylibc_srcinclude_string_view:320:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.140139400
int3