Function at 0x453a30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de684
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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 esi, ecx
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetAffiliateUniqueId
push 0x551
push 3
lea ecx, [ebp - 0x21c]
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.Entering_GetAffiliateUniqueId
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
call fcn.004327d0
mov eax, dword [ebp - 0x21c]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add eax, 0x14
push eax
call edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
push 0
push eax
mov dword [ebp - 0x220], 0
call fcn.00496490
add esp, 0xc
mov dword [ebp - 0x228], 0x208
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x453af5
mov eax, dword [esi]
jmp 0x453af7
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x220]
push eax
push 0x20219
push ecx
push str.SOFTWAREMcAfeeDynamicKey
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x453bea
mov ecx, dword [ebp - 0x220]
test ecx, ecx
je 0x453bea
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push 0x4fe970
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x453b63
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00408ee0
jmp 0x453bd7
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetAffiliateUniqueId
push 0x561
push 4
lea ecx, [ebp - 0x21c]
call fcn.00431610
mov dword [ebp - 4], 2
mov edx, str.Failed_to_get_registry_value_:
mov ecx, dword [eax]
call fcn.004333c0
push ebx
mov edx, 0x4fe970
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 - 0x21c]
call fcn.004327d0
mov eax, dword [ebp - 0x21c]
add eax, 0x14
push eax
call edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x453c5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x453c5e
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetAffiliateUniqueId
push 0x568
push 4
lea ecx, [ebp - 0x21c]
call fcn.00431610
mov dword [ebp - 4], 4
mov edx, 0x502f3c
mov ecx, dword [eax]
call fcn.004333c0
push ebx
mov edx, str.SOFTWAREMcAfeeDynamicKey
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 - 0x21c]
call fcn.004327d0
mov eax, dword [ebp - 0x21c]
add eax, 0x14
push eax
call edi
mov dword [ebp - 4], 0xffffffff
push str.e:_b_t_bfdad672_1e32_4be5_965f_d9a51e52de98installintegrator_srcincludeMcVi2Util.h
push str.GetAffiliateUniqueId
push 0x56b
push 3
lea ecx, [ebp - 0x224]
call fcn.00431610
mov dword [ebp - 4], 6
mov edx, str.Leaving_GetAffiliateUniqueId
mov ecx, dword [eax]
call fcn.004333c0
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x224]
call fcn.004327d0
mov eax, dword [ebp - 0x224]
add eax, 0x14
push eax
call edi
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