Function at 0x14000cb20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xfe0]
mov eax, 0x10e0
call fcn.1400279d0
sub rsp, rax
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1120], rbx
mov qword [rsp + 0x1128], rsi
mov rax, qword [0x1400cd4d0]
xor rax, rsp
mov qword [rbp + 0xfd8], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov dword [rbp + 0xfb4], r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0xfb4]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14000cbea
mov r8d, eax
lea rdx, str.Could_not_get_registry_value_count_while_attempting_to_get_value_names___i_.
lea rcx, [rbp - 0x70]
call fcn.140008b10
lea rdx, [0x1400cb038]
lea rcx, [rbp - 0x70]
call fcn.140028a54
int3
mov dword [rbp + 0xfb0], 0x7fff
mov qword [rbp + 0xfc8], r15
mov qword [rbp + 0xfd0], r15
mov qword [rbp + 0xfd0], 7
mov qword [rbp + 0xfc8], r15
mov word [rbp + 0xfb8], r15w
xor r8d, r8d
mov edx, 0x7fff
lea rcx, [rbp + 0xfb8]
call fcn.140006b20
nop
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov dword [rsp + 0x60], 1
mov ecx, dword [rbp + 0xfb4]
mov edx, ecx
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
sar rax, 5
cmp rax, rcx
jae 0x14000cc6a
mov rcx, rbx
call fcn.14000b890
mov ecx, dword [rbp + 0xfb4]
mov edi, r15d
test ecx, ecx
je 0x14000cdb6
movabs r12, 0x7ffffffffffffff
nop
mov dword [rbp + 0xfb0], 0x7fff
lea r8, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 8
cmovae r8, qword [rbp + 0xfb8]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xfb0]
mov edx, edi
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14000cd8f
lea rsi, [rbp + 0xfb8]
cmp qword [rbp + 0xfd0], 8
cmovae rsi, qword [rbp + 0xfb8]
mov rax, qword [rbx + 8]
mov r9, qword [rbx + 0x10]
cmp rax, r9
jne 0x14000cd4c
mov rcx, r9
sub rcx, rax
sar rcx, 5
cmp rcx, 1
jae 0x14000cd4c
mov r8, qword [rbx]
sub rax, r8
sar rax, 5
mov rcx, r12
sub rcx, rax
cmp rcx, 1
jb 0x14000cd82
lea rdx, [rax + 1]
sub r9, r8
sar r9, 5
mov rax, r9
shr rax, 1
mov rcx, r12
sub rcx, rax
add rax, r9
mov r8, r15
cmp rcx, r9
cmovae r8, rax
cmp r8, rdx
cmovae rdx, r8
mov rcx, rbx
call fcn.14000b890
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
test rcx, rcx
je 0x14000cd6e
mov r8d, dword [rbp + 0xfb0]
mov rdx, rsi
call fcn.1400064d0
nop
add qword [rbx + 8], 0x20
inc edi
cmp edi, dword [rbp + 0xfb4]
jae 0x14000cdb6
jmp 0x14000cc80
lea rcx, str.vector_T__too_long
call fcn.14002194c
int3
mov r9d, eax
mov r8d, edi
lea rdx, str.Could_not_get_registry_value_name_at_index__i___i_.
lea rcx, [rbp - 0x70]
call fcn.140008b10
lea rdx, [0x1400cb038]
lea rcx, [rbp - 0x70]
call fcn.140028a54
nop
mov r8, qword [rbp + 0xfd0]
cmp r8, 8
jb 0x14000cdd9
inc r8
mov rdx, qword [rbp + 0xfb8]
lea rcx, [rbp + 0xfb8]
call fcn.140007680
mov qword [rbp + 0xfd0], 7
mov qword [rbp + 0xfc8], r15
mov word [rbp + 0xfb8], r15w
mov rax, rbx
mov rcx, qword [rbp + 0xfd8]
xor rcx, rsp
call fcn.140026f00
lea r11, [rsp + 0x10e0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret