Function at 0x140005b40
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 [0x1400e3708]
movzx eax, byte [rax]
mov ecx, 0x800
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x140005dcf
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 0x140005c65
inc dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
cmp rbx, r8
jae 0x140005c10
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h89f629c4cbbbd2b1
mov r12, qword [rsp + 0x58]
jmp 0x140005bf3
mov r14d, eax
test eax, eax
je 0x140005c93
cmp r14d, 0x103
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jne 0x140005ce6
mov sil, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x140005cfa
jmp 0x140005d0a
mov r8d, dword [rsp + 0x40]
cmp r8, 0x801
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jae 0x140005dde
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 0x140005d68
movabs r14, 0xd00000002
jmp 0x140005cee
shl r14, 0x20
or r14, 2
xor esi, esi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140005d0a
mov rcx, qword [rsp + 0x58]
mov r8d, 1
call sym.__rust_dealloc
test sil, sil
je 0x140005d17
inc rbx
mov rdx, rbx
jmp 0x140005d2b
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 0x140005dad
movabs r14, 0xde00000002
test rdx, rdx
je 0x140005cee
mov r8d, 1
call sym.__rust_dealloc
jmp 0x140005cee
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x90], r9
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov r14, rcx
jmp 0x140005d1a
mov ecx, 1
mov edx, 0x800
call sym.alloc::raw_vec::handle_error::hd43ffb3afada7951
lea rax, str.C:Userslordh.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinreg_0.52.0_src_reg_key.rs
mov edx, 0x800
mov rcx, r8
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::hdaa9bbd2fcad4cbb
ud2