Function at 0x4488af
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00476c90
push 0xffffffffffffffff
push 0x4b0edc
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4f3bd0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x1014]
mov eax, dword [ebp + 0x100c]
mov esi, dword [ebp + 0x1010]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x1018]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x101c]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp eax, ebx
je 0x448b1d
cmp esi, ebx
je 0x448b1d
mov edi, 0x800
push edi
lea eax, [ebp]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00475570
push edi
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.00475570
push 0x400
lea eax, [ebp]
push esi
push eax
call fcn.00475519
add esp, 0x24
lea eax, [ebp]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x448a17
push esi
push str.File__s_exist
call fcn.00404d91
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop ecx
pop ecx
push esi
call edi
test eax, eax
jne 0x448a17
push esi
push str.Delete_File__s_failed
call fcn.00404d91
pop ecx
pop ecx
lea eax, [ebp + 0x800]
push eax
push ebx
push 0x4bb3d8
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp + 0x800]
push eax
call edi
lea eax, [ebp - 0x18]
push eax
push esi
call fcn.004487c6
pop ecx
pop ecx
test eax, eax
jne 0x448a3a
lea eax, [ebp + 0x800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x448a3a
push esi
push str.Move_File__s_to_temp_dir
call fcn.00404d91
pop ecx
pop ecx
push 4
pop edi
push edi
push ebx
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x448a10
mov dword [eax], edi
mov dword [ebp - 0x18], 1
push dword [ebp - 0x14]
call fcn.00447802
add esp, 4
test eax, eax
je 0x448ac4
push esi
push dword [ebp - 0x14]
call fcn.0044773b
pop ecx
pop ecx
jmp 0x448acf
push esi
push str.Move_File__s_failed__replace_until_reboot
call fcn.00404d91
push dword [ebp - 0x14]
call fcn.00447802
add esp, 0xc
test eax, eax
lea eax, [ebp + 0x800]
je 0x448a67
push eax
push dword [ebp - 0x14]
call fcn.0044773b
pop ecx
pop ecx
jmp 0x448a72
push ebx
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
pop edi
push edi
push esi
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x448aa9
lea ecx, [ebp + 0x800]
push ecx
lea ecx, [eax + 0x238]
push ecx
lea ecx, [eax + 0x218]
push ecx
push eax
call fcn.004475e9
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x448ab2
mov dword [eax], edi
mov ecx, dword [0x4f7ba0]
push 1
call fcn.00460019
xor eax, eax
inc eax
jmp 0x448b1f
push ebx
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x448b16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4f9e18
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0040284b
push edi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push str.Copy_From__s_to__s_Failed_Error_Code___d
push eax
mov dword [ebp - 4], ebx
call fcn.00403b60
mov esi, dword [ebp - 0x10]
push esi
call fcn.00404d91
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [esi - 0x10]
call fcn.00402870
cmp dword [ebp - 0x18], ebx
je 0x448abf
jmp 0x448ab2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004755ea
add ebp, 0x1004
leave
ret