Function at 0x140071dc4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd0
mov qword [rbp - 0x61], 0xfffffffffffffffe
mov rax, qword [0x140123d60]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov rdi, r8
mov r15d, edx
mov rsi, rcx
mov r14, qword [rbp + 0x7f]
xor r12d, r12d
mov qword [rbp - 0x71], r12
mov rcx, r14
call fcn.140051c14
mov ecx, 0x8000
call fcn.1400a2e80
mov rbx, rax
mov qword [rbp - 0x59], rax
test rax, rax
jne 0x140071e60
lea edi, [rax + 0xe]
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x71]
call fcn.140006c64
mov eax, edi
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1400bf860
add rsp, 0xd0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp qword [rbp - 0x71], r12
jne 0x14007200a
cmp qword [rdi + 0x18], 8
jb 0x140071e74
mov rdi, qword [rdi]
mov edx, r15d
mov rcx, rsi
call fcn.140071acc
mov rcx, rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071e26
mov esi, r12d
mov dword [rbp - 0x69], 0x4000
mov rcx, qword [rbp - 0x71]
test rcx, rcx
setne al
test al, al
je 0x140071fdb
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x65]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x69]
mov r8, rbx
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x140071fa8
cmp dword [rbp - 0x65], 1
jne 0x140071f95
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
cmp word [rbx], r12w
jne 0x140071f26
mov r8, r12
jmp 0x140071f34
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r12w
jne 0x140071f2a
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.140006ebc
nop
mov r15, qword [r14]
lea r9, [rbp - 0x11]
mov r8, qword [r15 + 8]
mov rdx, r15
call fcn.140078648
mov rdx, qword [r14 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x140071fce
lea rcx, [rdx + 1]
mov qword [r14 + 8], rcx
mov qword [r15 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
cmp qword [rbp + 7], 8
jb 0x140071f95
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
nop dword [rax + rax]
inc esi
cmp esi, 0x1000
jae 0x140071e26
jmp 0x140071eb0
cmp eax, 0x103
jne 0x140071fc1
mov edi, 2
cmp qword [r14 + 8], r12
cmova edi, r12d
jmp 0x140071e26
mov rcx, r14
call fcn.140051c14
jmp 0x140071e26
lea rcx, str.list_T__too_long
call fcn.1400a201c
nop
lea rdx, str.Attempting_to_use_an_invalid_handle.
lea rcx, [rbp - 0x11]
call fcn.140006cc8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.1400064e4
lea rdx, [0x140119500]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
nop
lea rdx, str.Attempting_to_assign_an_already_valid_handle.
lea rcx, [rbp - 0x11]
call fcn.140006cc8
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x51]
call fcn.1400064e4
lea rdx, [0x140119500]
lea rcx, [rbp - 0x51]
call sub.msvcrt.dll__CxxThrowException
int3