Function at 0x14006bd00
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rax, qword [0x140119ad0]
xor rax, rsp
mov qword [rbp + 7], rax
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r13, qword [rbp + 0x77]
mov r12, qword [rbp + 0x7f]
and qword [rbp - 0x31], 0
mov rcx, r13
call fcn.14004b020
and dword [r12], 0
xor ebx, ebx
mov qword [rbp - 0x29], rbx
mov dword [rbp - 0x39], 0x4000
cmp qword [rdi + 0x18], 8
jb 0x14006bd6d
mov rdi, qword [rdi]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [r12], eax
test eax, eax
sete r15b
test eax, eax
jne 0x14006bf1e
xor esi, esi
mov edx, dword [rbp - 0x39]
mov eax, 2
mul rdx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14009af2c
mov rdi, rax
cmp rax, rsi
je 0x14006bdd5
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rbx, rdi
mov qword [rbp - 0x29], rbx
xor ecx, ecx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
cmp qword [r14 + 0x18], 8
jb 0x14006bde9
mov r8, qword [r14]
jmp 0x14006bdec
mov r8, r14
lea rax, [rbp - 0x39]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
and qword [rsp + 0x20], 0
xor edx, edx
mov r9d, 0xffff
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov dword [r12], eax
test eax, eax
je 0x14006be38
mov rsi, rbx
xor edx, edx
movzx ecx, r15b
mov r8d, 0xea
cmp eax, r8d
cmove edx, ecx
mov r15b, dl
je 0x14006bd9f
xor r12d, r12d
test r15b, r15b
je 0x14006bf1e
mov qword [rbp - 1], 7
mov qword [rbp - 9], r12
mov word [rbp - 0x19], r12w
xor r8d, r8d
lea rdx, [0x1400cfda0]
lea rcx, [rbp - 0x19]
call fcn.140006180
nop
mov esi, dword [rbp - 0x39]
shr rsi, 1
sub rsi, 2
mov edi, r12d
je 0x14006bf0d
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x14006bea9
movzx r8d, ax
mov edx, 1
lea rcx, [rbp - 0x19]
call fcn.14000e3e4
movzx eax, word [rbx + rdi*2]
test ax, ax
je 0x14006bea9
lea rax, [rdi + 1]
cmp rax, rsi
jne 0x14006bf01
mov r14, qword [r13]
lea r9, [rbp - 0x19]
mov r8, qword [r14 + 8]
mov rdx, r14
call fcn.140040998
mov rdx, qword [r13 + 8]
movabs rcx, 0x555555555555554
sub rcx, rdx
cmp rcx, 1
jb 0x14006bf61
lea rcx, [rdx + 1]
mov qword [r13 + 8], rcx
mov qword [r14 + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov qword [rbp - 9], r12
lea rax, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rax, qword [rbp - 0x19]
mov word [rax], r12w
inc rdi
cmp rdi, rsi
jb 0x14006be7c
cmp qword [rbp - 1], 8
jb 0x14006bf1e
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14006bf2e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov al, r15b
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400b6b90
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.14009a10c
int3