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

Disassembly:
push 0x274
mov eax, 0x10bae4b
call fcn.010aad12
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.010ab86f
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.010aa7fe
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 0x1096120
cmp eax, 0xffffffff
je 0x1096120
cmp byte [ebx + 0x14], 0
jne 0x10960be
test byte [ebp - 0x264], 0x10
jne 0x1095f86
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.01095897
test al, al
je 0x1096051
push dword [ebx + 0x1c]
lea ecx, [ebx + 0x30]
call fcn.0109550c
cmp dword [eax + 8], 0
jne 0x1095fef
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1096051
lea ecx, [ebp - 0x238]
push ecx
push dword [ebp - 0x274]
push dword [ebx + 4]
call eax
mov dword [ebp - 0x268], eax
jmp 0x1096051
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 0x274]
mov ecx, ebx
call fcn.01095ba8
mov dword [ebp - 0x268], eax
test eax, eax
jge 0x1096051
mov eax, dword [section..data]
cmp eax, section..data
je 0x109603e
test byte [eax + 0x1c], 8
je 0x109603e
push dword [ebp - 0x268]
lea ecx, [ebp - 0x238]
push ecx
push 0x10237c4
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0109509d
cmp dword [ebp - 0x268], 0x8007000e
je 0x10960be
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 0x1095f86
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1096080
and dword [ebp - 0x268], 0
jmp 0x10960be
test eax, eax
jle 0x109608e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x268], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x10960be
test byte [eax + 0x1c], 4
je 0x10960be
push dword [ebp - 0x268]
push 0x10237c4
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107918f
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1096196
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10960e6
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x268], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1096196
test byte [eax + 0x1c], 4
je 0x1096196
push dword [ebp - 0x268]
push 0x10237c4
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107918f
jmp 0x1096196
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x109615c
mov dword [ebp - 0x268], 1
mov eax, dword [section..data]
cmp eax, section..data
je 0x1096196
test byte [eax + 0x1c], 8
je 0x1096196
push esi
push 0x10237c4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103140f
jmp 0x1096196
test eax, eax
jle 0x109616a
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x268], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x1096196
test byte [eax + 0x1c], 4
je 0x1096196
push esi
push edi
push 0x10237c4
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01095110
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.010ab8b6
mov eax, esi
call fcn.010aad7d
ret 8