Function at 0x480f5c
Capabilities:
Copy file

Disassembly:
push 0x38
mov eax, 0x50653e
call fcn.004cc2a7
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
and dword [ebp - 0x40], 0
push eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [ebp - 0x38]
call fcn.00406bcb
mov dword [ebp - 4], 1
movzx eax, byte [ebp - 0x11]
push eax
movzx eax, byte [ebp - 0x12]
push eax
movzx eax, byte [ebp - 0x13]
push eax
movzx eax, byte [ebp - 0x14]
push eax
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push str._0.8X__0.4X__0.4X__0.2X_0.2X__0.2X_0.2X_0.2X_0.2X_0.2X_0.2X
push eax
call fcn.00407a35
add esp, 0x34
lea ecx, [ebp - 0x34]
call fcn.00406bcb
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00406bcb
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00406bcb
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00487c07
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00446083
push 0
push str.__
lea ecx, [ebp - 0x28]
call fcn.0042e110
test eax, eax
jne 0x48103f
mov esi, dword [ebp - 0x28]
add esi, 8
je 0x481035
push esi
call fcn.004d163d
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.004099a1
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.00469df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov edx, eax
mov dword [esp], 0x52686c
call fcn.004522e9
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068bc
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.00475160
lea edx, [ebp - 0x2c]
mov dword [esp], str.instname_target.msi
lea ecx, [ebp - 0x24]
call fcn.004522e9
pop ecx
push eax
lea ecx, [ebx + 0x24]
mov byte [ebp - 4], 8
call fcn.00446083
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068bc
push str.instname_custom.mst
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
call fcn.004522e9
pop ecx
lea ecx, [ebx + 0x28]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x3c], ecx
call fcn.00446083
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068bc
push 0
push dword [ebx + 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4810f3
mov ecx, edi
call fcn.00406bcb
jmp 0x481199
lea esi, [ebx + 0x1c]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x481121
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00481526
push eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.00446083
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068bc
push 0x524fcc
lea ecx, [ebp - 0x24]
call fcn.00409a3c
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push eax
lea esi, [ebx + 0x24]
push esi
call fcn.00481371
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068bc
push str.ProductCode
lea ecx, [ebp - 0x24]
call fcn.00409a3c
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00481371
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068bc
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push ebx
push esi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004811e6
lea ecx, [ebp - 0x3c]
call fcn.004068bc
push ebx
mov ecx, edi
call fcn.00407175
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], 1
mov byte [ebp - 4], 4
call fcn.004068bc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004068bc
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004068bc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004068bc
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.004068bc
mov eax, edi
call fcn.004cc251
ret 4