Function at 0x43323d
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4c33d4
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x164
push esi
lea eax, [ebp - 0x14]
push edi
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
and dword [ebp - 4], 0
mov dword [esp], str.loginsl.dat
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MFC42.DLL_operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x20]
push 0
push str.ServerCount
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, str.server
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 6
mov dword [ebp - 0x14], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x69]
push 1
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
pop eax
cmp dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
jl 0x43344c
mov esi, dword [ebp + 8]
push ebx
lea eax, [ebp - 0x6a]
push 0xa
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea eax, [ebp - 0x170]
mov edi, 0x4d5034
push dword [ebp - 0x20]
push 0x100
push eax
lea eax, [ebp - 0x70]
push edi
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
and byte [ebp - 0x71], 0
cmp byte [ebp - 0x170], 0
je 0x43343c
lea eax, [ebp - 0x170]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_1
push edi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_1
push 0x3a
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::Find_1
mov edi, eax
cmp edi, 0xffffffff
jne 0x433345
lea eax, [ebp - 0x10]
lea ecx, [ebp + 8]
push eax
call sub.MFC42.DLL_CString::operator
mov dword [ebp - 0x18], 0x1f40
jmp 0x433396
lea eax, [ebp - 0x28]
push edi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
inc edi
lea eax, [ebp - 0x24]
push edi
push eax
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::Mid
push dword [ebp - 0x24]
mov byte [ebp - 4], 6
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
xor ebx, ebx
xor edi, edi
cmp dword [esi + 8], ebx
jle 0x4333cf
mov eax, dword [esi + 4]
push dword [ebx + eax + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4333c6
movzx ecx, word [ebp - 0x18]
mov eax, dword [esi + 4]
cmp ecx, dword [ebx + eax + 0x10]
je 0x433468
inc edi
add ebx, 0x14
cmp edi, dword [esi + 8]
jl 0x43339f
lea ecx, [ebp - 0x3c]
call fcn.004334b5
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 9
mov dword [ebp - 0x34], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 1
call sub.MFC42.DLL_CString::operator
movzx edi, word [ebp - 0x18]
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
mov dword [ebp - 0x2c], edi
call fcn.00434bd1
push edi
push dword [ebp + 8]
push eax
push 0x512944
call fcn.0040c822
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4332ba
pop ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 0xc
movzx eax, word [ebp - 0x18]
push eax
push dword [ebp + 8]
push edi
push 0x512900
call fcn.0040c822
mov ecx, dword [esi + 4]
lea eax, [edi + edi*4]
add esp, 0x10
lea eax, [ecx + eax*4]
lea ecx, [ebp - 0x50]
push eax
call fcn.00433504
push 1
push edi
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00434ca9
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
call fcn.00434bd1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
jmp 0x43341f