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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5953a8
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x5f88c0]
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.00403230
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46db0f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403120
jmp 0x46dd24
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.0054d9f0
add esp, 0xc
push 0x5a4420
lea ecx, [ebp + 8]
call fcn.00403230
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 0x46db77
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403120
jmp 0x46dd24
lea ecx, [ebp - 0x688]
push ecx
mov edx, dword [ebp - 0x690]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x46dd08
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x65c]
cmp edx, 0x2e
jne 0x46dbaa
jmp 0x46db77
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0054d9f0
add esp, 0xc
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp + 8]
call fcn.00403230
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x688]
and eax, 0x10
je 0x46dc49
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0046d990
movzx ecx, al
test ecx, ecx
je 0x46dc22
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.0046d9c0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x69c], esp
lea edx, [ebp - 0x218]
push edx
call fcn.004031c0
mov ecx, dword [ebp - 0x68c]
call fcn.0046dab0
jmp 0x46dd03
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.004031c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x68c]
call fcn.0046dda0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00403120
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.0046d990
movzx edx, al
test edx, edx
je 0x46dd03
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.0046d9c0
jmp 0x46db77
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.00403120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054b289
mov esp, ebp
pop ebp
ret 0x18