Function at 0x4effcf
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b6299
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1af4
call fcn.005a41d0
mov eax, dword [0x61dc40]
xor eax, esp
mov dword [esp + 0x1af0], eax
push ebx
push esi
push edi
mov eax, dword [0x61dc40]
xor eax, esp
push eax
lea eax, [esp + 0x1b08]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
cmp eax, ebx
je 0x4f00c0
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x4f00c0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f00c0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4f00c0
xor eax, eax
mov edi, 0x206
push edi
mov word [esp + 0x8b0], ax
lea eax, [esp + 0x8b2]
push ebx
push eax
call fcn.00596530
add esp, 0xc
push 0x5ee4c8
push esi
lea eax, [esp + 0x8b4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x24c
lea eax, [esp + 0x4c]
push ebx
push eax
mov dword [esp + 0x50], ebx
call fcn.00596530
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x8b0]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x4f00ec
xor eax, eax
mov ecx, dword [esp + 0x1b08]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1af0]
xor ecx, esp
call fcn.0058f3cf
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x70]
push 0x5e23ec
push eax
call fcn.0058f69a
pop ecx
pop ecx
test eax, eax
je 0x4f02cf
lea eax, [esp + 0x70]
push 0x5ed394
push eax
call fcn.0058f69a
pop ecx
pop ecx
test eax, eax
je 0x4f02cf
xor eax, eax
push edi
mov word [esp + 0x298], ax
lea eax, [esp + 0x29a]
push ebx
push eax
call fcn.00596530
add esp, 0xc
lea eax, [esp + 0x70]
push eax
push esi
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test byte [esp + 0x44], 0x10
lea eax, [esp + 0x294]
je 0x4f0173
push dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x1c]
push eax
call fcn.004effcf
jmp 0x4f02cf
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
cmp eax, ebx
je 0x4f02cf
push dword [esp + 0x18]
push eax
call fcn.0058f69a
pop ecx
pop ecx
test eax, eax
jne 0x4f02cf
push edi
mov word [esp + 0x4a0], ax
lea eax, [esp + 0x4a2]
push ebx
push eax
call fcn.00596530
add esp, 0xc
lea eax, [esp + 0x294]
push eax
push str._s:favicon
mov esi, 0x103
lea eax, [esp + 0x4a4]
push esi
push eax
call fcn.0058f42f
add esp, 0x10
lea eax, [esp + 0x49c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f02cf
xor eax, eax
push 0x1046
mov word [esp + 0xab8], ax
lea eax, [esp + 0xaba]
push ebx
push eax
call fcn.00596530
add esp, 0xc
lea eax, [esp + 0x294]
push eax
push 0x824
lea eax, [esp + 0xabc]
push eax
push 0x5d0be4
push 0x5ec2f0
push 0x5ec2f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0xab4], bx
je 0x4f02cf
xor eax, eax
push edi
mov word [esp + 0x6a8], ax
lea eax, [esp + 0x6aa]
push ebx
push eax
call fcn.00596530
add esp, 0xc
push ebx
push 2
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x6b0]
push eax
lea eax, [esp + 0xac4]
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jl 0x4f02cf
cmp word [esp + 0x6a4], bx
je 0x4f02cf
lea eax, [esp + 0x6a4]
push eax
lea esi, [esp + 0x2c]
call fcn.0040863b
mov eax, esi
push eax
push dword [esp + 0x18]
mov dword [esp + 0x1b18], ebx
call fcn.0046dbab
lea ecx, [esp + 0x49c]
push ecx
push eax
call fcn.0040878d
or dword [esp + 0x1b10], 0xffffffff
push ebx
push 1
call fcn.00404eaf
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4f00e8
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
inc eax
jmp 0x4f00c2