Function at 0x180002570
Capabilities:
Allocate or change rwx memory

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x18000b040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, qword [0x18000b9d0]
mov rsi, qword [0x18000b9d8]
cmp rbx, rsi
je 0x18000273b
mov qword [r11 + 8], rdi
mov qword [r11 + 0x10], r14
xor r14d, r14d
mov dword [rbp + 0xf], 0xffffffff
mov dword [rbp + 0x13], 8
mov dword [rbp + 0x17], 0x40600000
mov dword [rbp + 0x1b], 0x3f8ccccd
mov dword [rbp + 0x1f], 0x3cf5c28f
mov dword [rbp + 0x23], 0x3dcccccd
mov dword [rbp + 0x27], 7
mov dword [rbp + 0x2b], 0xffff0000
mov dword [rbp + 0x2f], 0
mov dword [rbp + 0x33], 0x41f00000
mov dword [rbp + 0x37], 0x42480000
mov dword [rbp + 0x3b], 0x3f000000
mov dword [rbp + 0x3f], 0x40133333
mov rdi, qword [rbx]
lea r8, [rbp - 0x21]
mov rcx, qword [0x18000b9f0]
mov rdx, rdi
mov r9d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x18000271e
cmp dword [rbp - 1], 0x1000
jne 0x1800026df
test byte [rbp + 3], 0x44
je 0x1800026df
mov rcx, qword [0x18000b9f0]
lea rax, [rbp - 0x29]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov r8d, 0x34
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [0x18000b9f0]
lea r8, [rbp + 0xf]
mov r9d, 0x34
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800026ba
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.sniper_ON_:_Error
call fcn.180004370
mov rcx, rax
lea rdx, [0x180004550]
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 [rbp - 0x29]
lea rax, [rbp - 0x29]
mov rcx, qword [0x18000b9f0]
mov r8d, 0x34
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x18000271e
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Invalid_or_unwritable_memory_at_address:
call fcn.180004370
mov rcx, rax
lea rdx, [0x180001300]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov rdx, rdi
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_long_unsigned___int64_____ptr64]
mov rcx, rax
lea rdx, [0x180004550]
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]
add rbx, 8
cmp rbx, rsi
jne 0x180002612
mov r14, qword [rsp + 0xc8]
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180005510
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret