Function at 0x140001d60
Capabilities:
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, str.Net_Sense
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x140001de7
lea rdx, str.Failed_to_set_priority._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001720
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x140001900]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rax, vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov qword [rbp - 0x29], rax
lea rax, [0x140002960]
mov qword [rbp - 0x21], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0xf], rax
lea rax, [rbp - 0x29]
mov qword [rbp + 0x17], rax
lea rax, str.NetSense
mov qword [0x14000b870], rax
lea rdx, [rbp - 0x29]
call fcn.140001bb0
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140001e3e
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xor edi, edi
mov ebx, edi
mov qword [rbp + 0x17], rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp + 0x17]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001ebc
mov dword [rbp + 0x1f], edi
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov dword [rbp + 0x23], edi
lea rax, [rbp + 0x1f]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp + 0x23]
mov edx, 0xc
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140001eb2
cmp dword [rbp + 0x23], ebx
sete bl
mov rcx, qword [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140001ef8
mov rax, qword [0x14000b870]
mov qword [rbp + 0x27], rax
lea rax, [0x1400019e0]
mov qword [rbp + 0x2f], rax
mov qword [rbp + 0x37], rdi
mov qword [rbp + 0x3f], rdi
lea rcx, [rbp + 0x27]
call qword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
jne 0x140001ef4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140001efd
xor eax, eax
jmp 0x140001efd
mov eax, 0xffffffff
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140005c70
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret