Function at 0x140005ff0
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 dbg.___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 r12, 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 [0x14079b368]
movzx eax, byte [rax]
mov ecx, 0x800
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x14000627e
mov r14, 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], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, r12
mov edx, dword [rsp + 0x48]
mov r8, r13
mov r9, rbp
call sub.ADVAPI32.dll_RegEnumValueW
mov r15d, eax
cmp eax, 0xea
jne 0x140006118
inc dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
cmp rbx, r8
jae 0x1400060c0
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::hf2290f6a5f0212f7
mov r14, qword [rsp + 0x58]
jmp 0x1400060a3
test r15d, r15d
je 0x140006144
cmp r15d, 0x103
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jne 0x140006197
mov sil, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x1400061ab
jmp 0x1400061b9
mov r8d, dword [rsp + 0x40]
cmp r8, 0x801
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jae 0x14000628d
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
call dbg.from_utf16
mov rdx, qword [rsp + 0xa0]
cmp rdx, rbx
jne 0x140006217
movabs r15, 0xd00000002
jmp 0x14000619f
shl r15, 0x20
or r15, 2
xor esi, esi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x1400061b9
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
test sil, sil
je 0x1400061c6
inc rbx
mov rdx, rbx
jmp 0x1400061da
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], r15
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, 0xc
jae 0x14000625b
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x90], r9
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov r15, rcx
jmp 0x1400061c9
movabs r15, 0xde00000002
test rdx, rdx
je 0x14000619f
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14000619f
mov ecx, 1
mov edx, 0x800
call dbg.handle_alloc_error
lea rax, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinreg_0.9.0_srclib.rs
mov edx, 0x800
mov rcx, r8
mov r8, rax
call dbg.slice_end_index_len_fail
ud2