Function at 0x180006d54
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0xbfc0]
mov eax, 0xc0c0
call fcn.1800185a0
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0xc0f8], rbx
mov qword [rsp + 0xc100], rsi
mov rax, qword [0x1800451a0]
xor rax, rsp
mov qword [rbp + 0xbfb0], rax
mov rbx, rcx
xor r12d, r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], r12d
mov qword [rbp - 0x60], r12
lea rdx, [rcx + 0xe20]
cmp qword [rdx + 0x18], 8
jb 0x180006dcd
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
call fcn.1800021b4
nop
lea rdi, [rbx + 0x20]
test rdi, rdi
jne 0x180006de6
mov eax, r12d
jmp 0x180006dee
mov rcx, rdi
call fcn.18001cc9c
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180004cdc
lea rcx, [0x180030b68]
call fcn.18001cc9c
mov r8d, eax
lea rdx, [0x180030b68]
lea rcx, [rsp + 0x48]
call fcn.180004cdc
lea rdi, [rbx + 0x220]
test rdi, rdi
jne 0x180006e2f
mov eax, r12d
jmp 0x180006e37
mov rcx, rdi
call fcn.18001cc9c
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.180004cdc
lea r14, [rbx + 0xe40]
mov rax, qword [r14 + 8]
sub rax, qword [r14]
sar rax, 3
test rax, rax
je 0x180006e66
mov rcx, r14
call fcn.180006c8c
lea rdi, [rbx + 0xe58]
mov rcx, qword [rdi + 8]
sub rcx, qword [rdi]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x180006e99
mov rcx, rdi
call fcn.180006cf0
mov r9d, 0x20019
mov r8, qword [rsp + 0x48]
mov rdx, 0xffffffff80000003
lea rcx, [rsp + 0x58]
call fcn.1800057d8
test eax, eax
jne 0x180006fd5
mov esi, r12d
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], r12d
xor edx, edx
mov r8d, 0x3fff
lea rcx, [rbp + 0x3fb0]
call fcn.18001acc0
mov dword [rsp + 0x40], 0x3fff
mov dword [rsp + 0x44], 0x3fff
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x44]
lea r8, [rbp + 0x3fb0]
mov edx, esi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r15d, eax
test eax, eax
jne 0x180006fca
lea rdx, [rbp + 0x3fb0]
lea rcx, [rsp + 0x50]
call fcn.1800021b4
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov ebx, r12d
cmp dword [rsp + 0x40], r12d
jbe 0x180006f73
mov eax, ebx
lea rdx, [rbp - 0x50]
add rdx, rax
lea rcx, [rsp + 0x70]
call fcn.18000712c
inc ebx
cmp ebx, dword [rsp + 0x40]
jb 0x180006f58
lea rdx, [rsp + 0x50]
mov rcx, r14
call fcn.180007244
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180007300
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180006fab
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
mov r8d, 1
call fcn.180006278
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x180006fca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc esi
test r15d, r15d
je 0x180006ec0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180006fea
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x18000700f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x18000701f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xbfb0]
xor rcx, rsp
call fcn.180018610
lea r11, [rsp + 0xc0c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret