Function at 0x40f360
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x424ea6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
lea edi, [ebp + 0x1e14]
push str.User
lea eax, [esp + 0x54]
push edi
push eax
mov dword [esp + 0x384], 0
call sub.MFC42.DLL_operator
push 0x43012c
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x384], 1
call sub.MFC42.DLL_operator
push str.EZNet41.ini
lea edx, [esp + 0x24]
push eax
push edx
mov byte [esp + 0x384], 2
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x3c]
mov byte [esp + 0x378], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x378], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x40f49a
push str.Data
lea ecx, [esp + 0x20]
push edi
push ecx
call sub.MFC42.DLL_operator
push 0x43012c
lea edx, [esp + 0x18]
mov bl, 6
push eax
push edx
mov byte [esp + 0x384], bl
call sub.MFC42.DLL_operator
push str.EZNet41.ini
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x380], 7
push eax
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x37c], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x378], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x378], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x270]
push ecx
push 0xff
push edx
push 0x430138
push str.save
push str.Extra
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, 0x430138
lea eax, [esp + 0x270]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40f4f5
test cl, cl
je 0x40f4f1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40f4f5
add eax, 2
add esi, 2
test cl, cl
jne 0x40f4cd
xor eax, eax
jmp 0x40f4fa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40f8ea
push 0x408
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0xf1
push eax
call ebx
push str.User
lea ecx, [esp + 0x18]
push edi
push ecx
call sub.MFC42.DLL_operator
push str.User.ini
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x384], 9
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push eax
lea eax, [esp + 0x74]
push 0xff
push eax
push 0x430164
push 0x430160
push str.UserInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x378], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x24], 1
jle 0x40f5c0
mov esi, eax
mov edx, dword [ebp + 0x5d78]
push 0
push 0
push 0x144
push edx
call ebx
dec esi
jne 0x40f5a7
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, 1
jl 0x40f8a9
mov ebx, 0xa
lea ecx, [esp + 0x14]
call fcn.00422340
push esi
lea eax, [esp + 0x18]
push 0x43013c
push eax
mov byte [esp + 0x384], bl
call sub.MFC42.DLL_CString::Format
add esp, 0xc
inc esi
lea ecx, [esp + 0x170]
push esi
push str.item_d
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x4c]
push str.User
push edi
push edx
call sub.MFC42.DLL_operator
push str.User.ini
push eax
lea eax, [esp + 0x3c]
mov byte [esp + 0x380], 0xb
push eax
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x70]
push eax
push 0xff
push ecx
lea edx, [esp + 0x17c]
push 0x4333dc
push edx
push str.UserOrder
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x378], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, ecx
jne 0x40f882
push str.User
lea ecx, [esp + 0x4c]
push edi
push ecx
call sub.MFC42.DLL_operator
push str.User.ini
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x384], 0xc
call sub.MFC42.DLL_operator
mov eax, dword [eax]
lea ecx, [esp + 0x170]
push eax
lea eax, [esp + 0x74]
push 0xff
push eax
push 0x4333dc
push ecx
push str.UserInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x378], bl
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x70]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x380], 0xd
call fcn.0040f120
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x44]
mov byte [esp + 0x378], 0xd
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp eax, ebx
jle 0x40f7a2
lea eax, [esp + 0x30]
push 7
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x30]
push 0x431f18
push ecx
mov byte [esp + 0x384], 0xf
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x378], 0xf
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x378], 0xd
lea ecx, [esp + 0x30]
jmp 0x40f849
cmp eax, 3
jle 0x40f84e
lea edx, [esp + 0x10]
lea ecx, [esp + 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x378], 0x11
call sub.MFC42.DLL_CString::MakeUpper
mov eax, dword [esp + 0x1c]
push str.GUEST
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x40f83d
lea ecx, [esp + 0x40]
push 3
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push 0x431f18
lea edx, [esp + 0x3c]
push eax
push edx
mov byte [esp + 0x384], 0x12
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x37c], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x38]
mov byte [esp + 0x378], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x378], 0x11
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x378], 0xd
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x5d78]
push eax
push 0
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x10]
inc eax
xor esi, esi
mov dword [esp + 0x24], eax
mov byte [esp + 0x378], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x378], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
cmp eax, edx
jle 0x40f5d0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x7d4
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x146
push eax
call ebx
test eax, eax
jle 0x40f8e3
push 0x7d4
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, dword [eax + 0x20]
push 0
push 0
push 0x14e
push ecx
call ebx
push 0x3eb
jmp 0x40f8ef
push 0x7d4
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
lea ecx, [esp + 0x20]
mov byte [esp + 0x378], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x378], 0xffffffff
call fcn.004222f8
mov ecx, dword [esp + 0x370]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x36c
ret