Function at 0x180020ae0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov r14, rcx
mov rbx, rdx
lea rcx, [rsp + 0x62]
xor r15d, r15d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x60], r15w
call fcn.180056c20
lea r8, [0x1800a7170]
lea rdx, str._s_s
lea rcx, [rsp + 0x60]
mov r9, rbx
call fcn.180003d50
lea rcx, [r14 + 0x425c]
call fcn.180022240
lea rcx, [r14 + 0x425c]
call fcn.1800220e0
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x50], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x180020c48
test rax, rax
je 0x180020c48
lea r9, [rsp + 0x60]
lea r8, str.Starting_Injection_with:__s____s
mov edx, 0xffff
mov rcx, rax
mov qword [rsp + 0x20], rbp
call fcn.180053a4c
test eax, eax
jle 0x180020c31
lea rdx, [r15 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x50]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x180020c08
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, esi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str.StartInjection
lea rcx, str...ProtectionNA.cpp
mov edx, 0x28a
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x180020c61
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x180020c5b
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 0x180020c6e
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x180020c7b
mov rcx, rbx
call fcn.180053a94
mov edx, 1
mov dword [r14 + 0x4258], 1
call fcn.180022860
mov dword [rsp + 0x48], 0x1b58
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
lea rdx, [rsp + 0x60]
lea rcx, str.ESProtectionDriver
mov r9d, 5
or r8d, 0xffffffff
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbp
call fcn.18003eb00
xor edx, edx
mov ebx, eax
call fcn.180022860
test rbp, rbp
je 0x180020ce2
mov rcx, rbp
call fcn.180053a94
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x180020e12
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x50], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x180020dd7
test rax, rax
je 0x180020dd7
lea r8, str.Error_starting_injection_DLL
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x180020dc0
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x50]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x180020d97
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, esi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str.StartInjection
lea rcx, str...ProtectionNA.cpp
mov edx, 0x29f
mov r8d, 1
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x180020df0
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x180020dea
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 0x180020dfd
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x180020e0a
mov rcx, rbx
call fcn.180053a94
lea eax, [rbp + 0x1e]
jmp 0x180020f2b
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x50], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x180020ef6
test rax, rax
je 0x180020ef6
lea r9, [rsp + 0x60]
lea r8, str.DLL_Injection_has_been_successfully_started___s
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x180020edf
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x50]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x180020eb6
lea rcx, str.wcstombs_s_error_in_log_file:__s____d_n
mov r8d, esi
mov rdx, rbx
call fcn.180053f50
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea r9, str.StartInjection
lea rcx, str...ProtectionNA.cpp
mov edx, 0x2a1
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x180020f0f
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x180020f09
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 0x180020f1c
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x180020f29
mov rcx, rbx
call fcn.180053a94
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180052be0
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret