Function at 0x100e6f1
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.0100da18
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x280], esi
call fcn.0100da18
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.0100ddeb
mov edi, eax
cmp edi, esi
jl 0x100e93c
lea eax, [ebp - 0x268]
push eax
push 0x1008430
call fcn.0100e5ef
mov edi, eax
cmp edi, esi
jl 0x100e93c
push dword [ebp - 0x268]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100e93a
test al, 0x10
je 0x100e93a
push 0x10084b0
push dword [ebp - 0x268]
mov ebx, 0x10085ac
lea eax, [ebp - 0x28c]
push ebx
push eax
call fcn.0100e6d1
mov edi, eax
add esp, 0x10
cmp edi, esi
jl 0x100e93c
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.0100d81e
cmp dword [ebp - 0x26c], 0xffffffff
je 0x100e93c
test byte [ebp - 0x264], 0x10
jne 0x100e8f8
lea ecx, [ebp - 0x280]
call fcn.0100da18
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.0100e6d1
mov edi, eax
add esp, 0x10
cmp edi, esi
jl 0x100e93c
lea ecx, [ebp - 0x270]
call fcn.0100d8d5
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x290]
push ecx
push eax
call fcn.0100db07
mov edi, eax
cmp edi, esi
jl 0x100e93c
cmp dword [ebp - 0x274], esi
jne 0x100e8d5
push 0x1008598
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x274], eax
cmp eax, esi
je 0x100e92a
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 0x100e93c
push dword [ebp - 0x26c]
call fcn.0100d743
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 0x100e838
jmp 0x100e93c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100d761
mov edi, eax
jmp 0x100e93c
xor edi, edi
lea ecx, [ebp - 0x2b0]
call fcn.0100da98
lea ecx, [ebp - 0x2a4]
call fcn.0100d9c5
lea ecx, [ebp - 0x270]
call fcn.0100d8d5
lea ecx, [ebp - 0x26c]
call fcn.0100d7fa
lea ecx, [ebp - 0x280]
call fcn.0100da18
lea ecx, [ebp - 0x28c]
call fcn.0100da18
lea ecx, [ebp - 0x268]
call fcn.0100d9fd
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100919d
leave
ret 8