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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1400dd040]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor edi, edi
lea rcx, str.color_B
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Horizon
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
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], edi
mov dword [rbp - 0x38], edi
mov word [rbp - 0x34], 0x500
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
mov r9d, 0x220
lea r8d, [rdi + 0x20]
mov dl, 2
lea rcx, [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140049127
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], edi
jne 0x140049241
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov r8d, 0x2a
lea rdx, str.D:WorkOther_SourcersMonkeyHeymain.cpp
lea rcx, [rsp + 0x60]
call fcn.140001d10
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov r8d, 0x2f
lea rdx, str._error_:_the_cheat_must_be_run_as_administrator
lea rcx, [rbp - 0x30]
call fcn.140001d10
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, [0x1400bf250]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400499b0
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, rax
call fcn.14004a9a0
mov rcx, rax
lea rdx, [0x1400bf24c]
call fcn.1400499b0
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.14004a9a0
lea rdx, [0x140049b80]
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
lea rcx, [rbp - 0x30]
call fcn.140005330
nop
lea rcx, [rsp + 0x60]
call fcn.140005330
lea eax, [rdi - 3]
jmp 0x14004956e
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], edi
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 dword [rax]
inc rbx
cmp byte [rax + rbx], dil
jne 0x1400492f0
call fcn.1400af2c8
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.140048450
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.1400485a0
cmp rax, rdx
je 0x1400493ae
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14004934f
cmp cx, 0x2f
jne 0x140049358
add rax, 2
cmp rax, rdx
jne 0x140049340
cmp rax, rdx
je 0x1400493ae
nop dword [rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x140049380
cmp r8w, 0x2f
je 0x140049380
mov rdx, rcx
cmp rax, rcx
jne 0x140049360
jmp 0x1400493ae
cmp rax, rdx
je 0x1400493ae
nop word [rax + rax]
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x1400493a6
cmp r8w, 0x2f
jne 0x1400493ae
mov rdx, rcx
cmp rax, rcx
jne 0x140049390
sub rdx, r10
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rdi
mov qword [rbp + 8], rdi
mov r8, rdx
mov rdx, r10
lea rcx, [rbp - 0x10]
call fcn.14004a240
nop
lea rcx, [rbp - 0x80]
call fcn.140049760
call fcn.1400af2c8
lea rcx, [0x1400bf2c8]
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.140048450
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.1400488c0
nop
lea rcx, [rbp - 0x60]
call fcn.140049760
mov qword [rbp - 0x30], rdi
lea rax, [0x1400dd210]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.140048e20
cmp dword [rbp - 0x30], 0
jne 0x140049592
call fcn.140050430
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
lea r8d, [rbx + 0x23]
lea rdx, str.D:WorkOther_SourcersMonkeyHeymain.cpp
lea rcx, [rbp - 0x30]
call fcn.140001d10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea r8d, [rbx + 0x2f]
lea rdx, str.Please_do_not_join_a_friend__Press_enter_to_continue.
lea rcx, [rsp + 0x60]
call fcn.140001d10
nop
lea edi, [rbx - 3]
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, [0x1400bf250]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400499b0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rax
call fcn.14004a9a0
mov rcx, rax
lea rdx, [0x1400bf24c]
call fcn.1400499b0
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, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14004a9a0
lea rdx, [0x140049b80]
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
lea rcx, [rsp + 0x60]
call fcn.140005330
nop
lea rcx, [rbp - 0x30]
call fcn.140005330
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
lea rcx, [rbp + 0x10]
call fcn.140049760
nop
lea rcx, [rbp - 0x10]
call fcn.140049760
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400afe40
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x30]
lea rcx, str.create_directories
call fcn.140048dc0
int3