Function at 0x4126f9
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
mov eax, 0x44c740
call fcn.0042c4cc
sub esp, 0x22c
mov al, byte [0x46a9b4]
push ebx
push esi
push edi
mov esi, ecx
push 0x40
mov byte [ebp - 0x134], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebp - 0xd]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call fcn.004151e3
mov edi, str._ICETemp_
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00401879
mov ax, word [esi + 0x104]
and dword [ebp - 4], 0
push eax
lea ebx, [esi + 0x1fc]
push dword [esi + 0xec]
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0041a897
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x41277e
mov eax, 0x44f48c
push edi
push eax
call fcn.0042d0a4
pop ecx
test eax, eax
pop ecx
jne 0x4127ba
mov edi, str._Program_Files__Manufacturer_Temp_CDGuid__
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x30]
call fcn.00401879
mov ax, word [esi + 0x104]
mov ecx, ebx
push eax
lea eax, [ebp - 0x30]
push dword [esi + 0xec]
push eax
call fcn.0041a897
mov eax, dword [ebp - 0x2c]
xor edi, edi
cmp eax, edi
mov ebx, 0x44f48c
jne 0x4127ca
mov eax, ebx
push eax
call fcn.0041dc10
test eax, eax
pop ecx
jne 0x4127fa
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x4127de
mov eax, ebx
push eax
push str.Could_not_create_destination_folder__s_n
push 8
push 0x46abb8
call fcn.0040121a
add esp, 0x10
xor esi, esi
jmp 0x4129c4
lea eax, [ebp - 0x238]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jne 0x412816
mov eax, ebx
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042cc90
lea eax, [ebp - 0x134]
push str.hpzsetup.exe
push eax
call fcn.0042cca0
lea eax, [ebp - 0x134]
push eax
call fcn.00402af4
add esp, 0x14
test eax, eax
je 0x412866
lea eax, [ebp - 0x134]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x134]
push edi
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4128ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x238]
push eax
push str.Could_not_copy__s_to__s__error_d_n
push 8
push 0x46abb8
call fcn.0040121a
add esp, 0x18
jmp 0x4127f3
mov al, byte [ebp - 0xd]
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call fcn.004151e3
push dword [esi + 0x70]
mov byte [ebp - 4], 1
call fcn.0042cc10
test eax, eax
pop ecx
jbe 0x4128f7
mov edi, dword [esi + 0x70]
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404b64
mov edi, 0x45ffd4
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404b64
mov edi, str._rerun_4
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404b64
cmp dword [esi + 0x3a4], 0
je 0x412943
mov edi, 0x462720
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404b64
push dword [0x44f390]
lea eax, [esi + 0x39c]
lea ecx, [ebp - 0x20]
push 0
push eax
call fcn.00404adc
mov edi, 0x46271c
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404b64
mov edi, 0x45fc78
push edi
call fcn.0042cc10
pop ecx
push eax
push edi
lea ecx, [ebp - 0x20]
call fcn.00404b64
push dword [0x44f390]
add esi, 0xdc
lea ecx, [ebp - 0x20]
push 0
push esi
call fcn.00404adc
mov esi, 0x45fc68
push esi
call fcn.0042cc10
pop ecx
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.00404b64
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4129a5
mov eax, ebx
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0041d7af
pop ecx
and byte [ebp - 4], 0
pop ecx
push 1
lea ecx, [ebp - 0x20]
pop esi
push esi
call fcn.004151e3
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x30]
call fcn.004151e3
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret