Function at 0x416d50
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x468828
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov al, byte [esp + 0x5c]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], al
call fcn.00405c50
mov edi, 0x4868b4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x416dd0
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov edx, ecx
mov esi, 0x4868b4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
lea eax, [esp + 0x14]
mov dword [esp + 0x64], ebx
push eax
push 0x20019
push ebx
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x416e6d
mov ebp, dword [esp + 0x6c]
mov cl, byte [esp + 0x6c]
push ebx
mov byte [ebp], cl
mov ecx, ebp
call fcn.00405c50
mov edi, str._NULL_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00407310
test al, al
je 0x416e45
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str._NULL_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004072f0
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
call fcn.00405c50
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebx
push str.MHz
push eax
mov dword [esp + 0x28], 8
call esi
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push ebx
push str.Identifier
push eax
mov dword [esp + 0x28], ebx
call esi
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00460f0e
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x10]
mov edi, eax
push edx
lea eax, [esp + 0x1c]
push edi
push eax
push ebx
push str.Identifier
push ecx
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x416ee5
mov byte [edi], 0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push ebx
push eax
push ebx
push str.ProcessorNameString
push ecx
mov dword [esp + 0x28], ebx
call esi
mov edx, dword [esp + 0x10]
push edx
call fcn.00460f0e
mov edx, dword [esp + 0x18]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ebp
push ecx
push ebx
push str.ProcessorNameString
push edx
mov dword [esp + 0x38], ebp
call esi
test eax, eax
je 0x416f34
mov byte [ebp], 0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ebx
push ecx
push ebx
push str.VendorIdentifier
push edx
mov dword [esp + 0x28], ebx
call esi
mov eax, dword [esp + 0x10]
push eax
call fcn.00460f0e
add esp, 4
lea ecx, [esp + 0x10]
mov ebx, eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push 0
push str.VendorIdentifier
push eax
call esi
test eax, eax
je 0x416f7f
mov byte [ebx], 0
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push 0xa
push ecx
push edx
call fcn.00450cf7
mov edi, str._CPU_NAME:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str._CPU_NAME:
lea ecx, [esp + 0x34]
call fcn.004057e0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebp
lea ecx, [esp + 0x34]
call fcn.004057e0
mov edi, 0x47f5cc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x416fed
call fcn.00451e5b
test esi, esi
jbe 0x417032
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x417032
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, 0x47f5cc
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov edi, str._CPU_VENDOR:
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x417057
call fcn.00451e5b
test esi, esi
jbe 0x41709c
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x41709c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, str._CPU_VENDOR:
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4170be
call fcn.00451e5b
test esi, esi
jbe 0x417100
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x417100
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, ebx
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov edi, 0x47f5cc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x417125
call fcn.00451e5b
test esi, esi
jbe 0x41716a
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x41716a
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, 0x47f5cc
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov edi, str._CPU_IDENTIFIER:
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x41718f
call fcn.00451e5b
test esi, esi
jbe 0x4171d4
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x4171d4
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, str._CPU_IDENTIFIER:
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4171f8
call fcn.00451e5b
test esi, esi
jbe 0x41723c
mov ecx, dword [esp + 0x34]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x30]
push ebp
call fcn.00407310
test al, al
je 0x41723c
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, dword [esp + 0x1c]
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov edi, 0x47f5cc
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
mov eax, dword [0x46c634]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x417261
call fcn.00451e5b
test esi, esi
jbe 0x4172a6
mov eax, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x30]
lea ebp, [eax + esi]
push ebp
call fcn.00407310
test al, al
je 0x4172a6
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, esi
mov esi, 0x47f5cc
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.004072f0
mov eax, dword [esp + 0x1c]
push eax
call fcn.00460f37
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00460f37
push ebx
call fcn.00460f37
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x6c]
mov al, byte [esp + 0x2c]
push 0
mov ecx, esi
mov byte [esi], al
call fcn.00405c50
mov ecx, dword [0x46c634]
lea edx, [esp + 0x2c]
push ecx
push 0
push edx
mov ecx, esi
call fcn.004058a0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x41731a
mov al, byte [ecx - 1]
test al, al
je 0x417310
cmp al, 0xff
je 0x417310
dec al
mov byte [ecx - 1], al
jmp 0x41731a
dec ecx
push ecx
call fcn.00460f37
add esp, 4
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret