Function at 0x4b6550
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5235b1
mov eax, dword fs:[0]
push eax
mov eax, 0x2440
call fcn.004fe1a0
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0x2438], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a4aa8]
xor eax, esp
push eax
lea eax, [esp + 0x2454]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2464]
test ebp, ebp
mov edi, ecx
mov byte [esp + 0x1b], 0
je 0x4b6994
cmp dword [edi + 0xfd70], 0
je 0x4b6994
push 0x800
lea eax, [esp + 0x1450]
push 0
push eax
call fcn.004fd670
push str.INSTALLED_VER
push ebp
push str.COMPONENTS
push str._s__s__s
lea edx, [esp + 0x1468]
call fcn.00404380
mov ecx, dword [edi + 0xfd70]
add esp, 0x1c
push ecx
lea edx, [esp + 0x1450]
call fcn.00488160
test al, al
jne 0x4b6607
mov byte [ebp + 0x722b], al
jmp 0x4b6994
push 0x200
lea edx, [esp + 0xa50]
push 0
push edx
call fcn.004fd670
add esp, 0xc
push str.rootkey
push pe_nt_image_headers32
lea eax, [esp + 0xa54]
push eax
lea edx, [esp + 0x1458]
mov ecx, edi
mov dword [esp + 0x2c], reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b59c0
test eax, eax
jne 0x4b666b
lea ecx, [esp + 0xa4c]
push str.HKCU
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x4b666b
mov dword [esp + 0x20], SysStringLen
push 0x800
lea edx, [esp + 0x1c50]
push 0
push edx
call fcn.004fd670
push 0x800
lea eax, [esp + 0xc5c]
push 0
push eax
call fcn.004fd670
add esp, 0x18
push 0x560d9c
push 0x400
lea ecx, [esp + 0xc54]
push ecx
lea edx, [esp + 0x1458]
mov ecx, edi
call fcn.004b59c0
test eax, eax
jne 0x4b6982
mov ecx, dword [edi + 0xfd64]
push ebp
push 0x400
lea edx, [esp + 0x1c54]
push edx
lea eax, [esp + 0xc58]
push eax
call fcn.00480760
test eax, eax
je 0x4b6705
push 0x3ff
lea ecx, [esp + 0xc50]
push ecx
lea edx, [esp + 0x1c54]
push 0x400
push edx
call fcn.004fa71b
add esp, 0x10
push 0x200
lea eax, [esp + 0x850]
push 0
push eax
call fcn.004fd670
push 0x800
lea ecx, [esp + 0xc5c]
push 0
push ecx
call fcn.004fd670
add esp, 0x18
push str.value
push 0x400
lea edx, [esp + 0xc54]
push edx
lea edx, [esp + 0x1458]
mov ecx, edi
call fcn.004b59c0
test eax, eax
jne 0x4b697b
push ebp
push pe_nt_image_headers32
lea eax, [esp + 0x854]
push eax
lea ecx, [esp + 0xc58]
push ecx
mov ecx, dword [edi + 0xfd64]
call fcn.00480760
test eax, eax
je 0x4b679f
push 0xff
lea edx, [esp + 0xc50]
push edx
lea eax, [esp + 0x854]
push pe_nt_image_headers32
push eax
call fcn.004fa71b
add esp, 0x10
lea esi, [esp + 0x30]
call fcn.0049d8e0
mov dword [esp + 0x245c], 0
mov bl, byte [eax + 0x18]
mov ecx, esi
mov dword [esp + 0x245c], 0xffffffff
call fcn.0049d9f0
test bl, bl
je 0x4b682a
push 0x800
lea ecx, [esp + 0xc50]
push 0
push ecx
call fcn.004fd670
add esp, 0xc
push str.wow_rd
push 0x400
lea edx, [esp + 0xc54]
push edx
lea edx, [esp + 0x1458]
mov ecx, edi
mov byte [esp + 0x27], 0
call fcn.004b59c0
test eax, eax
jne 0x4b682a
lea eax, [esp + 0xc4c]
push str.TRUE
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x4b682a
mov byte [esp + 0x1b], 1
lea edi, [ebp + 0x7028]
push 0x200
xor ebp, ebp
push ebp
push edi
call fcn.004fd670
add esp, 0xc
cmp byte [esp + 0x1b], 0
je 0x4b692a
mov ebx, 1
lea esi, [esp + 0x30]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], pe_nt_image_headers32
call fcn.0049d8e0
mov dword [esp + 0x245c], ebx
mov eax, dword [eax + 0x10]
cmp eax, ebp
je 0x4b6883
lea ecx, [esp + 0x28]
push ecx
call eax
or ebx, 0xffffffff
lea ecx, [esp + 0x30]
mov dword [esp + 0x245c], ebx
call fcn.0049d9f0
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
push 0x20119
push 0
lea eax, [esp + 0x1c58]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b68f8
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push edi
lea eax, [esp + 0x2c]
push eax
push 0
lea ecx, [esp + 0x85c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4b68ed
push 0x200
push 0
push edi
call fcn.004fd670
add esp, 0xc
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x30]
call fcn.0049d8e0
mov dword [esp + 0x245c], 2
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4b691a
mov ecx, dword [esp + 0x28]
push ecx
call eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x245c], ebx
call fcn.0049d9f0
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b6930
sub eax, edx
sar eax, 1
jne 0x4b6994
mov eax, dword [esp + 0x20]
push 1
push 0x200
push edi
lea edx, [esp + 0x858]
push edx
push eax
lea edx, [esp + 0x1c60]
call fcn.004920e0
add esp, 0x14
test eax, eax
je 0x4b6994
push 0x200
push 0
push edi
call fcn.004fd670
add esp, 0xc
jmp 0x4b6994
push 0x56fb00
jmp 0x4b6987
push str.Key_path_in_Installed_Version_Data_was_invalid
mov ecx, 0x649e50
call fcn.004918f0
add esp, 4
mov ecx, dword [esp + 0x2454]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2438]
xor ecx, esp
call fcn.004fa103
add esp, 0x244c
ret 4