Function at 0x180065d10
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, [0x18006af10]
call fcn.18001d5d8
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 0x180065d58
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_1_OK
call fcn.18001e910
lea rdx, [0x180023460]
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.18006aea0]
call fcn.18001d5d8
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 0x180065da0
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_2_OK
call fcn.18001e910
lea rdx, [0x180023460]
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, [0x18006aeb0]
call fcn.18001d5d8
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 0x180065de8
lea rdx, str.MH_CreateHook_sub_DRMFunction_Hook_3_OK
call fcn.18001e910
lea rdx, [0x180023460]
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.18001d884
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 0x180065e22
lea rdx, str.MH_EnableHook_drm1bypass_OK
call fcn.18001e910
lea rdx, [0x180023460]
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.18001d884
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 0x180065e5c
lea rdx, str.MH_EnableHook_drm2bypass_OK
call fcn.18001e910
lea rdx, [0x180023460]
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.18001d884
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 0x180065e96
lea rdx, str.MH_EnableHook_drm3bypass_OK
call fcn.18001e910
lea rdx, [0x180023460]
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.18001e910
lea rdx, [0x180023460]
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.1800d1620
add rsp, 0x30
pop rbx
ret