Function at 0x401503
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x41f4c8
call fcn.0041ef90
sub esp, 0x20
push ebx
push esi
push edi
lea eax, [ebp - 0x2c]
mov esi, ecx
push eax
mov ecx, 0x43e900
call fcn.00415848
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString_3
push dword [ebp - 0x28]
movzx eax, byte [ebp - 0x2a]
push eax
movzx eax, byte [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push str.AC:_d_PR:_d_____d_Min.
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::Format
add esp, 0x14
cmp byte [ebp - 0x2c], bl
je 0x4015a1
push str.__AC_
lea ecx, [ebp - 0x18]
call fcn.0041eb9a
push eax
mov edi, 0x97
push edi
mov byte [ebp - 4], 1
call fcn.0041716a
pop ecx
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MFC42u.DLL_operator_2
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::operator_2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
jmp 0x4015c4
movzx eax, byte [ebp - 0x2a]
push eax
mov edi, 0x97
push edi
call fcn.0041716a
pop ecx
push eax
lea eax, [ebp - 0x10]
push str._s__d___
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
cmp dword [esi + 0x168], ebx
jne 0x4015d9
push str._by_on_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4015e1
cmp dword [0x440e38], ebx
jne 0x4015f7
push 0x1e
call fcn.0041716a
pop ecx
push eax
lea ecx, [esi + 0x68]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
jmp 0x401723
cmp byte [ebp - 0x2c], 1
je 0x401723
movzx eax, byte [ebp - 0x2a]
cmp eax, 0xff
mov dword [esi + 0x64], eax
jne 0x401625
push 0x98
call fcn.0041716a
pop ecx
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::operator_3
jmp 0x40163f
push eax
push edi
call fcn.0041716a
pop ecx
push eax
lea eax, [ebp - 0x10]
push str._s__d___
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0x10
cmp dword [esi + 0x20], ebx
je 0x40164f
push dword [ebp - 0x10]
lea ecx, [esi + 0x68]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
cmp dword [esi + 0x168], ebx
je 0x401723
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x60]
jge 0x401720
cmp eax, dword [0x440ec0]
jg 0x401723
call dword [sym.imp.MSVCRT.dll_clock]
mov ecx, eax
sub ecx, dword [0x43e904]
cmp ecx, 0xea60
jge 0x401723
mov edi, 0x7d0
push edi
mov dword [0x43e904], eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push 0x3e8
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [0x440e38], ebx
je 0x4016cc
push ebx
push 0x440e3c
mov dword [0x440e38], ebx
call fcn.004163f9
pop ecx
pop ecx
push ebx
push ebx
push 0xf1
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa1
call fcn.0041716a
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42u.DLL_CString::CString_1
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString_2
lea ecx, [esi + 0x128]
mov byte [ebp - 4], bl
call fcn.004017ae
push eax
call fcn.00412816
add esp, 0xc
jmp 0x401723
mov dword [esi + 0x60], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret