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

Disassembly:
push ebp
lea ebp, [esp - 0x3dc]
sub esp, 0x45c
mov eax, dword [0x721bb0]
push ebx
push esi
push edi
mov dword [ebp - 0x58], ecx
push 0xb
pop ecx
mov esi, str.HARDWAREDESCRIPTIONSystemCentralProcessor
lea edi, [ebp + 0xcc]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x3d8], eax
push 0x35
xor eax, eax
pop ecx
lea edi, [ebp + 0xf9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x104
xor ebx, ebx
push esi
mov dword [ebp - 0x44], ebx
stosb byte es:[edi], al
mov dword [ebp - 0x54], esi
call fcn.006918d6
pop ecx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0xcc]
push eax
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x57c82a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x48]
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x57c821
cmp dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
jbe 0x57c821
mov eax, dword [ebp - 0x58]
lea ecx, [ebp + 0x2d4]
sub eax, ecx
add eax, 0xc8
mov dword [ebp - 0x4c], eax
jmp 0x57c6e2
mov esi, 0x104
push esi
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x48]
call dword [sym.imp.advapi32.dll_RegEnumKeyA]
test eax, eax
jne 0x57c812
mov cl, byte [ebp + eax + 0xcc]
mov byte [ebp + eax + 0x1d0], cl
inc eax
cmp cl, bl
jne 0x57c6fb
lea edi, [ebp + 0x1d0]
dec edi
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x57c715
mov esi, 0x6d5828
lea eax, [ebp - 0x38]
movsw word es:[edi], word [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x57c729
lea edi, [ebp + 0x1d0]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x57c739
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x50]
push eax
push 0x20019
push ebx
lea eax, [ebp + 0x1d0]
push eax
and ecx, 3
push 0x80000002
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x57c812
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp + 0x2d4]
push eax
push ebx
push ebx
push str.ProcessorNameString
push dword [ebp - 0x50]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x57c809
mov edx, dword [ebp - 0x3c]
lea eax, [ebp + 0x2d4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x57c7a1
push dword [ebp - 0x3c]
call fcn.006bc300
pop ecx
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x57c7b9
sub ecx, esi
dec ecx
cmp ecx, ebx
je 0x57c7d3
cmp byte [ecx + eax], 0x20
jne 0x57c7d3
mov byte [ecx + eax], bl
dec ecx
jne 0x57c7c7
push eax
call fcn.006bc300
lea edx, [ebp + 0x2d4]
pop ecx
mov dword [ebp - 0x3c], eax
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x57c7e5
lea eax, [ebp + 0x2d4]
mov cl, byte [eax]
mov edx, dword [ebp - 0x4c]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x57c7f5
add dword [ebp - 0x4c], 0x104
push dword [ebp - 0x50]
call dword [sym.imp.advapi32.dll_RegCloseKey]
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x44]
jb 0x57c6dd
push dword [ebp - 0x48]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push dword [ebp - 0x3c]
call fcn.00692701
pop ecx
lea ecx, [ebp - 0x80]
call fcn.0057b4df
lea ecx, [ebp - 0x80]
call fcn.0057b502
mov edi, dword [ebp - 0x58]
lea eax, [ebp - 0x6c]
push eax
mov ecx, edi
call fcn.0057bb35
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
call fcn.0057bb35
lea ecx, [ebp - 0x80]
call fcn.0057b540
mov esi, dword [ebp - 0x64]
sub esi, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
sbb eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x58], eax
call fcn.0057b519
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov ecx, dword [ebp + 0x3d8]
mov dword [edi + 0x8e8], eax
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.00692fc7
add ebp, 0x3dc
leave
ret