Function at 0x1008b5dd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100999b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.Ufxtwl.dll_Ordinal_170
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov eax, dword [ebp + 0xc]
push eax
push str.Menu_d
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.10002700
push eax
push 0x80
push 0x80
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x100c4508
lea edx, [ebp - 0x2c]
push edx
push str.Favorite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CString::Empty
cmp dword [ebp - 0x14], 0
jg 0x1008b6c9
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Empty
jmp 0x1008b8d2
push 0x2c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1008b8d2
mov eax, dword [ebp - 0x3c]
add eax, 1
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x34]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.100947c2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.100947c2
cmp dword [ebp - 0x3c], 0x80
jge 0x1008b76a
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x88], edx
jmp 0x1008b774
mov dword [ebp - 0x88], 0x80
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x10]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.100947c2
push 0x2c
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jl 0x1008b872
mov ecx, dword [ebp - 0x3c]
add ecx, 1
push ecx
lea edx, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x38]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.100947c2
cmp dword [ebp - 0x3c], 0xa
jge 0x1008b824
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], edx
jmp 0x1008b82e
mov dword [ebp - 0x9c], 0xa
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x34]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.100947c2
push 0x22
push 0
lea ecx, [ebp - 0x60]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x54], ecx
push 0
lea ecx, [ebp - 0x34]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
movsx edx, ax
mov dword [ebp - 0x60], edx
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x60]
push eax
call sym.UfxTools.dll_Ordinal_2223
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.100947c2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.100947c2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100947c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100947c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret