Function at 0x480d10
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff058
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x53e200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68c], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004064a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x480d6f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406380
jmp 0x480f84
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004c8420
add esp, 0xc
push 0x506cbc
lea ecx, [ebp + 8]
call fcn.004064a0
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x688]
push edx
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x690], eax
cmp dword [ebp - 0x690], 0xffffffff
jne 0x480dd7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406380
jmp 0x480f84
lea ecx, [ebp - 0x688]
push ecx
mov edx, dword [ebp - 0x690]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x480f68
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x65c]
cmp edx, 0x2e
jne 0x480e0a
jmp 0x480dd7
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004c8420
add esp, 0xc
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp + 8]
call fcn.004064a0
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x688]
and eax, 0x10
je 0x480ea9
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0041dd30
movzx ecx, al
test ecx, ecx
je 0x480e82
mov edx, dword [ebp - 0x68c]
mov eax, dword [edx + 0x40]
push eax
push 1
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.00480c20
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x69c], esp
lea edx, [ebp - 0x218]
push edx
call fcn.00406420
mov ecx, dword [ebp - 0x68c]
call fcn.00480d10
jmp 0x480f63
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00406420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x68c]
call fcn.004810e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00406380
imul edx, dword [ebp - 0x66c], 0
add edx, dword [ebp - 0x668]
xor eax, eax
mov dword [ebp - 0x698], edx
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x68c]
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 0x698]
mov eax, dword [ecx + 0x14]
adc eax, dword [ebp - 0x694]
mov ecx, dword [ebp - 0x68c]
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0041dd30
movzx edx, al
test edx, edx
je 0x480f63
mov eax, dword [ebp - 0x68c]
mov ecx, dword [eax + 0x40]
push ecx
push 0
mov edx, dword [ebp - 0x694]
push edx
mov eax, dword [ebp - 0x698]
push eax
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.00480c20
jmp 0x480dd7
mov edx, dword [ebp - 0x690]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c626c
mov esp, ebp
pop ebp
ret 0x18