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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb618
mov eax, dword fs:[0]
push eax
sub esp, 0x690
mov eax, dword [0x6218c0]
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.00406a40
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x492fcf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406c10
jmp 0x4931e4
push 0x208
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.00572a00
add esp, 0xc
push 0x5ca438
lea ecx, [ebp + 8]
call fcn.00406a40
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 0x493037
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00406c10
jmp 0x4931e4
lea ecx, [ebp - 0x688]
push ecx
mov edx, dword [ebp - 0x690]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4931c8
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x65c]
cmp edx, 0x2e
jne 0x49306a
jmp 0x493037
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00572a00
add esp, 0xc
lea ecx, [ebp - 0x65c]
push ecx
lea ecx, [ebp + 8]
call fcn.00406a40
push eax
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp - 0x688]
and eax, 0x10
je 0x493109
mov ecx, dword [ebp - 0x68c]
add ecx, 0x18
call fcn.0041eb00
movzx ecx, al
test ecx, ecx
je 0x4930e2
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.00492e80
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x69c], esp
lea edx, [ebp - 0x218]
push edx
call fcn.00406cb0
mov ecx, dword [ebp - 0x68c]
call fcn.00492f70
jmp 0x4931c3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x438]
call fcn.00406cb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x68c]
call fcn.00493260
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x438]
call fcn.00406c10
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.0041eb00
movzx edx, al
test edx, edx
je 0x4931c3
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.00492e80
jmp 0x493037
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.00406c10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret 0x18