Function at 0x1000e940
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x21c
mov eax, dword [0x1009cbc0]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, ecx
push 0x206
push eax
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push eax
mov dword [esp + 0x20], ebx
call fcn.10055aa0
add esp, 0xc
lea eax, [esp + 0x18]
push str.mbae.dll
push 0x100e2400
push 0x10086350
push eax
call fcn.10004ed0
add esp, 0x10
lea ecx, [ebx + 0x4280]
call fcn.1000fb50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000a
mov dword [esp + 0x14], 0
lea edi, [eax + 0x1e]
mov dword [esp + 0x10], edi
call fcn.1005218a
add esp, 4
mov ebx, eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1000ea85
test esi, esi
je 0x1000ea85
mov eax, dword [esp + 0x14]
add eax, 0x4280
push eax
lea eax, [esp + 0x1c]
push eax
push str.Stopping_Injection_with:__s___s
push 0xffff
push esi
call fcn.1005211a
add esp, 0x14
test eax, eax
jle 0x1000ea70
xor eax, eax
push 0xfffffffffffffffe
push esi
mov word [esi + 0x1fffe], ax
call fcn.10051b84
push 0xffffffffffffffff
push esi
inc eax
push eax
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.10052d14
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x1c
test eax, eax
je 0x1000ea50
push dword [esp + 0xc]
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call edi
push dword [esp + 0xc]
mov edx, 0x2b9
mov ecx, str...ProtectionNA.cpp
push ebx
push str.StopInjection
push 4
call fcn.10001cf0
add esp, 0x10
jmp 0x1000ea9f
push edi
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000ea97
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call edi
test ebx, ebx
je 0x1000eaac
push ebx
call fcn.10052152
add esp, 4
test esi, esi
je 0x1000eab9
push esi
call fcn.10052152
add esp, 4
mov ebx, dword [esp + 0x14]
mov edx, 1
mov dword [ebx + 0x427c], 0
call fcn.10010090
push 0x1b58
push 0
push 0
lea eax, [ebx + 0x4280]
push eax
push 5
push 0xffffffffffffffff
lea eax, [esp + 0x30]
push eax
push str.ESProtectionDriver
call fcn.10043b70
xor edx, edx
mov esi, eax
call fcn.10010090
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
add eax, 0x1e
test esi, esi
je 0x1000ec12
push 0x1000a
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
call fcn.1005218a
add esp, 4
mov ebx, eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1000ebda
test esi, esi
je 0x1000ebda
lea eax, [esp + 0x18]
push eax
push str.DLL_Injection_has_been_successfully_stopped___s
push 0xffff
push esi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x1000ebc2
xor eax, eax
push 0xfffffffffffffffe
push esi
mov word [esi + 0x1fffe], ax
call fcn.10051b84
push 0xffffffffffffffff
push esi
inc eax
push eax
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.10052d14
add esp, 0x1c
test eax, eax
je 0x1000eba2
push dword [esp + 0xc]
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call edi
push dword [esp + 0xc]
mov edx, 0x2ce
mov ecx, str...ProtectionNA.cpp
push ebx
push str.StopInjection
push 4
call fcn.10001cf0
add esp, 0x10
jmp 0x1000ebee
push dword [esp + 0xc]
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000ebec
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call edi
test ebx, ebx
je 0x1000ebfb
push ebx
call fcn.10052152
add esp, 4
test esi, esi
je 0x1000ec08
push esi
call fcn.10052152
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005132c
mov esp, ebp
pop ebp
ret