Function at 0x140008690
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10b8
call sym.___chkstk_ms
sub rsp, rax
mov rsi, rcx
mov rax, qword [rdx]
mov qword [rsp + 0x70], rdx
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x48], ecx
mov r15, qword [rax]
mov dword [rsp + 0x40], 0x800
lea rcx, [rsp + 0xb8]
mov r8d, 0x1000
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x44], 0x800
mov dword [rsp + 0x4c], 0
mov rax, qword [0x1400ed808]
movzx eax, byte [rax]
mov ecx, 0x800
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x14000891f
mov r12, rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x50], 0x800
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea rsi, [rsp + 0x44]
lea rdi, [rsp + 0x4c]
lea r13, [rsp + 0xb8]
lea rbp, [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
sub rbx, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, r15
mov edx, dword [rsp + 0x48]
mov r8, r13
mov r9, rbp
call sub.ADVAPI32.dll_RegEnumValueW
cmp eax, 0xea
jne 0x1400087b5
inc dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
cmp rbx, r8
jae 0x140008760
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hafad3be994f59ff2
mov r12, qword [rsp + 0x58]
jmp 0x140008743
mov r14d, eax
test eax, eax
je 0x1400087e3
cmp r14d, 0x103
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jne 0x140008836
mov sil, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x14000884a
jmp 0x14000885a
mov r8d, dword [rsp + 0x40]
cmp r8, 0x801
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jae 0x14000892e
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
call sym.alloc::string::String::from_utf16::h92bc63552228ad98
mov rdx, qword [rsp + 0xa0]
cmp rdx, rbx
jne 0x1400088b8
movabs r14, 0xd00000002
jmp 0x14000883e
shl r14, 0x20
or r14, 2
xor esi, esi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14000885a
mov rcx, qword [rsp + 0x58]
mov r8d, 1
call sym.__rust_dealloc
test sil, sil
je 0x140008867
inc rbx
mov rdx, rbx
jmp 0x14000887b
mov rdx, rbx
mov r9d, dword [rsp + 0x48]
inc r9d
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], r9d
mov qword [rdi], rdx
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r8
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x18], xmm0
mov rcx, qword [rsp + 0x90]
mov qword [rdi + 0x28], rcx
mov byte [rdi + 0x30], al
mov rax, rdi
add rsp, 0x10b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x4c]
cmp eax, 0xb
jbe 0x1400088fd
movabs r14, 0xde00000002
test rdx, rdx
je 0x14000883e
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14000883e
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x90], r9
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov r14, rcx
jmp 0x14000886a
mov ecx, 1
mov edx, 0x800
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
lea rax, str._o_f_
mov edx, 0x800
mov rcx, r8
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
ud2