Function at 0x1000c550
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x814
mov eax, dword [0x1009cbc0]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000a
mov dword [esp + 0x18], 0
lea edi, [eax + 0x1e]
call fcn.1005218a
add esp, 4
mov ebx, eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov esi, eax
test ebx, ebx
je 0x1000c63b
test esi, esi
je 0x1000c63b
push dword [esp + 0x10]
push str._MM__Checking_in_disable_macro_if_needed_for_process__s...
push 0xffff
push esi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x1000c626
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 + 0x28]
push ebx
push eax
call fcn.10052d14
add esp, 0x1c
test eax, eax
je 0x1000c609
push edi
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
push ebx
push str.MM_DisableMacroIfNeeded
push 4
mov edx, 0x1ef
mov ecx, str...MacroManager.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000c653
push edi
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000c64d
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]
test ebx, ebx
je 0x1000c660
push ebx
call fcn.10052152
add esp, 4
test esi, esi
je 0x1000c66d
push esi
call fcn.10052152
add esp, 4
push 0x100
lea eax, [esp + 0x1c]
push eax
push 0x100
lea eax, [esp + 0x224]
push eax
push 0
push 0
push 0
push 0
push dword [esp + 0x30]
call fcn.10051ba3
add esp, 0x24
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x420]
push 0x10086350
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
xor edi, edi
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000a
mov dword [esp + 0x18], 0
lea ebx, [eax + 0x1e]
call fcn.1005218a
add esp, 4
mov dword [esp + 0x10], eax
push 0x2000a
call fcn.1005218a
add esp, 4
mov esi, eax
cmp dword [esp + 0x10], 0
je 0x1000c79f
test esi, esi
je 0x1000c79f
push dword [edi + 0x10086060]
lea eax, [esp + 0x41c]
push eax
push str._MM__Checking__s_against__s...
push 0xffff
push esi
call fcn.1005211a
add esp, 0x14
test eax, eax
jle 0x1000c78a
xor eax, eax
push 0xfffffffffffffffe
push esi
mov word [esi + 0x1fffe], ax
call fcn.10051b84
push 0xffffffffffffffff
push esi
inc eax
push eax
push dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
call fcn.10052d14
add esp, 0x1c
test eax, eax
je 0x1000c76a
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push dword [esp + 0x14]
mov edx, 0x1f5
mov ecx, str...MacroManager.cpp
push str.MM_DisableMacroIfNeeded
push 4
call fcn.10001cf0
add esp, 0x10
jmp 0x1000c7b7
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000c7b1
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 [esp + 0x10]
test eax, eax
je 0x1000c7c8
push eax
call fcn.10052152
add esp, 4
test esi, esi
je 0x1000c7d5
push esi
call fcn.10052152
add esp, 4
push 0x104
push dword [edi + 0x10086060]
lea eax, [esp + 0x420]
push eax
call fcn.1005385b
add esp, 0xc
test eax, eax
je 0x1000c817
add edi, 4
cmp edi, 0x1c
jb 0x1000c6c0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.1005132c
mov esp, ebp
pop ebp
ret
call fcn.1000b580
mov ecx, dword [esp + 0x81c]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005132c
mov esp, ebp
pop ebp
ret