Function at 0x1002e1a8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004499d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
mov dword [ebp - 0x338], ecx
call fcn.10024450
mov eax, dword [eax + 0x90]
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea ecx, [ebp - 0x32c]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x33c], eax
mov edx, dword [ebp - 0x33c]
mov dword [ebp - 0x340], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x340]
push eax
lea ecx, [ebp - 0x14]
call fcn.1004126a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x32c]
call fcn.100411da
push 0x5c
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReverseFind
push eax
lea ecx, [ebp - 0x330]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x344], eax
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x348], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x348]
push eax
lea ecx, [ebp - 0x14]
call fcn.1004126a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x330]
call fcn.100411da
mov ecx, dword [ebp - 0x338]
mov edx, dword [ecx + 0x60]
mov eax, dword [edx + 0x48]
add eax, 0x14
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x14]
call fcn.1000ab00
sub eax, 3
push eax
lea ecx, [ebp - 0x334]
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x34c], eax
mov edx, dword [ebp - 0x34c]
mov dword [ebp - 0x350], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x350]
push eax
lea ecx, [ebp - 0x14]
call fcn.1004126a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x334]
call fcn.100411da
push 0x100510dc
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
push 0x104
push 0
lea ecx, [ebp - 0x220]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
lea edx, [ebp - 0x328]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.10027650
push eax
push 0x104
lea ecx, [ebp - 0x220]
push ecx
push 0x100510e0
push 0x100510e4
push 0x100510f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.10027650
push eax
push 0x104
lea edx, [ebp - 0x328]
push edx
push 0x100510f8
push 0x100510fc
push 0x10051108
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.10027650
push eax
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0x10051110
push 0x10051114
push 0x10051118
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x3ea
mov ecx, dword [ebp - 0x338]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x10], eax
push 0x3ec
mov ecx, dword [ebp - 0x338]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x224], eax
push 0x3ee
mov ecx, dword [ebp - 0x338]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x18], eax
push 0x10051120
lea ecx, [ebp - 0x220]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x1002e41a
mov edx, dword [ebp - 0x338]
mov dword [edx + 0x64], 0
jmp 0x1002e440
mov eax, dword [ebp - 0x338]
mov dword [eax + 0x64], 1
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov edx, dword [ebp - 0x338]
mov dword [edx + 0x74], eax
push 0x10051124
lea eax, [ebp - 0x328]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x1002e467
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x6c], 0
jmp 0x1002e48d
mov edx, dword [ebp - 0x338]
mov dword [edx + 0x6c], 1
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x78], eax
push 0x10051128
lea edx, [ebp - 0x11c]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x1002e4b4
mov eax, dword [ebp - 0x338]
mov dword [eax + 0x68], 0
jmp 0x1002e4dd
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x68], 1
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
sub eax, 3
mov ecx, dword [ebp - 0x338]
mov dword [ecx + 0x70], eax
push 0
mov ecx, dword [ebp - 0x338]
call sub.MFC42.DLL_CWnd::UpdateData
mov edx, dword [ebp - 0x338]
mov eax, dword [edx + 0x64]
push eax
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [ebp - 0x338]
mov edx, dword [ecx + 0x6c]
push edx
mov ecx, dword [ebp - 0x224]
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 0x68]
push ecx
mov ecx, dword [ebp - 0x18]
call sub.MFC42.DLL_CWnd::EnableWindow
push 1
mov ecx, dword [ebp - 0x338]
call sub.MFC42.DLL_CWnd::UpdateData
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100411da
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret