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

Disassembly:
push 0x4b8
mov eax, 0x1030f63
call fcn.0102b282
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.01023d64
mov esi, 0x1301ff
push esi
push 2
push 0x100b6f8
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 2
call fcn.01023699
push esi
push 2
push 0x100b678
lea ecx, [ebp - 0x4c4]
call fcn.01023699
push esi
push 2
push 0x100b5f8
lea ecx, [ebp - 0x4c4]
call fcn.01023699
push 0x101f01ff
push 2
push 0x1a
lea ecx, [ebp - 0x4c4]
call fcn.010236ca
push esi
push ebx
push 0x11
lea ecx, [ebp - 0x4c4]
call fcn.010236ca
push ebx
push edi
lea ecx, [ebp - 0x4c4]
mov dword [ebp - 0x3a4], 0x1fffff
call fcn.01023fde
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x1024169
push 0
push dword [edi]
push 0x100b568
push ebx
push 0x10
push 0x1035128
call fcn.0102ca9a
add esp, 0x18
jmp 0x1024415
mov edi, dword [ebp - 0x278]
push ebx
push edi
lea ecx, [ebp - 0x4c4]
call fcn.01023fde
mov dword [ebp - 0x27c], eax
test eax, eax
je 0x1024190
push eax
push dword [edi]
push 0x100b4e8
jmp 0x1024154
push 0x100b4d8
lea eax, [ebp - 0x268]
push eax
mov ecx, edi
call fcn.01023987
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 3
call fcn.0102097e
push dword [ebp - 0x268]
mov byte [ebp - 4], 2
call esi
push 0x100b4bc
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.01023987
push eax
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 4
call fcn.0102097e
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.01023fde
mov edi, 0x1035128
test eax, eax
je 0x102422b
cmp eax, 2
je 0x102422b
push eax
push dword [ebp - 0x264]
push 0x100b448
push ebx
push 0x10
push edi
call fcn.0102ca9a
add esp, 0x18
push 0x100b434
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.01023987
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 5
call fcn.0102097e
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.01023fde
test eax, eax
je 0x1024292
cmp eax, 2
je 0x1024292
push eax
push dword [ebp - 0x264]
push 0x100b3b0
push ebx
push 0x10
push edi
call fcn.0102ca9a
add esp, 0x18
push dword [ebp - 0x26c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1024415
or dword [ebp - 0x270], eax
mov eax, 0x100ae4c
mov dword [ebp - 0x274], eax
or dword [ebp - 0x280], 0xffffffff
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x278]
push 0x100b39c
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 7
call fcn.01023987
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 8
call fcn.0102097e
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.010233b0
cmp dword [ebp - 0x270], 0xffffffff
je 0x10243b8
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.01023987
push eax
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 9
call fcn.0102097e
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.01023fde
test eax, eax
je 0x102438d
push eax
push dword [ebp - 0x264]
push 0x100b340
push ebx
push 0x10
push edi
call fcn.0102ca9a
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1024328
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.010233b0
cmp dword [ebp - 0x280], 0xffffffff
jne 0x10243ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100b2d8
push ebx
push 0x10
push edi
call fcn.0102ca9a
add esp, 0x14
lea ecx, [ebp - 0x284]
call fcn.010238ca
lea ecx, [ebp - 0x274]
call fcn.010238ca
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], bl
call fcn.01023e25
push dword [ebp - 0x26c]
call esi
push dword [ebp - 0x264]
call esi
mov eax, dword [ebp - 0x27c]
call fcn.0102b314
ret 4