Function at 0x406230
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.ntdll.dll_memset
mov dword [rsp + 0x44], 0x800
mov dword [rsp + 0x4c], 0
mov rax, qword [0x022826d8]
movzx eax, byte [rax]
mov ecx, 0x800
mov edx, 1
call sym.__rust_alloc
test rax, rax
je 0x4064be
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 0x406358
inc dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
cmp rbx, r8
jae 0x406300
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
call sym.alloc::raw_vec::RawVec_T_A_::reserve::do_reserve_and_handle::h4c86a5ead30efe7a
mov r14, qword [rsp + 0x58]
jmp 0x4062e3
test r15d, r15d
je 0x406384
cmp r15d, 0x103
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jne 0x4063d7
mov sil, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x4063eb
jmp 0x4063f9
mov r8d, dword [rsp + 0x40]
cmp r8, 0x801
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jae 0x4064cd
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
call sym.alloc::string::String::from_utf16::h65e043d1e4fed43f
mov rdx, qword [rsp + 0xa0]
cmp rdx, rbx
jne 0x406457
movabs r15, 0xd00000002
jmp 0x4063df
shl r15, 0x20
or r15, 2
xor esi, esi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x4063f9
mov r8d, 1
mov rcx, r14
call sym.__rust_dealloc
test sil, sil
je 0x406406
inc rbx
mov rdx, rbx
jmp 0x40641a
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 0x40649c
movabs r15, 0xde00000002
test rdx, rdx
je 0x4063df
mov r8d, 1
call sym.__rust_dealloc
jmp 0x4063df
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x90], r9
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov r15, rcx
jmp 0x406409
mov ecx, 1
mov edx, 0x800
call sym.alloc::raw_vec::handle_error::hb4a2c97b2f2cc7c5
lea rax, [0x0225cb10]
mov edx, 0x800
mov rcx, r8
mov r8, rax
call sym.core::slice::index::slice_end_index_len_fail::ha4157f6c56c31a58
ud2