Function at 0x14001ec10
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x1403e39c0]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, rcx
and qword [rsp + 0x48], 0
and dword [rsp + 0x38], 0
mov rcx, qword [rcx + 0xb8]
test rcx, rcx
jne 0x14001ec65
and qword [rsp + 0x40], rcx
jmp 0x14001ecc1
mov rax, qword [rcx]
call qword [rax + 0x20]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001ecc1
mov rcx, qword [rbx + 0xb8]
xor eax, eax
test rcx, rcx
setne al
test eax, eax
je 0x14001ecbb
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
test rax, rax
je 0x14001ecb1
mov r10, qword [rax]
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
lea r8d, [r9 - 4]
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
cmp qword [rsp + 0x40], 0
jne 0x14001ec75
jmp 0x14001ecc1
call fcn.140010b1c
int3
cmp qword [rbx + 0xb0], 0
je 0x14001ee3b
xor eax, eax
cmp qword [rbx + 0xd8], rax
setne al
test eax, eax
jne 0x14001ece5
call fcn.140010b1c
int3
lea rdx, str.Software_
lea rcx, [rsp + 0x30]
call fcn.140010f60
nop
mov rdi, qword [rbx + 0xb0]
test rdi, rdi
jne 0x14001ed07
xor eax, eax
jmp 0x14001ed0f
mov rcx, rdi
call fcn.14027bf28
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400116b8
lea r8, [0x1402e43b0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14001e270
nop
mov r8, qword [rbx + 0xd8]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14001e270
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001ed6d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rdi, 0xffffffff80000001
mov rcx, rdi
call fcn.14001e480
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 8
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001ede3
mov r9d, 0x104
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x14001edd8
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001e480
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001ee1c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14001ee3b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1402410d0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret