Function at 0x14a0c762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x150
lea ebp, [esp - 4]
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp + 0x150], eax
push 0x30
mov eax, 0x14a24362
call fcn.14a22c25
mov eax, dword [ebp + 0x160]
mov esi, dword [ebp + 0x15c]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x164]
push 0x14a286ac
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x168]
push 0x14a2864c
mov edi, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x16c]
push ebx
push str.CHPCUECtxMgr::CreateCtxDesc
lea ecx, [ebp]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x30], eax
call fcn.14a17030
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x14a0c7e9
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a0c7ed
xor eax, eax
jmp 0x14a0c806
lea edi, [eax + eax]
mov eax, edi
call fcn.14a22e40
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.14a0106e
mov edi, dword [ebp - 0x20]
push eax
lea ecx, [ebp]
call fcn.14a16fd0
cmp dword [edi + 0x68], ebx
je 0x14a0ca29
mov dword [ebp - 0x24], ebx
mov eax, dword [edi + 0x68]
lea edx, [ebp - 0x24]
push edx
add eax, 4
mov ecx, dword [eax]
push esi
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x30]
cmp eax, ebx
mov dword [ebp + 4], eax
jl 0x14a0ca17
push dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.14a09b7e
cmp dword [ebp - 0x14], ebx
je 0x14a0c9ff
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], ebx
je 0x14a0c86c
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a0c870
xor eax, eax
jmp 0x14a0c888
lea esi, [eax + eax]
mov eax, esi
call fcn.14a22e40
mov eax, esp
push 3
push esi
push dword [ebp - 0x1c]
push eax
call fcn.14a0106e
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push ebx
push eax
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14a0c968
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.InstallIndex
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x10], 4
call esi
test eax, eax
jne 0x14a0c8de
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.InstanceIDCtxInfoFile
push dword [ebp - 0x18]
mov dword [ebp - 0x10], 0x104
call esi
cmp eax, ebx
je 0x14a0c936
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.ProductClassCtxInfoFile
push dword [ebp - 0x18]
call esi
cmp eax, ebx
je 0x14a0c936
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.MfgCtxInfoFile
push dword [ebp - 0x18]
call esi
cmp eax, ebx
jne 0x14a0c95f
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.14a01cef
mov eax, dword [ebp - 0x14]
push dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 4
call dword [ecx + 0x4c]
push dword [ebp - 0x20]
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push eax
call dword [ecx + 0x88]
cmp eax, ebx
mov dword [ebp + 4], eax
jl 0x14a0c9d3
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x10]
call fcn.14a09b40
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 5
cmp eax, ebx
je 0x14a0c9f6
mov ecx, dword [eax]
push 1
push dword [ebp - 0x1c]
push edi
push eax
call dword [ecx + 0x40]
cmp dword [ebp - 0x34], ebx
je 0x14a0c9b2
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x34]
cmp dword [ebp - 0x30], ebx
je 0x14a0c9c2
push dword [ebp - 0x30]
lea ecx, [ebp - 0x10]
call fcn.14a0b14d
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x14a0c9d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x38], ebx
je 0x14a0c9e3
push dword [ebp - 0x38]
lea ecx, [ebp - 0x14]
call fcn.14a0b186
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x14a0ca06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14a0ca06
mov dword [ebp + 4], 0x80004005
jmp 0x14a0c9c5
mov dword [ebp + 4], 0x80004005
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x14a0ca17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x14a0ca30
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x14a0ca30
mov dword [ebp + 4], 0x80004005
mov esi, dword [ebp + 4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.14a17110
mov eax, esi
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x150]
xor ecx, ebp
call fcn.14a22c16
add ebp, 0x154
leave
ret 0x14