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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d4ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test esi, esi
je 0x100015b9
mov eax, dword [esi + 8]
cmp eax, dword [ebp + 0x10]
jg 0x100015b9
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
and ecx, 0x10
cmp eax, 0xffffffff
je 0x100015b9
test ecx, ecx
jne 0x1000144d
mov edx, dword [esi + 8]
lea ecx, [ebp + 8]
push ecx
push edx
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CStringArray::SetAtGrow_1]
jmp 0x10001573
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x26c]
push ecx
mov edi, 0x100ee440
call fcn.10001a90
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
call dword [sym.imp.mfc100u.dll_CStringArray::SetAtGrow_1]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x268]
call dword [0x100ec964]
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 2
call dword [0x100ec964]
push str..
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 3
call dword [0x100ec930]
mov edx, dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100015a1
cmp word [ebp - 0x238], 0x2e
je 0x10001542
mov eax, dword [ebp + 0x10]
push eax
push esi
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x26c]
push edx
mov edi, 0x100ee440
call fcn.10001a90
add esp, 4
mov ecx, esp
mov dword [ebp - 0x274], esp
push eax
push ecx
lea edi, [ebp - 0x238]
mov byte [ebp - 4], 4
call fcn.10001a90
add esp, 8
call fcn.100013d0
add esp, 0xc
lea ecx, [ebp - 0x26c]
mov edi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test edi, edi
jne 0x1000159a
lea edx, [ebp - 0x264]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100014e1
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x268]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x268]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
or eax, 0xffffffff
jmp 0x1000157e