Function at 0x1000fb50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x100e2810]
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x1000fee0
cmp dword [eax], 0x1234abcd
jne 0x1000fee0
cmp dword [eax + 0x128], 0
je 0x1000fd56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000a
mov dword [ebp - 8], 0
lea ebx, [eax + 0x1e]
call fcn.1005218a
add esp, 4
mov dword [ebp - 4], eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov edi, eax
cmp dword [ebp - 4], 0
je 0x1000fc4b
test edi, edi
je 0x1000fc4b
push str.Pen_Testing_Mode_enabled__Adding_Injectable_apps...
push 0xffff
push edi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1000fc36
xor eax, eax
mov ecx, edi
push 0xffffffffffffffff
push edi
mov word [edi + 0x1fffe], ax
call fcn.10001b80
inc eax
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1000fc17
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [ebp - 4]
mov edx, 0x3f5
mov ecx, str...ProtectionNA.cpp
push str._AppendOrRemovePenTestingOnlyInjectableApps
push 4
call fcn.10001cf0
add esp, 0x10
jmp 0x1000fc63
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000fc5d
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 dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000fc73
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1000fc80
push edi
call fcn.10052152
add esp, 4
push dword [0x10086098]
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1000fcc1
cmp word [esi], ax
je 0x1000fcab
push 0xffffffffffffffff
push 0x10088ff4
push 0xfff
push esi
call fcn.10054559
add esp, 0x10
push 0xffffffffffffffff
push dword [0x10086098]
push 0xfff
push esi
call fcn.10054559
add esp, 0x10
mov ecx, dword [0x100e2810]
xor ebx, ebx
cmp dword [ecx + 0x4264], ebx
jle 0x1000ff7d
xor edi, edi
mov eax, dword [ecx + 0x426c]
cmp dword [eax + edi + 0x618], 0x4000
jne 0x1000fd40
add eax, 0x208
add eax, edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1000fd3a
cmp word [esi], ax
je 0x1000fd17
push 0xffffffffffffffff
push 0x10088ff4
push 0xfff
push esi
call fcn.10054559
add esp, 0x10
mov eax, dword [0x100e2810]
push 0xffffffffffffffff
mov eax, dword [eax + 0x426c]
add eax, 0x208
add eax, edi
push eax
push 0xfff
push esi
call fcn.10054559
add esp, 0x10
mov ecx, dword [0x100e2810]
inc ebx
add edi, 0xa30
cmp ebx, dword [ecx + 0x4264]
jl 0x1000fcd7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000a
mov dword [ebp - 8], 0
lea ebx, [eax + 0x1e]
call fcn.1005218a
add esp, 4
mov dword [ebp - 4], eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov edi, eax
cmp dword [ebp - 4], 0
je 0x1000fe20
test edi, edi
je 0x1000fe20
push str.Pen_Testing_Mode_disabled__Removing_Injectable_apps...
push 0xffff
push edi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1000fe0b
xor eax, eax
mov ecx, edi
push 0xffffffffffffffff
push edi
mov word [edi + 0x1fffe], ax
call fcn.10001b80
inc eax
push eax
push dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1000fdec
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [ebp - 4]
mov edx, 0x411
mov ecx, str...ProtectionNA.cpp
push str._AppendOrRemovePenTestingOnlyInjectableApps
push 4
call fcn.10001cf0
add esp, 0x10
jmp 0x1000fe38
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000fe32
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 dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x1000fe48
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1000fe55
push edi
call fcn.10052152
add esp, 4
mov edx, dword [0x10086098]
push ecx
mov ecx, esi
call fcn.1000ff90
mov ecx, dword [0x100e2810]
xor ebx, ebx
add esp, 4
cmp dword [ecx + 0x4264], ebx
jle 0x1000ff7d
xor edi, edi
lea esp, [esp]
mov eax, dword [ecx + 0x426c]
cmp dword [eax + edi + 0x618], 0x4000
jne 0x1000feca
add eax, 0x208
add eax, edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x1000fec4
mov eax, dword [0x100e2810]
push ecx
mov ecx, esi
mov edx, dword [eax + 0x426c]
add edx, 0x208
add edx, edi
call fcn.1000ff90
add esp, 4
mov ecx, dword [0x100e2810]
inc ebx
add edi, 0xa30
cmp ebx, dword [ecx + 0x4264]
jl 0x1000fe80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x1000a
call fcn.1005218a
mov esi, eax
add esp, 4
test esi, esi
jne 0x1000ff12
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 dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x1000ff5c
push esi
push str._AppendOrRemovePenTestingOnlyInjectableApps
push 1
mov edx, 0x3f1
mov byte [esi + 0xffff], 0
mov ecx, str...ProtectionNA.cpp
call fcn.10001cf0
add esp, 0x10
push esi
call fcn.10052152
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret