Function at 0x46f050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0fe4
mov eax, dword fs:[0]
push eax
sub esp, 0x47c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x454]
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetDisplayName
push 0x28
push 3
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Entering_GetDisplayName
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x454]
call fcn.004327d0
mov eax, dword [ebp - 0x454]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
mov dword [ebp - 0x458], 0
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x460], 0x400
xor eax, eax
mov dword [ebp - 0x414], 7
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x418], 0
mov word [ebp - 0x428], ax
push 0x13
push str.HKEY_LOCAL_MACHINE_
call fcn.00408f30
push 0x37
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMSC
lea ecx, [ebp - 0x428]
mov dword [ebp - 4], 2
call fcn.00409380
push 3
push 0x4ff534
lea ecx, [ebp - 0x428]
call fcn.00409380
push 7
call fcn.00401ad0
mov esi, eax
test esi, esi
je 0x46f16e
cmp esi, 0xffffffff
jne 0x46f1b2
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetDisplayName
push 0x36
push 4
lea ecx, [ebp - 0x454]
call fcn.00431610
mov byte [ebp - 4], 3
mov edx, str.Unable_to_Trust_Process
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x454]
call fcn.004327d0
mov eax, dword [ebp - 0x454]
add eax, 0x14
push eax
call edi
lea eax, [ebp - 0x488]
mov dword [ebp - fcn.0047e360], vtable.std::_Func_impl_class__lambda_3a58ce59275f4fbac9cd745d6b6cbacf___class_std::allocator_int___void___.0
mov dword [ebp - 0x484], esi
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x450]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x45c], eax
push eax
lea ecx, [ebp - 0x488]
mov byte [ebp - 4], 6
call fcn.0047e360
mov dword [ebp - 0x42c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x464]
test ecx, ecx
je 0x46f226
mov edx, dword [ecx]
lea eax, [ebp - 0x488]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x464], 0
mov byte [ebp - 4], 8
test esi, esi
je 0x46f2bc
cmp dword [ebp - 0x414], 8
lea eax, [ebp - 0x428]
push 0
cmovae eax, dword [ebp - 0x428]
push 4
push eax
push 2
push esi
call fcn.00401680
test al, al
jne 0x46f2bc
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetDisplayName
push 0x3e
push 4
lea ecx, [ebp - 0x454]
call fcn.00431610
mov byte [ebp - 4], 9
lea esi, [ebp - 0x428]
cmp dword [ebp - 0x414], 8
mov edx, str.Unable_to_Get_Access_for_Reg_path
mov ecx, dword [eax]
cmovae esi, dword [ebp - 0x428]
call fcn.004333c0
mov edx, esi
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x454]
call fcn.004327d0
mov eax, dword [ebp - 0x454]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
lea eax, [ebp - 0x458]
push eax
push 0x20219
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMSC
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x46f39f
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x46f39f
lea ecx, [ebp - 0x460]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push esi
push esi
push str.DisplayName
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x46f324
lea eax, [ebp - 0x410]
mov ecx, ebx
push eax
call fcn.00408ee0
jmp 0x46f38c
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetDisplayName
push 0x4b
push 4
lea ecx, [ebp - 0x454]
call fcn.00431610
mov byte [ebp - 4], 0xb
mov edx, str.Failed_to_get_registry_value_:
mov ecx, dword [eax]
call fcn.004333c0
push esi
mov edx, str.affid
mov ecx, eax
call fcn.00433720
mov edx, str.._Error:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x454]
call fcn.004327d0
mov eax, dword [ebp - 0x454]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x458]
test eax, eax
je 0x46f407
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46f407
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetDisplayName
push 0x55
push 4
lea ecx, [ebp - 0x454]
call fcn.00431610
mov byte [ebp - 4], 0xd
mov edx, 0x502f3c
mov ecx, dword [eax]
call fcn.004333c0
push esi
mov edx, str.SOFTWAREMcAfeeMSCAppInfoSubstituteQueryParams
mov ecx, eax
call fcn.00433720
mov edx, str.._Error:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x454]
call fcn.004327d0
mov eax, dword [ebp - 0x454]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 8
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetDisplayName
push 0x58
push 3
lea ecx, [ebp - 0x45c]
call fcn.00431610
mov byte [ebp - 4], 0xf
mov edx, str.Leaving_GetDisplayName
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x45c]
call fcn.004327d0
mov eax, dword [ebp - 0x45c]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
jne 0x46f45e
call fcn.00491bb8
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x46f48f
mov edx, dword [ecx]
lea eax, [ebp - 0x450]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x46f4ac
push 2
inc eax
push eax
push dword [ebp - 0x428]
call fcn.00402ff0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret 4