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

Disassembly:
mov eax, 0x5e3d31
call fcn.00594e8c
sub esp, 0x44
mov dword [ebp - 0x40], ecx
and dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4284e7
mov byte [ebp - 0x21], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x21]
jmp 0x42870d
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x4286fa
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax + 8]
test eax, eax
je 0x4286b8
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b108
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00428a2e
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x428534
mov eax, dword [ebp - 0x20]
inc eax
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.0041d309
push str._is_read_olny._Do_you_want_delete_it_
lea ecx, [ebp - 0x28]
call fcn.0040e04b
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x48]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0041d645
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0040b121
push 0x23
push str.Warning
lea ecx, [ebp - 0x1c]
call fcn.00517034
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
je 0x428651
cmp dword [ebp - 0x4c], 6
je 0x4285a9
cmp dword [ebp - 0x4c], 7
je 0x428621
jmp 0x42869e
push 0x80
lea ecx, [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4285f1
mov byte [ebp - 0x29], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x29]
jmp 0x42870d
mov byte [ebp - 0x2a], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x2a]
jmp 0x42870d
mov byte [ebp - 0x2b], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x2b]
jmp 0x42870d
mov eax, dword [ebp - 0x40]
mov byte [eax + 0xa], 1
push 8
call fcn.005b955b
pop ecx
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x38], 0
je 0x42867c
push 0
mov ecx, dword [ebp - 0x38]
call fcn.004265f0
mov dword [ebp - 0x50], eax
jmp 0x428680
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push 0x6384c8
lea eax, [ebp - 0x30]
push eax
call fcn.005971f4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b121
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040b121
jmp 0x4286fa
push 0x80
lea ecx, [ebp + 8]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4286e5
mov byte [ebp - 0x3a], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x3a]
jmp 0x42870d
mov byte [ebp - 0x3b], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x3b]
jmp 0x42870d
mov byte [ebp - 0x3c], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040b121
mov al, byte [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4