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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x101000c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x294], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x268], esi
mov dword [ebp - 0x28c], esi
call fcn.0100d918
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x280], esi
call fcn.0100d918
or dword [ebp - 0x26c], 0xffffffff
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], esi
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x274], esi
call fcn.0100dceb
mov edi, eax
cmp edi, esi
jl 0x100e83c
lea eax, [ebp - 0x268]
push eax
push 0x1008330
call fcn.0100e4ef
mov edi, eax
cmp edi, esi
jl 0x100e83c
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100e83a
test al, 0x10
je 0x100e83a
push 0x10083b0
push dword [ebp - 0x268]
mov ebx, 0x10084ac
lea eax, [ebp - 0x28c]
push ebx
push eax
call fcn.0100e5d1
mov edi, eax
add esp, 0x10
cmp edi, esi
jl 0x100e83c
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x26c]
call fcn.0100d71e
cmp dword [ebp - 0x26c], 0xffffffff
je 0x100e83c
test byte [ebp - 0x264], 0x10
jne 0x100e7f8
lea ecx, [ebp - 0x280]
call fcn.0100d918
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x280]
push ebx
push eax
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], esi
call fcn.0100e5d1
mov edi, eax
add esp, 0x10
cmp edi, esi
jl 0x100e83c
lea ecx, [ebp - 0x270]
call fcn.0100d7d5
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x290]
push ecx
push eax
call fcn.0100da07
mov edi, eax
cmp edi, esi
jl 0x100e83c
cmp dword [ebp - 0x274], esi
jne 0x100e7d5
push 0x1008498
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x274], eax
cmp eax, esi
je 0x100e82a
mov eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x290]
push dword [ebp - 0x294]
call dword [ebp - 0x274]
mov edi, eax
cmp edi, esi
jl 0x100e83c
push dword [ebp - 0x26c]
call fcn.0100d643
movzx eax, al
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x26c]
lea ecx, [ebp - 0x264]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100e738
jmp 0x100e83c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100d661
mov edi, eax
jmp 0x100e83c
xor edi, edi
lea ecx, [ebp - 0x2b0]
call fcn.0100d998
lea ecx, [ebp - 0x2a4]
call fcn.0100d8c5
lea ecx, [ebp - 0x270]
call fcn.0100d7d5
lea ecx, [ebp - 0x26c]
call fcn.0100d6fa
lea ecx, [ebp - 0x280]
call fcn.0100d918
lea ecx, [ebp - 0x28c]
call fcn.0100d918
lea ecx, [ebp - 0x268]
call fcn.0100d8fd
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100909d
leave
ret 8