Function at 0x14a0ca69
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x9c
lea ebp, [esp - 4]
mov eax, dword [0x14a36198]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push 0x30
mov eax, 0x14a243d2
call fcn.14a22c25
mov eax, dword [ebp + 0xa8]
mov esi, dword [ebp + 0xac]
xor edi, edi
push edi
push edi
push edi
push edi
push 0x14a286ac
push 0x14a2864c
mov ebx, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xb0]
push edi
push str.CHPCUECtxMgr::LoadInstanceCtxDescs
lea ecx, [ebp]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x34], eax
call fcn.14a17030
mov dword [ebp - 4], edi
cmp dword [ebx + 0x68], edi
je 0x14a0cc65
mov dword [ebp - 0x14], edi
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.14a01c26
mov ebx, 0x14a26b04
push ebx
lea ecx, [ebp - 0x10]
call fcn.14a01cef
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.14a01401
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 1
call esi
push str.DeviceInstances
lea ecx, [ebp - 0x10]
call fcn.14a01cef
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.14a01401
push dword [ebp - 0x10]
call esi
cmp dword [ebp - 0x14], edi
je 0x14a0cb49
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x14a0cb4d
xor eax, eax
jmp 0x14a0cb67
add eax, eax
mov dword [ebp - 0x1c], eax
call fcn.14a22e40
mov eax, esp
push 3
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push eax
call fcn.14a0106e
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push edi
push 0x20019
push edi
push edi
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x14a0cc60
mov dword [ebp - 0x24], edi
push 0x50
lea eax, [ebp + 0x4c]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, edi
jne 0x14a0cc57
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp + 0x4c]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.14a01cef
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x78]
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x20]
mov byte [ebp - 4], 7
push dword [ebp - 0x38]
push eax
call fcn.14a17b30
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.14a022fb
push ebx
lea ecx, [ebp - 0x2c]
call fcn.14a01cef
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.14a01401
push dword [ebp - 0x2c]
mov byte [ebp - 4], 7
call esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.14a01401
mov ecx, dword [ebp - 0x28]
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.14a0c762
inc dword [ebp - 0x24]
mov dword [ebp + 4], eax
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, edi
je 0x14a0cc43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x20]
call esi
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x10]
call esi
jmp 0x14a0cb8f
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
call esi
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 + 0x9c]
xor ecx, ebp
call fcn.14a22c16
add ebp, 0xa0
leave
ret 0xc