Function at 0x459b20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea351
mov eax, dword fs:[0]
push eax
mov eax, 0x1098
call fcn.004e13f0
mov eax, dword [0x572734]
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 - 0x1044], 0
push 0x51351c
lea ecx, [ebp - 0x1080]
call fcn.004153a0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1054]
add eax, 4
push eax
lea ecx, [ebp - 0x1074]
call fcn.00415330
mov byte [ebp - 4], 2
push 0x5133b0
lea ecx, [ebp - 0x10a4]
call fcn.004153a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10a4]
push ecx
lea ecx, [ebp - 0x1074]
call fcn.00415710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10a4]
call fcn.00415310
lea ecx, [ebp - 0x1068]
call fcn.004152e0
mov byte [ebp - 4], 4
mov dword [ebp - 0x1038], 0
lea edx, [ebp - 0x1038]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1074]
call fcn.004157f0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x459deb
mov dword [ebp - 0x1030], 0x800
mov dword [ebp - 0x104c], 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 - 0x1034], 0
mov dword [ebp - 0x1048], 0
lea edx, [ebp - 0x104c]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1048]
push ecx
push 0
lea edx, [ebp - 0x1030]
push edx
lea eax, [ebp - 0x102c]
push eax
mov ecx, dword [ebp - 0x1034]
push ecx
mov edx, dword [ebp - 0x1038]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x459dde
cmp dword [ebp - 0x1048], 4
jne 0x459db6
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 - 0x1050], edx
je 0x459db6
imul ecx, dword [ebp - 0x1030], 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 sub.mfc120u.dll_Ordinal_265
add esp, 4
mov dword [ebp - 0x1058], eax
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x103c], eax
mov ecx, dword [ebp - 0x1040]
push ecx
mov edx, dword [ebp - 0x103c]
push edx
lea eax, [ebp - 0x102c]
push eax
call fcn.0040dda0
add esp, 0xc
lea ecx, [ebp - 0x108c]
call fcn.004152e0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1050]
push ecx
mov edx, dword [ebp - 0x103c]
push edx
push str._feature_usage_id__s__usagecount__d_____n
lea eax, [ebp - 0x108c]
push eax
call fcn.00415bb0
add esp, 0x10
lea ecx, [ebp - 0x108c]
push ecx
lea ecx, [ebp - 0x1068]
call fcn.00415710
mov edx, dword [ebp - 0x103c]
mov dword [ebp - 0x105c], edx
mov eax, dword [ebp - 0x105c]
push eax
call sub.mfc120u.dll_Ordinal_266
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x108c]
call fcn.00415310
mov ecx, dword [ebp - 0x1034]
add ecx, 1
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 0x1030], 0x800
mov dword [ebp - 0x104c], 0xa
jmp 0x459c49
mov edx, dword [ebp - 0x1038]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1068]
call fcn.00415d20
test eax, eax
jne 0x459e4a
lea ecx, [ebp - 0x1098]
call fcn.004152e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1068]
call fcn.004157f0
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.00415bb0
add esp, 0xc
lea ecx, [ebp - 0x1098]
push ecx
lea ecx, [ebp - 0x1080]
call fcn.00415710
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1098]
call fcn.00415310
lea edx, [ebp - 0x1080]
push edx
mov ecx, dword [ebp + 8]
call fcn.00415330
mov eax, dword [ebp - 0x1044]
or eax, 1
mov dword [ebp - 0x1044], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1068]
call fcn.00415310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1074]
call fcn.00415310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1080]
call fcn.00415310
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.004e134c
mov esp, ebp
pop ebp
ret 4