Function at 0x140006c40
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140021078]
xor rax, rsp
mov qword [rbp + 0x37], rax
call fcn.140007320
test eax, eax
je 0x140006c86
mov eax, 1
jmp 0x14000707c
xor edi, edi
mov r15d, edi
mov ecx, dword [0x140021780]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140021674], eax
jg 0x1400070a9
cmp dword [0x140021670], 0
jne 0x140007072
mov dword [rbp - 0x41], 0xffffffff
mov dword [rbp - 0x3d], 4
mov r14, rdi
mov qword [rbp + 7], rdi
mov esi, 7
mov qword [rbp + 0xf], rsi
mov word [rbp - 9], di
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], rsi
mov word [rbp + 0x17], di
lea r8d, [rsi + 0x1c]
lea rdx, str.SoftwareAdobeCommonFilesUsageCC_
lea rcx, [rbp + 0x17]
call fcn.140009490
nop
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], rsi
mov word [rbp - 0x29], di
lea r8d, [rsi + 0x16]
lea rdx, str.SoftwareAdobeAdobe_Acrobat_
lea rcx, [rbp - 0x29]
call fcn.140009490
nop
lea r8d, [rsi - 5]
lea rdx, [0x140019564]
lea rcx, [rbp - 0x29]
call fcn.140009310
lea r8d, [rsi - 3]
lea rdx, str.IMS
lea rcx, [rbp - 0x29]
call fcn.140009310
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 8
cmovae rdx, qword [rbp - 0x29]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9d, [rsi - 6]
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006f87
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x45]
xor r8d, r8d
lea rdx, str.tClientGUID
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006f6e
cmp dword [rbp - 0x45], 1
jne 0x140006f6e
mov eax, dword [rbp - 0x49]
test eax, eax
je 0x140006f6e
lea ecx, [rax + 1]
lea rdx, [0x14001a408]
call fcn.140015270
mov rbx, rax
test rax, rax
je 0x140006f6e
mov r8d, dword [rbp - 0x49]
inc r8d
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.tClientGUID
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006e3f
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x140006e20
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140009490
mov rsi, qword [rbp + 0xf]
mov r14, qword [rbp + 7]
mov rcx, rbx
call fcn.140015268
lea r10, [rbp - 9]
mov rbx, qword [rbp - 9]
cmp rsi, 8
cmovae r10, rbx
cmp r14, 7
jb 0x140006f72
lea r11, [r14 - 6]
lea r11, [r10 + r11*2]
mov rax, r10
lea r12, str.AdobeID
nop dword [rax]
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x140006f72
cmp word [rax], 0x41
je 0x140006e9f
add rax, 2
sub rcx, 1
jmp 0x140006e89
mov r8d, 7
mov rdx, r12
mov r9, rax
sub r9, r12
nop
movzx ecx, word [rdx]
cmp word [rdx + r9], cx
jne 0x140006f7e
add rdx, 2
sub r8, 1
jne 0x140006eb0
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140006f72
lea rdx, [rbp - 9]
cmp rsi, 8
cmovae rdx, rbx
mov r8, r14
lea rcx, [rbp + 0x17]
call fcn.140009310
lea rdx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 8
cmovae rdx, qword [rbp + 0x17]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140006f66
lea rax, [rbp - 0x3d]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x41]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x45]
xor r8d, r8d
lea rdx, str.optin
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140006f55
cmp dword [rbp - 0x45], 4
je 0x140006f5c
mov dword [rbp - 0x41], 0xffffffff
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r15d, dword [rbp - 0x41]
mov rsi, qword [rbp + 0xf]
mov rbx, qword [rbp - 9]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140006f8b
add rax, 2
jmp 0x140006e80
mov rbx, qword [rbp - 9]
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x140006fcf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006fc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov qword [rbp - 0x19], rdi
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], di
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x140007023
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000701d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000701d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015268
nop
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], 7
mov word [rbp + 0x17], di
cmp rsi, 8
jb 0x140007072
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140007069
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007069
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140015268
nop
cmp r15d, 1
sete dil
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140015310
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [0x140021674]
call fcn.140015748
cmp dword [0x140021674], 0xffffffff
jne 0x140006cb2
xor edx, edx
lea rcx, str.bUsageMeasurement
call fcn.140007630
mov dword [0x140021670], eax
lea rcx, [0x140021674]
call fcn.1400156e8
jmp 0x140006cb2