Function at 0x48170f
Capabilities:
Copy file

Disassembly:
push 0x40
mov eax, 0x508cd1
call fcn.004cea37
mov ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x20]
and dword [ebp - 0x44], 0
push eax
mov dword [ebp - 0x4c], edi
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [ebp - 0x38]
call fcn.00406bd2
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.00407aa5
add esp, 0x34
lea ecx, [ebp - 0x34]
call fcn.00406bd2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00406bd2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00406bd2
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, dword [ebx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004885f2
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.00446330
push 0
push 0x530410
lea ecx, [ebp - 0x28]
call fcn.0042e2bd
test eax, eax
jne 0x4817f2
mov esi, dword [ebp - 0x28]
add esi, 8
je 0x4817e8
push esi
call fcn.004d3ded
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.00409e0a
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.0046a0f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov edx, eax
mov dword [esp], 0x52995c
call fcn.00452644
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068c3
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.00475740
lea edx, [ebp - 0x2c]
mov dword [esp], str.instname_target.msi
lea ecx, [ebp - 0x24]
call fcn.00452644
pop ecx
lea esi, [ebx + 0x24]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
mov dword [ebp - 0x48], esi
call fcn.00446330
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068c3
push str.instname_custom.mst
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
call fcn.00452644
pop ecx
lea ecx, [ebx + 0x28]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x40], ecx
call fcn.00446330
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.004068c3
push 0
push dword [esi]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4818b1
mov ecx, edi
call fcn.00406bd2
mov dword [ebp - 0x44], 1
jmp 0x4819a6
lea esi, [ebx + 0x1c]
push esi
lea ecx, [ebp - 0x3c]
call fcn.004071c5
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4818f0
lea eax, [ebp - 0x3c]
mov ecx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00481d24
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.00446330
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004068c3
push 0x528064
lea ecx, [ebp - 0x24]
call fcn.00409ea5
mov ebx, dword [ebp - 0x48]
lea eax, [ebp - 0x24]
push esi
push eax
push ebx
mov byte [ebp - 4], 0xc
call fcn.00481b77
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004068c3
push str.ProductCode
lea ecx, [ebp - 0x24]
call fcn.00409ea5
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00481b77
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004068c3
push str.InstanceId
lea ecx, [ebp - 0x24]
call fcn.0047ffcc
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
call fcn.00481b77
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.004068c3
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
push esi
push ebx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004819ec
lea ecx, [ebp - 0x40]
call fcn.004068c3
push esi
mov ecx, edi
call fcn.004071c5
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 7
call fcn.004068c3
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.004068c3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004068c3
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004068c3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004068c3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.004068c3
mov eax, edi
call fcn.004ce9e1
ret 4