Function at 0x41e6e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4b3561
push eax
mov eax, 0x1478
mov dword fs:[0], esp
call fcn.00421f40
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov dword [esp + 0x1490], 0
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp + 0x307bc]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x34]
push 0x400
push eax
push 0x52e3e8
push str.MainWndTitle
push str.General
mov byte [esp + 0x14a8], 1
call esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x14]
call fcn.00421980
push 0x50e7b8
lea ecx, [esp + 0x14]
call fcn.00421980
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
mov edx, dword [eax + 0x7c]
push edx
call fcn.00421980
mov eax, dword [ebp + 0x307bc]
push eax
lea eax, [esp + 0x34]
push 0x400
push eax
push 0x52e3e8
push str.MMID
push str.General
call esi
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.004215e4
mov ebx, dword [ebp + 0x30790]
xor esi, esi
test ebx, ebx
jbe 0x41e826
cmp esi, dword [ebp + 0x30790]
jge 0x41e7f1
test esi, esi
jl 0x41e7f1
mov eax, dword [ebp + 0x30788]
je 0x41e7f3
mov ecx, esi
mov eax, dword [eax]
dec ecx
jne 0x41e7ea
jmp 0x41e7f3
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x20]
push 0x50e7b8
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00421980
add edi, 0xc
lea ecx, [esp + 0x10]
push edi
call sub.MFC42.DLL_CString::operator_2
inc esi
cmp esi, ebx
jb 0x41e7d4
lea eax, [esp + 0x14]
push eax
call fcn.00417600
add esp, 4
lea ecx, [esp + 0x24]
push 4
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1498], 2
call sub.MFC42.DLL_CString::Left
mov edx, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov eax, dword [edx - 8]
lea ecx, [esp + 0x28]
push ecx
push eax
push edi
lea ecx, [esp + 0x20]
mov byte [esp + 0x149c], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea ecx, [esp + 0x43c]
call fcn.00462430
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [esp + 0x20]
mov eax, dword [edx - 8]
inc eax
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x440]
call fcn.00463470
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1494], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
push 4
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1494], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], 3
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x20]
push 4
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
mov eax, dword [esp + 0x10]
push edi
mov bl, 6
lea ecx, [esp + 0x14]
mov eax, dword [eax - 8]
mov byte [esp + 0x1494], bl
inc eax
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x440]
call fcn.00463470
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1494], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x18]
push 4
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x1494], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x1490], bl
call sub.MFC42.DLL_CString::CString
push 4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x1490], 9
je 0x41e9b5
mov ecx, eax
call sub.MFC42.DLL_CString::CString_4
mov esi, eax
jmp 0x41e9b7
xor esi, esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
push ecx
push 0x50f040
push str._s_mm_srandcode_s
push esi
mov byte [esp + 0x14a4], bl
call sub.MFC42.DLL_CString::Format_1
add esp, 0x14
push edi
push edi
push edi
push edi
push esi
push 0x41ea60
call sub.MFC42.DLL_AfxBeginThread
lea ecx, [esp + 0x20]
mov byte [esp + 0x1490], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x1490], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1490], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1490], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1490], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1488]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1484
ret