Function at 0x140001780
Capabilities:
Allocate or change rwx memory
Execute command
Set console window title

Disassembly:
mov r11, rsp
sub rsp, 0x88
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 - 8], rdi
call fcn.140001270
xor edi, edi
mov ebx, eax
test eax, eax
je 0x140001963
mov ecx, eax
mov qword [rsp + 0x98], rbp
call fcn.1400011c0
mov rbp, rax
test rax, rax
jne 0x1400017e2
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Could_not_find_the_module_base_address
call fcn.140001b40
jmp 0x140001843
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x140001858
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Could_not_open_the_process
call fcn.140001b40
mov rcx, rax
lea rdx, [0x140001d10]
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 qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_code:
mov ebx, eax
call fcn.140001b40
mov rcx, rax
mov edx, ebx
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]
mov rcx, rax
lea rdx, [0x140001d10]
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]
jmp 0x14000195b
mov r9d, 0x40
mov dword [rsp + 0x68], 0xe9
lea rax, [rsp + 0x60]
mov byte [rsp + 0x6c], dil
add rbp, 0x8e4fa
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
lea r8d, [r9 - 0x3b]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1400018b8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Could_not_change_memory_protection
call fcn.140001b40
mov rcx, rax
lea rdx, [0x140001d10]
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]
jmp 0x140001952
mov r9d, 5
mov qword [rsp + 0x20], rdi
lea r8, [rsp + 0x68]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140001931
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error:_Could_not_write_to_process_memory
call fcn.140001b40
mov rcx, rax
lea rdx, [0x140001d10]
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 qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str.Error_code:
mov ebx, eax
call fcn.140001b40
mov rcx, rax
mov edx, ebx
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]
mov rcx, rax
lea rdx, [0x140001d10]
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]
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov r8d, 5
mov qword [rsp + 0x20], rax
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x98]
call fcn.140001540
lea rcx, str.Clientx
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x64]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov edx, dword [rsp + 0x64]
mov rcx, rbx
or edx, 4
call qword [sym.imp.KERNEL32.dll_SetConsoleMode]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 0xffffffec
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xffffffec
mov rcx, rbx
bts eax, 0x13
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
lea rax, str.e_31m
mov sil, 0x20
mov qword [rsp + 0x30], rax
lea rbx, str._Bypass_FiveM_FX
lea rax, str.e_33m
mov qword [rsp + 0x38], rax
lea rax, str.e_32m
mov qword [rsp + 0x40], rax
lea rax, str.e_36m
mov qword [rsp + 0x48], rax
lea rax, str.e_34m
mov qword [rsp + 0x50], rax
lea rax, str.e_35m
mov qword [rsp + 0x58], rax
nop
mov eax, 0x2aaaaaab
imul edi
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, edi
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub eax, ecx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movsxd rdx, eax
mov rdx, qword [rsp + rdx*8 + 0x30]
call fcn.140001b40
mov rcx, rax
movzx edx, sil
call fcn.140001d50
movzx esi, byte [rbx + 1]
lea rbx, [rbx + 1]
inc edi
test sil, sil
jne 0x140001a20
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.e_0m
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x90]
call fcn.140001b40
mov rcx, rax
lea rdx, [0x140001d10]
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]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001f20
add rsp, 0x88
ret