Function at 0x404fd3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push esi
mov dword [ebp - 0x19c], ecx
push 0x447f50
lea eax, [ebp - 0x178]
push eax
mov ecx, dword [ebp - 0x19c]
call fcn.0042760b
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1a4]
push edx
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x178]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
call fcn.004014c0
push eax
push 0
push 0x447f5c
push 0x447f64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
jne 0x405095
mov dword [ebp - 0x17c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x17c]
jmp 0x40550a
lea ecx, [ebp - 0x10]
call fcn.004014c0
push eax
push 0x104
lea ecx, [ebp - 0x14c]
push ecx
push 0x44e7a8
push 0x447f68
push 0x447f7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
mov dword [ebp - 0x15c], 0
push 0x447f80
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x48]
call fcn.004014c0
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jge 0x40514b
mov dword [ebp - 0x180], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x180]
jmp 0x40550a
mov eax, dword [ebp - 0x15c]
push eax
push 0x447f90
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 5
cmp dword [ebp - 0x44], 0xffffffff
jne 0x4051eb
lea ecx, [ebp - 0x40]
call fcn.00404470
mov esi, eax
sub esi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x48]
call fcn.00404470
sub esi, eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00404470
mov ecx, dword [ebp - 0x15c]
add ecx, eax
push ecx
lea edx, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1ac]
push ecx
lea ecx, [ebp - 0x150]
call fcn.004355a4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CString::CString
jmp 0x405256
mov esi, dword [ebp - 0x44]
sub esi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x48]
call fcn.00404470
sub esi, eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00404470
mov edx, dword [ebp - 0x15c]
add edx, eax
push edx
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1b4]
push edx
lea ecx, [ebp - 0x150]
call fcn.004355a4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x188]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 8
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x19c]
call fcn.00430964
and eax, 0xff
test eax, eax
jne 0x405296
push 0x447f94
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::operator_2
jmp 0x4052a5
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::MakeUpper
push 0x447f9c
lea eax, [ebp - 0x150]
push eax
call fcn.00408f60
and eax, 0xff
test eax, eax
je 0x40533a
mov dword [ebp - 0x18c], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18c]
jmp 0x40550a
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.00408f00
and eax, 0xff
test eax, eax
je 0x4053b0
mov dword [ebp - 0x190], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x190]
jmp 0x40550a
push 0xa
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CStringList::CStringList
mov byte [ebp - 4], 9
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x19c]
call fcn.00404e59
lea ecx, [ebp - 0x2c]
call fcn.00408ad0
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x4054a9
lea ecx, [ebp - 0x160]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00408af0
push eax
lea ecx, [ebp - 0x174]
call fcn.004355ce
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x150]
push edx
lea eax, [ebp - 0x174]
push eax
call fcn.00408f00
and eax, 0xff
test eax, eax
je 0x405495
mov dword [ebp - 0x194], 1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x174]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00435682
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x194]
jmp 0x40550a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x174]
call sub.MFC42.DLL_CString::CString
jmp 0x4053db
mov dword [ebp - 0x198], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.00435682
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x198]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret