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

Disassembly:
push 0xffffffffffffffff
push 0x44a1a0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push esi
push edi
mov eax, dword [0x466910]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.00423e4a
mov byte [esp + 0x3c], 1
call fcn.004163a8
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x411c66
push 0x80004005
call fcn.004017a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push 4
push str..
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 2
call fcn.00406890
mov ecx, dword [esp + 0x44]
push 0
push ecx
lea ecx, [esp + 0x20]
call fcn.00423ee2
test eax, eax
jne 0x411d0d
lea eax, [esi - 0x10]
mov byte [esp + 0x3c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411cc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.00423e73
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411cf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea esp, [esp]
lea ecx, [esp + 0x18]
call fcn.00423bdf
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.00423e0b
test eax, eax
jne 0x411dae
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004240e1
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x40], 3
call fcn.00404340
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411d7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.00404340
mov edx, dword [esp + 0x44]
push edx
call edi
cmp eax, 0xffffffff
je 0x411da3
test al, 1
je 0x411da3
xor eax, 1
push eax
mov eax, dword [esp + 0x48]
push eax
call ebp
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x411d20
lea ecx, [esp + 0x18]
call fcn.00423af9
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411de4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 0
call fcn.00423e73
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411e1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 4