Function at 0x42a460
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c20e6
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x52a0b0]
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, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x71]
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
push 0
push eax
push str.SoftwareInstallShieldSuiteInstallersParcels
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00404190
mov dword [ebp - 4], 1
lea eax, [ebp - 0x70]
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.0040de70
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x88]
push 0x20019
cmovae eax, dword [ebp - 0x6c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00413a60
mov edi, dword [ebp - 0x88]
test eax, eax
jne 0x42a633
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 7
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], 0x208
push eax
push 0
push str.Clients
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a609
mov eax, dword [ebp - 0x78]
cmp eax, 1
je 0x42a5bd
cmp eax, 2
jne 0x42a609
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x40]
shr eax, 1
push eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00409470
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
mov byte [eax + 4], 1
call fcn.00403f10
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x88]
push dword [eax]
push str.Clients
call fcn.00437260
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x9c]
call fcn.00409a90
cmp dword [ebp - 0x2c], 0
je 0x42a627
push 1
push esi
push 0
push 0x20
lea ecx, [ebp - 0x40]
call fcn.00432640
push esi
push ecx
mov ecx, ebx
call fcn.0042aab0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
imul ecx
mov eax, dword [ebp - 0x8c]
sar edx, 3
add eax, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [eax + 0x14], 8
jb 0x42a65a
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], str.SetupEngine.cpp
push str.SetupEngine:_parcel__s_shared_client_count:__d
push eax
mov dword [ebp - 0x8c], 0xcf8
call fcn.0040b3b0
add esp, 0x10
mov byte [ebp - 4], 3
test edi, edi
je 0x42a69d
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00404c20
xor eax, eax
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.004a14ba
mov esp, ebp
pop ebp
ret 8