Function at 0x180002760
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, 0xd0
mov rax, qword [0x18000b040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, qword [0x18000b9d0]
mov rsi, qword [0x18000b9d8]
cmp rbx, rsi
je 0x180002949
mov qword [r11 + 8], rdi
mov qword [r11 + 0x10], r14
xor r14d, r14d
mov dword [rbp - 9], 0xffffffff
mov dword [rbp - 5], 8
mov dword [rbp - 1], 0x40600000
mov dword [rbp + 3], 0x3f8ccccd
mov dword [rbp + 7], 0x3cf5c28f
mov dword [rbp + 0xb], 0x3dcccccd
mov qword [rbp + 0xf], 7
mov dword [rbp + 0x17], 0
mov dword [rbp + 0x1b], 0x41f00000
mov dword [rbp + 0x1f], 0x42480000
mov dword [rbp + 0x23], 0x3f000000
mov dword [rbp + 0x27], 0x40133333
mov dword [rbp + 0x2b], 0x3fb00000
mov dword [rbp + 0x2f], 0x3f800000
mov qword [rbp + 0x33], 1
mov qword [rbp + 0x3b], 0x3f3f3f3f
nop word [rax + rax]
mov rdi, qword [rbx]
lea r8, [rbp - 0x41]
mov rcx, qword [0x18000b9f0]
mov rdx, rdi
mov r9d, 0x30
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test rax, rax
je 0x18000292c
cmp dword [rbp - 0x21], 0x1000
jne 0x1800028ed
test byte [rbp - 0x1d], 0x44
je 0x1800028ed
mov rcx, qword [0x18000b9f0]
lea rax, [rbp - 0x49]
mov r9d, 0x40
mov qword [rsp + 0x20], rax
mov r8d, 0x4c
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rcx, qword [0x18000b9f0]
lea r8, [rbp - 9]
mov r9d, 0x4c
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1800028c8
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.sniper_OFF_:_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 - 0x49]
lea rax, [rbp - 0x49]
mov rcx, qword [0x18000b9f0]
mov r8d, 0x4c
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
jmp 0x18000292c
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 0x180002820
mov r14, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xe0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.180005510
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret