Function at 0x14006d8c0
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 [0x14015b138]
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 0x14006d948
cmp rax, 8
jb 0x14006d941
mov rcx, qword [rdx]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x14006d93c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r8
call fcn.1400cd424
xor ebp, ebp
jmp 0x14006dbb8
cmp rax, 8
jb 0x14006d951
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 0x14006d985
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14006d941
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
jmp 0x14006d917
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14006d992
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 0x14006db6d
cmp dword [rsp + 0x58], 1
jne 0x14006db6d
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 0x14006d9f6
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 0x14006da78
test r14, r14
je 0x14006db79
mov rax, qword [rsp + 0x70]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14006da6b
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r14
call fcn.1400cd424
jmp 0x14006db79
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [r14 + r8*2], 0
jne 0x14006da80
mov rdx, r14
mov rcx, r15
call fcn.1400149d0
nop
test r14, r14
je 0x14006dad9
mov rax, qword [rsp + 0x70]
sub rax, r14
sar rax, 1
lea rdx, [rax + rax]
mov rax, r14
cmp rdx, 0x1000
jb 0x14006dad0
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r14
call fcn.1400cd424
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14006db18
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14006db13
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r8
call fcn.1400cd424
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14006db66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006db61
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r8
call fcn.1400cd424
mov al, 1
jmp 0x14006dc04
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14006dbb8
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x14006dbb3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r8
call fcn.1400cd424
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], 7
mov word [rsi], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14006dc02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14006dbfd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006dc30
mov rcx, r8
call fcn.1400cd424
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.1400cd400
add rsp, 0x88
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400d20f4
nop
int3