Function at 0x417d5d
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.004097a8
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.0040bd36
lea eax, [ebp - 0x24]
lea edi, [ebp - 0x30]
call fcn.00408901
push 0x452d3c
xor ecx, ecx
lea esi, [ebp - 0x24]
call fcn.00408c44
test eax, eax
jne 0x417e4a
mov eax, dword [ebp - 0x24]
add eax, 8
push eax
mov eax, edi
push eax
call fcn.00404548
lea eax, [ebp - 0x28]
push 0x44b8d0
push eax
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x20]
call fcn.00408db8
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00408dea
mov eax, dword [ebp - 0x20]
pop ecx
add eax, 0xfffffff0
call fcn.00404644
push 0
lea eax, [ebp - 0x2c]
push 1
push eax
call fcn.0040a71b
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.00408dea
pop ecx
mov edi, esi
call fcn.00408901
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404644
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.00408dea
pop ecx
call fcn.00408901
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404644
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 0x417ef8
mov esi, dword [ebp - 0x3c]
mov ecx, ebx
call fcn.004020bf
jmp 0x417f9e
mov eax, dword [ebp - 0x1c]
lea ebx, [eax + 0x10]
mov ecx, dword [ebx]
cmp dword [ecx - 0xc], 0
jne 0x417f25
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.00418333
mov edi, ebx
call fcn.00408901
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00404644
mov edi, dword [ebp - 0x34]
push 0x44bd3c
lea eax, [ebp - 0x1c]
call fcn.0040456b
push ebx
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.00418143
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404644
push 0x44b864
lea eax, [ebp - 0x1c]
call fcn.0040456b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, esi
call fcn.00418143
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00404644
mov ebx, dword [ebp - 0x38]
push ebx
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
call fcn.00417fe5
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebx]
sub eax, 0x10
call fcn.00409cf1
mov esi, dword [ebp - 0x3c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00404644
lea eax, [edi - 0x10]
call fcn.00404644
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.00404644
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043189b
leave
ret 4