Function at 0x140005f50
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x14017a140]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov r13, r9
mov rbx, r8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
mov r15d, r14d
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x58], r14
mov word [rbp - 0x68], r14w
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp - 0x68]
call fcn.14000aa38
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x44], eax
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
mov edx, r15d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x1400062d4
xor r12d, r12d
mov sil, r12b
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call fcn.14000e87c
lea rbx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rbx, qword [rbp - 0x68]
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
cmp word [rbx], r12w
jne 0x14000606f
mov eax, r12d
jmp 0x140006077
mov rcx, rbx
call fcn.1400c2d80
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140003a2c
nop
lea r12, [rdi + 0x50]
mov r11, qword [r12]
mov rbx, qword [r11 + 8]
mov rdi, r11
jmp 0x1400060b5
lea rdx, [rbx + 0x20]
lea r8, [rbp - 0x28]
call fcn.14000a9c4
test al, al
je 0x1400060af
mov rbx, qword [rbx + 0x10]
jmp 0x1400060b5
mov rdi, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x140006098
cmp rdi, r11
je 0x1400060d1
lea r8, [rdi + 0x20]
lea rdx, [rbp - 0x28]
call fcn.14000a9c4
test al, al
je 0x1400060d4
mov rdi, r11
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.140003bb4
cmp rdi, qword [r12]
je 0x1400060fa
mov rbx, qword [rdi + 0x40]
mov rax, qword [rbx]
cmp qword [rsp + 0x50], rax
seta r14b
jmp 0x140006141
mov ecx, reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx
call fcn.1400b9fa4
mov rbx, rax
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rbx], rax
and dword [rbx + 8], eax
and dword [rbx + 0xc], eax
and dword [rbx + 0x10], eax
and qword [rbx + 0x18], rax
mov byte [rbx + 0x20], 1
movups xmm0, xmmword [r13]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rbx + 0x10], xmm1
movsd xmm0, qword [r13 + 0x20]
movsd qword [rbx + 0x20], xmm0
mov sil, 1
test r14b, r14b
jne 0x140006154
xor r14d, r14d
test sil, sil
je 0x1400062c6
jmp 0x140006157
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
mov rdi, qword [rsp + 0x68]
cmp word [rdi], r14w
jne 0x140006180
mov rax, r14
jmp 0x140006188
mov rcx, rdi
call fcn.1400c2d80
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.140003a2c
nop
lea rcx, [0x140116084]
call fcn.1400c2d80
mov r8, rax
lea rdx, [0x140116084]
lea rcx, [rbp - 0x48]
call fcn.140003dfc
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x48]
call fcn.1400041fc
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400062a5
mov r9, rbx
mov r8, r13
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call fcn.140005df4
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
call fcn.14000e87c
lea rdi, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdi, qword [rbp - 0x68]
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], r14
mov word [rbp - 8], r14w
cmp word [rdi], r14w
jne 0x140006263
mov rax, r14
jmp 0x14000626b
mov rcx, rdi
call fcn.1400c2d80
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.140003a2c
nop
lea rdx, [rbp - 8]
mov rcx, r12
call fcn.140009a48
mov qword [rax], rbx
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 8]
call fcn.140003bb4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400062b8
test sil, sil
je 0x1400062b8
mov edx, reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx
mov rcx, rbx
call fcn.1400b9b24
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.140003bb4
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x48]
mov eax, dword [rsp + 0x40]
inc r15d
test eax, eax
je 0x140005fd9
lea rcx, [rbp - 0x80]
call fcn.140009e98
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.140003bb4
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1400b9f80
mov rbx, qword [rsp + 0x178]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret