Function at 0x140007200
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 [0x140024078]
xor rax, rsp
mov qword [rbp + 0x37], rax
call fcn.1400078e0
test eax, eax
je 0x140007246
mov eax, 1
jmp 0x14000763c
xor edi, edi
mov r15d, edi
mov ecx, dword [0x140024970]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x140024864], eax
jg 0x140007669
cmp dword [0x140024860], 0
jne 0x140007632
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.14000a1a0
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.14000a1a0
nop
lea r8d, [rsi - 5]
lea rdx, [0x14001c654]
lea rcx, [rbp - 0x29]
call fcn.14000a020
lea r8d, [rsi - 3]
lea rdx, str.IMS
lea rcx, [rbp - 0x29]
call fcn.14000a020
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 0x140007547
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 0x14000752e
cmp dword [rbp - 0x45], 1
jne 0x14000752e
mov eax, dword [rbp - 0x49]
test eax, eax
je 0x14000752e
lea ecx, [rax + 1]
lea rdx, [0x14001d840]
call fcn.1400176f0
mov rbx, rax
test rax, rax
je 0x14000752e
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 0x1400073ff
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400073e0
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.14000a1a0
mov rsi, qword [rbp + 0xf]
mov r14, qword [rbp + 7]
mov rcx, rbx
call fcn.1400176e8
lea r10, [rbp - 9]
mov rbx, qword [rbp - 9]
cmp rsi, 8
cmovae r10, rbx
cmp r14, 7
jb 0x140007532
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 0x140007532
cmp word [rax], 0x41
je 0x14000745f
add rax, 2
sub rcx, 1
jmp 0x140007449
mov r8d, 7
mov rdx, r12
mov r9, rax
sub r9, r12
nop
movzx ecx, word [rdx]
cmp word [rdx + r9], cx
jne 0x14000753e
add rdx, 2
sub r8, 1
jne 0x140007470
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140007532
lea rdx, [rbp - 9]
cmp rsi, 8
cmovae rdx, rbx
mov r8, r14
lea rcx, [rbp + 0x17]
call fcn.14000a020
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 0x140007526
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 0x140007515
cmp dword [rbp - 0x45], 4
je 0x14000751c
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 0x14000754b
add rax, 2
jmp 0x140007440
mov rbx, qword [rbp - 9]
mov rdx, qword [rbp - 0x11]
cmp rdx, 8
jb 0x14000758f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007589
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007589
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176e8
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 0x1400075e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400075dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400075dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400176e8
nop
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], 7
mov word [rbp + 0x17], di
cmp rsi, 8
jb 0x140007632
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140007629
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007629
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400176e8
nop
cmp r15d, 1
sete dil
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140017790
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, [0x140024864]
call fcn.140017bc8
cmp dword [0x140024864], 0xffffffff
jne 0x140007272
xor edx, edx
lea rcx, str.bUsageMeasurement
call fcn.140007bf0
mov dword [0x140024860], eax
lea rcx, [0x140024864]
call fcn.140017b68
jmp 0x140007272