Function at 0x563e18
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push 0x14
mov eax, 0x608aef
call fcn.004db48b
mov ebx, ecx
cmp dword [ebx + 0x358], 0
je 0x563e56
mov eax, dword [ebx + 0x64]
xor esi, esi
mov edi, dword [eax + 4]
test edi, edi
jle 0x563e56
mov ecx, dword [ebx + 0x64]
push esi
call fcn.0041d43e
lea ecx, [ebx + 0x324]
push dword [eax]
call fcn.0043212d
inc esi
cmp esi, edi
jl 0x563e3b
cmp dword [ebp + 8], 0
je 0x563fbb
cmp dword [ebx + 0x354], 0
jne 0x563fbb
lea esi, [ebx + 0x154]
cmp dword [ebx + 0x14c], 0
jne 0x563ea5
mov ecx, dword [ebx + 0x64]
push 0
call fcn.0041d43e
mov ecx, dword [eax]
call fcn.005be8c4
test eax, eax
je 0x563ea5
mov ecx, dword [ebx + 0x64]
push 0
call fcn.0041d43e
push 1
push esi
mov ecx, dword [eax]
call fcn.005bea5f
mov ecx, dword [ebx + 0x64]
push 0
call fcn.0041d43e
push ecx
push esi
mov ecx, dword [eax]
call fcn.005be935
mov ecx, dword [ebx + 0x64]
push 0
call fcn.0041d43e
mov ecx, dword [eax]
call fcn.005be646
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
jns 0x564068
mov ecx, dword [ebx + 0x64]
xor esi, esi
push esi
call fcn.0041d43e
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [eax]
call fcn.0041be56
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d36e
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x563f0b
call fcn.00407965
mov ecx, dword [ebx + 0x64]
push esi
call fcn.0041d43e
mov ecx, dword [eax]
call fcn.00421f50
mov edi, dword [ebp - 0x14]
test eax, eax
jne 0x563fd5
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x563fd5
test al, 1
je 0x563fd5
mov ecx, dword [0x668294]
push 0x814f
mov dword [ebp + 8], ecx
push ecx
lea ecx, [ebp + 8]
call fcn.0041129f
mov esi, dword [ebp + 8]
push 0x34
push dword [0x674764]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x563fc5
mov eax, dword [ebp - 0x18]
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x563fc5
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x563f94
call fcn.00407965
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0xc]
cmp ecx, 0x668010
je 0x563fa8
call fcn.00407965
cmp dword [ebx + 0x354], 0
lea esi, [ebx + 0x154]
je 0x563e73
xor eax, eax
call fcn.004db459
ret 4
lea ecx, [esi - 0xc]
cmp ecx, 0x668010
je 0x563fd5
call fcn.00407965
mov eax, dword [0x668294]
push 0x814e
push ecx
lea ecx, [ebp + 8]
mov dword [ebp + 8], eax
call fcn.0041129f
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0xa
push eax
push 1
lea ecx, [ebp + 8]
call fcn.0040f454
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
movzx edx, ax
call fcn.005c94cb
lea ecx, [ebp + 8]
mov eax, dword [eax]
push eax
push dword [eax - 8]
call fcn.0040f454
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff4
cmp ecx, 0x668010
je 0x56402f
call fcn.00407965
mov esi, dword [ebp + 8]
push 0x10
push dword [0x674764]
push esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esi - 0xc]
mov esi, 0x668010
cmp ecx, esi
je 0x564055
call fcn.00407965
or dword [ebp - 4], 0xffffffff
lea ecx, [edi - 0xc]
cmp ecx, esi
je 0x564065
call fcn.00407965
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x64]
push 0
call fcn.0041d43e
push 0
lea ecx, [ebx + 0x314]
mov esi, dword [eax]
call fcn.00436729
push eax
mov ecx, esi
call fcn.0043121a
mov ecx, dword [ebx + 0x68]
test ecx, ecx
je 0x56409b
push dword [ebx + 0x350]
call fcn.005a64d2
mov eax, edi
jmp 0x563fbd