Function at 0x140049ce0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140059040]
xor rax, rsp
mov qword [rsp + 0x48], rax
movss xmm1, dword [0x1400590c0]
movss dword [rsp + 0x38], xmm1
call fcn.140049e90
movsxd rdi, eax
mov rdx, rdi
call fcn.140049f60
mov rbx, rax
test rax, rax
jne 0x140049d4f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, str._Reach__Error_while_getting_base_adress
call fcn.140049ad0
lea rdx, [0x140049ca0]
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]
movss xmm0, dword [0x140051300]
jmp 0x140049e77
xor edx, edx
mov r8d, edi
lea ecx, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea rdx, [rbx + 0x4d58b08]
mov word [rsp + 0x30], 0x9090
mov rcx, rax
mov qword [rsp + 0x20], 0
mov r9d, 2
lea r8, [rsp + 0x30]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test rdi, rdi
je 0x140049e74
mov r9d, 0x40
lea rax, [rsp + 0x40]
add rbx, 0x4d58a78
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, rdi
lea r8d, [r9 - 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov r9d, 4
mov qword [rsp + 0x20], 0
lea r8, [rsp + 0x38]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._Reach__Adress_0x
call fcn.140049ad0
lea rdx, [0x140049880]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
lea rdx, [0x1400498a0]
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, rbx
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, str._was_sucessfuly_modified
call fcn.140049ad0
lea rdx, [0x140049ca0]
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]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str._Reach__New_value:
call fcn.140049ad0
movss xmm1, dword [rsp + 0x38]
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___float____ptr64]
mov rcx, rax
lea rdx, [0x140049ca0]
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 rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004a040
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret