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

Disassembly:
push 0x64
mov eax, 0x6105d7f
call fcn.060f40c7
mov edi, ecx
mov eax, dword [edi + 0x28]
cmp dword [eax - 0xc], 0
je 0x60de647
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60de640
test byte [eax + 0x1c], 2
je 0x60de640
cmp byte [eax + 0x19], 5
jb 0x60de640
push 0x612b6e0
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c1d8a
add esp, 0x10
mov al, 1
jmp 0x60de6ca
lea ecx, [ebp - 0x68]
call fcn.060c3335
push dword [edi + 4]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x60de6b0
push ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov esi, eax
test esi, esi
jne 0x60de6d0
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60de6b0
test byte [eax + 0x1c], 1
je 0x60de6b0
cmp byte [eax + 0x19], 2
jb 0x60de6b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x612b6e0
push 0x10
mov eax, dword [0x613af2c]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c9d63
add esp, 0x14
lea ecx, [ebp - 0x68]
call fcn.060c3531
neg al
sbb al, al
inc al
mov bl, al
lea ecx, [ebp - 0x68]
call fcn.060c3371
mov al, bl
call fcn.060f4019
ret
lea ecx, [edi + 0x20]
push esi
call fcn.060c372a
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 0xffffffffffffffff
lea ecx, [edi + 0x20]
mov dword [ebp - 0x38], eax
call fcn.060c5c64
cmp dword [ebp - 0x38], 0
jne 0x60de722
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60de6b0
test byte [eax + 0x1c], 1
je 0x60de6b0
cmp byte [eax + 0x19], 2
jb 0x60de6b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x612b6e0
push 0x11
jmp 0x60de69d
push 0x613c2e0
lea ecx, [ebp - 0x38]
call fcn.060c30c1
mov eax, dword [edi + 0x20]
lea ecx, [edi + 0x30]
mov esi, dword [eax - 0xc]
push esi
mov byte [ebp - 4], 2
call fcn.060c372a
lea ecx, [edi + 0x2c]
push esi
mov dword [ebp - 0x40], eax
call fcn.060c372a
lea ecx, [edi + 0x24]
push esi
mov dword [ebp - 0x44], eax
call fcn.060c372a
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
call fcn.060c372a
push esi
push dword [ebp - 0x40]
push esi
push dword [ebp - 0x44]
push esi
push dword [ebp - 0x3c]
push esi
push eax
push dword [edi + 0x20]
call fcn.060f4e88
add esp, 0x24
lea ecx, [ebp - 0x38]
push 0xffffffffffffffff
mov esi, eax
call fcn.060c5c64
push 0xffffffffffffffff
lea ecx, [edi + 0x24]
call fcn.060c5c64
push 0xffffffffffffffff
lea ecx, [edi + 0x2c]
call fcn.060c5c64
push 0xffffffffffffffff
lea ecx, [edi + 0x30]
call fcn.060c5c64
test esi, esi
je 0x60de7eb
mov eax, dword [0x613af2c]
cmp eax, 0x613af2c
je 0x60de7db
test byte [eax + 0x1c], 1
je 0x60de7db
cmp byte [eax + 0x19], 2
jb 0x60de7db
push esi
push 0x612b6e0
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.060c9d63
add esp, 0x14
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.060511e0
jmp 0x60de6c0
push dword [edi + 0x24]
mov esi, dword [ebp - 0x38]
push esi
mov ebx, str._s_s
lea eax, [edi + 0x28]
push ebx
push eax
call fcn.060c364b
add esp, 0x10
push dword [edi + 0x30]
lea eax, [edi + 0x34]
push dword [edi + 0x2c]
push ebx
push eax
call fcn.060c364b
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.060511e0
jmp 0x60de6b0