Function at 0x1003b050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10090fe8
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x24], esi
mov ebx, dword [0x100e2810]
mov dword [ebp - 0x30], ebx
mov eax, dword [ebx + 0x70]
test eax, eax
je 0x1003b1c2
cmp dword [esi + 0x1c], 0
jne 0x1003b1ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [eax + 0x1e]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0
je 0x1003b179
test edi, edi
je 0x1003b179
push str.CHANGED_L0_MACRO_DISABLE_TO_Disabled.
push 0xffff
push edi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1003b164
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1003b13d
push esi
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
jmp 0x1003b143
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x28]
push dword [ebp - 0x1c]
push str.TRG_TriggerChanges
push 4
mov edx, 0x5f
mov ecx, str...Triggers.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003b193
push esi
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1003b18b
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 esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003b1a3
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1003b1b0
push edi
call fcn.10052152
add esp, 4
call fcn.1000c840
jmp 0x1003b2eb
test eax, eax
jne 0x1003b2e5
cmp dword [esi + 0x1c], 0
je 0x1003b2e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [eax + 0x1e]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0
je 0x1003b2a2
test edi, edi
je 0x1003b2a2
push str.CHANGED_L0_MACRO_DISABLE_TO_Enabled.
push 0xffff
push edi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1003b28d
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1003b266
push esi
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
jmp 0x1003b26c
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push str.TRG_TriggerChanges
push 4
mov edx, 0x65
mov ecx, str...Triggers.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003b2bc
push esi
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1003b2b4
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 esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003b2cc
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1003b2d9
push edi
call fcn.10052152
add esp, 4
mov ecx, str.c:_forcedisableexcel.exe
call fcn.1000c550
jmp 0x1003b2eb
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0xd4]
cmp dword [ebx + 0x128], eax
je 0x1003b67d
test eax, eax
jne 0x1003b329
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov edx, dword [0x10086098]
mov ecx, ebx
call fcn.1003b6a0
add esp, 4
test eax, eax
jne 0x1003b329
mov edx, dword [ebp - 0x20]
mov ecx, ebx
call fcn.1000ec30
mov dword [ebp - 4], 0
mov dword [ebx + 0x6280], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0x1e
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0
je 0x1003b40f
test edi, edi
je 0x1003b40f
mov eax, dword [ebp - 0x24]
push dword [eax + 0xd4]
push str.PEN_TESTING_MODE_have_changed_to__d.
push 0xffff
push edi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x1003b3f8
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1003b3d7
push dword [ebp - 0x20]
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push str.TRG_TriggerChanges
push 4
mov edx, 0x82
mov ecx, str...Triggers.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003b423
push dword [ebp - 0x20]
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1003b421
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 esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003b433
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1003b440
push edi
call fcn.10052152
add esp, 4
mov ecx, ebx
call fcn.1000e230
test eax, eax
je 0x1003b54c
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0x1e
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0
je 0x1003b51b
test edi, edi
je 0x1003b51b
push str.SET_CONFIG_STOP_
push 0xffff
push edi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1003b504
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1003b4e3
push dword [ebp - 0x20]
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push str.TRG_TriggerChanges
push 4
mov edx, 0x85
mov ecx, str...Triggers.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003b52f
push dword [ebp - 0x20]
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1003b52d
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 esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003b53f
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1003b54c
push edi
call fcn.10052152
add esp, 4
push 0x208
push dword [ebp - 0x24]
push 0x208
lea eax, [ebx + 0x54]
push eax
call fcn.1005465d
add esp, 0x10
mov ecx, ebx
call fcn.1000dba0
test eax, eax
je 0x1003b671
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0x1e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x1c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0x1c], 0
je 0x1003b640
test edi, edi
je 0x1003b640
push str.SET_CONFIG_START_
push 0xffff
push edi
call fcn.1005211a
add esp, 0xc
test eax, eax
jle 0x1003b629
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xffffffffffffffff
push edi
mov ecx, edi
call fcn.10001b80
inc eax
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
push eax
call fcn.10052d14
add esp, 0x14
test eax, eax
je 0x1003b608
push dword [ebp - 0x24]
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call esi
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push str.TRG_TriggerChanges
push 4
mov edx, 0x8d
mov ecx, str...Triggers.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1003b654
push dword [ebp - 0x24]
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1003b652
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 esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003b664
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1003b671
push edi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
call fcn.1003b692
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret