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

Disassembly:
push 0xffffffffffffffff
push 0x44e8e6
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x658], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x674]
mov dword fs:[0], eax
mov eax, dword [esp + 0x684]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, str.path
mov dword [esp + 0x684], ebx
call fcn.00411390
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x40]
mov byte [esp + 0x684], 1
call fcn.00404120
mov ebp, 8
mov byte [esp + 0x67c], bl
cmp dword [esp + 0x34], ebp
jb 0x41b491
mov edx, dword [esp + 0x20]
push edx
call fcn.0043642d
add esp, 4
push str.File
push str.__s_
push 0x463650
xor eax, eax
call fcn.0042a920
add dword [0x463670], 1
add esp, 0xc
push ebx
call fcn.0042f2e0
mov eax, dword [esp + 0x40]
add esp, 4
cmp dword [esp + 0x50], ebp
jae 0x41b4c8
lea eax, [esp + 0x3c]
push eax
push str.Deleting__s
push 0x463650
xor eax, eax
call fcn.0042a920
mov ebx, dword [esp + 0x48]
add esp, 0xc
cmp dword [esp + 0x50], ebp
jae 0x41b4eb
lea ebx, [esp + 0x3c]
mov ecx, 0xbbe
call fcn.004312e0
cmp dword [esp + 0x50], ebp
mov eax, dword [esp + 0x3c]
jae 0x41b503
lea eax, [esp + 0x3c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [esp + 0x50], ebp
mov eax, dword [esp + 0x3c]
jae 0x41b51d
lea eax, [esp + 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
test eax, eax
jne 0x41b58b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41b554
cmp eax, 3
je 0x41b554
push eax
push str.Delete_error_0x_X__marking_for_delete_on_next_reboot
push 0x463650
mov eax, 1
call fcn.0042a920
add esp, 0xc
jmp 0x41b56b
push str.Does_not_exist__skipping
push 0x463650
mov eax, 1
call fcn.0042a920
add esp, 8
cmp dword [esp + 0x50], ebp
mov eax, dword [esp + 0x3c]
jae 0x41b579
lea eax, [esp + 0x3c]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [edi + 0x34], 1
cmp dword [esp + 0x50], ebp
mov eax, dword [esp + 0x3c]
jae 0x41b599
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x41b74a
push str..lnk
push eax
call fcn.00436262
add esp, 8
test eax, eax
jne 0x41b74a
push str.Deleted_a_shortcut__checking_for_empty_parent_folders
push 0x463650
mov dword [esp + 0x1c], vtable.CShellFileCount.0
mov dword [esp + 0x20], eax
call fcn.0042a920
mov eax, dword [esp + 0x44]
add esp, 8
cmp dword [esp + 0x50], ebp
jae 0x41b5ea
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x260]
push 0x104
push eax
call fcn.004367c7
add esp, 0xc
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x41b74a
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x54]
push edx
push 0
push 0
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [esp + 0x54]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41b642
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x264]
push ecx
call fcn.00436996
add esp, 0xc
test eax, eax
je 0x41b745
lea edx, [esp + 0x18]
push edx
push 0x45550c
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x20]
call fcn.004230f0
test eax, eax
jne 0x41b6a8
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x260]
push edx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x1c]
call edx
cmp dword [esp + 0x18], 0
jne 0x41b745
push 0x104
lea eax, [esp + 0x468]
push eax
call ebp
push str.temp
lea ecx, [esp + 0x468]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [esp + 0x54]
push edx
push 0
push 0x456860
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [esp + 0x54]
push ecx
call esi
lea edx, [esp + 0x54]
push edx
call esi
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x260]
push ecx
call edi
lea edx, [esp + 0x54]
push edx
call ebx
lea eax, [esp + 0x25c]
push eax
push str.Deleted_folder__s
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x41b628
mov ebp, 8
push 1
call fcn.0042f2e0
sub dword [0x463670], 1
add esp, 4
cmp dword [esp + 0x50], ebp
jb 0x41b76e
mov edx, dword [esp + 0x3c]
push edx
call fcn.0043642d
add esp, 4
mov ecx, dword [esp + 0x674]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x658]
xor ecx, esp
call fcn.00434b37
add esp, 0x66c
ret 4