Function at 0x42cdf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47fac0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push esi
push edi
mov eax, dword [0x4ac084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4b049c]
mov ebx, eax
mov ecx, dword [edi + 0x60]
neg ebx
sbb ebx, ebx
and ebx, 2
test ecx, ecx
je 0x42ce3c
mov eax, dword [ecx]
push 0
push ebx
call dword [eax + 4]
mov eax, dword [0x4b049c]
cmp dword [0x4b04c4], 0
je 0x42ce4c
push str.UninstallStart
jmp 0x42ce5c
test eax, eax
je 0x42ce57
push str.UpdateStart
jmp 0x42ce5c
push str.InstallStart
call fcn.0040c350
add esp, 4
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov eax, dword [0x4b0648]
cmp dword [eax - 0xc], 0
je 0x42ced1
push 0x4b0648
mov edx, str.Software_
lea ecx, [ebp - 0x10]
call fcn.0040fae0
push ecx
push 0x2001f
push 0
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x44]
push SysReAllocString
call fcn.0042e8d0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42ced1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x4ad784
push 0x4ad760
push 0
push dword [edi + 0x60]
call fcn.0047c9ad
add esp, 0x14
test eax, eax
je 0x42cef3
add eax, 0x30
jmp 0x42cef5
xor eax, eax
cmp dword [edi + 0x94], 0
lea esi, [edi + 0x64]
mov dword [esi], eax
jne 0x42cf8e
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.004346f0
mov esi, eax
test esi, esi
js 0x42cfbd
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42cf2a
push ebx
push esi
call fcn.00423c20
mov eax, dword [0x4b04d8]
test eax, eax
je 0x42cf42
push 0
push esi
push 0x4ea
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42cf62
push 4
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push ecx
push 4
push 0
push str.PCKInstallProgress
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x2710
lea esi, [edi + 0x64]
je 0x42cf81
cmp dword [edi + 0x94], 0
je 0x42cf07
lea esi, [edi + 0x64]
cmp dword [edi + 0x94], 0
je 0x42d017
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42cf9e
push 1
push 0
call fcn.00423c20
mov ecx, esi
call fcn.00433850
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x42cfb3
mov eax, dword [ecx]
push 0xc
call dword [eax + 0xc]
mov ebx, 0xc
jmp 0x42d1c2
neg esi
cmp esi, 8
jle 0x42cfdc
push str.Components_install_error.
push 3
push 3
mov ebx, 7
lea ecx, [ebp - 0x50]
push 0x234
jmp 0x42cff2
push str.Components_download_error.
push 3
push 3
mov ebx, 8
lea ecx, [ebp - 0x5c]
push 0x239
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
lea ecx, [edi + 0x64]
call fcn.00433850
jmp 0x42d1b5
cmp dword [0x4b04c4], 0
je 0x42d02a
push str.UninstallFinish
jmp 0x42d157
cmp dword [0x4b049c], 0
je 0x42d152
mov ecx, 0x4b0604
call fcn.0044ac00
test eax, eax
je 0x42d0ad
cmp dword [0x4b0498], 0
je 0x42d0ad
push 0x2011f
push str.SOFTWAREEssentwarePckeeper
push SysReAllocString
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.00402f70
test eax, eax
jne 0x42d0a5
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 4
push 0
push str.UPDATED
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x2c]
call fcn.00403020
lea ecx, [ebp - 0x2c]
call fcn.00403050
push str.UpdateFinish
call fcn.0040c350
add esp, 4
mov ecx, 0x4b060c
call fcn.0044ac00
test eax, eax
je 0x42d15f
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
push 0x2001f
push str.SoftwareEssentwarePCKAV
push SysReAllocString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00402f70
push 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
push 4
push 0
push str.RunSilentScan
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push str.Set_RunSilentScan_on_Update_finished_action.
push 1
push 3
push 0x26d
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0x68]
call fcn.00457220
push eax
call fcn.004573f0
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00403050
jmp 0x42d15f
push str.InstallFinish
call fcn.0040c350
add esp, 4
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x42d16e
mov ecx, dword [ecx + 4]
call fcn.0042b1f0
cmp dword [0x4b0490], 0
je 0x42d181
push str.Install_success__reboot_needed.
lea ecx, [ebp - 0x74]
jmp 0x42d189
push str.Install_success.
lea ecx, [ebp - 0x80]
push 1
push 3
push 0x276
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
call fcn.00457220
push eax
call fcn.004573f0
xor ebx, ebx
add esp, 0x10
cmp dword [0x4b0490], ebx
setne bl
mov ecx, dword [edi + 0x60]
test ecx, ecx
je 0x42d1c2
mov eax, dword [ecx]
push ebx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x42d1d0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret