Function at 0x140005060
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 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 [0x1400cdb48]
movzx eax, byte [rax]
mov ecx, 0x800
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x1400052ee
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 0x140005188
inc dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
cmp rbx, r8
jae 0x140005130
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h6528e6d99641d124
mov r14, qword [rsp + 0x58]
jmp 0x140005113
test r15d, r15d
je 0x1400051b4
cmp r15d, 0x103
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jne 0x140005207
mov sil, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x14000521b
jmp 0x140005229
mov r8d, dword [rsp + 0x40]
cmp r8, 0x801
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jae 0x1400052fd
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
call sym.alloc::string::String::from_utf16::h22b775d2b6f65c6e
mov rdx, qword [rsp + 0xa0]
cmp rdx, rbx
jne 0x140005287
movabs r15, 0xd00000002
jmp 0x14000520f
shl r15, 0x20
or r15, 2
xor esi, esi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140005229
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
test sil, sil
je 0x140005236
inc rbx
mov rdx, rbx
jmp 0x14000524a
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, 0xb
jbe 0x1400052cc
movabs r15, 0xde00000002
test rdx, rdx
je 0x14000520f
mov r8d, 1
call sym.__rust_dealloc
jmp 0x14000520f
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x90], r9
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov r15, rcx
jmp 0x140005239
mov ecx, 1
mov edx, 0x800
call sym.alloc::raw_vec::handle_error::h6ca22f8e83c41359
lea rax, str._home_kobyyy_.cargo_registry_src_index.crates.io_6f17d22bba15001f_winreg_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::h95608344cc4e85cc
ud2