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

Disassembly:
push 0x4b8
mov eax, 0x1030b4f
call fcn.0102ada8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x278], eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 0x264], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x26c], eax
xor ebx, ebx
inc ebx
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], bl
call fcn.010239f9
mov esi, 0x1301ff
push esi
push 2
push 0x100b438
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 2
call fcn.0102332e
push esi
push 2
push 0x100b3b8
lea ecx, [ebp - 0x4c4]
call fcn.0102332e
push esi
push 2
push 0x100b338
lea ecx, [ebp - 0x4c4]
call fcn.0102332e
push 0x101f01ff
push 2
push 0x1a
lea ecx, [ebp - 0x4c4]
call fcn.0102335f
push esi
push ebx
push 0x11
lea ecx, [ebp - 0x4c4]
call fcn.0102335f
push ebx
push edi
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x3a4], 0x1fffff
call fcn.01023c73
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x1023dfe
push 0
push dword [edi]
push 0x100b2a8
push ebx
push 0x10
push 0x1035128
call fcn.0102c6ab
add esp, 0x18
jmp 0x10240aa
mov edi, dword [ebp - 0x278]
push ebx
push edi
lea ecx, [ebp - 0x4c4]
call fcn.01023c73
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x1023e25
push eax
push dword [edi]
push 0x100b228
jmp 0x1023de9
push 0x100b218
lea eax, [ebp - 0x268]
push eax
mov ecx, edi
call fcn.0102361c
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call fcn.0102048c
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
call esi
push 0x100b1fc
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.0102361c
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 4
call fcn.0102048c
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
call esi
push ebx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.01023c73
mov edi, 0x1035128
test eax, eax
je 0x1023ec0
cmp eax, 2
je 0x1023ec0
push eax
push dword [ebp - 0x264]
push 0x100b188
push ebx
push 0x10
push edi
call fcn.0102c6ab
add esp, 0x18
push 0x100b174
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.0102361c
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
call fcn.0102048c
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
call esi
push ebx
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.01023c73
test eax, eax
je 0x1023f27
cmp eax, 2
je 0x1023f27
push eax
push dword [ebp - 0x264]
push 0x100b0f0
push ebx
push 0x10
push edi
call fcn.0102c6ab
add esp, 0x18
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10240aa
or dword [ebp - 0x270], eax
mov eax, 0x100ab8c
mov dword [ebp - 0x274], eax
or dword [ebp - 0x280], 0xffffffff
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x278]
push 0x100b0dc
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 7
call fcn.0102361c
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.0102048c
push dword [ebp - 0x268]
mov byte [ebp - 4], 7
call esi
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x274]
call fcn.01023045
cmp dword [ebp - 0x270], 0xffffffff
je 0x102404d
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.0102361c
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 9
call fcn.0102048c
push dword [ebp - 0x268]
mov byte [ebp - 4], 7
call esi
push 0
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.01023c73
test eax, eax
je 0x1024022
push eax
push dword [ebp - 0x264]
push 0x100b080
push ebx
push 0x10
push edi
call fcn.0102c6ab
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1023fbd
mov eax, dword [ebp - 0x270]
or dword [ebp - 0x270], 0xffffffff
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 6
push ebx
push 0
push 3
push 0xc0000000
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x284]
call fcn.01023045
cmp dword [ebp - 0x280], 0xffffffff
jne 0x1024094
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100b018
push ebx
push 0x10
push edi
call fcn.0102c6ab
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.0102355f
lea ecx, [ebp - 0x274]
call fcn.0102355f
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], bl
call fcn.01023aba
push dword [ebp - 0x26c]
call esi
push dword [ebp - 0x264]
call esi
mov eax, dword [ebp - 0x27c]
call fcn.0102ae3a
ret 4