Function at 0x140023fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x8240]
mov eax, 0x8340
call fcn.140026260
sub rsp, rax
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x8378], rbx
mov qword [rsp + 0x8380], rsi
mov qword [rsp + 0x8388], rdi
mov rax, qword [0x14003a008]
xor rax, rsp
mov qword [rbp + 0x8230], rax
mov r15, rcx
mov qword [rbp - 0x50], rcx
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
call fcn.14000f590
mov qword [r15], rax
mov dword [rsp + 0x60], 1
mov rsi, qword [rax + 8]
mov rdi, rsi
cmp byte [rsi + 0x19], r13b
jne 0x140024055
mov rdx, qword [rdi + 0x10]
mov rcx, r15
call fcn.14000f5d0
mov rdi, qword [rdi]
lea rcx, [rsi + 0x40]
call fcn.140007f10
lea rcx, [rsi + 0x20]
call fcn.140007f10
mov rcx, rsi
call fcn.1400249e8
mov rsi, rdi
cmp byte [rdi + 0x19], 0
je 0x140024023
mov rax, qword [r15]
mov qword [rax + 8], rax
mov rax, qword [r15]
mov qword [rax], rax
mov rax, qword [r15]
mov qword [rax + 0x10], rax
mov qword [r15 + 8], r13
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREAdobeCommonFilesCRLogProductPreferences
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14002442d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0xc], 0x104
mov dword [rbp - 0x10], r13d
mov dword [rbp - 0x1c], 0x3fff
lea rax, [rbp + 0x18]
mov qword [rsp + 0x58], rax
lea rax, [rbp]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xc]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0xc]
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [rbp - 0x20], 0
je 0x14002442d
call fcn.140001570
mov rdi, rax
test rax, rax
jne 0x14002413d
mov ecx, 0x80004005
call fcn.140001200
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14000ce40]
mov rcx, rdi
call rbx
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rcx, [rbp + 0x230]
lea rax, [rbp + 0x230]
or r12, 0xffffffffffffffff
test rax, 0xffffffffffff0000
jne 0x140024194
movzx ebx, cx
mov ecx, ebx
call fcn.1400012e0
test rax, rax
je 0x1400241be
mov r8d, ebx
mov rdx, rax
lea rcx, [rbp - 0x18]
call fcn.14000ac80
jmp 0x1400241be
lea rcx, [rbp + 0x230]
mov rax, r12
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400241a0
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x18]
call fcn.14000a7f0
nop
call fcn.140001570
mov rdi, rax
test rax, rax
jne 0x1400241d6
mov ecx, 0x80004005
call fcn.140001200
int3
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.14000ce40]
mov rcx, rdi
call rbx
lea rbx, [rax + 0x18]
mov qword [rbp - 8], rbx
mov r14d, r13d
cmp dword [rbp - 0x20], r13d
jbe 0x1400243d3
mov dword [rbp - 0x1c], 0x3fff
mov word [rbp + 0x230], r13w
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x1c]
lea r8, [rbp + 0x230]
mov edx, r14d
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14002438d
lea rcx, [rbp + 0x230]
mov rax, r12
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140024250
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x18]
call fcn.14000a7f0
lea rcx, [rbp - 8]
call fcn.140009300
mov rsi, qword [rbp - 0x18]
lea rcx, [rsi - 0x18]
call fcn.14000a730
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x68]
call fcn.140023700
mov rbx, qword [rbp - 8]
lea rcx, [rbx - 0x18]
call fcn.14000a730
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.14001a530
mov rdi, rax
lea rcx, [rsi - 0x18]
call fcn.14000a730
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.14001a530
nop
mov rdx, rax
mov rcx, r15
call fcn.14000ed10
mov rcx, rax
mov rdx, rdi
call fcn.140007fa0
nop
mov rax, qword [rbp - 0x60]
cmp rax, 0x10
jb 0x14002433f
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, 0x1000
jb 0x14002433a
test cl, 0x1f
jne 0x1400243b0
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400243a9
sub rcx, rax
cmp rcx, 8
jb 0x1400243a2
cmp rcx, 0x27
ja 0x14002439b
mov rcx, rax
call fcn.1400249e8
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x78], 0
mov rax, qword [rbp - 0x30]
cmp rax, 0x10
jb 0x14002438d
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, 0x1000
jb 0x140024388
test cl, 0x1f
jne 0x1400243cc
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400243c5
sub rcx, rax
cmp rcx, 8
jb 0x1400243be
cmp rcx, 0x27
ja 0x1400243b7
mov rcx, rax
call fcn.1400249e8
inc r14d
cmp r14d, dword [rbp - 0x20]
jae 0x1400243d3
jmp 0x140024200
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rsi, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140024400
mov rdi, qword [rsi]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000ce40]
mov rdx, rsi
mov rcx, rdi
call rbx
nop
mov rsi, qword [rbp - 0x18]
lock xadd dword [rsi - 8], r12d
sub r12d, 1
jg 0x14002442d
mov rdi, qword [rsi - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call qword [fcn.14000ce40]
lea rdx, [rsi - 0x18]
mov rcx, rdi
call rbx
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r15
mov rcx, qword [rbp + 0x8230]
xor rcx, rsp
call fcn.140024a00
lea r11, [rsp + 0x8340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret