Function at 0x412ec0
Capabilities:
Hide graphical window
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432fd7
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push esi
push edi
mov eax, dword [0x448090]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x41328b
cmp eax, 1
je 0x41328b
cmp eax, 2
jne 0x4135bf
push str.installing_antivirus
push 1
push 3
push 0x23d
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0x60]
call fcn.0041e2e0
push eax
call fcn.0041e500
mov eax, dword [0x448020]
add esp, 0x10
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov dword [esp + 0xd8], 2
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
push 0x101
push str.SoftwareZeoBitPCKeeperInstaller
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x40]
mov byte [esp + 0xe4], 3
call fcn.004027e0
test eax, eax
jne 0x413220
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x24], 0x104
jge 0x412fc8
push 0x104
lea ecx, [esp + 0x1c]
call fcn.004026b0
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push esi
push str.InstallSource
lea ecx, [esp + 0x40]
call fcn.00402760
push dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov ebx, eax
call fcn.00402260
cmp dword [esi - 0xc], 0
jne 0x413037
push ebx
push str.cannot_find_installer_package__err___d
push 3
push 3
push 0x24a
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0xd0]
call fcn.0041e2e0
push eax
call fcn.0041e500
mov ecx, dword [edi + 0x78]
add esp, 0x14
test ecx, ecx
je 0x41302d
mov eax, dword [ecx]
push 0xb
call dword [eax + 0x10]
mov edi, 0xb
jmp 0x4131d4
mov ecx, dword [edi + 0x78]
mov dword [edi + 0xd0], 6
test ecx, ecx
je 0x413051
mov eax, dword [ecx]
push 0
push 6
call dword [eax + 4]
push str.AV1_ADDLOCALAntivirusFeature
lea ecx, [esp + 0x20]
call fcn.00403130
push esi
push str.installer_path___ls
push 1
push 3
push 0x253
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0x88]
mov byte [esp + 0xf4], 4
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x14
lea ecx, [esp + 0x9c]
push dword [esp + 0x1c]
push str.installer_cmdLine___ls
push 1
push 3
push 0x254
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x14
cmp dword [edi + 0xe0], 0
jne 0x41318a
mov esi, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea eax, [edi + 4]
push esi
push eax
lea ecx, [edi + 0xa8]
call fcn.00414c70
test eax, eax
je 0x413130
push str.installation_succeeded__setting_event
push 1
push 3
push 0x263
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0x9c]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x10
call fcn.00411ee0
lea ecx, [esp + 0x1c]
call fcn.00402930
jmp 0x41324e
cmp dword [edi + 0xe0], 0
jne 0x41318a
push str.InstallAvFailed
call fcn.00402990
add esp, 4
lea ecx, [esp + 0x54]
push str.Install_AV_error.
push 3
push 3
push 0x25b
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x10
call fcn.004146a0
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x413183
mov eax, dword [ecx]
push 0xb
call dword [eax + 0x10]
mov edi, 0xb
jmp 0x4131c7
push str.install_av_cancelled
push 1
push 3
push 0x260
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0x78]
call fcn.0041e2e0
push eax
call fcn.0041e500
mov ecx, dword [edi + 0x78]
add esp, 0x10
test ecx, ecx
je 0x4131c2
mov eax, dword [ecx]
push 0xc
call dword [eax + 0x10]
mov edi, 0xc
lea ecx, [esp + 0x1c]
call fcn.00402930
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4131e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [esp + 0xd8], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413208
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.failed_to_open_registry_key__err___d
push 3
push 3
push 0x268
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0x94]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x14
mov eax, dword [esp + 0x34]
test eax, eax
je 0x41325d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
mov dword [esp + 0xd8], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4135bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4135bf
mov ecx, 2
test eax, eax
mov ebx, 0xb
cmove ebx, ecx
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x4132a9
mov eax, dword [ecx]
push 0
push ebx
call dword [eax + 4]
mov eax, dword [edi + 8]
test eax, eax
jne 0x4132b7
push str.InstallStart
jmp 0x4132c1
cmp eax, 1
jne 0x4132c9
push str.UpdateStart
call fcn.00402990
add esp, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
lea ecx, [edi + 0x28]
mov dword [esp + 0xd8], 0
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x413335
push ecx
mov edx, str.Software_
lea ecx, [esp + 0x18]
call fcn.00413cd0
sub esp, 0x10
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x44]
call fcn.00413f10
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [edi + 0xe0], 0
jne 0x4133d1
lea eax, [edi + 0x80]
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.00417db0
mov esi, eax
test esi, esi
js 0x413510
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x41336c
push ebx
push esi
call fcn.0040c8a0
mov eax, dword [edi + 0x24]
test eax, eax
je 0x413382
push 0
push esi
push 0x4ea
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4133a5
push 4
lea ecx, [esp + 0x44]
push ecx
push 4
push 0
push str.PCKInstallProgress
push eax
mov dword [esp + 0x58], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, 0x2710
je 0x4133c4
cmp dword [edi + 0xe0], 0
lea eax, [edi + 0x80]
je 0x413348
cmp dword [edi + 0xe0], 0
je 0x41355d
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x4134cb
mov dword [ebx + 0x58], 0
mov eax, dword [0x448020]
mov ecx, 0x448020
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0xd8], 1
mov eax, dword [ebx + 0x38]
push 0
push 0x426
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x7a
call fcn.00403480
add esp, 8
test eax, eax
je 0x413439
push 0x7a
push eax
lea ecx, [esp + 0x28]
call fcn.004033b0
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x38]
push esi
push 0x424
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebx + 0x38]
push 0x3fc
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xfffffffffffffff0
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
jne 0x4134a9
or eax, 8
push eax
push 0xfffffffffffffff0
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 1
push 0x40a
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x54]
test ecx, ecx
je 0x4134a9
mov eax, dword [ecx]
push 1
push dword [ebx + 4]
push ecx
call dword [eax + 0x28]
add esi, 0xfffffff0
or ecx, 0xffffffff
lea eax, [esi + 0xc]
mov byte [esp + 0xd8], 0
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4134cb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x80]
call fcn.00417c40
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x4134e4
mov eax, dword [ecx]
push 0xc
call dword [eax + 0x10]
mov esi, 0xc
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4134f8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Prerequisites_install_error.
push 3
push 3
push 0x212
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [esp + 0xa8]
call fcn.0041e2e0
push eax
call fcn.0041e500
add esp, 0x10
lea ecx, [edi + 0x80]
call fcn.00417c40
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x413556
mov eax, dword [ecx]
push 7
call dword [eax + 0x10]
mov esi, 7
jmp 0x4134e9
cmp dword [edi + 0x88], 0
je 0x413576
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x413576
mov eax, dword [ecx + 0x14]
add ecx, 0x14
call dword [eax + 8]
mov eax, dword [edi + 8]
test eax, eax
jne 0x413584
push str.InstallFinish
jmp 0x41358e
cmp eax, 1
jne 0x413596
push str.UpdateFinish
call fcn.00402990
add esp, 4
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x4135a5
push dword [eax + 4]
call fcn.00411e70
mov dword [esp + 0xd8], 0xffffffff
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4135bf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi + 0x88], 0
je 0x4135d6
push str.Install_success__reboot_needed.
lea ecx, [esp + 0xac]
jmp 0x4135e2
push str.Install_success.
lea ecx, [esp + 0xc4]
push 1
push 3
push 0x26e
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
call fcn.0041e2e0
push eax
call fcn.0041e500
mov ecx, dword [edi + 0x78]
xor ebx, ebx
add esp, 0x10
cmp dword [edi + 0x88], ebx
setne bl
test ecx, ecx
je 0x41361b
mov edx, dword [ecx]
push ebx
call dword [edx + 0x10]
mov eax, ebx
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret