Function at 0x14006ac88
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2e0
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140148058]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r12d, r12d
mov esi, r12d
lea r15, [0x14006b0f0]
or r13, 0xffffffffffffffff
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x40]
mov rdx, qword [rsi + r15 + 8]
lea rcx, [0x14014a910]
call fcn.140075f48
cmp al, 1
jne 0x14006ad27
mov edx, 0x2c
lea rcx, [rsp + 0x40]
call fcn.140032ef8
mov rdx, qword [rsi + r15]
test rdx, rdx
jne 0x14006ad35
mov eax, r12d
jmp 0x14006ad42
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14006ad38
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.140010e38
mov rbx, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rsi + r15 + 8]
lea rcx, [0x14014a910]
call fcn.140044018
nop
lea r14, [rbx - 0x18]
mov eax, r13d
lock xadd dword [r14 + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14006ad98
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rdx, r14
mov rcx, rdi
call rbx
add rsi, 0x10
cmp rsi, 0x100
jb 0x14006acd8
mov rbx, r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rsp + 0x58], r12
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x14006b060]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006b019
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x70], rax
mov r15d, r12d
mov dword [rsp + 0x60], 0x104
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x40]
mov edx, r15d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test eax, eax
jne 0x14006b00a
lea rdi, [rbp - 0x3e]
lea rcx, [rbp - 0x40]
lea eax, [rsi + 0x2e]
cmp ax, word [rbp - 0x40]
cmovne rdi, rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x74]
mov rdx, rdi
lea r14, [0x14014a910]
mov rcx, r14
call fcn.1400283c4
test rax, rax
jne 0x14006b00a
mov rbx, r12
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14006aec1
mov esi, r12d
mov rbx, qword [rsp + 0x68]
mov qword [rsp + 0x70], rbx
test esi, esi
jne 0x14006affc
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rdx, [0x14006b0c8]
lea rcx, [rsp + 0x70]
call fcn.1400d252c
mov esi, eax
test eax, eax
jne 0x14006afc5
mov rax, qword [section..data]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140015690]
lea rcx, section..data
call rbx
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.140075f48
cmp al, 1
jne 0x14006af58
lea edx, [rsi + 0x2c]
lea rcx, [rsp + 0x50]
call fcn.140032ef8
test rdi, rdi
jne 0x14006af62
mov eax, r12d
jmp 0x14006af6f
mov rax, r13
inc rax
cmp word [rdi + rax*2], r12w
jne 0x14006af65
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140010e38
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call fcn.140044018
nop
lea r14, [rbx - 0x18]
mov eax, r13d
lock xadd dword [r14 + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14006afc5
mov rdi, qword [r14]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
mov rdx, r14
mov rcx, rdi
call rbx
nop
mov r14, qword [rsp + 0x48]
mov eax, r13d
lock xadd dword [r14 - 8], eax
add eax, r13d
test eax, eax
jg 0x14006aff7
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140015690]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14006b00a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r15d
test esi, esi
je 0x14006adf4
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14006b027
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140001000
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret