Function at 0x180020f60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x1800a2de8]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, rcx
mov rbx, rdx
lea rcx, [rsp + 0x52]
xor r15d, r15d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], r15w
call fcn.180056c20
lea r8, [0x1800a7170]
lea rdx, str._s_s
lea rcx, [rsp + 0x50]
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 + 0x40], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x1800210c8
test rax, rax
je 0x1800210c8
lea r9, [rsp + 0x50]
lea r8, str.Stopping_Injection_with:__s___s
mov edx, 0xffff
mov rcx, rax
mov qword [rsp + 0x20], rbp
call fcn.180053a4c
test eax, eax
jle 0x1800210b1
lea rdx, [r15 - 2]
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x40]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x180021088
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.StopInjection
lea rcx, str...ProtectionNA.cpp
mov edx, 0x2b9
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x1800210e1
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x1800210db
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 0x1800210ee
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x1800210fb
mov rcx, rbx
call fcn.180053a94
mov edx, 1
mov dword [r14 + 0x4258], r15d
call fcn.180022860
mov dword [rsp + 0x38], 0x1b58
mov qword [rsp + 0x30], r15
lea rdx, [rsp + 0x50]
lea rcx, str.ESProtectionDriver
mov r9d, 5
or r8d, 0xffffffff
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rbp
call fcn.18003ebf0
xor edx, edx
mov ebx, eax
call fcn.180022860
test rbp, rbp
je 0x180021154
mov rcx, rbp
call fcn.180053a94
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x180021284
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x40], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x180021249
test rax, rax
je 0x180021249
lea r8, str.Error_stopping_injection_DLL
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x180021232
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x40]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x180021209
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.StopInjection
lea rcx, str...ProtectionNA.cpp
mov edx, 0x2cc
mov r8d, 1
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x180021262
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18002125c
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 0x18002126f
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18002127c
mov rcx, rbx
call fcn.180053a94
lea eax, [rbp + 0x1e]
jmp 0x1800213a8
mov ecx, 0x1000a
lea esi, [rax + 0x1e]
mov qword [rsp + 0x40], r15
call fcn.180053ad4
mov ecx, 0x2000a
mov rdi, rax
call fcn.180053ad4
mov rbx, rax
test rdi, rdi
je 0x180021368
test rax, rax
je 0x180021368
lea r9, [rsp + 0x50]
lea r8, str.DLL_Injection_has_been_successfully_stopped___s
mov edx, 0xffff
mov rcx, rax
call fcn.180053a4c
test eax, eax
jle 0x180021351
mov rdx, 0xfffffffffffffffe
mov rcx, rbx
mov word [rbx + 0x1fffe], r15w
call fcn.180053398
lea rcx, [rsp + 0x40]
mov r9, rbx
lea r8, [rax + 1]
mov rdx, rdi
mov qword [rsp + 0x20], 0xffffffffffffffff
call fcn.180054798
test eax, eax
je 0x180021328
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.StopInjection
lea rcx, str...ProtectionNA.cpp
mov edx, 0x2ce
mov r8d, 3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
call fcn.180001b40
jmp 0x180021381
lea rcx, str.Error__d_in_swprintf_s_n
mov edx, esi
call fcn.180053f50
lea rcx, str.Error_in_swprintf_s_n
jmp 0x18002137b
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 0x18002138e
mov rcx, rdi
call fcn.180053a94
test rbx, rbx
je 0x18002139b
mov rcx, rbx
call fcn.180053a94
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180052be0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret