Function at 0x4420e2
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 [0x46a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
mov dword [ebp - 0x468], ecx
xor edi, edi
mov dword [ebp - 0x464], eax
or ebx, 0xffffffff
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
test esi, esi
je 0x4423fa
cmp esi, dword [ebp - 0x464]
je 0x4423fa
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00414563
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push esi
push eax
call ebx
test eax, eax
jne 0x442199
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x44243c
test byte [eax + 0x1c], 1
je 0x44243c
cmp byte [eax + 0x19], 2
jb 0x44243c
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x23
mov edx, 0x4077c4
pop ecx
call fcn.004110b1
jmp 0x44243c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4421b7
test al, 0x10
jne 0x4421b7
xor edi, edi
inc edi
jmp 0x44243c
mov esi, dword [ebp + 0x14]
cmp esi, dword [ebp + 0x10]
jae 0x44243c
push dword [ebp + 0xc]
inc esi
lea ecx, [ebp - 0x210]
mov edx, 0x104
mov dword [ebp + 0x14], esi
call fcn.00414563
push 0x4044f8
lea eax, [ebp - 0x210]
push eax
call ebx
test eax, eax
jne 0x442228
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x44243c
test byte [eax + 0x1c], 1
je 0x44243c
cmp byte [eax + 0x19], 2
jb 0x44243c
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x24
jmp 0x442189
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44243c
test byte [ebp - 0x460], 0x10
je 0x44235d
mov ecx, 0x40779c
lea eax, [ebp - 0x434]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x442285
test dx, dx
je 0x442281
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x442285
add eax, 4
add ecx, 4
test dx, dx
jne 0x44225f
mov eax, edi
jmp 0x44228a
sbb eax, eax
or eax, 1
test eax, eax
je 0x44235d
mov ecx, 0x4077a0
lea eax, [ebp - 0x434]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4422c3
test dx, dx
je 0x4422bf
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4422c3
add eax, 4
add ecx, 4
test dx, dx
jne 0x44229d
mov eax, edi
jmp 0x4422c8
sbb eax, eax
or eax, 1
test eax, eax
je 0x44235d
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00414563
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x442337
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x442430
test byte [eax + 0x1c], 1
je 0x442430
cmp byte [eax + 0x19], 2
jb 0x442430
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x25
jmp 0x442425
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x210]
push esi
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x464]
call fcn.004420e2
mov edi, eax
test edi, edi
jne 0x442430
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x4423bd
test byte [ebp - 0x460], 0x10
je 0x4423bd
push dword [ebp + 0xc]
mov edx, 0x104
lea ecx, [ebp - 0x210]
call fcn.00414563
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4423cd
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x468]
lea eax, [ebp - 0x210]
push dword [ebp + 0x10]
push eax
push dword [ebp - 0x464]
call fcn.004420e2
mov edi, eax
test edi, edi
jne 0x442430
lea eax, [ebp - 0x460]
push eax
push ebx
call esi
test eax, eax
jne 0x442365
jmp 0x442430
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x442430
test byte [eax + 0x1c], 1
je 0x442430
cmp byte [eax + 0x19], 2
jb 0x442430
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x26
jmp 0x442425
mov eax, dword [0x46a020]
cmp eax, 0x46a020
je 0x44243c
test byte [eax + 0x1c], 1
je 0x44243c
cmp byte [eax + 0x19], 2
jb 0x44243c
call fcn.00411040
push eax
mov eax, dword [0x46a020]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x22
mov edx, 0x4077c4
pop ecx
call fcn.004110b1
cmp ebx, 0xffffffff
je 0x44243c
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468719
mov esp, ebp
pop ebp
ret 0x10