Function at 0x180065d50
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180572380]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rcx, qword [0x1806fdf40]
lea r8, [0x1806fe010]
lea rdx, [0x18006af50]
call fcn.18001d618
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_1_FAILED
test eax, eax
jne 0x180065d98
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_1_OK
call fcn.18001e950
lea rdx, [0x1800234a0]
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 [0x1806fdf48]
lea r8, [0x1806fe018]
lea rdx, [fcn.18006aee0]
call fcn.18001d618
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_2_FAILED
test eax, eax
jne 0x180065de0
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_2_OK
call fcn.18001e950
lea rdx, [0x1800234a0]
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 [0x1806fdf50]
lea r8, [0x1806fe020]
lea rdx, [0x18006aef0]
call fcn.18001d618
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_3_FAILED
test eax, eax
jne 0x180065e28
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_3_OK
call fcn.18001e950
lea rdx, [0x1800234a0]
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 [0x1806fdf40]
call fcn.18001d8c4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MH_EnableHook_drm1bypass_FAILED
test eax, eax
jne 0x180065e62
lea rdx, str.MH_EnableHook_drm1bypass_OK
call fcn.18001e950
lea rdx, [0x1800234a0]
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 [0x1806fdf48]
call fcn.18001d8c4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MH_EnableHook_drm2bypass_FAILED
test eax, eax
jne 0x180065e9c
lea rdx, str.MH_EnableHook_drm2bypass_OK
call fcn.18001e950
lea rdx, [0x1800234a0]
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 [0x1806fdf50]
call fcn.18001d8c4
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MH_EnableHook_drm3bypass_FAILED
test eax, eax
jne 0x180065ed6
lea rdx, str.MH_EnableHook_drm3bypass_OK
call fcn.18001e950
lea rdx, [0x1800234a0]
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 rbx, qword [0x1806fdf58]
lea r9, [rsp + 0x20]
mov rcx, rbx
mov edx, 6
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x24]
movabs rax, 0x9090909090909090
mov edx, 6
mov dword [rbx], eax
mov rcx, rbx
mov word [rbx + 4], ax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Crash_function_bypassed.
call fcn.18001e950
lea rdx, [0x1800234a0]
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 [rsp + 0x28]
xor rcx, rsp
call fcn.1800d1810
add rsp, 0x30
pop rbx
ret