Function at 0x41c3a0
Capabilities:
Check if file exists
Delete directory
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450ab6
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x668], eax
mov ebx, ecx
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x634], 7
mov dword [ebp - 0x638], eax
mov word [ebp - 0x648], cx
lea edx, [ebp - 0x664]
push edx
mov edx, str.path
mov ecx, ebx
mov dword [ebp - 4], eax
call fcn.00410e40
mov edi, eax
lea esi, [ebp - 0x648]
mov byte [ebp - 4], 1
call fcn.00404060
mov esi, 8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x650], esi
jb 0x41c43b
mov eax, dword [ebp - 0x664]
push eax
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebx + 4]
push ecx
push str.File
push str.__s____d_
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov ebx, 1
add dword [0x4699fc], ebx
push 0
call fcn.00431ac0
mov eax, dword [ebp - 0x648]
add esp, 0x14
cmp dword [ebp - 0x634], esi
jae 0x41c47e
lea eax, [ebp - 0x648]
push eax
push 0x45a7d0
push 0x4699dc
xor eax, eax
call fcn.0042c820
mov edi, dword [ebp - 0x648]
add esp, 0xc
cmp dword [ebp - 0x634], esi
jae 0x41c4a7
lea edi, [ebp - 0x648]
mov ecx, 0xbbe
call fcn.00434da0
mov eax, dword [ebp - 0x648]
cmp dword [ebp - 0x634], esi
jae 0x41c4c5
lea eax, [ebp - 0x648]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [ebp - 0x648]
cmp dword [ebp - 0x634], esi
jae 0x41c4e5
lea eax, [ebp - 0x648]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
jne 0x41c592
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41c7b7
cmp eax, 3
je 0x41c7b7
push eax
push str.Delete_error_0x_X._Trying_move_locked_file_method
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
cmp dword [ebp - 0x634], esi
mov esi, dword [ebp - 0x648]
jae 0x41c537
lea esi, [ebp - 0x648]
call fcn.00424f80
test eax, eax
je 0x41c58d
mov edx, dword [0x46adb8]
cmp byte [edx + 0xcec], 0
je 0x41c58d
push eax
push str.Delete_error_0x_X__marking_for_delete_on_next_reboot
push 0x4699dc
mov eax, ebx
call fcn.0042c820
mov eax, dword [ebp - 0x648]
add esp, 0xc
cmp dword [ebp - 0x634], 8
jae 0x41c579
lea eax, [ebp - 0x648]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x668]
mov dword [eax + 0x38], ebx
mov esi, 8
mov eax, dword [ebp - 0x648]
cmp dword [ebp - 0x634], esi
jae 0x41c5a6
lea eax, [ebp - 0x648]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x41c773
push str..lnk
push eax
call fcn.00439375
add esp, 8
test eax, eax
jne 0x41c773
push str.Deleted_a_shortcut__checking_for_empty_parent_folders
push 0x4699dc
mov dword [ebp - 0x66c], 0x45b1e4
mov dword [ebp - 0x668], eax
call fcn.0042c820
mov eax, dword [ebp - 0x648]
add esp, 8
cmp dword [ebp - 0x634], esi
jae 0x41c601
lea eax, [ebp - 0x648]
push eax
lea ecx, [ebp - 0x424]
push 0x104
push ecx
call fcn.004394b3
add esp, 0xc
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x41c773
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41c655
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.00439a0d
add esp, 0xc
test eax, eax
je 0x41c76b
lea eax, [ebp - 0x668]
push eax
push 0x458b04
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x66c]
call fcn.00424960
test eax, eax
jne 0x41c6c4
lea edx, [ebp - 0x668]
push edx
mov edx, dword [ebp - 0x66c]
lea eax, [ebp - 0x424]
push eax
mov eax, dword [edx + 4]
lea ecx, [ebp - 0x66c]
call eax
cmp dword [ebp - 0x668], 0
jne 0x41c76b
push 0x104
lea ecx, [ebp - 0x62c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.temp
lea edx, [ebp - 0x62c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x45a440
lea ecx, [ebp - 0x62c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x21c]
push edx
call edi
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x424]
push edx
call ebx
lea eax, [ebp - 0x21c]
push eax
call esi
lea ecx, [ebp - 0x424]
push ecx
push str.Deleted_folder__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x41c637
mov ebx, 1
lea esi, [ebx + 7]
push ebx
call fcn.00431ac0
sub dword [0x4699fc], ebx
add esp, 4
cmp dword [ebp - 0x634], esi
jb 0x41c799
mov eax, dword [ebp - 0x648]
push eax
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004377c1
mov esp, ebp
pop ebp
ret 4
push str.Does_not_exist__skipping
push 0x4699dc
mov eax, ebx
call fcn.0042c820
add esp, 8
jmp 0x41c592