Function at 0x420964
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x440
mov eax, 0x4aca98
call fcn.0043d05b
xor ebx, ebx
mov byte [ebp - 0x421], bl
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x434], ebx
push 0x20019
mov esi, str.SOFTWAREMcAfeeUPDMGRUpdate
mov dword [ebp - 4], ebx
push esi
push 0x80000002
lea ecx, [ebp - 0x43c]
call fcn.00416a89
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4209f0
push 1
call fcn.0042c3e0
pop ecx
test eax, eax
je 0x420c95
lea eax, [ebp - 0x420]
push eax
push esi
push str.regKey__s_not_found__errorcode___d
push 0x2e7
push str.CMcUpdateMgrModule::ResumeUpdate
push str.McUpdateMgr.cpp
push 1
call fcn.0042594a
add esp, 0x1c
jmp 0x420c95
push 0x200
lea eax, [ebp - 0x210]
mov edi, ebx
push ebx
push eax
call fcn.0043f630
add esp, 0xc
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x440], 0x100
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc edi
test eax, eax
jne 0x420c8f
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00420465
pop ecx
pop ecx
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
jne 0x420abd
push 4
call fcn.0042c3e0
pop ecx
test eax, eax
je 0x420a95
lea eax, [ebp - 0x210]
push eax
push str._s_has_empty_PkgIDs
push 0x2fb
push str.CMcUpdateMgrModule::ResumeUpdate
push str.McUpdateMgr.cpp
push 4
call fcn.004128f2
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00414512
mov ecx, dword [ebp - 0x428]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.0040a044
jmp 0x420a07
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], ebx
push eax
push 0x4b9548
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x428]
call fcn.00417fae
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x41c]
mov byte [ebp - 4], 2
call fcn.0041d235
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], ebx
push eax
call fcn.0041f915
cmp dword [ebp - 0x420], 0
je 0x420b62
push 3
call fcn.0042c3e0
pop ecx
test eax, eax
je 0x420c72
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push str.Update_is_running_for__s__do_not_resume
push 0x307
push str.CMcUpdateMgrModule::ResumeUpdate
push str.McUpdateMgr.cpp
push 3
call fcn.00402fc0
add esp, 0x18
jmp 0x420c72
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], ebx
push eax
push 0x4b7ef4
push ebx
call fcn.00414466
mov dword [ebp - 0x420], eax
test eax, eax
jne 0x420c28
push dword [ebp - 0x428]
lea ecx, [ebp - 0x444]
call fcn.00412bd1
mov ecx, dword [ebp - 0x430]
push dword [eax]
mov byte [ebp - 4], 4
push ecx
mov edx, dword [ecx]
call dword [edx + 0x24]
push dword [ebp - 0x444]
mov esi, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x420], esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x420c1f
push 4
call fcn.0042c3e0
pop ecx
test eax, eax
je 0x420bff
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x210]
push eax
push str.Failed_to_resume_update_for__s__errorcode___d
push 0x313
push str.CMcUpdateMgrModule::ResumeUpdate
push str.McUpdateMgr.cpp
push 4
call fcn.0042594a
add esp, 0x1c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00414512
mov eax, dword [ebp - 0x430]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x420c72
mov byte [ebp - 0x421], 1
jmp 0x420c72
push 4
call fcn.0042c3e0
pop ecx
test eax, eax
je 0x420c60
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x210]
push eax
push str.Failed_to_create_update_instance_for__s__errorcode___d
push 0x31c
push str.CMcUpdateMgrModule::ResumeUpdate
push str.McUpdateMgr.cpp
push 4
call fcn.0042594a
add esp, 0x1c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00414512
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - method.CMcUpdateMgr_Helper.virtual_0], vtable.CMcUpdateMgr_Helper.0
lea ecx, [ecx - 0x10]
call fcn.0040a044
jmp 0x420aa7
mov bl, byte [ebp - 0x421]
lea ecx, [ebp - 0x43c]
call fcn.00414295
mov al, bl
call fcn.0043d005
ret