Function at 0x4460f0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e8fa2
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
push 0
push str.Last_Counter
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionPerflib
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00491d40
mov edi, dword [sym.imp.MSVCR90.dll_malloc]
lea esi, [eax*4 + 0x2710]
push esi
mov dword [0x6c06e0], eax
call edi
push esi
push 0
push eax
mov dword [0x6c06d8], eax
call sub.MSVCR90.dll_memset
push esi
call edi
push esi
push 0
push eax
mov dword [0x655a4c], eax
call sub.MSVCR90.dll_memset
add esp, 0x30
cmp dword [0x103a97c], 0
je 0x446182
mov eax, dword [0x6c06e0]
push eax
push str.GetNumOfCounters___d_
push 8
call fcn.0043d500
add esp, 0xc
push 0x32000
mov dword [esp + 0x18], 0x32000
call edi
mov ecx, dword [esp + 0x18]
push ecx
push 0
push eax
mov dword [0x655a34], eax
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [sym.imp.MSVCR90.dll_realloc]
add esp, 0x10
mov eax, dword [0x655a34]
lea edx, [esp + 0x14]
push edx
push eax
push 0
push 0
push str.Counter
push reloc.OLEAUT32.dll_SysReAllocStringLen
call edi
mov esi, eax
cmp esi, 0xea
jne 0x44621a
mov eax, dword [esp + 0x14]
mov ecx, dword [0x655a34]
add eax, 0x400
mov dword [esp + 0x14], eax
add eax, 0x400
push eax
push ecx
call ebx
add esp, 8
cmp dword [0x103a97c], 0
mov dword [0x655a34], eax
je 0x4461b2
mov edx, dword [esp + 0x14]
push edx
push str.GetNumOfCounters_1__d_
push 8
call fcn.0043d500
add esp, 0xc
jmp 0x4461b2
cmp dword [0x103a97c], 0
je 0x446237
mov eax, dword [esp + 0x14]
push eax
push str.GetNumOfCounters_end__d_
push 8
call fcn.0043d500
add esp, 0xc
cmp esi, 2
jne 0x446259
lea ecx, [esp + 0x18]
push ecx
call fcn.00491540
mov dword [esp + 0x28], 0
mov edx, dword [eax]
push edx
push esi
push str.Registry_value_does_not_exist._RegQueryValueEx___returns___u__s
jmp 0x446278
test esi, esi
je 0x446294
lea eax, [esp + 0x18]
push eax
call fcn.00491540
mov dword [esp + 0x28], 1
mov ecx, dword [eax]
push ecx
push esi
push str.RegQueryValueEx___failed__error_code___u__s
push 8
call fcn.0043d500
add esp, 0x14
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, dword [sym.imp.MSVCR90.dll_atoi]
mov esi, dword [0x655a34]
mov dword [0x6c06dc], 0
cmp byte [esi], 0
je 0x446333
cmp dword [0x6c06dc], 0x2710
jae 0x446333
push esi
call ebp
mov edx, dword [0x655a4c]
mov edi, eax
mov eax, dword [0x6c06dc]
mov dword [eax*4 + 0x655a50], edi
add esp, 4
inc eax
mov dword [0x6c06dc], eax
push esi
mov dword [edx + edi*4], esi
call ebx
lea esi, [esi + eax + 1]
mov eax, dword [0x6c06d8]
mov dword [eax + edi*4], esi
cmp dword [0x103a97c], 0x4a
jne 0x446325
mov ecx, dword [0x6c06d8]
mov edx, dword [ecx + edi*4]
mov eax, dword [0x655a4c]
mov ecx, dword [eax + edi*4]
push edx
mov edx, dword [0x6c06dc]
push ecx
push edx
push str.PerformanceMonitorThread__d__
push 8
call fcn.0043d500
add esp, 0x14
push esi
call ebx
cmp byte [esi + eax + 1], 0
lea esi, [esi + eax + 1]
jne 0x4462b5
cmp dword [0x103a97c], 0x4a
jne 0x44634b
push str.PerformanceMonitorThread_
push 8
call fcn.0043d500
add esp, 8
cmp dword [0x6c06dc], 0
jne 0x446381
push 0
push 0
push 0x50a06c
push str.lodctr
push str.open
push 0
call fcn.00464ac0
add esp, 0x18
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4462a0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret