Function at 0x14002bc80
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov rax, qword [0x1401730f8]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, r8
mov r15, rdx
mov r12, rcx
lea rbx, [0x140102478]
mov qword [rbp - 0x80], rbx
lea r14, [0x1401025f8]
mov qword [rbp - 0x40], r14
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, str.SoftwareInstallShieldSuiteInstallersParcels
lea rcx, [rbp - 0x80]
call fcn.140003cb0
nop
mov r8, r15
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x80]
call fcn.14000e500
nop
lea rcx, [rbp - 0x80]
call fcn.1400048d0
xor r13d, r13d
mov edi, r13d
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x38], r13
cmp qword [rbp - 0x10], 8
mov rdx, qword [rbp - 0x28]
jae 0x14002bd32
lea rdx, [rbp - 0x28]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002beb0
mov dword [rsp + 0x50], r13d
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], r13d
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x40], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r13
mov word [rbp - 0x78], r13w
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov ecx, dword [rbp + rcx - 0x40]
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.Clients
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002be77
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14002be77
mov ebx, dword [rsp + 0x30]
shr ebx, 1
mov r8d, ebx
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x80]
call fcn.140009620
nop
mov byte [rax + 8], 1
mov rcx, qword [rax]
call fcn.140002ef0
mov r14, qword [rax]
lea eax, [rbx + rbx]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, str.Clients
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002be6d
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14002be6d
test r14, r14
je 0x14002be6d
cmp dword [rsp + 0x30], 0
jne 0x14002be6d
mov word [r14], r13w
lea rcx, [rsp + 0x68]
call fcn.140009c60
cmp qword [rbp - 0x68], 0
je 0x14002bea7
mov edx, 0x20
mov qword [rsp + 0x20], 1
mov r9, rsi
xor r8d, r8d
lea rcx, [rbp - 0x80]
call fcn.140034ee0
mov r8, rsi
mov rcx, r12
call fcn.14002c5c0
nop
lea rcx, [rbp - 0x80]
call fcn.1400048d0
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea r8, [r15 + 8]
cmp qword [r8 + 0x18], 8
jb 0x14002bee0
mov r8, qword [r8]
lea rax, str.SetupEngine.cpp
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0xcf0
mov r9, rdx
lea rdx, str.SetupEngine:_parcel__s_shared_client_count:__d
lea rcx, [rsp + 0x38]
call fcn.14000b8a0
nop
test rdi, rdi
je 0x14002bf1c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r13
mov dword [rsp + 0x50], r13d
lea rcx, [rbp - 0x30]
call fcn.1400048d0
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400b31f0
mov rbx, qword [rsp + 0x188]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret