Function at 0x486c27
Capabilities:
Copy file

Disassembly:
push 0x40
mov eax, 0x50b701
call fcn.004d0e17
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20]
and dword [ebp - 0x44], 0
push eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea ecx, [ebp - 0x38]
call fcn.0040c77f
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.00410eb2
add esp, 0x34
lea ecx, [ebp - 0x34]
call fcn.0040c77f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040c77f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040c77f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
mov ecx, dword [edi + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048daf8
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x34]
call fcn.0044d0c3
push 0
push str.__
lea ecx, [ebp - 0x28]
call fcn.00435a56
test eax, eax
jne 0x486d0a
mov esi, dword [ebp - 0x28]
add esi, 8
je 0x486d00
push esi
call fcn.004d5c34
pop ecx
push eax
push esi
lea ecx, [ebp - 0x34]
call fcn.0040d1b7
lea eax, [ebp - 0x38]
push eax
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.0046f9e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov edx, eax
mov dword [esp], 0x52d76c
call fcn.0045015c
pop ecx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0040ca45
push 0
mov dl, 1
lea ecx, [ebp - 0x2c]
call fcn.00476640
lea edx, [ebp - 0x2c]
mov dword [esp], str.instname_target.msi
lea ecx, [ebp - 0x24]
call fcn.0045015c
pop ecx
lea esi, [edi + 0x24]
mov byte [ebp - 4], 8
push eax
mov ecx, esi
mov dword [ebp - 0x48], esi
call fcn.0044d0c3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0040ca45
push str.instname_custom.mst
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x24]
call fcn.0045015c
pop ecx
lea ecx, [edi + 0x28]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x40], ecx
call fcn.0044d0c3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.0040ca45
push 0
push dword [esi]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x486dc9
mov ecx, ebx
call fcn.0040c77f
mov dword [ebp - 0x44], 1
jmp 0x486ee6
lea esi, [edi + 0x1c]
push esi
lea ecx, [ebp - 0x3c]
call fcn.004069f3
mov byte [ebp - 4], 0xa
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x486e08
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00487264
push eax
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0044d0c3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
push 0x52bee4
lea ecx, [ebp - 0x24]
call fcn.0040d264
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x24]
push esi
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.004870b7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
push str.AI_PRODUCTNAME_ARP
lea ecx, [ebp - 0x24]
call fcn.0040d264
push esi
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push eax
push edi
call fcn.004870b7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
push str.ProductCode
lea ecx, [ebp - 0x24]
call fcn.0040d264
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.004870b7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
push str.InstanceId
lea ecx, [ebp - 0x24]
call fcn.00485441
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x24]
push eax
push edi
call fcn.004870b7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
mov esi, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
push esi
push edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00486f2c
lea ecx, [ebp - 0x40]
call fcn.0040ca45
push esi
mov ecx, ebx
call fcn.004069f3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 7
call fcn.0040ca45
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040ca45
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040ca45
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040ca45
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.0040ca45
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.0040ca45
mov eax, ebx
call fcn.004d0dc1
ret 4