Function at 0x40ba18
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441524
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov dword [ebp - 0x68], ecx
push 0x45b074
push 0x45b078
push 0x45b07c
lea ecx, [ebp - 0x44]
call fcn.0042de43
mov dword [ebp - 4], 0
push 0x4548d4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
push 0x4548e0
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
push 0x4548e4
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x48]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0041a5bc
push 0x4548e8
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
push str.MONTH
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
push 0x4548fc
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x50]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x14]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.0041a5bc
push str.DATELSTSD
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
push str.YEAR
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
push 0x454914
lea ecx, [ebp - 0x5c]
push ecx
lea edx, [ebp - 0x58]
push edx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.0041a5bc
push str.TIMELSTSD
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
push 0x45b080
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
push str._H:_M:_S
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x60]
push ecx
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call sub.MFC42.DLL_CTime::Format
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x14]
call fcn.0043fa38
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x68]
call fcn.0041a5bc
lea ecx, [ebp - 0x10]
call fcn.0043fa26
mov byte [ebp - 4], 5
mov edx, dword [ebp + 8]
push edx
push 0x454930
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push str.WSSHUTDOWN
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::operator_1
push 0x45b084
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043fa38
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0x68]
call fcn.0041a5bc
push 0x454940
push 0x3e8
push str.SHUTDOWNDELAY
push 0x45495c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
mov ecx, dword [ebp - 0x68]
call fcn.0040b705
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040fdf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4