Function at 0x4252b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f9888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x14]
mov ecx, 0x53a920
push eax
mov byte [esp + 0x48], 2
call fcn.004d39c0
push str.client.ini
lea ecx, [esp + 0x18]
call fcn.004f668e
mov ecx, dword [esp + 0x14]
push 0x52a5f4
push ecx
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
cmp ebx, esi
jne 0x4253db
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov bl, 3
push 0x9d25
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::LoadStringA
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push str.client
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call fcn.004f6400
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
push esi
push 0x30
push ecx
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov eax, dword [ebp + 0x9c]
lea edx, [esp + 0x30]
push 0xa
push edx
push eax
call dword [sym.imp.MSVCRT.dll__itoa]
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x18]
push ecx
push str.number_of_client___s_n
push edx
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x24]
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_fputs]
add esp, 0x20
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 0x9c]
mov byte [esp + 0x44], 5
cmp eax, esi
jle 0x4254ed
push edi
lea ecx, [esp + 0x34]
lea edi, [esi + 1]
push 0xa
push ecx
push edi
call dword [sym.imp.MSVCRT.dll__itoa]
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push edx
push str._s_
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x18
lea ecx, [esp + 0x30]
push 0
push esi
push ecx
lea ecx, [ebp + 0xe8]
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea edx, [esp + 0x20]
lea eax, [esp + 0x30]
push edx
push eax
mov byte [esp + 0x54], 6
call sub.MFC42.DLL_operator
push 0x52a5c8
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 8
call fcn.004f6400
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
push ebx
push edx
call dword [sym.imp.MSVCRT.dll_fputs]
mov eax, dword [ebp + 0x9c]
mov esi, edi
add esp, 8
cmp esi, eax
jl 0x42542f
pop edi
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret