Function at 0x46fa50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1144
mov eax, dword fs:[0]
push eax
sub esp, 0x414
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 - 0x414]
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEulaState
push 0xdc
push 3
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Entering_GetEulaState
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x414]
call fcn.004327d0
mov eax, dword [ebp - 0x414]
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 - 0x418], 0
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x420], 0x400
lea eax, [ebp - 0x418]
push eax
push 0x20219
push 0
push str.SOFTWAREMcAfeeMSCAppInfoSubstituteQueryParams
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x46fbf4
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x46fbf4
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push esi
push esi
push str.EulaState
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x46fb6d
lea eax, [ebp - 0x410]
mov ecx, ebx
push eax
call fcn.00408ee0
jmp 0x46fbe1
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEulaState
push 0xec
push 4
lea ecx, [ebp - 0x414]
call fcn.00431610
mov dword [ebp - 4], 2
mov edx, str.Failed_to_get_registry_value_:
mov ecx, dword [eax]
call fcn.004333c0
push esi
mov edx, str.EulaState
mov ecx, eax
call fcn.00433720
mov edx, str.._Error:
mov ecx, eax
call fcn.004333c0
mov ecx, eax
call fcn.0043a770
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x414]
call fcn.004327d0
mov eax, dword [ebp - 0x414]
add eax, 0x14
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x46fc68
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46fc68
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEulaState
push 0xf4
push 4
lea ecx, [ebp - 0x414]
call fcn.00431610
mov dword [ebp - 4], 4
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 dword [ebp - 4], 5
mov ecx, dword [ebp - 0x414]
call fcn.004327d0
mov eax, dword [ebp - 0x414]
add eax, 0x14
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEulaState
push 0xf7
push 3
lea ecx, [ebp - 0x41c]
call fcn.00431610
mov dword [ebp - 4], 6
mov edx, str.Leaving_GetEulaState
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x41c]
call fcn.004327d0
mov eax, dword [ebp - 0x41c]
add eax, 0x14
push eax
call edi
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