Function at 0x14006d6e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x88
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14015a138]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15, r9
mov rdi, r8
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov rax, qword [rdx + 0x18]
cmp qword [rdx + 0x10], 0
jne 0x14006d768
cmp rax, 8
jb 0x14006d761
mov rcx, qword [rdx]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x14006d75c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r8
call fcn.1400ccd64
xor ebp, ebp
jmp 0x14006d9d8
cmp rax, 8
jb 0x14006d771
mov rdx, qword [rdx]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14006d7a5
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14006d761
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
jmp 0x14006d737
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14006d7b2
mov rdx, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
xor ebp, ebp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006d98d
cmp dword [rsp + 0x58], 1
jne 0x14006d98d
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.140009a60
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14006d816
mov rdx, qword [rdi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x14006d898
test r14, r14
je 0x14006d999
mov rax, qword [rsp + 0x70]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14006d88b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r14
call fcn.1400ccd64
jmp 0x14006d999
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [r14 + r8*2], 0
jne 0x14006d8a0
mov rdx, r14
mov rcx, r15
call fcn.1400149d0
nop
test r14, r14
je 0x14006d8f9
mov rax, qword [rsp + 0x70]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14006d8f0
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r14
call fcn.1400ccd64
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14006d938
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14006d933
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r8
call fcn.1400ccd64
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14006d986
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006d981
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r8
call fcn.1400ccd64
mov al, 1
jmp 0x14006da24
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14006d9d8
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x14006d9d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r8
call fcn.1400ccd64
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14006da22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006da1d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006da50
mov rcx, r8
call fcn.1400ccd64
xor al, al
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400ccd40
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400d1a34
nop
int3