Function at 0x412670
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c0], eax
mov eax, dword [ebp + 8]
mov ecx, 0xee
push ebx
mov ebx, dword [0x42e1d4]
push esi
push edi
push edx
mov dword [0x434c3c], eax
lea edi, [esp + 0x14]
lea eax, [esp + 0x134]
mov esi, 0x434898
push pe_nt_image_headers32
rep movsd dword es:[edi], dword [esi]
push eax
mov dword [esp + 0x28], 0x10
call fcn.00413c8c
add esp, 0xc
lea eax, [esp + 0x334]
push ebx
push 0x40
push eax
call fcn.00413c8c
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
jne 0x4127d6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov ebx, eax
call esi
push 0x1000a
lea edi, [eax + 0x1e]
call fcn.00412ac8
mov esi, eax
add esp, 4
test esi, esi
jne 0x412743
push str.Memory_allocation_error_in_log_file_n
call fcn.00412f3c
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebx + 0x1e]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
push 0x4283c8
push 0xffff
push esi
call fcn.00412a74
add esp, 0xc
push edi
test eax, eax
jle 0x41279d
push esi
push str.ShowBalloonTip
push 1
mov edx, 0x48b
mov byte [esi + 0xffff], 0
mov ecx, str...MainGui.cpp
call fcn.00401280
add esp, 0x10
push esi
call fcn.00412a90
add esp, 4
lea eax, [ebx + 0x1e]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
push str.Error__d_in_swprintf_s_n
call fcn.00412f3c
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.00412a90
add esp, 4
lea eax, [ebx + 0x1e]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c0]
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1000a
mov dword [esp + 0x10], 0
lea ebx, [eax + 0x1e]
call fcn.00412ac8
add esp, 4
mov edi, eax
push 0x2000a
call fcn.00412ac8
add esp, 4
mov esi, eax
test edi, edi
je 0x4128a6
test esi, esi
je 0x4128a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp + 8]
push str._d____d
push 0xffff
push esi
call fcn.00412a58
add esp, 0x14
test eax, eax
jle 0x412891
xor eax, eax
push 0xfffffffffffffffe
push esi
mov word [esi + 0x1fffe], ax
call fcn.00412b5a
push 0xffffffffffffffff
push esi
inc eax
push eax
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00413618
add esp, 0x1c
test eax, eax
je 0x412874
push ebx
push esi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.00412f3c
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
push edi
push str.ShowBalloonTip
push 4
mov edx, 0x48d
mov ecx, str...MainGui.cpp
call fcn.00401280
add esp, 0x10
jmp 0x4128be
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.00412f3c
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x4128b8
push str.Memory_allocation_error_in_log_file_n
call fcn.00412f3c
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test edi, edi
je 0x4128cb
push edi
call fcn.00412a90
add esp, 4
test esi, esi
je 0x4128d8
push esi
call fcn.00412a90
add esp, 4
mov ecx, dword [esp + 0x3cc]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041297c
mov esp, ebp
pop ebp
ret