Function at 0x405d30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x407b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push fcn.0040637e
push sub.MFC42.DLL_CString::CString
push 4
lea eax, [esp + 0x40]
push 4
mov edi, ecx
push eax
call fcn.004067d8
push str..workplan.ini
lea ecx, [esp + 0x20]
mov dword [esp + 0x74], 0
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x48]
push 9
push edx
push str.08:00:00
push str.Time1
push str.WorkPlan
mov byte [esp + 0x88], 1
call esi
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x4d]
push eax
push 9
push ecx
push str.12:00:00
push str.Time2
push str.WorkPlan
call esi
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x56]
push edx
push 9
push eax
push str.14:00:00
push str.Time3
push str.WorkPlan
call esi
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x5f]
push ecx
push 9
push edx
push str.18:00:00
push str.Time4
push str.WorkPlan
call esi
lea ebp, [esp + 0x34]
lea esi, [esp + 0x44]
mov ebx, 4
push esi
mov ecx, ebp
call fcn.00406390
add esi, 9
add ebp, 4
dec ebx
jne 0x405e0b
lea eax, [esp + 0x20]
push 2
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll_sscanf]
lea ecx, [esp + 0x18]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 3
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 6
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
push eax
push ecx
push 1
push 1
push 0x7d2
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CTime::CTime
lea edx, [esp + 0x20]
push 2
push edx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 3
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 6
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
push eax
push ecx
push 1
push 1
push 0x7d2
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CTime::CTime
lea edx, [esp + 0x20]
push 2
push edx
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 3
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 6
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push eax
mov ecx, dword [esp + 0x24]
push ecx
push 1
push 1
push 0x7d2
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CTime::CTime
lea edx, [esp + 0x20]
push 2
push edx
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 3
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
push 2
lea edx, [esp + 0x24]
push 6
push edx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x4ce5f8
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
call fcn.0040637e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push edx
push eax
push ecx
push 1
push 1
push 0x7d2
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CTime::CTime
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x60], edx
mov edx, dword [esp + 0x30]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], ecx
push 0
mov ecx, edi
mov dword [edi + 0x6c], edx
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0
call fcn.0040637e
push fcn.0040637e
push 4
mov dword [esp + 0x78], 0xffffffff
push 4
lea eax, [esp + 0x40]
push eax
call fcn.004066e4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret