Function at 0x1400017a0
Capabilities:
Execute command
Get token membership
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rsi, rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rdi, rax
mov r14, qword [0x140005698]
xor r15d, r15d
lea r12d, [r15 + 0x10]
mov r8, qword [0x1400056a0]
test r8, r8
je 0x14000183f
mov qword [rbp - 0x70], 3
mov qword [rbp - 0x68], r15
mov dword [rsp + 0x68], 0x13
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r12
lea rdx, [rsp + 0x68]
mov rcx, rbx
call r8
lea rcx, str.HookConsole
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str.Russian
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov dword [rbp - 0x80], r15d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0x15e
mov r9d, 0x212
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_MoveWindow]
mov edx, 7
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rbp - 0x80]
and edx, 0xffffffbf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.USER32.dll_ShowScrollBar]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov ebx, eax
and ebx, 0xfffaffff
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov r8d, ebx
mov edx, 0xfffffff0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov qword [rbp - 0x40], 0x54
mov qword [rbp - 0x38], 0x10000a
mov dword [rbp - 0x30], 0x190
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
lea rcx, [0x140003448]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.e_31m___e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001590
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1400035f0]
movdqu xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [str.HookConsole__n]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [0x140003568]
mov dword [rbp - 0x58], eax
movzx eax, byte [0x14000356c]
mov byte [rbp - 0x54], al
mov byte [rbp - 0x53], r15b
lea rbx, [rbp - 0x60]
lea rdi, [rbp - 0x53]
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rbx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001b20
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
cmp rbx, rdi
jne 0x140001990
mov dword [rbp - 0x80], r15d
mov ebx, r15d
mov qword [rbp - 0x70], r15
mov dword [rbp - 0x7c], ebx
mov word [rbp - 0x78], 0x500
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x7c]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001a1d
lea r8, [rbp - 0x80]
mov rdx, qword [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140001a25
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140001a38
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rbp - 0x70], r15
test ebx, ebx
jne 0x140001b03
cmp dword [rbp - 0x80], ebx
jne 0x140001a88
lea rdx, str.e_31m___e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001590
lea rdx, [0x140003570]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001590
lea rdx, [0x140001760]
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 rcx, str.pause___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.e_31m___e_0m
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001590
lea rdx, [0x1400035b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001590
lea rdx, [0x140001760]
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]
call fcn.140001140
lea rcx, str.pause___nul
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov eax, 1
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140001d10
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [rsp + 0x60], ebx
lea rdx, [0x140003eb8]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3