Function at 0x14002a980
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x580]
sub rsp, 0x680
mov rax, qword [0x1401b8010]
xor rax, rsp
mov qword [rbp + 0x570], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.WINMM.dll_timeGetTime]
mov dword [rbp + 0x150], eax
mov r9, 0xffffffffffffffff
lea r8, str.system_shutdown::proxy_launcher::launch
mov edx, 0x102
lea rcx, [rbp + 0x154]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea r8, [0x1401815c4]
mov edx, 0x104
lea rcx, [rbp + 0x154]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r9, 0xffffffffffffffff
lea r8, str.system_shutdown::proxy_launcher::launch
mov edx, 0x104
lea rcx, [rbp + 0x35c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov ecx, dword [0x1401c1658]
mov eax, dword [0x1401c165c]
xor r14d, r14d
add ecx, eax
je 0x14002aada
mov dword [rsp + 0x48], r14d
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
test rax, rax
jne 0x14002aa59
call fcn.140005ad0
mov qword [rsp + 0x40], rax
lock inc dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x50], 0x20
mov edx, 1
lea rax, [rbp + 0x154]
mov qword [rsp + 0x30], rax
lea rax, str.____s
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x35c]
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x50]
movsx edx, dx
call fcn.140004c90
nop
mov qword [rsp + 0x40], r14
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
js 0x14002aad5
nop dword [rax]
call fcn.140005e40
mov eax, 0xffffffff
lock xadd dword [rsp + 0x48], eax
cmp eax, 1
jns 0x14002aac0
lock inc dword [rsp + 0x48]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], 7
mov word [rbp + 0xd0], r14w
mov r8d, 0xd
lea rdx, [0x140183a38]
lea rcx, [rbp + 0xd0]
call fcn.140002f20
nop
mov rdx, rbx
lea rcx, [rbp + 0x130]
call fcn.140002bc0
nop
lea rdx, [rbp + 0xd0]
lea rcx, [rbp + 0x130]
call fcn.1400047a0
mov rdx, rax
lea rcx, [rbp + 0x110]
call fcn.140002bc0
nop
lea rcx, [rbp + 0x130]
call fcn.140002e30
nop
mov rdx, qword [rbp + 0xe8]
cmp rdx, 8
jb 0x14002abbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002abba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002abba
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
movdqa xmm0, xmmword [0x140189c40]
movdqu xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r14w
lea rcx, [rbp + 0xf0]
call fcn.14002a760
nop
mov dword [rsp + 0x60], 0x70
mov eax, 0x804400
mov ecx, 0x804500
test rdi, rdi
cmove eax, ecx
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x68], rdi
lea rax, str.runas
mov qword [rsp + 0x70], rax
lea rax, [rbp + 0x110]
cmp qword [rbp + 0x128], 8
cmovae rax, qword [rbp + 0x110]
mov qword [rsp + 0x78], rax
lea rax, [rbp + 0xf0]
cmp qword [rbp + 0x108], 8
cmovae rax, qword [rbp + 0xf0]
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x70], r14d
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x14002ada3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea r8, str.system_shutdown::proxy_launcher::launch
lea rcx, [rbp - 0x28]
cmp eax, 0x4c7
jne 0x14002ac9f
mov edx, 0x10
call fcn.140005190
nop
cmp byte [rax + 0x80], 0
je 0x14002ac9d
lea rdx, str.Proxy_launch_was_canceled.
mov rcx, rax
call fcn.140006540
nop
jmp 0x14002acf3
mov edx, 4
call fcn.140005190
mov rbx, rax
movzx eax, byte [rax + 0x80]
test al, al
je 0x14002acf3
lea rdx, str.Could_not_launch_the_proxy._Error:
mov rcx, rbx
call fcn.140006540
movzx eax, byte [rbx + 0x80]
test al, al
je 0x14002acf3
mov edx, edi
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
cmp byte [rbx + 0x80], 0
je 0x14002acf3
mov edx, 0x2e
mov rcx, rbx
call fcn.140030d30
nop
lea rcx, [rbp + 0x70]
call fcn.140004f20
lea rcx, [rbp + 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov byte [rsi + 4], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x14002ad50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002adec
call fcn.14007e2a0
mov qword [rbp + 0x100], r14
mov qword [rbp + 0x108], 7
mov word [rbp + 0xf0], r14w
lea rcx, [rbp + 0x110]
call fcn.140002e30
nop
lea rcx, [rbp + 0x150]
call fcn.140004e30
mov rax, rsi
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.14007e250
add rsp, 0x680
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov byte [rsi + 4], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x14002ad50
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ad4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ad4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3