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

Disassembly:
push 0x798
mov eax, 0x10041c99
call fcn.10021f0e
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x74c], ecx
mov dword [ebp - 0x750], eax
mov dword [ebp - 0x754], esi
cmp esi, ebx
je 0x10006cfc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10006cfc
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x10006cfc
push esi
lea esi, [ebp - 0x480]
call fcn.1000763c
mov eax, esi
push eax
lea eax, [ebp - 0x49c]
push eax
mov dword [ebp - 4], ebx
call fcn.1000718b
cmp dword [eax + 0x14], 8
pop ecx
pop ecx
jb 0x10006a1c
mov eax, dword [eax]
lea ecx, [ebp - 0x744]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 1
xor edi, edi
lea esi, [ebp - 0x49c]
mov dword [ebp - 0x748], eax
call fcn.10003078
cmp dword [ebp - 0x748], 0xffffffff
je 0x10006ced
lea eax, [ebp - 0x718]
mov ecx, 0x1004b568
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10006a7d
cmp dx, bx
je 0x10006a79
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10006a7d
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x10006a57
xor eax, eax
jmp 0x10006a82
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10006cc6
lea eax, [ebp - 0x718]
mov ecx, 0x1004b56c
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10006abb
cmp dx, bx
je 0x10006ab7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10006abb
add ecx, 4
add eax, 4
cmp dx, bx
jne 0x10006a95
xor eax, eax
jmp 0x10006ac0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x10006cc6
push 0x3ff
lea eax, [ebp - 0x453]
push ebx
push eax
mov byte [ebp - 0x454], bl
call fcn.10024270
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x718]
push eax
call fcn.10005214
push str.FileElement
lea eax, [ebp - 0x7a4]
push eax
call fcn.1000d645
lea eax, [ebp - 0x454]
push eax
push 0x1004b37c
lea eax, [ebp - 0x7a4]
mov byte [ebp - 4], 1
call fcn.1000d727
test byte [ebp - 0x744], 0x10
lea eax, [ebp - 0x7a4]
je 0x10006b40
push 0x1004b390
push str.Type
jmp 0x10006bf7
push str.file
push str.Type
call fcn.1000d727
mov esi, dword [ebp - 0x728]
mov edi, dword [ebp - 0x724]
push 0x3f
lea eax, [ebp - 0x53]
push ebx
push eax
mov byte [ebp - 0x54], bl
call fcn.10024270
add esp, 0xc
push 0xa
push 0x40
lea eax, [ebp - 0x54]
push eax
push esi
push edi
call fcn.1001fb11
add esp, 0x14
lea eax, [ebp - 0x54]
push eax
push str.Size
lea eax, [ebp - 0x7a4]
call fcn.1000d727
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x730]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x458]
push eax
movzx eax, word [ebp - 0x45a]
push eax
movzx eax, word [ebp - 0x45c]
push eax
movzx eax, word [ebp - 0x45e]
push eax
movzx eax, word [ebp - 0x462]
push eax
movzx eax, word [ebp - 0x464]
push eax
lea eax, [ebp - 0x54]
push str._04d__02d__02d__02d:_02d:_02d
push eax
call fcn.1001f39d
add esp, 0x20
lea eax, [ebp - 0x54]
push eax
push str.Time
lea eax, [ebp - 0x7a4]
call fcn.1000d727
test byte [ebp - 0x744], 0x10
je 0x10006ca7
mov edi, dword [ebp + 0x10]
dec edi
cmp edi, ebx
jle 0x10006ca7
push dword [ebp - 0x754]
lea esi, [ebp - 0x4b8]
call fcn.1000763c
push 0x1004b5ac
push eax
lea eax, [ebp - 0x4f0]
push eax
mov byte [ebp - 4], 2
call fcn.1000720b
add esp, 0xc
lea ecx, [ebp - 0x718]
push ecx
push eax
lea eax, [ebp - 0x4d4]
push eax
mov byte [ebp - 4], 3
call fcn.1000720b
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x10006c66
mov eax, dword [eax]
mov ecx, dword [ebp - 0x74c]
push edi
push eax
lea eax, [ebp - 0x7a4]
push eax
call fcn.100069a5
push 1
xor edi, edi
lea esi, [ebp - 0x4d4]
call fcn.10003078
push 1
lea esi, [ebp - 0x4f0]
call fcn.10003078
push 1
lea esi, [ebp - 0x4b8]
mov byte [ebp - 4], 1
call fcn.10003078
push dword [ebp - 0x750]
lea ecx, [ebp - 0x7a4]
call fcn.1000d5fc
lea ecx, [ebp - 0x7a4]
mov byte [ebp - 4], bl
call fcn.1000d6b9
lea eax, [ebp - 0x744]
push eax
push dword [ebp - 0x748]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10006a4c
push dword [ebp - 0x748]
call dword [sym.imp.KERNEL32.dll_FindClose]
push 1
xor edi, edi
lea esi, [ebp - 0x480]
call fcn.10003078
call fcn.10021f58
ret 0xc