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

Disassembly:
push ebp
mov eax, 0x1040
lea ebp, [esp - 0xfc0]
call fcn.00693490
mov eax, dword [0x721bb0]
push ebx
push esi
push edi
push 0xb
pop ecx
mov esi, str.HARDWAREDESCRIPTIONSystemCentralProcessor
lea edi, [ebp + 0xeb8]
rep movsd dword es:[edi], dword [esi]
push 0x35
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
mov dword [ebp + 0xfbc], eax
pop ecx
movsb byte es:[edi], byte [esi]
xor eax, eax
lea edi, [ebp + 0xee5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x74]
push eax
xor edx, edx
push 0x20019
push edx
lea eax, [ebp + 0xeb8]
push eax
push 0x80000002
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x80], 0x104
mov dword [ebp - 0x70], edx
call ebx
xor esi, esi
test eax, eax
jne 0x4568cb
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push esi
push dword [ebp - 0x74]
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4568c2
cmp dword [ebp - 0x78], esi
mov dword [ebp - 0x6c], esi
jbe 0x4568c2
lea eax, [ebp + 0x79c]
lea ecx, [ebp + 0xcb0]
sub eax, ecx
mov dword [ebp - 0x68], eax
push 0x104
lea eax, [ebp + 0xbac]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x74]
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
test eax, eax
jne 0x4568b3
mov cl, byte [ebp + eax + 0xeb8]
mov byte [ebp + eax + 0xdb4], cl
inc eax
test cl, cl
jne 0x4567f6
lea edi, [ebp + 0xdb4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x456810
mov esi, 0x6d5828
lea eax, [ebp + 0xbac]
movsw word es:[edi], word [esi]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456827
lea edi, [ebp + 0xdb4]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x456837
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push 0
lea eax, [ebp + 0xdb4]
push eax
and ecx, 3
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call ebx
test eax, eax
jne 0x4568b1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xcb0]
push eax
push 0
push 0
push str.ProcessorNameString
push dword [ebp - 0x7c]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x4568a8
lea eax, [ebp + 0xcb0]
mov cl, byte [eax]
mov edx, dword [ebp - 0x68]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x456891
inc dword [ebp - 0x70]
add dword [ebp - 0x68], 0x104
push dword [ebp - 0x7c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor esi, esi
inc dword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x78]
jb 0x4567d6
push dword [ebp - 0x74]
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor ebx, ebx
cmp dword [ebp - 0x70], esi
jle 0x45692a
lea eax, [ebp + 0x79c]
mov dword [ebp - 0x68], eax
push dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push ebx
push str._CPU___d__t_t:___s__n
push eax
call fcn.006935d4
lea eax, [ebp - 0x64]
add esp, 0x10
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4568f5
mov edi, dword [ebp + 0xfc8]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x456907
add dword [ebp - 0x68], 0x104
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
cmp ebx, dword [ebp - 0x70]
rep movsb byte es:[edi], byte [esi]
jl 0x4568db
mov ecx, dword [ebp + 0xfbc]
pop edi
pop esi
pop ebx
call fcn.00692fc7
add ebp, 0xfc0
leave
ret