Function at 0x14009da50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x1130
call fcn.14010f740
sub rsp, rax
mov qword [rsp + 0xd8], 0xfffffffffffffffe
mov rax, qword [0x1401f3f10]
xor rax, rsp
mov qword [rsp + 0x1120], rax
mov dword [rsp + 0x44], 0
lea rdx, [0x140160fb4]
lea rcx, [rsp + 0xa8]
call fcn.140030130
nop
mov rax, qword [rsp + 0x1140]
add rax, 8
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.1400300a0
nop
lea rdx, str._featureusg
lea rcx, [rsp + 0xe0]
call fcn.140030130
nop
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.1400305f0
nop
lea rcx, [rsp + 0xe0]
call fcn.140030070
lea rcx, [rsp + 0x60]
call fcn.140030030
nop
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0xc0]
call fcn.140030730
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14009dcc1
mov dword [rsp + 0x48], 0x800
mov dword [rsp + 0x4c], 0xa
xor eax, eax
mov word [rsp + 0xf8], ax
lea rax, [rsp + 0xfa]
mov rdi, rax
xor eax, eax
mov ecx, 0x14
rep stosb byte [rdi], al
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x110]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x14009dcb6
cmp dword [rsp + 0x50], 4
jne 0x14009dc97
mov eax, 2
imul rax, rax, 0
movzx eax, word [rsp + rax + 0xf8]
mov ecx, 2
imul rcx, rcx, 1
movzx ecx, word [rsp + rcx + 0xf8]
imul ecx, ecx, 0x100
add eax, ecx
mov ecx, 2
imul rcx, rcx, 2
movzx ecx, word [rsp + rcx + 0xf8]
imul ecx, ecx, 0x100
imul ecx, ecx, 0x100
add eax, ecx
mov ecx, 2
imul rcx, rcx, 3
movzx ecx, word [rsp + rcx + 0xf8]
imul ecx, ecx, 0x100
imul ecx, ecx, 0x100
imul ecx, ecx, 0x100
add eax, ecx
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jbe 0x14009dc97
lea rcx, [rsp + 0x78]
call fcn.140030030
nop
mov r9d, dword [rsp + 0x54]
lea r8, [rsp + 0x110]
lea rdx, str._feature_usage_id__s__usagecount__d_____n
lea rcx, [rsp + 0x78]
call fcn.140030c60
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.1400305f0
nop
lea rcx, [rsp + 0x78]
call fcn.140030070
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x48], 0x800
mov dword [rsp + 0x4c], 0xa
jmp 0x14009db82
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x60]
call fcn.140030f30
test eax, eax
jne 0x14009dd21
lea rcx, [rsp + 0x90]
call fcn.140030030
nop
lea rcx, [rsp + 0x60]
call fcn.140030730
mov r8, rax
lea rdx, str._request_version_1__type_feature_usage_track___n_feature_usage_list__n_s__feature_usage_list__n__request__n
lea rcx, [rsp + 0x90]
call fcn.140030c60
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xa8]
call fcn.1400305f0
nop
lea rcx, [rsp + 0x90]
call fcn.140030070
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x1148]
call fcn.1400300a0
mov eax, dword [rsp + 0x44]
or eax, 1
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x60]
call fcn.140030070
nop
lea rcx, [rsp + 0xc0]
call fcn.140030070
nop
lea rcx, [rsp + 0xa8]
call fcn.140030070
mov rax, qword [rsp + 0x1148]
mov rcx, qword [rsp + 0x1120]
xor rcx, rsp
call fcn.14010f170
add rsp, 0x1130
pop rdi
ret