Function at 0x40a1e5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437971
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov dword [ebp - 0x12c], ecx
cmp dword [ebp + 8], 0
jne 0x40a234
mov dword [ebp - 0x118], 0
push 5
push 0x3fa
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40a257
mov dword [ebp - 0x118], 5
push 0
push 0x3fa
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov eax, dword [ebp - 0x118]
push eax
push 1
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [ebp - 0x118]
push ecx
push 2
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x104
lea edx, [ebp - 0x114]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0xffffffff
je 0x40a2fc
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
push 0x4485e4
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::Find
mov dword [ebp - 0x124], eax
jmp 0x40a2cb
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x130], eax
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x134], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x120]
call fcn.004355a4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call sub.MFC42.DLL_CString::CString
push 0x4485e8
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x120]
call fcn.004014c0
push eax
push 0
push 0x4485f4
push 0x4485fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40a419
mov ecx, dword [ebp - 0x118]
push ecx
push 0x411
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [ebp - 0x118]
push edx
push 0x3f7
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x40e
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x410
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x40f
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40a4a5
mov eax, dword [ebp - 0x118]
push eax
push 0x40e
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [ebp - 0x118]
push ecx
push 0x410
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [ebp - 0x118]
push edx
push 0x40f
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x411
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0x3f7
mov ecx, dword [ebp - 0x12c]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x105
push 0
push 0
mov ecx, dword [ebp - 0x12c]
call fcn.0040c300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4