Function at 0x42701f
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4d10b8
call fcn.004ca3a0
sub esp, 0x450
push ebx
push esi
push edi
mov edi, dword [sym.imp.MSVCRT.dll__itoa]
lea eax, [ebp - 0x5c]
mov esi, ecx
push 0xa
push eax
push dword [esi + 0x128]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
lea eax, [ebp - 0x5c]
push 0x4e0d88
push eax
push str.GroupRecord
push str.Group
call ebx
lea eax, [ebp - 0x5c]
push 0xa
push eax
push dword [esi + 0x124]
call edi
add esp, 0xc
lea eax, [ebp - 0x5c]
push 0x4e0d88
push eax
push str.ServerRecord
push str.Server
call ebx
xor edi, edi
push 0x64
push edi
push edi
push edi
push edi
push str.Sound_BtnClick.wav
call dword [sym.imp.NDSound.dll__DXPlaySound_24]
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov eax, dword [eax + 0x20]
lea ecx, [ebp - 0x10]
mov dword [esi + 0x2f3c], eax
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x1508]
push eax
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 8]
cmp eax, edi
jle 0x427368
cmp eax, 0x3f
jg 0x427368
lea eax, [esi + 0xe4]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
mov byte [ebp - 4], 1
call ebx
mov edx, dword [eax]
push str.French
mov ecx, eax
call dword [edx + 0x34]
push eax
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x427127
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x162c]
push eax
call sub.MFC42.DLL_CWnd::GetWindowTextA_1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 8]
cmp eax, edi
jle 0x42732f
push 0x3f
pop ecx
cmp eax, ecx
jg 0x42732f
mov al, byte [0x508900]
lea edi, [ebp - 0x25b]
mov byte [ebp - 0x25c], al
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x134]
lea ecx, [esi + 0xd4]
push eax
lea eax, [ebp - 0x25c]
push 0x100
push eax
lea edi, [esi + 0xc4]
push 0x508900
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4271ab
call ebx
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [edi]
push 0x10
push 0x2721
mov ecx, edi
call dword [eax + 0x3c]
push eax
mov eax, dword [ebx]
push 0x271c
jmp 0x42734d
mov ecx, esi
call fcn.004283ce
lea eax, [ebp - 0x25c]
mov ecx, esi
push eax
call fcn.004284aa
test al, al
jne 0x427188
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
push dword [esi + 0x124]
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push str.Port_u
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [esi + 0x134]
push 0
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x42723c
call ebx
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [edi]
push 0x10
push 0x2721
mov ecx, edi
call dword [eax + 0x3c]
push eax
mov eax, dword [ebx]
push 0x271c
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004ca08a
jmp 0x42735a
mov al, byte [0x508900]
push 0x3f
mov byte [ebp - 0x35c], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x35b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esi + 0xd4]
push eax
lea eax, [ebp - 0x35c]
push eax
call sub.MSVCRT.dll_strcpy
mov al, byte [0x508900]
pop ecx
pop ecx
mov byte [ebp - 0x45c], al
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0x45b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x35a]
push eax
lea eax, [ebp - 0x45c]
push str.Server_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov al, byte [0x508900]
add esp, 0xc
mov byte [ebp - 0x15c], al
xor eax, eax
push 0x3f
lea edi, [ebp - 0x15b]
pop ecx
rep stosd dword es:[edi], eax
push dword [esi + 0x134]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x15c]
push 0x100
push eax
lea eax, [ebp - 0x45c]
push 0x508900
push eax
lea eax, [esi + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x427200
lea eax, [ebp - 0x15c]
push eax
lea eax, [ebp - 0x25c]
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004925d5
lea eax, [ebp - 0x15c]
push eax
push 0x50f2f4
call sub.MSVCRT.dll_strcpy
add esp, 0x1c
mov ecx, esi
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x42722b
call ebx
mov edi, eax
call ebx
mov ebx, eax
mov eax, dword [edi]
push 0x10
push 0x2721
mov ecx, edi
call dword [eax + 0x3c]
push eax
mov eax, dword [ebx]
push 0x271e
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004ca08a
jmp 0x427399
mov edi, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call edi
mov ebx, eax
call edi
mov edi, eax
mov eax, dword [ebx]
push 0x10
push 0x2721
mov ecx, ebx
call dword [eax + 0x3c]
push eax
mov eax, dword [edi]
push 0x271d
mov ecx, edi
call dword [eax + 0x3c]
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004ca08a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret