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

Disassembly:
push 0x274
mov eax, 0x10badf4
call fcn.010aacda
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 0x268], 0
lea eax, [ebp - 0x268]
push eax
mov ebx, ecx
push 0x10238f0
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x274], esi
call fcn.010ab83f
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString_2
push edi
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 2
call fcn.010aa7c6
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp - 0x264]
push ecx
push eax
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov dword [ebp - 0x270], eax
test eax, eax
je 0x1095fa5
cmp eax, 0xffffffff
je 0x1095fa5
cmp byte [ebx + 0x14], 0
jne 0x1095f43
test byte [ebp - 0x264], 0x10
jne 0x1095e0b
sub esp, 0x250
mov edi, esp
mov ecx, 0x94
lea esi, [ebp - 0x264]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.0109571c
test al, al
je 0x1095ed6
push dword [ebx + 0x1c]
lea ecx, [ebx + 0x30]
call fcn.01095391
cmp dword [eax + 8], 0
jne 0x1095e74
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1095ed6
lea ecx, [ebp - 0x238]
push ecx
push dword [ebp - 0x274]
push dword [ebx + 4]
call eax
mov dword [ebp - 0x268], eax
jmp 0x1095ed6
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x274]
mov ecx, ebx
call fcn.01095a2d
mov dword [ebp - 0x268], eax
test eax, eax
jge 0x1095ed6
mov eax, dword [section..data]
cmp eax, section..data
je 0x1095ec3
test byte [eax + 0x1c], 8
je 0x1095ec3
push dword [ebp - 0x268]
lea ecx, [ebp - 0x238]
push ecx
push 0x10237c4
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01094f22
cmp dword [ebp - 0x268], 0x8007000e
je 0x1095f43
and dword [ebp - 0x268], 0
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1095e0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1095f05
and dword [ebp - 0x268], 0
jmp 0x1095f43
test eax, eax
jle 0x1095f13
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x268], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1095f43
test byte [eax + 0x1c], 4
je 0x1095f43
push dword [ebp - 0x268]
push 0x10237c4
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x109601b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1095f6b
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x268], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x109601b
test byte [eax + 0x1c], 4
je 0x109601b
push dword [ebp - 0x268]
push 0x10237c4
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
jmp 0x109601b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1095fe1
mov dword [ebp - 0x268], 1
mov eax, dword [section..data]
cmp eax, section..data
je 0x109601b
test byte [eax + 0x1c], 8
je 0x109601b
push esi
push 0x10237c4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103140f
jmp 0x109601b
test eax, eax
jle 0x1095fef
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x268], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x109601b
test byte [eax + 0x1c], 4
je 0x109601b
push esi
push edi
push 0x10237c4
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01094f95
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
mov esi, dword [ebp - 0x268]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x27c]
call fcn.010ab886
mov eax, esi
call fcn.010aad45
ret 8