Function at 0x41247f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f70b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
mov dword [ebp - 0x444], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00401ec0
push eax
push 0
push 0x42959c
push 0x4295a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
jne 0x4124f8
mov dword [ebp - 0x434], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x434]
jmp 0x412717
cmp dword [ebp - 0x428], 1
jne 0x412511
mov eax, dword [ebp - 0x444]
mov dword [eax + 0x5d0], 1
push 0x4295a8
push 0x4295b4
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x424]
push eax
call fcn.004179ff
add esp, 8
test eax, eax
jne 0x412569
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x438]
jmp 0x412717
lea ecx, [ebp - 0x42c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
mov dword [ebp - 0x21c], 1
jmp 0x4125a2
mov ecx, dword [ebp - 0x21c]
add ecx, 1
mov dword [ebp - 0x21c], ecx
mov edx, dword [ebp - 0x21c]
cmp edx, dword [ebp - 0x428]
jg 0x4126da
mov eax, dword [ebp - 0x21c]
push eax
push 0x4295b8
lea ecx, [ebp - 0x42c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00401ec0
push eax
push 0x104
lea edx, [ebp - 0x110]
push edx
push 0x4295c0
lea ecx, [ebp - 0x42c]
call fcn.00401ec0
push eax
push 0x4295c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp + 8]
call fcn.00401ec0
push eax
push 0x104
lea eax, [ebp - 0x320]
push eax
push 0x4295c8
push 0x4295d0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp + 8]
call fcn.00401ec0
push eax
push 0
push 0x4295e0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x320]
push eax
push 0x4295ec
lea ecx, [ebp - 0x114]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push 0x4295f0
lea edx, [ebp - 0x114]
push edx
call fcn.00412eb0
and eax, 0xff
test eax, eax
jne 0x412696
cmp dword [ebp - 0x430], 5
je 0x412696
cmp dword [ebp - 0x430], 2
jge 0x4126d5
mov dword [ebp - 0x43c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x43c]
jmp 0x412717
jmp 0x412593
mov dword [ebp - 0x440], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x42c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x440]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4