Function at 0x46f4d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1067
mov eax, dword fs:[0]
push eax
sub esp, 0x230
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]
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEmail
push 0x60
push 3
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.00431610
mov byte [ebp - 4], 1
mov edx, str.Entering_GetEmail
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x234]
call fcn.004327d0
mov eax, dword [ebp - 0x234]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x230]
push 0x17
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.SOFTWAREMcAfeePartner
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00408f30
push 1
push 0x4f8180
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00409380
push 0xffffffffffffffff
push 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x230]
call fcn.004094b0
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], 0
push 0
push eax
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x23c], 0x208
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push 0x20219
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x46f6fb
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push 0x50aa00
push dword [ebp - 0x238]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x46f680
cmp word [ebp - 0x218], ax
jne 0x46f656
xor ecx, ecx
lea eax, [ebp - 0x218]
push ecx
push eax
mov ecx, ebx
call fcn.00408f30
jmp 0x46f6e8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46f660
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00408f30
jmp 0x46f6e8
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEmail
push 0x74
push 4
lea ecx, [ebp - 0x234]
call fcn.00431610
mov byte [ebp - 4], 4
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], 5
mov ecx, dword [ebp - 0x234]
call fcn.004327d0
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x46f763
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x46f763
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEmail
push 0x7c
push 4
lea ecx, [ebp - 0x234]
call fcn.00431610
mov byte [ebp - 4], 6
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], 7
mov ecx, dword [ebp - 0x234]
call fcn.004327d0
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call edi
mov byte [ebp - 4], 3
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcmcdiregMcDiRegFetchRegValue.h
push str.CMcDiRegValues::GetEmail
push 0x81
push 3
lea ecx, [ebp - 0x234]
call fcn.00431610
mov byte [ebp - 4], 8
mov edx, str.Leaving_GetEmail
mov ecx, dword [eax]
call fcn.004333c0
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x234]
call fcn.004327d0
mov eax, dword [ebp - 0x234]
add eax, 0x14
push eax
call edi
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x46f7c7
push 2
inc eax
push eax
push dword [ebp - 0x230]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x220], 0
cmp eax, 8
jb 0x46f7fb
push 2
inc eax
push eax
push dword [ebp + 0xc]
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 0x1c