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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4c
mov eax, dword [0x445824]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call fcn.00416fc0
push 0x206
xor edi, edi
lea ecx, [ebp - 0x61e]
xor eax, eax
push edi
push ecx
mov word [ebp - 0x620], ax
call fcn.00422ed0
add esp, 0xc
push esi
push edi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
lea edx, [ebp - 0x620]
push edx
push edi
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea eax, [ebp - 0x828]
push eax
push 0x104
mov dword [ebp - 0xc3c], edi
mov dword [ebp - 0xc48], 0xc
mov dword [ebp - 0xc40], edi
mov dword [ebp - 0xc44], edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
call fcn.00421c8e
add esp, 4
push eax
call fcn.00421475
add esp, 4
call fcn.00421487
push edi
call fcn.00421c8e
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
add esp, 4
push edx
push eax
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x210]
push 0x4404b4
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x14
lea eax, [ebp - 0xc48]
push eax
lea ecx, [ebp - 0x210]
push ecx
call edi
push str....._
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x418]
push 0x43f14c
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0xc48]
push ecx
lea edx, [ebp - 0x418]
push edx
call edi
push str.Microsoft.TransCompositio.msi
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebp - 0xc38]
push 0x44072c
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0xc38]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
push edx
lea eax, [ebp - 0x620]
push eax
call ebx
push str.Microsoft.TransCompositio.msi
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0xa30]
push 0x44072c
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0xa30]
push eax
lea ecx, [ebp - 0x418]
push ecx
call ebx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x620]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x417326
mov eax, dword [ebp - 0xc3c]
inc eax
mov dword [ebp - 0xc3c], eax
cmp eax, 0xa
jge 0x417339
lea ecx, [ebp - 0x828]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0
call fcn.00421c8e
add esp, 4
push eax
call fcn.00421475
add esp, 4
call fcn.00421487
push 0
call fcn.00421c8e
add esp, 4
push edx
push eax
lea edx, [ebp - 0x828]
push edx
lea eax, [ebp - 0x210]
push 0x4404b4
push eax
call esi
add esp, 0x14
lea ecx, [ebp - 0xc48]
push ecx
lea edx, [ebp - 0x210]
push edx
call edi
push str....._
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push 0x43f14c
push ecx
call esi
add esp, 0x10
lea edx, [ebp - 0xc48]
push edx
lea eax, [ebp - 0x418]
push eax
call edi
push str.Microsoft.TransCompositio.msi
lea ecx, [ebp - 0x418]
push ecx
lea edx, [ebp - 0xc38]
push 0x44072c
push edx
call esi
add esp, 0x10
lea eax, [ebp - 0xc38]
push eax
lea ecx, [ebp - 0x620]
push ecx
call ebx
push str.Microsoft.TransCompositio.msi
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0xa30]
push 0x44072c
push eax
call esi
add esp, 0x10
lea ecx, [ebp - 0xa30]
push ecx
lea edx, [ebp - 0x418]
push edx
call ebx
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x620]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x417200
push 0
lea edx, [ebp - 0x620]
push edx
push 5
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fa5e
mov esp, ebp
pop ebp
ret