Function at 0x401060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x8dc
mov eax, dword [0x46af24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x8e8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x8e4]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
push 0x3fe
push eax
lea ecx, [ebp - 0x8ce]
mov byte [ebp - 4], 1
push ecx
mov word [ebp - 0x8d0], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x1ce]
push eax
mov word [ebp - 0x1d0], dx
call sub.MSVCR100.dll_memset
xor ecx, ecx
push 0x3e
push ecx
lea edx, [ebp - 0xce]
push edx
mov word [ebp - 0xd0], cx
call sub.MSVCR100.dll_memset
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x14e]
push ecx
mov word [ebp - 0x150], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x4e]
push eax
mov word [ebp - 0x50], dx
call sub.MSVCR100.dll_memset
xor ecx, ecx
push 0x3e
push ecx
lea edx, [ebp - 0x8e]
push edx
mov word [ebp - 0x90], cx
call sub.MSVCR100.dll_memset
add esp, 0x48
xor eax, eax
push 0x3e
push eax
lea ecx, [ebp - 0x10e]
push ecx
mov word [ebp - 0x110], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0xfe
push edx
lea eax, [ebp - 0x4ce]
push eax
mov word [ebp - 0x4d0], dx
call sub.MSVCR100.dll_memset
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x2ce]
push edx
mov word [ebp - 0x2d0], cx
call sub.MSVCR100.dll_memset
xor eax, eax
push 0xfe
push eax
lea ecx, [ebp - 0x3ce]
push ecx
mov word [ebp - 0x3d0], ax
call sub.MSVCR100.dll_memset
xor edx, edx
push 0x3e
push edx
lea eax, [ebp - 0x18e]
push eax
mov word [ebp - 0x190], dx
call sub.MSVCR100.dll_memset
add esp, 0x3c
push esi
lea ecx, [ebp - 0x8e4]
call dword [0x4598bc]
push ebx
lea ecx, [ebp - 0x8e4]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [ebp - 0x8e4]
push 0
push ecx
call dword [sym.imp.MSVCR100.dll__waccess]
add esp, 8
test eax, eax
je 0x401251
mov ecx, dword [edi + 0xc]
push 0x23
call fcn.004410cb
push eax
lea edx, [ebp - 0x8e8]
push 0x45f668
push edx
mov dword [edi + 0x360c0], eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0x8e8]
add esp, 0xc
push eax
mov eax, dword [edi + 0x74]
push 0x45f670
push edi
mov ecx, ebx
call fcn.00401a00
lea ecx, [ebp - 0x8e4]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x8e8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
jmp 0x401413
mov ecx, dword [ebp - 0x8e4]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ecx
push 0x200
lea edx, [ebp - 0x8d0]
push edx
push 0x45f664
push 0x45f674
push str.BUILD
call esi
lea eax, [ebp - 0x8d0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401284
sub eax, edx
sar eax, 1
je 0x4012b1
push 0x80
lea eax, [ebp - 0x8d0]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
mov edx, dword [ebp - 0x8e4]
push edx
push 0x200
lea eax, [ebp - 0x8d0]
push eax
push 0x45f664
push str.Date
push str.BUILD
call esi
lea eax, [ebp - 0x8d0]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4012e0
sub eax, edx
sar eax, 1
je 0x40139c
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x8d0]
push str._2s._2s._4s__2s:_2s:2s
push ecx
call dword [sym.imp.MSVCR100.dll_swscanf]
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x1d0]
push ecx
lea edx, [ebp - 0xd0]
push edx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x8e0]
push ecx
call fcn.0044dc3f
lea edx, [ebp - 0x8e0]
push edx
lea eax, [ebp - 0x4d0]
push 0x80
push eax
call fcn.0044dce9
add esp, 0x44
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x90]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x190]
push str._02s:_02s:_02s
push ecx
call dword [sym.imp.MSVCR100.dll__swprintf]
add esp, 0x14
mov eax, dword [ebp - 0x8e4]
lea edx, [ebp - 0x3d0]
push edx
push eax
call fcn.0044d296
lea ecx, [ebp - 0x190]
push ecx
lea edx, [ebp - 0x4d0]
push edx
lea eax, [ebp - 0x3d0]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x8e8]
push str.__11s__8s_Bytes___10s__s
push edx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov eax, dword [ebp - 0x8e8]
add esp, 0x20
push eax
mov eax, dword [edi + 0x74]
push 0x45f670
push edi
mov ecx, ebx
call fcn.00401a00
lea ecx, [ebp - 0x8e4]
mov esi, eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x8e8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004534b8
mov esp, ebp
pop ebp
ret