Function at 0x45c460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466d5d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x48e0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.0045f0f0
add esp, 8
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
push 0x40
lea ecx, [ebp - 0x50]
call fcn.00460c30
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x45c5cc
lea ecx, [ebp - 0x50]
call fcn.00460c30
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x50]
call fcn.0045dac0
mov dword [ebp - 0x18], eax
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x45c549
push str._OK__Memory_patch_at
mov eax, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push eax
call fcn.00458c60
add esp, 8
mov dword [ebp - 0x1c], eax
push 0x45f0d0
mov ecx, dword [ebp - 0x1c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push str._successful.
push eax
call fcn.00458c60
add esp, 8
mov dword [ebp - 0x24], eax
push 0x45a760
mov ecx, dword [ebp - 0x24]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
jmp 0x45c59e
push str.Failed_to_write_process_memory_at
mov edx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push edx
call fcn.00458c60
add esp, 8
mov dword [ebp - 0x28], eax
push 0x45f0d0
mov ecx, dword [ebp - 0x28]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push 0x486e94
push eax
call fcn.00458c60
add esp, 8
mov dword [ebp - 0x30], eax
push 0x45a760
mov ecx, dword [ebp - 0x30]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x50]
call fcn.00460c30
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
nop
jmp 0x45c621
push str.Failed_to_change_memory_protection_at
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push ecx
call fcn.00458c60
add esp, 8
mov dword [ebp - 0x3c], eax
push 0x45f0d0
mov ecx, dword [ebp - 0x3c]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x40]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const__]
push 0x486ebc
push eax
call fcn.00458c60
add esp, 8
mov dword [ebp - 0x44], eax
push 0x45a760
mov ecx, dword [ebp - 0x44]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
nop
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.0045b920
nop
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret