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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2d46
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x62cf50]
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 [0x6335b8], 0
jne 0x49a3e2
push 0x38
lea eax, [ebp - 0xc8]
mov byte [0x6335b8], 1
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0xc8]
push 0
push 0x5bfaf2
push 0x5bfaf3
call fcn.00499ac0
push 0x38
lea eax, [ebp - 0x90]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0x90]
push 0
push 0x5bfb02
push 0x5bfb03
call fcn.00499ac0
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov eax, dword [0x6335c0]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
movlpd qword [0x6335a0], xmm0
movlpd qword [0x6335a8], xmm0
movlpd qword [ebp - 0x54], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0x48], xmm0
call fcn.0049a410
inc dword [ebp - 0xa0]
lea ecx, [ebp - 0x58]
add esp, 4
mov dword [0x6335c0], ecx
inc dword [ebp - 0x9c]
mov esi, 0x40
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
mov eax, dword [0x6335a0]
mov dword [ebp - 0x24], eax
mov eax, dword [0x6335a4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
call fcn.0049a410
inc dword [ebp - 0x68]
lea eax, [ebp - 0x34]
inc dword [ebp - 0x64]
add esp, 4
mov edx, dword [ebp - 0x1c]
mov dword [0x6335c0], eax
test edx, edx
je 0x499d8e
mov ecx, dword [ebp - 0x24]
add ecx, dword [0x6335a8]
mov eax, dword [ebp - 0x20]
adc eax, dword [0x6335ac]
add dword [edx + 0x10], ecx
adc dword [edx + 0x14], eax
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1ec]
mov dword [0x6335c0], edx
push eax
call fcn.0049a410
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 0x499dd9
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 0x499de9
mov ecx, dword [0x6335c0]
jmp 0x499d20
lea ecx, [ebp - 0x58]
call fcn.00499b50
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.00553130
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 [0x6335a0], edi
mov eax, edx
push ecx
push esi
mov dword [ebp - 0x14], eax
mov dword [0x6335a4], eax
call fcn.00553130
sub eax, edi
mov byte [ebp - 0x1e1], 0
mov dword [0x6335a8], eax
lea eax, [ebp - 0x1e0]
sbb edx, dword [ebp - 0x14]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [0x6335ac], edx
mov dword [ebp - 0x1e0], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x499ed3
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 0x499ebe
mov eax, dword [ebp - 0x38]
mov ecx, 0xf4240
imul ecx
mov byte [ebp - 0x1e1], 1
mov dword [0x6335b0], eax
mov dword [0x6335b4], edx
push dword [ebp - 0x1e0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp - 0x1e1], 0
jne 0x499f32
lea eax, [ebp - 0x1f4]
push eax
call fcn.0049a410
add esp, 4
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x1ec]
push eax
call fcn.0049a410
mov esi, dword [ebp - 0x1ec]
add esp, 4
sub esi, dword [ebp - 0x1f4]
mov edx, dword [ebp - 0x1e8]
mov eax, esi
sbb edx, dword [ebp - 0x1f0]
mov ecx, edx
shld ecx, eax, 2
shl eax, 2
add esi, eax
adc edx, ecx
shld edx, esi, 1
add esi, esi
mov dword [0x6335b4], edx
mov dword [0x6335b0], esi
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov eax, dword [0x6335a0]
mov dword [ebp - 0x48], eax
mov eax, dword [0x6335a4]
mov dword [ebp - 0x44], eax
mov eax, dword [0x6335c0]
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 - 0x3c], 0
call fcn.0049a410
inc dword [ebp - 0xa0]
lea ecx, [ebp - 0x58]
add esp, 4
mov dword [0x6335c0], ecx
inc dword [ebp - 0x9c]
mov esi, 0x40
nop dword [eax]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
mov eax, dword [0x6335a0]
mov dword [ebp - 0x24], eax
mov eax, dword [0x6335a4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], ecx
call fcn.0049a410
inc dword [ebp - 0x68]
lea eax, [ebp - 0x34]
inc dword [ebp - 0x64]
add esp, 4
mov edx, dword [ebp - 0x1c]
mov dword [0x6335c0], eax
test edx, edx
je 0x49a00e
mov ecx, dword [ebp - 0x24]
add ecx, dword [0x6335a8]
mov eax, dword [ebp - 0x20]
adc eax, dword [0x6335ac]
add dword [edx + 0x10], ecx
adc dword [edx + 0x14], eax
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1ec]
mov dword [0x6335c0], edx
push eax
call fcn.0049a410
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 0x49a059
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 0x49a069
mov ecx, dword [0x6335c0]
jmp 0x499fa0
lea ecx, [ebp - 0x58]
call fcn.00499b50
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
call fcn.005530a0
comisd xmm0, xmmword [0x5c0250]
movsd qword [ebp - 0x204], xmm0
jbe 0x49a0cc
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa8]
call fcn.005530a0
divsd xmm0, qword [ebp - 0x204]
movsd xmm1, qword [0x5c0258]
subsd xmm1, xmm0
andps xmm1, xmmword [0x5b73f0]
mulsd xmm1, qword [0x5c0260]
movsd qword [ebp - 0x1ec], xmm1
jmp 0x49a0dc
movsd xmm0, qword [0x5c0268]
movsd qword [ebp - 0x1ec], xmm0
mov edx, dword [0x6335b4]
mov ecx, dword [0x6335b0]
call fcn.005530a0
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 0x6335c8
call fcn.00499950
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 0x49a181
cmp dword [ebp - 0x1d8], 5
ja 0x49a170
jne 0x49a15a
cmp dword [ebp - 0x1d4], 1
jae 0x49a170
mov eax, 1
cpuid
test edx, 0x2000000
setne byte [ebp - 0x1e1]
jmp 0x49a181
push 6
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
setne byte [ebp - 0x1e1]
cmp byte [ebp - 0x1e1], 0
je 0x49a279
push 0x100010
call fcn.00406b90
mov dword [ebp - 0x1e8], eax
lea ecx, [eax + 0xf]
lea eax, [ebp - 0x1fc]
and ecx, 0xfffffff0
push eax
mov dword [ebp - 0x38], ecx
call fcn.0049a410
add esp, 8
mov dword [ebp - 0x1f0], 0x4000
mov dword [ebp - 0x14], 0x80
nop word [eax + eax]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x1f0]
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 0x49a1d9
sub dword [ebp - 0x14], 1
jne 0x49a1d0
lea eax, [ebp - 0x20c]
push eax
call fcn.0049a410
mov edx, dword [0x6335b4]
add esp, 4
mov ecx, dword [0x6335b0]
call fcn.005530a0
mulsd xmm0, qword [0x5c0280]
mov ecx, dword [ebp - 0x20c]
sub ecx, dword [ebp - 0x1fc]
mov edx, dword [ebp - 0x208]
sbb edx, dword [ebp - 0x1f8]
movsd qword [ebp - 0x1f4], xmm0
call fcn.005530a0
movsd xmm1, qword [ebp - 0x1f4]
divsd xmm1, xmm0
divsd xmm1, qword [0x5c0278]
cvttsd2si eax, xmm1
push eax
push str._nMeasured_Bus_Speed__using_SIMD_movntps______d_million_bytes_per_second
push 0x6337c8
call fcn.00499950
push dword [ebp - 0x1e8]
call fcn.0040a1b5
add esp, 0x10
jmp 0x49a28b
push str._nMeasured_Bus_Speed__using_SIMD_movntps_____unavailable____movntps_unimplemented
push 0x6337c8
call fcn.00499950
add esp, 8
push 0x800
call fcn.00406b90
mov esi, eax
lea eax, [ebp - 0x204]
push eax
call fcn.0049a410
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 0x49a2b0
lea eax, [ebp - 0x214]
push eax
call fcn.0049a410
mov edx, dword [0x6335b4]
add esp, 4
mov ecx, dword [0x6335b0]
call fcn.005530a0
mulsd xmm0, qword [0x5c0270]
mov ecx, dword [ebp - 0x214]
sub ecx, dword [ebp - 0x204]
mov edx, dword [ebp - 0x210]
sbb edx, dword [ebp - 0x200]
movsd qword [ebp - 0x1fc], xmm0
call fcn.005530a0
movsd xmm1, qword [ebp - 0x1fc]
divsd xmm1, xmm0
divsd xmm1, qword [0x5c0278]
cvttsd2si eax, xmm1
push eax
push str._nMeasured_Cache_Memory_Speed__using__C__loop______d_million_bytes_per_second
push 0x6339c8
call fcn.00499950
push esi
call fcn.0040a1b5
add esp, 0x10
cmp byte [ebp - 0x60], 0
jne 0x49a34d
dec dword [0x6335bc]
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 0x49a370
mov eax, dword [ebp - 0x88]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x49a37f
mov dword [eax + 4], ecx
jmp 0x49a387
mov eax, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0x84]
dec dword [eax + 4]
cmp byte [ebp - 0x98], 0
jne 0x49a39f
dec dword [0x6335bc]
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 0x49a3c2
mov eax, dword [ebp - 0xc0]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc0]
test eax, eax
je 0x49a3d1
mov dword [eax + 4], ecx
jmp 0x49a3d9
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 int.004016cd
mov esp, ebp
pop ebp
ret