Function at 0x483645
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x541770]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x38], eax
push edi
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x28]
push eax
call fcn.0040372d
movzx eax, byte [ebp - 9]
push eax
movzx eax, byte [ebp - 0xa]
push eax
movzx eax, byte [ebp - 0xb]
push eax
movzx eax, byte [ebp - 0xc]
push eax
movzx eax, byte [ebp - 0xd]
push eax
movzx eax, byte [ebp - 0xe]
push eax
movzx eax, byte [ebp - 0xf]
push eax
movzx eax, byte [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
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.00453582
add esp, 0x34
lea eax, [ebp - 0x30]
push eax
call fcn.0040372d
lea eax, [ebp - 0x2c]
push eax
call fcn.0040372d
lea eax, [ebp - 0x20]
push eax
call fcn.0040372d
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 0x14]
lea eax, [ebp - 0x20]
call fcn.004785d9
lea eax, [ebp - 0x20]
lea edi, [ebp - 0x30]
call fcn.004412d2
xor ecx, ecx
mov edx, 0x50f4fc
lea esi, [ebp - 0x20]
call fcn.00466740
test eax, eax
jne 0x48370d
mov eax, dword [ebp - 0x20]
add eax, 8
push eax
mov eax, edi
push eax
call fcn.00405d23
push 0x50ec88
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea esi, [ebp - 0x30]
call fcn.00476235
pop ecx
pop ecx
lea ecx, [ebp - 0x34]
push ecx
mov esi, eax
call fcn.0044d090
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
call fcn.004036cd
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.00469fc0
lea eax, [ebp - 0x24]
push str.instname_target.msi
push eax
lea esi, [ebp - 0x34]
lea edi, [ebx + 0x18]
call fcn.0044d090
add esp, 0x10
call fcn.004412d2
lea ecx, [ebp - 0x24]
call fcn.004036cd
lea eax, [ebp - 0x1c]
push str.instname_custom.mst
lea edi, [ebx + 0x1c]
push eax
mov dword [ebp - 0x24], edi
call fcn.0044d090
pop ecx
pop ecx
call fcn.004412d2
lea ecx, [ebp - 0x1c]
call fcn.004036cd
lea esi, [ebx + 0x18]
mov eax, dword [esi]
push 0
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4837ae
push dword [ebp - 0x38]
call fcn.0040372d
jmp 0x483836
lea edi, [ebx + 0x10]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4837d0
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.00483b5f
call fcn.004412d2
lea ecx, [ebp - 0x1c]
call fcn.004036cd
push 0x507af4
lea eax, [ebp - 0x1c]
push eax
call fcn.00405d46
push edi
lea edi, [ebp - 0x1c]
mov eax, esi
call fcn.00483997
mov ecx, edi
call fcn.004036cd
push 0x51089c
lea eax, [ebp - 0x1c]
push eax
call fcn.00405d46
lea eax, [ebp - 0x28]
push eax
lea edi, [ebp - 0x1c]
mov eax, esi
call fcn.00483997
mov ecx, edi
call fcn.004036cd
push dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push esi
push eax
lea eax, [ebp - 0x2c]
call fcn.00483871
lea ecx, [ebp - 0x1c]
call fcn.004036cd
push dword [ebp - 0x24]
push dword [ebp - 0x38]
call fcn.00403ccd
lea ecx, [ebp - 0x34]
call fcn.004036cd
lea ecx, [ebp - 0x20]
call fcn.004036cd
lea ecx, [ebp - 0x2c]
call fcn.004036cd
lea ecx, [ebp - 0x30]
call fcn.004036cd
lea ecx, [ebp - 0x28]
call fcn.004036cd
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x38]
pop edi
xor ecx, ebp
pop esi
call fcn.004c625d
leave
ret 4