Function at 0x605630
Capabilities:
Check os version
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64387b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x6ccc30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x6d0868], 0
jne 0x605df2
push 0x38
lea eax, [ebp - 0xc8]
mov byte [0x6d0868], 1
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
lea ecx, [ebp - 0xc8]
push 0
push 0x657882
push 0x657883
call fcn.006054e0
push 0x38
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0061e8c0
add esp, 0xc
lea ecx, [ebp - 0x90]
push 0
push 0x657892
push 0x657893
call fcn.006054e0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov eax, dword [0x6d0870]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
movlpd qword [0x6d0850], xmm0
movlpd qword [0x6d0858], xmm0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x48], xmm0
call fcn.00605e20
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x58]
add esp, 4
mov dword [0x6d0870], edx
inc dword [ebp - 0x9c]
mov esi, 0x40
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [0x6d0854]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
mov eax, dword [0x6d0850]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.00605e20
inc dword [ebp - 0x68]
lea eax, [ebp - 0x34]
inc dword [ebp - 0x64]
add esp, 4
mov edx, dword [ebp - 0x1c]
mov dword [0x6d0870], eax
test edx, edx
je 0x6057af
mov ecx, dword [ebp - 0x24]
add ecx, dword [0x6d0858]
mov eax, dword [ebp - 0x20]
adc eax, dword [0x6d085c]
add dword [edx + 0x10], ecx
adc dword [edx + 0x14], eax
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1ec]
mov dword [0x6d0870], edx
push eax
call fcn.00605e20
mov ecx, dword [ebp - 0x2c]
add esp, 4
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
adc eax, dword [ebp - 0x20]
sub dword [ebp - 0x1ec], ecx
sbb dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x34]
add dword [eax + 0x2c], 0xffffffff
jne 0x6057fa
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1ec]
add dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x1e8]
adc dword [ecx + 0x24], eax
sub esi, 1
je 0x60580a
mov edx, dword [0x6d0870]
jmp 0x605740
lea ecx, [ebp - 0x58]
call fcn.00605570
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
add ecx, 0x20
push 0
push 0x40
adc eax, 0
push eax
push ecx
call fcn.0061d170
mov esi, dword [ebp - 0xa8]
mov edi, eax
mov ecx, dword [ebp - 0xa4]
add esi, 0x20
push 0
push 0x40
adc ecx, 0
mov dword [0x6d0850], edi
mov eax, edx
push ecx
push esi
mov dword [ebp - 0x14], eax
mov dword [0x6d0854], eax
call fcn.0061d170
sub eax, edi
mov dword [0x6d0858], eax
lea eax, [ebp - 0x214]
sbb edx, dword [ebp - 0x14]
push eax
mov dword [0x6d085c], edx
call fcn.00605e20
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20c]
push eax
call fcn.00605e20
mov esi, dword [ebp - 0x20c]
add esp, 4
sub esi, dword [ebp - 0x214]
mov edx, dword [ebp - 0x208]
mov eax, esi
sbb edx, dword [ebp - 0x210]
mov ecx, edx
mov dword [ebp - 0x1e0], 0
shld ecx, eax, 2
shl eax, 2
add esi, eax
lea eax, [ebp - 0x1e0]
push eax
push 0x20019
adc edx, ecx
shld edx, esi, 1
push 0
push 0x657894
add esi, esi
mov dword [0x6d0864], edx
push 0x80000002
mov dword [0x6d0860], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x60593c
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push str.MHz
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x605930
mov eax, dword [ebp - 0x38]
mov ecx, 0xf4240
imul ecx
mov dword [0x6d0860], eax
mov dword [0x6d0864], edx
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6d0854]
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov eax, dword [0x6d0850]
mov dword [ebp - 0x48], eax
mov eax, dword [0x6d0870]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], ecx
call fcn.00605e20
inc dword [ebp - 0xa0]
lea edx, [ebp - 0x58]
add esp, 4
mov dword [0x6d0870], edx
inc dword [ebp - 0x9c]
mov esi, 0x40
nop word [eax + eax]
mov ecx, dword [0x6d0854]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
mov eax, dword [0x6d0850]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x2c]
push eax
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
call fcn.00605e20
inc dword [ebp - 0x68]
lea eax, [ebp - 0x34]
inc dword [ebp - 0x64]
add esp, 4
mov edx, dword [ebp - 0x1c]
mov dword [0x6d0870], eax
test edx, edx
je 0x605a1f
mov ecx, dword [ebp - 0x24]
add ecx, dword [0x6d0858]
mov eax, dword [ebp - 0x20]
adc eax, dword [0x6d085c]
add dword [edx + 0x10], ecx
adc dword [edx + 0x14], eax
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1ec]
mov dword [0x6d0870], edx
push eax
call fcn.00605e20
mov ecx, dword [ebp - 0x2c]
add esp, 4
add ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
adc eax, dword [ebp - 0x20]
sub dword [ebp - 0x1ec], ecx
sbb dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x34]
add dword [eax + 0x2c], 0xffffffff
jne 0x605a6a
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1ec]
add dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x1e8]
adc dword [ecx + 0x24], eax
sub esi, 1
je 0x605a7a
mov edx, dword [0x6d0870]
jmp 0x6059b0
lea ecx, [ebp - 0x58]
call fcn.00605570
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.0061d0e0
comisd xmm0, xmmword [0x6580e8]
movsd qword [ebp - 0x1fc], xmm0
jbe 0x605add
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
call fcn.0061d0e0
divsd xmm0, qword [ebp - 0x1fc]
movsd xmm1, qword [0x6580f0]
subsd xmm1, xmm0
andps xmm1, xmmword [0x64f8d0]
mulsd xmm1, qword [0x6580f8]
movsd qword [ebp - 0x1ec], xmm1
jmp 0x605aed
movsd xmm0, qword [0x658100]
movsd qword [ebp - 0x1ec], xmm0
mov edx, dword [0x6d0864]
mov ecx, dword [0x6d0860]
call fcn.0061d0e0
cvtsd2ss xmm0, xmm0
sub esp, 8
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
movsd xmm0, qword [ebp - 0x1ec]
push 0x3e8
sub esp, 8
movsd qword [esp], xmm0
push str._nTimer_Accuracy_____3.3lf_percent_of_the_time_of_memset_on__d_bytes_nClocks_Per_Second_____g_n_n
push 0x6d0878
call fcn.00605380
add esp, 0x1c
mov byte [ebp - 0x1e1], 0
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x1dc], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x605b92
cmp dword [ebp - 0x1d8], 5
ja 0x605b81
jne 0x605b6b
cmp dword [ebp - 0x1d4], 1
jae 0x605b81
mov eax, 1
cpuid
test edx, 0x2000000
setne byte [ebp - 0x1e1]
jmp 0x605b92
push 6
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
setne byte [ebp - 0x1e1]
cmp byte [ebp - 0x1e1], 0
je 0x605c89
push 0x100010
call fcn.005d0250
mov dword [ebp - 0x1e8], eax
lea ecx, [eax + 0xf]
lea eax, [ebp - 0x1f4]
and ecx, 0xfffffff0
push eax
mov dword [ebp - 0x38], ecx
call fcn.00605e20
add esp, 8
mov dword [ebp - 0x200], 0x4000
mov dword [ebp - 0x14], 0x80
nop dword [eax + eax]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x200]
movntps xmmword [eax], xmm0
movntps xmmword [eax + 0x10], xmm0
movntps xmmword [eax + 0x20], xmm0
movntps xmmword [eax + 0x30], xmm0
add eax, 0x40
dec ecx
jne 0x605be9
sub dword [ebp - 0x14], 1
jne 0x605be0
lea eax, [ebp - 0x21c]
push eax
call fcn.00605e20
mov edx, dword [0x6d0864]
add esp, 4
mov ecx, dword [0x6d0860]
call fcn.0061d0e0
mulsd xmm0, qword [0x658118]
mov ecx, dword [ebp - 0x21c]
sub ecx, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x218]
sbb edx, dword [ebp - 0x1f0]
movsd qword [ebp - 0x204], xmm0
call fcn.0061d0e0
movsd xmm1, qword [ebp - 0x204]
divsd xmm1, xmm0
divsd xmm1, qword [0x658110]
cvttsd2si eax, xmm1
push eax
push str._nMeasured_Bus_Speed__using_SIMD_movntps______d_million_bytes_per_second
push 0x6d0a78
call fcn.00605380
push dword [ebp - 0x1e8]
call fcn.005d31b1
add esp, 0x10
jmp 0x605c9b
push str._nMeasured_Bus_Speed__using_SIMD_movntps_____unavailable____movntps_unimplemented
push 0x6d0a78
call fcn.00605380
add esp, 8
push 0x800
call fcn.005d0250
mov esi, eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.00605e20
add esp, 8
mov edx, 0x80
nop dword [eax + eax]
mov ecx, 0x200
mov eax, 7
mov edi, esi
rep stosd dword es:[edi], eax
sub edx, 1
jne 0x605cc0
lea eax, [ebp - 0x224]
push eax
call fcn.00605e20
mov edx, dword [0x6d0864]
add esp, 4
mov ecx, dword [0x6d0860]
call fcn.0061d0e0
mulsd xmm0, qword [0x658108]
mov ecx, dword [ebp - 0x224]
sub ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x220]
sbb edx, dword [ebp - 0x1f8]
movsd qword [ebp - 0x1f4], xmm0
call fcn.0061d0e0
movsd xmm1, qword [ebp - 0x1f4]
divsd xmm1, xmm0
divsd xmm1, qword [0x658110]
cvttsd2si eax, xmm1
push eax
push str._nMeasured_Cache_Memory_Speed__using__C__loop______d_million_bytes_per_second
push 0x6d0c78
call fcn.00605380
push esi
call fcn.005d31b1
add esp, 0x10
cmp byte [ebp - 0x60], 0
jne 0x605d5d
dec dword [0x6d086c]
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], vtable.double_linked_list_element_class_BIB_T_NMT::LazyTerminate__class_BIBDLLEParent_.0
test ecx, ecx
je 0x605d80
mov eax, dword [ebp - 0x88]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x605d8f
mov dword [eax + 4], ecx
jmp 0x605d97
mov eax, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0x84]
dec dword [eax + 4]
cmp byte [ebp - 0x98], 0
jne 0x605daf
dec dword [0x6d086c]
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], vtable.double_linked_list_element_class_BIB_T_NMT::LazyTerminate__class_BIBDLLEParent_.0
test ecx, ecx
je 0x605dd2
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x605de1
mov dword [eax + 4], ecx
jmp 0x605de9
mov eax, dword [ebp - 0xbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0xbc]
dec dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ce525
mov esp, ebp
pop ebp
ret