Function at 0x10013530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1038
call sym.__alloca
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov esi, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x800
lea eax, [ebp - 0x1044]
push 0x1000
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [0x101918ac]
mov dword [ebp - 0x24], 0x800
mov dword [ebp - 0x2c], 0
movzx eax, byte [eax]
push 1
push 0x800
call sym.___rust_alloc
add esp, 8
test eax, eax
je 0x1001370d
mov edi, eax
mov dword [ebp - 0x1c], 0x800
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x1c]
sub ebx, eax
mov dword [ebp - 0x10], eax
nop word cs:[eax + eax]
nop
lea eax, [ebp - 0x24]
push eax
push edi
lea eax, [ebp - 0x2c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1044]
push eax
push dword [ebp - 0x28]
push esi
call sub.advapi32.dll_RegEnumValueW
cmp eax, 0xea
jne 0x10013605
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x20]
cmp eax, ebx
jbe 0x100135c0
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve::do_reserve_and_handle::hddd85ffc446a2971
add esp, 0xc
mov edi, dword [ebp - 0x18]
jmp 0x100135aa
cmp eax, 0x103
je 0x10013644
test eax, eax
jne 0x10013681
mov eax, dword [ebp - 0x20]
cmp eax, 0x801
jae 0x10013719
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1044]
push eax
push ecx
call sym.alloc::string::String::from_utf16::hafbf8e8226bf84a8
add esp, 0xc
mov esi, dword [ebp - 0x44]
cmp esi, 0x80000000
jne 0x1001364f
mov eax, 0xd
jmp 0x10013681
mov bl, 1
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x1001368a
jmp 0x1001369c
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x2c]
cmp edx, 0xb
jbe 0x100136f3
mov eax, 0xde
test esi, esi
je 0x10013681
push 1
push esi
push ecx
call sym.___rust_dealloc
mov eax, 0xde
add esp, 0xc
xor ebx, ebx
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x1001369c
push 1
push ecx
push dword [ebp - 0x18]
mov esi, eax
call sym.___rust_dealloc
mov eax, esi
add esp, 0xc
xor ecx, ecx
test bl, bl
mov esi, 0x80000000
mov edi, 0x80000001
mov dword [ebp - 0x10], edx
jne 0x100136bb
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp + 0xc]
inc edi
mov dword [edx + 4], edi
mov edi, esi
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x30]
movsd xmm0, qword [ebp - 0x38]
mov word [edx + 5], bx
shr ebx, 0x10
mov byte [edx + 7], bl
mov dword [edx + 0x14], esi
movsd qword [edx + 0xc], xmm0
mov dword [edx], edi
mov byte [edx + 4], cl
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
mov byte [edx + 0x18], al
mov eax, edx
add esp, 0x1038
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x1c]
mov ebx, ecx
mov dword [ebp - 0x10], edx
shr ebx, 8
mov dword [ebp - 0x30], edi
movsd qword [ebp - 0x38], xmm0
jmp 0x100136af
push 0x800
push 1
call sym.alloc::raw_vec::handle_error::hfb8b40974975e9a6
push 0x1016d4ec
push 0x800
push eax
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
add esp, 0xc
ud2