Function at 0x454f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8391
mov eax, dword fs:[0]
push eax
mov eax, 0x1088
call fcn.004dfa50
mov eax, dword [0x56f734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x104c], ecx
mov dword [ebp - 0x103c], 0
push 0x50ff4c
lea ecx, [ebp - 0x1064]
call fcn.00414370
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x104c]
add eax, 4
push eax
lea ecx, [ebp - 0x1088]
call fcn.00414300
mov byte [ebp - 4], 2
push 0x50fde0
lea ecx, [ebp - 0x1094]
call fcn.00414370
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1094]
push ecx
lea ecx, [ebp - 0x1088]
call fcn.004146e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1094]
call fcn.004142e0
lea ecx, [ebp - 0x1058]
call fcn.004142b0
mov byte [ebp - 4], 4
mov dword [ebp - 0x1030], 0
lea edx, [ebp - 0x1030]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x1088]
call fcn.004147c0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4551de
mov dword [ebp - 0x1038], 0x800
mov dword [ebp - 0x1044], 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 - 0x1044]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1048]
push ecx
push 0
lea edx, [ebp - 0x1038]
push edx
lea eax, [ebp - 0x102c]
push eax
mov ecx, dword [ebp - 0x1034]
push ecx
mov edx, dword [ebp - 0x1030]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4551d1
cmp dword [ebp - 0x1048], 4
jne 0x4551a9
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 - 0x1040], edx
je 0x4551a9
lea ecx, [ebp - 0x107c]
call fcn.004142b0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1040]
push ecx
lea edx, [ebp - 0x102c]
push edx
push str._feature_usage_id__s__usagecount__d_____n
lea eax, [ebp - 0x107c]
push eax
call fcn.00414ba0
add esp, 0x10
lea ecx, [ebp - 0x107c]
push ecx
lea ecx, [ebp - 0x1058]
call fcn.004146e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x107c]
call fcn.004142e0
mov edx, dword [ebp - 0x1034]
add edx, 1
mov dword [ebp - 0x1034], edx
mov dword [ebp - 0x1038], 0x800
mov dword [ebp - 0x1044], 0xa
jmp 0x4550b9
mov eax, dword [ebp - 0x1030]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1058]
call fcn.00414db0
test eax, eax
jne 0x45523d
lea ecx, [ebp - 0x1070]
call fcn.004142b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1058]
call fcn.004147c0
push eax
push str._request_version_1__type_feature_usage_track___n_feature_usage_list__n_s__feature_usage_list__n__request__n
lea ecx, [ebp - 0x1070]
push ecx
call fcn.00414ba0
add esp, 0xc
lea edx, [ebp - 0x1070]
push edx
lea ecx, [ebp - 0x1064]
call fcn.004146e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1070]
call fcn.004142e0
lea eax, [ebp - 0x1064]
push eax
mov ecx, dword [ebp + 8]
call fcn.00414300
mov ecx, dword [ebp - 0x103c]
or ecx, 1
mov dword [ebp - 0x103c], ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1058]
call fcn.004142e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1088]
call fcn.004142e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1064]
call fcn.004142e0
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.004df9ac
mov esp, ebp
pop ebp
ret 4