Function at 0x18001fef0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], rsp
mov rdi, rcx
lea rcx, str.ESProtectionDriver
call fcn.1800482d0
test eax, eax
jne 0x18001ff3a
xor esi, esi
mov dword [rsp + 0x30], esi
lea rdx, [0x18001ff33]
mov rcx, rsp
call fcn.180057580
nop
nop
nop
xor eax, eax
jmp 0x18002030f
cmp dword [rdi + 0x625c], 1
jne 0x1800200a9
xor edx, edx
lea ecx, [rdx + 0xb]
call fcn.180041b40
test eax, eax
jne 0x1800200a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r15d, [rax + 0x1e]
mov dword [rsp + 0x78], r15d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r14d, [rax + 0x1e]
xor esi, esi
mov qword [rsp + 0x80], rsi
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
mov ecx, 0x2000a
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x180020054
test rax, rax
je 0x180020054
lea r8, str.Error_setting_injection
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x18002003c
mov word [rbx + 0x1fffe], si
lea rdx, [rsi - 2]
mov rcx, rbx
call fcn.180053398
lea r8, [rax + 1]
mov qword [rsp + 0x20], 0xffffffffffffffff
mov r9, rbx
mov rdx, rdi
lea rcx, [rsp + 0x80]
call fcn.180054798
test eax, eax
je 0x180020012
mov r8d, r14d
mov rdx, rbx
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rdi
lea r9, str.StopHookingFilter
mov edx, 0x1ab
mov r8d, 1
lea rcx, str...ProtectionNA.cpp
call fcn.180001b40
jmp 0x18002006d
mov edx, r14d
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x180020067
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test rdi, rdi
je 0x18002007a
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x180020087
mov rcx, rbx
call fcn.180053a94
mov dword [rsp + 0x34], r15d
lea rdx, [0x1800200a0]
mov rcx, qword [rsp + 0x40]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x78]
jmp 0x18002030f
lea rdx, str.mbae.dll
mov rcx, rdi
call fcn.180020f60
mov ebx, eax
mov dword [rsp + 0x78], eax
test eax, eax
je 0x18002017f
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
test rax, rax
jne 0x1800200f3
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x18002015e
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18002013b
mov byte [rdi + 0xffff], 0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r9, str.StopHookingFilter
mov edx, 0x1b1
mov r8d, 1
lea rcx, str...ProtectionNA.cpp
call fcn.180001b40
jmp 0x180020156
mov edx, ebx
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call fcn.180053a94
mov dword [rsp + 0x38], ebx
lea rdx, [0x180020176]
mov rcx, qword [rsp + 0x40]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x78]
jmp 0x18002030f
call fcn.1800415e0
test eax, eax
je 0x180020262
lea rdx, str.mbae64.dll
mov rcx, rdi
call fcn.180020f60
mov ebx, eax
mov dword [rsp + 0x78], eax
test eax, eax
je 0x180020262
mov ecx, 0x1000a
call fcn.180053ad4
mov rdi, rax
test rax, rax
jne 0x1800201d6
lea rcx, str.Memory_allocation_error_in_log_file_n
call fcn.180053f50
lea rcx, str.Memory_allocation_error_in_log_file_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x180020241
lea r8, [0x180088a64]
mov edx, 0xffff
mov rcx, rax
call fcn.180053a70
test eax, eax
jle 0x18002021e
mov byte [rdi + 0xffff], 0
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
lea r9, str.StopHookingFilter
mov edx, 0x1d1
mov r8d, 1
lea rcx, str...ProtectionNA.cpp
call fcn.180001b40
jmp 0x180020239
mov edx, ebx
lea rcx, str.Error__d_in_swprintf_s_n
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, rdi
call fcn.180053a94
mov dword [rsp + 0x3c], ebx
lea rdx, [0x180020259]
mov rcx, qword [rsp + 0x40]
call fcn.180057580
nop
nop
nop
mov eax, dword [rsp + 0x78]
jmp 0x18002030f
nop
xor eax, eax
jmp 0x18002030f
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret