Function at 0x140022a00
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.140029060
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 [0x14003e010]
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.14000fe20
mov rsi, rax
mov qword [r15], rax
mov dword [rsp + 0x60], 1
mov rdi, qword [rax + 8]
mov rbx, rdi
cmp byte [rdi + 0x19], r13b
jne 0x140022ac1
nop word [rax + rax]
mov rdx, qword [rbx + 0x10]
mov rcx, r15
call fcn.14000fe50
mov rbx, qword [rbx]
lea rcx, [rdi + 0x20]
call fcn.14000ff40
mov edx, 0x60
mov rcx, rdi
call fcn.140027c70
mov rdi, rbx
cmp byte [rbx + 0x19], 0
je 0x140022a90
mov rax, qword [r15]
mov qword [rax + 8], rsi
mov rax, qword [r15]
mov qword [rax], rsi
mov rax, qword [r15]
mov qword [rax + 0x10], rsi
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 0x140022e55
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 0x140022e55
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x140022eab
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x18]
call fcn.14000ae00
mov r12, 0xffffffffffffffff
test al, al
jne 0x140022bfe
lea rcx, [rbp + 0x230]
mov rax, r12
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140022be0
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x18]
call fcn.14000b2f0
nop
call fcn.140001540
mov rcx, rax
test rax, rax
je 0x140022eb6
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
lea rbx, [rax + 0x18]
mov qword [rbp - 8], rbx
mov r14d, r13d
cmp dword [rbp - 0x20], r13d
jbe 0x140022e0f
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 0x140022e02
lea rcx, [rbp + 0x230]
mov rax, r12
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140022c80
mov r8d, eax
lea rdx, [rbp + 0x230]
lea rcx, [rbp - 0x18]
call fcn.14000b2f0
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140022cf9
cmp dword [rdx + 0x10], 0
jge 0x140022cc4
cmp dword [rbx - 0xc], 0
jl 0x140022ea0
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x140022cf9
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140022ce1
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x140027f5e.0]
add rax, 0x18
mov qword [rbp - 8], rax
mov rsi, qword [rbp - 0x18]
lea rcx, [rsi - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 8]
lea rcx, [rsp + 0x68]
call fcn.140022000
mov rbx, qword [rbp - 8]
lea rcx, [rbx - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x48]
call fcn.140018aa0
mov rdi, rax
lea rcx, [rsi - 0x18]
call fcn.14000b250
add rax, 0x18
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.140018aa0
nop
mov rdx, rax
mov rcx, r15
call fcn.14000fb50
mov rcx, rax
mov rdx, rdi
call fcn.1400094a0
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140022db7
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022db2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022e92
call fcn.140027c70
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140022e02
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022dfd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022e99
call fcn.140027c70
inc r14d
cmp r14d, dword [rbp - 0x20]
jb 0x140022c31
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140022e31
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140027f5e.0]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x140022e55
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140027f5e.0]
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.140027890
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
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
mov ecx, 0x80070057
call fcn.140001280
nop
mov ecx, 0x80004005
call fcn.140001280
nop
mov ecx, 0x80004005
call fcn.140001280
int3