Function at 0x1000faa8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x194
mov eax, 0x1005902b
call fcn.10040d9a
and dword [ebp - 4], 0
and dword [ebp - 0x180], 0
lea eax, [ebp - 0x170]
mov ebx, ecx
push eax
mov dword [ebp - 0x174], ebx
mov esi, edx
call fcn.1000dbed
xor edi, edi
push 7
inc edi
mov dword [ebp - 4], edi
and dword [ebx + 0x14], 0
pop eax
lea ecx, [ebx + 4]
xor edx, edx
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x178], ecx
mov word [ecx], dx
and dword [ebp - 0x34], edx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x180], edi
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], eax
je 0x1000fcd9
cmp dword [esi + 0x18], 8
jb 0x1000fb20
mov eax, dword [esi + 4]
jmp 0x1000fb23
lea eax, [esi + 4]
push eax
push str.Test_Str:_ls
call fcn.1003b6a0
pop ecx
pop ecx
push esi
lea esi, [ebp - 0x2c]
call fcn.100048f8
mov eax, esi
mov byte [ebp - 4], 3
call fcn.1001305e
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000fb50
lea eax, [ebp - 0x28]
push 0x22
pop ecx
cmp word [eax], cx
jne 0x1000fb7b
push edi
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], ecx
push eax
mov eax, edi
lea ecx, [ebp - 0x2c]
call fcn.100112c5
mov edi, eax
cmp edi, 0xffffffff
jne 0x1000fc55
push 0xffffffffffffffff
push ebx
xor ebx, ebx
lea eax, [ebp - 0x2c]
call fcn.10004d50
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x178]
jb 0x1000fb9c
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000fca4
push str..exe
lea esi, [ebp - 0x19c]
call fcn.100048d8
lea eax, [ebp - 0x2c]
push eax
mov ebx, esi
mov byte [ebp - 4], 4
call fcn.100130d4
pop ecx
push 0
push 1
mov edi, eax
mov byte [ebp - 4], 3
call fcn.10004dfd
cmp edi, 0xffffffff
je 0x1000fca4
add edi, 4
cmp edi, dword [ebp - 0x18]
jae 0x1000fca4
push edi
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
lea esi, [ebp - 0x19c]
call fcn.10010d30
push 0xffffffffffffffff
mov byte [ebp - 4], 5
push dword [ebp - 0x174]
call fcn.10004d50
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10004dfd
mov eax, dword [ebp - 0x18]
sub eax, edi
push eax
lea eax, [ebp - 0x2c]
push eax
mov ebx, edi
lea esi, [ebp - 0x19c]
call fcn.10010d30
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 6
call fcn.10004d50
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10004dfd
jmp 0x1000fca4
lea eax, [edi - 1]
push eax
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
inc ebx
lea esi, [ebp - 0x19c]
call fcn.10010d30
push 0xffffffffffffffff
mov byte [ebp - 4], 7
push dword [ebp - 0x174]
xor ebx, ebx
call fcn.10004d50
push ebx
push 1
mov byte [ebp - 4], 3
call fcn.10004dfd
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1000fc96
lea eax, [ebp - 0x28]
lea eax, [eax + edi*2 + 2]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10004dd6
lea eax, [ebp - 0x48]
call fcn.1001305e
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0x178]
jb 0x1000fcc0
mov eax, dword [eax]
push eax
xor edi, edi
call fcn.100286b0
push edi
lea esi, [ebp - 0x2c]
push 1
call fcn.10004dfd
mov ebx, dword [ebp - 0x174]
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.10004dfd
lea edi, [ebp - 0x170]
call fcn.1000e880
mov eax, ebx
call fcn.10040e1d
ret