Function at 0x48bb80
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1420
call fcn.0056b140
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x1418], ax
push 0xffe
push 0
lea ecx, [ebp - 0x1416]
push ecx
call fcn.00568440
add esp, 0xc
xor edx, edx
mov word [ebp - 0x418], dx
push 0x40e
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00568440
add esp, 0xc
push 0x800
push 0
lea ecx, [ebp - 0x1418]
push ecx
call fcn.00568440
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x7ff
lea eax, [ebp - 0x1418]
push eax
push 0x59f7e4
push str.port_w_list_file
push 0x59f80c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x48bd00
push 0x207
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00568440
add esp, 0xc
push 0x207
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x2f
lea edx, [ebp - 0x1418]
push edx
call fcn.0040b300
add esp, 8
test eax, eax
jne 0x48bc87
push 0x5c
lea eax, [ebp - 0x1418]
push eax
call fcn.0040b300
add esp, 8
test eax, eax
je 0x48bcdb
lea ecx, [ebp - 0x1418]
push ecx
mov ecx, 0x641410
call fcn.0040e620
lea edx, [ebp - 0x1418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48bcd9
push 0x59f81c
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x418]
push edx
mov ecx, 0x641410
call fcn.0040e620
jmp 0x48bd00
lea eax, [ebp - 0x1418]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x418]
push edx
mov ecx, 0x641410
call fcn.0040e620
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x141c], esp
push 0x641410
call fcn.00408070
mov dword [ebp - 0x1420], eax
call fcn.0048b860
add esp, 0x1c
push 0x800
push 0
lea eax, [ebp - 0x1418]
push eax
call fcn.00568440
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push 0x7ff
lea edx, [ebp - 0x1418]
push edx
push 0x59f83c
push str.cnnt_w_list_file
push str.net_mon
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x48be47
push 0x207
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00568440
add esp, 0xc
push 0x207
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x2f
lea ecx, [ebp - 0x1418]
push ecx
call fcn.0040b300
add esp, 8
test eax, eax
jne 0x48bdce
push 0x5c
lea edx, [ebp - 0x1418]
push edx
call fcn.0040b300
add esp, 8
test eax, eax
je 0x48be22
lea eax, [ebp - 0x1418]
push eax
mov ecx, 0x6413bc
call fcn.0040e620
lea ecx, [ebp - 0x1418]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x1418]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48be20
push 0x59f874
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x418]
push ecx
mov ecx, 0x6413bc
call fcn.0040e620
jmp 0x48be47
lea edx, [ebp - 0x1418]
push edx
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x418]
push ecx
mov ecx, 0x6413bc
call fcn.0040e620
call fcn.0048b720
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret