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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [str.HARDWAREDESCRIPTIONSystemCentralProcessor]
mov eax, dword [0x706144]
push ebx
movups xmmword [ebp - 0x108], xmm0
push esi
movups xmm0, xmmword [0x70612c]
mov dword [ebp - 0xe0], eax
mov ebx, ecx
mov al, byte [0x706148]
push 0xd7
mov byte [ebp - 0xdc], al
lea eax, [ebp - 0xdb]
movups xmmword [ebp - 0xf8], xmm0
push 0
movq xmm0, qword [0x70613c]
push eax
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x41c], 0
movq qword [ebp - 0xe8], xmm0
call sub.VCRUNTIME140.dll_memset
push 0x104
mov dword [ebp - 0x440], 0x104
call fcn.006dff04
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x424]
mov dword [ebp - 0x420], esi
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6a5707
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x6a56fe
xor eax, eax
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x41c], eax
jbe 0x6a56fe
lea ecx, [ebp - 0x20c]
sub ebx, ecx
add ebx, 0xc8
push 0x104
lea ecx, [ebp - 0x414]
push ecx
push eax
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x6a56d9
mov cl, byte [ebp + eax - 0x108]
lea eax, [eax + 1]
mov byte [ebp + eax - 0x311], cl
test cl, cl
jne 0x6a5575
lea edi, [ebp - 0x310]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x6a5591
mov ax, word [0x705c64]
lea edx, [ebp - 0x414]
mov word [edi], ax
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x6a55b0
lea edi, [ebp - 0x310]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x6a55c0
mov ecx, edx
lea eax, [ebp - 0x418]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 0x20019
push 0
mov ecx, edx
lea eax, [ebp - 0x310]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6a56d3
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push str.ProcessorNameString
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6a56c3
mov esi, dword [ebp - 0x420]
lea ecx, [ebp - 0x20c]
mov edx, esi
mov eax, ecx
sub edx, eax
nop dword [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x6a5640
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strrev]
push esi
call edi
mov edx, eax
add esp, 4
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x6a5660
sub edx, esi
add edx, 0xffffffff
je 0x6a567f
nop
cmp byte [edx + eax], 0x20
jne 0x6a567f
mov byte [edx + eax], 0
sub edx, 1
jne 0x6a5670
push eax
call edi
mov esi, eax
lea edx, [ebp - 0x20c]
add esp, 4
mov dword [ebp - 0x420], esi
mov ecx, esi
sub edx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x6a5697
lea ecx, [ebp - 0x20c]
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x6a56b0
add ebx, 0x104
push dword [ebp - 0x418]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x6a56d9
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x428]
inc eax
mov dword [ebp - 0x428], eax
cmp eax, dword [ebp - 0x41c]
jb 0x6a5554
mov esi, dword [ebp - 0x420]
mov ebx, dword [ebp - 0x444]
push dword [ebp - 0x424]
call edi
pop edi
push esi
call fcn.006dfeff
add esp, 4
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.006a5960
lea ecx, [ebp - 0x43c]
call fcn.006a5940
mov dword [ebp - 0x43c], eax
mov ecx, ebx
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x430], 0
push eax
mov dword [ebp - 0x42c], 1
call fcn.006a5920
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x454]
mov ecx, ebx
push eax
call fcn.006a5920
cmp dword [ebp - 0x42c], 1
je 0x6a57a1
mov eax, dword [ebp - 0x430]
jmp 0x6a57b2
lea ecx, [ebp - 0x43c]
call fcn.006a5940
sub eax, dword [ebp - 0x43c]
xor edx, edx
mov esi, dword [ebp - 0x454]
div dword [0x1a97d28]
sub esi, dword [ebp - 0x44c]
xor edx, edx
mov ecx, eax
mov eax, esi
div ecx
mov ecx, dword [ebp - 4]
mov dword [ebx + 0x8e8], eax
xor ecx, ebp
pop esi
mov eax, 1
pop ebx
call fcn.006dfb52
mov esp, ebp
pop ebp
ret