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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x141c
call fcn.0042cec0
mov eax, dword [0x4be5b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x141c], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00432c40
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00432c40
xor ebx, ebx
add esp, 0x18
cmp dword [ebp + 0x14], ebx
jle 0x46286b
mov eax, dword [ebp - 0x1418]
push edi
push dword [eax]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x46285b
lea eax, [edi + 0x800]
push eax
mov eax, dword [ebp - 0x141c]
push dword [eax]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46293a
push 0x800
lea eax, [ebp - 0x1414]
push 0
push eax
call fcn.00432c40
push 0x800
lea eax, [ebp - 0xc14]
push 0
push eax
call fcn.00432c40
push 0x400
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x1414]
push eax
call fcn.0046efe4
add esp, 0x24
lea eax, [ebp - 0x1414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x1414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x462829
lea eax, [ebp - 0x20c]
push eax
push str.Dest_File_Exist:__s
call fcn.0044e890
lea eax, [ebp - 0x20c]
push eax
call fcn.00454b60
add esp, 0xc
test eax, eax
jne 0x462829
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.Delete_File__s_Failed__error___d
call fcn.0044e890
add esp, 0xc
lea eax, [ebp - 0xc14]
push eax
push 0
push 0x4ac4e0
lea eax, [ebp - 0x1414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0xc14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x462883
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0x20c]
push eax
push str.Rename_File__s_to__s_success
call fcn.0044e890
add esp, 0xc
lea eax, [ebp - 0xc14]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [esi + 0x7c], 0
jne 0x462829
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00464a60
test eax, eax
je 0x462829
lea eax, [ebp - 0x20c]
push eax
push str.check_file__s___need_reboot_now
call fcn.0044e890
add esp, 8
mov dword [esi + 0x7c], 1
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x462903
lea eax, [ebp - 0x414]
push eax
push 0x4ad2a4
call fcn.0044e890
add esp, 8
inc ebx
add edi, 0x1000
cmp ebx, dword [ebp + 0x14]
jl 0x462675
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x20c]
push eax
push str.Rename_File__s_failed__replace_until_reboot
call fcn.0044e890
add esp, 8
lea eax, [ebp - 0xc14]
push 0
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 5
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xc14]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [esi + 0x7c], 0
jne 0x462847
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00464a60
test eax, eax
je 0x462847
lea eax, [ebp - 0x20c]
push eax
push str.check_file__s___need_reboot_now
call fcn.0044e890
add esp, 8
mov dword [esi + 0x7c], 1
jmp 0x462847
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
push str.Copy_From__s_to__s_Failed_Error_Code___d
call fcn.0044e890
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x414]
push eax
push str.Copy_file_not_exist:__s
call fcn.0044e890
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop edi
pop esi
pop ebx
call fcn.0042c75e
mov esp, ebp
pop ebp
ret 0x10