Function at 0x417cc7
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x458090]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x18]
mov esi, ecx
push eax
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov eax, dword [0x45a140]
mov ebx, 0x45a140
mov ecx, ebx
call dword [eax + 0xc]
push 0x10
pop edi
add eax, edi
mov dword [ebp - 0x28], eax
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.00409762
mov eax, dword [0x45a140]
add esp, 0x34
mov ecx, ebx
call dword [eax + 0xc]
add eax, edi
mov dword [ebp - 0x30], eax
mov eax, dword [0x45a140]
mov ecx, ebx
call dword [eax + 0xc]
add eax, edi
mov dword [ebp - 0x34], eax
mov eax, dword [0x45a140]
mov ecx, ebx
call dword [eax + 0xc]
push dword [esi + 0x14]
add eax, edi
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x34]
call fcn.0040bccb
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x30]
call fcn.00408905
push 0x452d44
xor ecx, ecx
lea esi, [ebp - 0x24]
call fcn.00408c48
test eax, eax
jne 0x417db4
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, edi
push eax
call fcn.00404539
lea eax, [ebp - 0x28]
push 0x44b8d0
push eax
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.00408dbc
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00408dee
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00404645
push 0
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.0040a6a7
mov esi, dword [ebp - 0x1c]
add esp, 0xc
push str.instname_target.msi
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
add esi, 0x18
call fcn.00408dee
pop ecx
mov edi, esi
call fcn.00408905
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404645
mov edi, dword [ebp - 0x1c]
add edi, 0x1c
push str.instname_custom.mst
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], edi
call fcn.00408dee
pop ecx
call fcn.00408905
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404645
mov eax, dword [esi]
mov edi, dword [ebp - 0x34]
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x417e62
mov esi, dword [ebp - 0x3c]
mov ecx, ebx
call fcn.0040462a
jmp 0x417f08
mov eax, dword [ebp - 0x1c]
lea ebx, [eax + 0x10]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
jne 0x417e8f
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.0041829d
mov edi, ebx
call fcn.00408905
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404645
mov edi, dword [ebp - 0x34]
push 0x44bd40
lea eax, [ebp - 0x1c]
call fcn.0040455c
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.004180ad
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404645
push 0x44b864
lea eax, [ebp - 0x1c]
call fcn.0040455c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.004180ad
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404645
mov ebx, dword [ebp - 0x38]
push ebx
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
call fcn.00417f4f
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00404645
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00409c7d
mov esi, dword [ebp - 0x3c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00404645
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00404645
lea eax, [edi - 0x10]
call fcn.00404645
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00404645
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00404645
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043189b
leave
ret 4