Function at 0x140003080
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
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400a2040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor esi, esi
lea rcx, str.color_B
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Lesters
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
mov rbx, 0xffffffffffffffff
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rbp - 0x40], esi
mov dword [rbp - 0x38], esi
mov word [rbp - 0x34], 0x500
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r9d, 0x220
lea r8d, [rsi + 0x20]
mov dl, 2
lea rcx, [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000315c
lea r8, [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rbp - 0x40], esi
jne 0x1400032f2
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, 0x2a
lea rdx, str.D:WorkLesters_V1lesters_v1x64main.cpp
lea rcx, [rsp + 0x60]
call fcn.140004ad0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov r8d, 0x2f
lea rdx, str._error_:_the_cheat_must_be_run_as_administrator
lea rcx, [rbp - 0x30]
call fcn.140004ad0
nop
mov edi, 4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140082f08]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003e20
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400050e0
mov rcx, rax
lea rdx, [0x140082f04]
call fcn.140003e20
lea ebx, [rdi + 3]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400050e0
lea rdx, [0x140003ff0]
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]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140003298
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003293
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003293
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400032e8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
mov eax, 1
jmp 0x1400037b7
mov qword [rbp + 0x30], 0x54
mov qword [rbp + 0x38], 0xc0008
mov dword [rbp + 0x40], 0x190
lea r8, str.Terminal
mov edx, 0x20
lea rcx, [rbp + 0x44]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea r8, [rbp + 0x30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetCurrentConsoleFontEx]
mov dword [rbp - 0x40], 0x280064
mov dword [rbp - 0x38], esi
mov dword [rbp - 0x34], 0x270063
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, dword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea r8, [rbp - 0x38]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
mov r8d, 0x104
lea rdx, [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rbp + 0x90]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], sil
jne 0x1400033a0
call fcn.14007d0b8
lea rcx, [rbp + 0x90]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rbx
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.140002080
nop
lea r10, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova r10, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea rdx, [r10 + rax*2]
mov rcx, r10
call fcn.1400021d0
cmp rax, rdx
je 0x14000345e
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x1400033ff
cmp cx, 0x2f
jne 0x140003408
add rax, 2
cmp rax, rdx
jne 0x1400033f0
cmp rax, rdx
je 0x14000345e
nop dword [rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140003430
cmp r8w, 0x2f
je 0x140003430
mov rdx, rcx
cmp rax, rcx
jne 0x140003410
jmp 0x14000345e
cmp rax, rdx
je 0x14000345e
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140003456
cmp r8w, 0x2f
jne 0x14000345e
mov rdx, rcx
cmp rax, rcx
jne 0x140003440
sub rdx, r10
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rsi
mov qword [rbp + 8], rsi
mov r8, rdx
mov rdx, r10
lea rcx, [rbp - 0x10]
call fcn.1400046b0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x1400034c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
movdqa xmm0, xmmword [0x140092250]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], si
call fcn.14007d0b8
lea rcx, [0x140082f80]
mov qword [rbp - 0x30], rcx
mov ebx, 7
mov qword [rbp - 0x28], rbx
lea r8, [rbp - 0x30]
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.140002080
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.1400024f0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, rbx
jbe 0x140003554
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000354f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000354f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
movdqa xmm0, xmmword [0x140092250]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], si
mov qword [rbp - 0x30], rsi
lea rax, str._0_b_
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.140002e10
cmp dword [rbp - 0x30], 0
jne 0x1400037df
call fcn.14000bbd0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov r8d, 0x2a
lea rdx, str.D:WorkLesters_V1lesters_v1x64main.cpp
lea rcx, [rsp + 0x60]
call fcn.140004ad0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rsi
mov r8d, 0x20
lea rdx, str.Press_enter_to_abort_the_process
lea rcx, [rbp - 0x30]
call fcn.140004ad0
nop
mov edi, 4
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, di
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [0x140082f08]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140003e20
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.1400050e0
mov rcx, rax
lea rdx, [0x140082f04]
call fcn.140003e20
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
movzx edx, bx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400050e0
lea rdx, [0x140003ff0]
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]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400036c0
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140003710
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000370b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000370b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 7
jbe 0x140003761
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000375c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000375c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
movdqa xmm0, xmmword [0x140092250]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x1400037b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007c234
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14007c1d0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
lea rcx, str.create_directories
call fcn.140002db0
int3