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

Disassembly:
push 0xffffffffffffffff
push 0x465bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [esp + 0x34]
push edi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41a827
mov dword [esp + 0x2c], eax
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a810
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
test al, 1
je 0x41a8f7
cmp byte [ebp + 8], 0
je 0x41a9cd
lea eax, [edi - 0x10]
push eax
call fcn.00401ba0
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
push 0x5c
push esi
mov byte [esp + 0x38], 1
call fcn.0044d671
add esp, 0xc
test eax, eax
je 0x41a873
sub eax, esi
cmp eax, 0xffffffff
je 0x41a873
add eax, 1
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.004195b0
push str._is_read_olny._Do_you_want_delete_it_
lea ecx, [esp + 0x1c]
call fcn.00403950
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x38], 2
call fcn.00403890
add esp, 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a8be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push 0x23
push str.Warning
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
sub eax, 2
je 0x41a98d
sub eax, 4
je 0x41a932
sub eax, 1
lea ecx, [esp + 0x14]
je 0x41a946
call fcn.00401ad0
lea ecx, [esp + 0x10]
call fcn.00401ad0
lea eax, [edi - 0x10]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a91b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
lea ecx, [esp + 0x14]
jne 0x41a974
call fcn.00401ad0
lea ecx, [esp + 0x10]
call fcn.00401ad0
lea ecx, [esp + 0x34]
call fcn.00401ad0
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4
call fcn.00401ad0
lea ecx, [esp + 0x10]
call fcn.00401ad0
lea ecx, [esp + 0x34]
call fcn.00401ad0
jmp 0x41a91b
push 8
mov byte [ebp + 0xa], 1
call fcn.00439297
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x2c], 5
je 0x41a9b3
push 0
mov ecx, eax
call fcn.00419c30
jmp 0x41a9b5
xor eax, eax
push 0x47b6fc
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x34], 4
mov dword [esp + 0x24], eax
call fcn.0044de49
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
lea ecx, [esp + 0x34]
jne 0x41a986
call fcn.00401ad0
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret 4