Function at 0x1008b1f2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10099957
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
push 0x104
push 0x104
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.Ufxtwl.dll_Ordinal_170
add esp, 8
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 1
mov ecx, dword [ebp + 8]
call fcn.1008ba10
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.1008b9c0
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], 0
je 0x1008b2ac
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x34], eax
push 0x100bea90
push 0xd050
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
jmp 0x1008b2ff
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMenu]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
sub eax, 2
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], 0
jmp 0x1008b2e2
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0xa
jge 0x1008b2ff
push 0
mov eax, dword [ebp - 0x50]
add eax, 0xd051
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x1008b2d9
mov dword [ebp - 0x30], 0
jmp 0x1008b311
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0xa
jge 0x1008b56d
mov eax, dword [ebp - 0x30]
push eax
push 0x100beaa8
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.10002700
push eax
push 0x80
push 0x80
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x100c4504
lea edx, [ebp - 0x2c]
push edx
push 0x100beab0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x54], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CString::Empty
cmp dword [ebp - 0x54], 0
jg 0x1008b389
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Empty
jmp 0x1008b568
push 0x2c
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1008b568
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x74], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.100947c2
mov ecx, dword [ebp - 0x58]
add ecx, 1
push ecx
lea edx, [ebp - 0x60]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.100947c2
cmp dword [ebp - 0x58], 0x80
jge 0x1008b421
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x80], edx
jmp 0x1008b428
mov dword [ebp - 0x80], 0x80
mov eax, dword [ebp - 0x80]
push eax
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x88]
push eax
lea ecx, [ebp - 0x10]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.100947c2
push 0x2c
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x1008b523
mov ecx, dword [ebp - 0x58]
add ecx, 1
push ecx
lea edx, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::Mid
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.100947c2
cmp dword [ebp - 0x58], 0xa
jge 0x1008b4d5
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x94], edx
jmp 0x1008b4df
mov dword [ebp - 0x94], 0xa
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x44]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x98], eax
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x44]
call fcn.10094804
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6c]
call fcn.100947c2
cmp dword [ebp - 0x38], 0
je 0x1008b549
cmp dword [ebp + 0xc], 0
je 0x1008b549
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x48]
call fcn.10002700
push eax
mov edx, dword [ebp - 0x30]
add edx, 0xd051
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
jmp 0x1008b308
cmp dword [ebp + 0xc], 0
je 0x1008b590
push 0x100beabc
mov ecx, dword [ebp - 0x34]
push ecx
push 0x410
mov edx, dword [ebp - 0x14]
sub edx, 1
push edx
mov ecx, dword [ebp - 0x40]
call fcn.1008b9e0
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
call fcn.1008ba30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.100947c2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.100947c2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100947c2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.100947c2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret