Function at 0x4188d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2a7a
push eax
mov eax, dword [0x4dc5f0]
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax - 8]
xor ebp, ebp
cmp ecx, ebp
push edi
mov ebx, 1
je 0x418924
mov ecx, 0x4dc5f0
call fcn.0043ab40
test eax, eax
je 0x418924
mov ecx, 0x4dc5f0
call fcn.0043abb0
mov dword [esi + 0x258], eax
jmp 0x4189dc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebp
call sub.MFC42.DLL_CString::CString_5
push ebp
push str.Path
lea ecx, [esp + 0x20]
push 0x4db968
push ecx
mov ecx, esi
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x14]
push 0x4d6d10
lea eax, [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push ecx
push ebp
push str.Launch
push str.OurFriend
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x10]
mov dword [esi + 0x258], eax
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x60c]
cmp eax, ebp
jle 0x418a1f
cmp ebp, eax
jl 0x4189ee
xor edi, edi
jmp 0x4189f7
mov edx, dword [esi + 0x610]
mov edi, dword [edx + ebp*4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x58]
test eax, eax
je 0x418a14
cmp dword [edi + 0x60], ebx
je 0x418a14
push 0
push 0
push ebx
push edi
mov ecx, esi
call fcn.00414dd0
mov eax, dword [esi + 0x60c]
inc ebp
cmp ebp, eax
jl 0x4189ee
push 0
push ebx
push str.EnterWhenDblGame
push str.Settings
mov ecx, esi
call fcn.00414010
mov edi, dword [esi + 0x20]
mov dword [esi + 0x6a8], eax
test edi, edi
je 0x418afe
mov ecx, edi
call fcn.0042f4d0
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x64c]
push edx
call fcn.00443390
mov edx, dword [esi + 0x258]
add esp, 4
test edx, edx
setne al
push eax
mov ecx, edi
call fcn.00433c90
mov ecx, edi
call fcn.00433cf0
mov eax, dword [esi + 0x258]
test eax, eax
je 0x418af7
mov eax, dword [esi + 0x25c]
test eax, eax
jne 0x418af7
push 0xec
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x28], 4
je 0x418ac1
mov ecx, eax
call fcn.0040c530
jmp 0x418ac3
xor eax, eax
test eax, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0x25c], eax
je 0x418af7
mov ecx, dword [sym.imp.MFC42.DLL_CRectconstCFrameWnd::rectDefault]
push 0
push 0
push 0
push 0
push ecx
push 0xcf0000
push str.switch_window
push 0
mov ecx, eax
call sub.MFC42.DLL_CFrameWnd::Create
mov ecx, edi
call fcn.00438570
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret