Function at 0x45e220
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x635e51
mov eax, dword fs:[0]
push eax
mov eax, 0x1098
call fcn.00610bb0
mov eax, dword [0x721970]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1054], ecx
mov dword [ebp - 0x104c], 0
push 0x66f974
lea ecx, [ebp - 0x1080]
call fcn.00418d40
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1054]
add eax, 4
push eax
lea ecx, [ebp - 0x1074]
call fcn.00418ce0
mov byte [ebp - 4], 2
push 0x66f808
lea ecx, [ebp - 0x10a4]
call fcn.00418d40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10a4]
push ecx
lea ecx, [ebp - 0x1074]
call fcn.00419090
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10a4]
call fcn.00418cc0
lea ecx, [ebp - 0x1068]
call fcn.00418c90
mov byte [ebp - 4], 4
mov dword [ebp - 0x103c], 0
lea edx, [ebp - 0x103c]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1074]
call fcn.00419160
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45e514
mov dword [ebp - 0x1034], 0x800
mov dword [ebp - 0x1050], 0xa
xor eax, eax
mov word [ebp - 0x28], ax
xor ecx, ecx
mov dword [ebp - 0x26], ecx
mov dword [ebp - 0x22], ecx
mov dword [ebp - 0x1e], ecx
mov dword [ebp - 0x1a], ecx
mov dword [ebp - 0x16], ecx
mov dword [ebp - 0x1038], 0
mov dword [ebp - 0x1044], 0
lea edx, [ebp - 0x1050]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1044]
push ecx
push 0
lea edx, [ebp - 0x1034]
push edx
lea eax, [ebp - 0x102c]
push eax
mov ecx, dword [ebp - 0x1038]
push ecx
mov edx, dword [ebp - 0x103c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x45e507
cmp dword [ebp - 0x1044], 4
jne 0x45e4df
mov eax, 2
imul ecx, eax, 0
movzx edx, word [ebp + ecx - 0x28]
mov eax, 2
shl eax, 0
movzx ecx, word [ebp + eax - 0x28]
shl ecx, 8
add edx, ecx
mov eax, 2
shl eax, 1
movzx ecx, word [ebp + eax - 0x28]
shl ecx, 8
shl ecx, 8
add edx, ecx
mov eax, 2
imul ecx, eax, 3
movzx eax, word [ebp + ecx - 0x28]
shl eax, 8
shl eax, 8
shl eax, 8
add edx, eax
mov dword [ebp - 0x1048], edx
je 0x45e4df
imul ecx, dword [ebp - 0x1034], 5
mov dword [ebp - 0x1040], ecx
mov eax, dword [ebp - 0x1040]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e69f9
add esp, 4
mov dword [ebp - 0x1058], eax
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 0
je 0x45e4df
mov ecx, dword [ebp - 0x1040]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x1030]
push eax
call fcn.0060f700
add esp, 0xc
mov ecx, dword [ebp - 0x1040]
push ecx
mov edx, dword [ebp - 0x1030]
push edx
lea eax, [ebp - 0x102c]
push eax
call fcn.00410ef0
add esp, 0xc
lea ecx, [ebp - 0x108c]
call fcn.00418c90
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1048]
push ecx
mov edx, dword [ebp - 0x1030]
push edx
push str._feature_usage_id__s__usagecount__d_____n
lea eax, [ebp - 0x108c]
push eax
call fcn.00419510
add esp, 0x10
lea ecx, [ebp - 0x108c]
push ecx
lea ecx, [ebp - 0x1068]
call fcn.00419090
mov edx, dword [ebp - 0x1030]
mov dword [ebp - 0x105c], edx
mov eax, dword [ebp - 0x105c]
push eax
call fcn.004e69f4
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x108c]
call fcn.00418cc0
mov ecx, dword [ebp - 0x1038]
add ecx, 1
mov dword [ebp - 0x1038], ecx
mov dword [ebp - 0x1034], 0x800
mov dword [ebp - 0x1050], 0xa
jmp 0x45e349
mov edx, dword [ebp - 0x103c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1068]
call fcn.00419670
test eax, eax
jne 0x45e573
lea ecx, [ebp - 0x1098]
call fcn.00418c90
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1068]
call fcn.00419160
push eax
push str._request_version_1__type_feature_usage_track___n_feature_usage_list__n_s__feature_usage_list__n__request__n
lea eax, [ebp - 0x1098]
push eax
call fcn.00419510
add esp, 0xc
lea ecx, [ebp - 0x1098]
push ecx
lea ecx, [ebp - 0x1080]
call fcn.00419090
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1098]
call fcn.00418cc0
lea edx, [ebp - 0x1080]
push edx
mov ecx, dword [ebp + 8]
call fcn.00418ce0
mov eax, dword [ebp - 0x104c]
or eax, 1
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1068]
call fcn.00418cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1074]
call fcn.00418cc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1080]
call fcn.00418cc0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0060f7c8
mov esp, ebp
pop ebp
ret 4