Function at 0x460f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x658861
mov eax, dword fs:[0]
push eax
mov eax, 0x1098
call fcn.0062f6d0
mov eax, dword [0x750990]
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 0x695b34
lea ecx, [ebp - 0x1080]
call fcn.0041aa50
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x1054]
add eax, 4
push eax
lea ecx, [ebp - 0x1074]
call fcn.0041a9f0
mov byte [ebp - 4], 2
push 0x6959c8
lea ecx, [ebp - 0x10a4]
call fcn.0041aa50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10a4]
push ecx
lea ecx, [ebp - 0x1074]
call fcn.0041ada0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10a4]
call fcn.0041a9d0
lea ecx, [ebp - 0x1068]
call fcn.0041a9a0
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.0041ae70
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x461264
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 0x461257
cmp dword [ebp - 0x1044], 4
jne 0x46122f
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 0x46122f
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.00504e99
add esp, 4
mov dword [ebp - 0x1058], eax
mov eax, dword [ebp - 0x1058]
mov dword [ebp - 0x1030], eax
cmp dword [ebp - 0x1030], 0
je 0x46122f
mov ecx, dword [ebp - 0x1040]
lea edx, [ecx + ecx + 2]
push edx
push 0
mov eax, dword [ebp - 0x1030]
push eax
call fcn.0062db60
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.00411e80
add esp, 0xc
lea ecx, [ebp - 0x108c]
call fcn.0041a9a0
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.0041b220
add esp, 0x10
lea ecx, [ebp - 0x108c]
push ecx
lea ecx, [ebp - 0x1068]
call fcn.0041ada0
mov edx, dword [ebp - 0x1030]
mov dword [ebp - 0x105c], edx
mov eax, dword [ebp - 0x105c]
push eax
call fcn.00504e94
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x108c]
call fcn.0041a9d0
mov ecx, dword [ebp - 0x1038]
add ecx, 1
mov dword [ebp - 0x1038], ecx
mov dword [ebp - 0x1034], 0x800
mov dword [ebp - 0x1050], 0xa
jmp 0x461099
mov edx, dword [ebp - 0x103c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1068]
call fcn.0041b380
test eax, eax
jne 0x4612c3
lea ecx, [ebp - 0x1098]
call fcn.0041a9a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1068]
call fcn.0041ae70
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.0041b220
add esp, 0xc
lea ecx, [ebp - 0x1098]
push ecx
lea ecx, [ebp - 0x1080]
call fcn.0041ada0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1098]
call fcn.0041a9d0
lea edx, [ebp - 0x1080]
push edx
mov ecx, dword [ebp + 8]
call fcn.0041a9f0
mov eax, dword [ebp - 0x104c]
or eax, 1
mov dword [ebp - 0x104c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1068]
call fcn.0041a9d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1074]
call fcn.0041a9d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1080]
call fcn.0041a9d0
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.0062dc28
mov esp, ebp
pop ebp
ret 4