Function at 0x4614b9
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 0x468], ecx
xor edi, edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
test esi, esi
je 0x4617d6
cmp esi, ebx
je 0x4617d6
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0041f6cc
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x461556
mov eax, dword [section..data]
cmp eax, section..data
je 0x46180c
test byte [eax + 0x1c], 1
je 0x46180c
cmp byte [eax + 0x19], 2
jb 0x46180c
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
jmp 0x461801
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x461574
test al, 0x10
jne 0x461574
xor edi, edi
inc edi
jmp 0x46180c
mov esi, dword [ebp + 0x14]
cmp esi, 3
jae 0x46180c
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
inc esi
call fcn.0041f6cc
push 0x40ad94
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x4615e6
mov eax, dword [section..data]
cmp eax, section..data
je 0x46180c
test byte [eax + 0x1c], 1
je 0x46180c
cmp byte [eax + 0x19], 2
jb 0x46180c
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
jmp 0x461801
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x464], eax
cmp eax, 0xffffffff
je 0x46180c
test byte [ebp - 0x460], 0x10
je 0x46171f
mov edx, 0x40ecfc
lea ecx, [ebp - 0x434]
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x461647
test ax, ax
je 0x461643
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x461647
add ecx, 4
add edx, 4
test ax, ax
jne 0x461621
mov eax, edi
jmp 0x46164c
sbb eax, eax
or eax, 1
test eax, eax
je 0x461719
mov ecx, 0x40ed00
lea eax, [ebp - 0x434]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x461685
test dx, dx
je 0x461681
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x461685
add eax, 4
add ecx, 4
test dx, dx
jne 0x46165f
mov eax, edi
jmp 0x46168a
sbb eax, eax
or eax, 1
test eax, eax
je 0x461719
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0041f6cc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x4616f9
mov eax, dword [section..data]
cmp eax, section..data
je 0x4617c8
test byte [eax + 0x1c], 1
je 0x4617c8
cmp byte [eax + 0x19], 2
jb 0x4617c8
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x4617bd
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x210]
push esi
push 3
push eax
push ebx
call fcn.004614b9
mov edi, eax
test edi, edi
jne 0x4617c8
mov eax, dword [ebp - 0x464]
lea ecx, [ebp - 0x460]
push ecx
push eax
jmp 0x461786
test byte [ebp - 0x460], 0x10
je 0x461779
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.0041f6cc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x461792
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x210]
push esi
push 3
push eax
push ebx
call fcn.004614b9
mov edi, eax
test edi, edi
jne 0x4617c8
lea eax, [ebp - 0x460]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x461729
jmp 0x4617c8
mov eax, dword [section..data]
cmp eax, section..data
je 0x4617c8
test byte [eax + 0x1c], 1
je 0x4617c8
cmp byte [eax + 0x19], 2
jb 0x4617c8
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x27
mov edx, 0x40ed20
pop ecx
call fcn.004238e7
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x46180c
mov eax, dword [section..data]
cmp eax, section..data
je 0x46180c
test byte [eax + 0x1c], 1
je 0x46180c
cmp byte [eax + 0x19], 2
jb 0x46180c
call fcn.0042386b
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x23
mov edx, 0x40ed20
pop ecx
call fcn.004238e7
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret 0x10