Function at 0x417050
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433540
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov ecx, str.73534974_C058_4AAD_B0CD_CF8A011A87EA
mov dword [ebp - 4], 0
call fcn.00415090
test eax, eax
jne 0x4170b2
lea edx, [ebp - 0x14]
mov ecx, str.8000D876_0620_4072_AD0A_7D402167FF98
call fcn.00415090
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
cmp dword [esi - 0xc], 0
jne 0x4170e9
push str.INSTALLLOCATION_is_empty_after_the_installation
push 3
push 3
push 0x34
push str.CInstActionPCKeeper::CopyMsi
push str.d:_bioticdev_zeoinsight_pckeeperinstallerActionsInstActionPCKeeper.h
lea ecx, [ebp - 0x24]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x10
jmp 0x417212
push dword [ebx + 0x70]
lea ecx, [ebp - 0x18]
call fcn.00403130
push esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00403130
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00418010
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.00417f90
push 0
push dword [ebp - 0x10]
push dword [ebx + 0x70]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41715a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.failed_to_copy_msi_to_INSTALLLOCATION__ls__err___d
push 3
push 3
push 0x42
push str.CInstActionPCKeeper::CopyMsi
push str.d:_bioticdev_zeoinsight_pckeeperinstallerActionsInstActionPCKeeper.h
lea ecx, [ebp - 0x24]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x18
jmp 0x4171d2
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0x102
push str.SoftwareZeoBitPCKeeperInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.004027e0
test eax, eax
jne 0x41719d
push ecx
push dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004196f0
jmp 0x4171c4
push eax
push str.failed_to_set_installer_path__err___d
push 3
push 3
push 0x4e
push str.CInstActionPCKeeper::CopyMsi
push str.d:_bioticdev_zeoinsight_pckeeperinstallerActionsInstActionPCKeeper.h
lea ecx, [ebp - 0x30]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x14
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4171d2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4171f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x417212
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x417230
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret