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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597613
mov eax, dword fs:[0]
push eax
sub esp, 0x308
mov eax, dword [0x612678]
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
lea eax, [ebp - 0x308]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x2f4], eax
test eax, eax
jne 0x51d059
mov dword [ebp - 0x2f8], eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x304], 0xff
push eax
push 0
push 0
push str.MHz
push dword [ebp - 0x308]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x2f4], eax
test eax, eax
je 0x51d04e
sub esp, 0x68
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2fc], esp
push str.Amazon::SystemInfo::getCPUSpeedMHz
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov edi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov dword [ebp - 0x30c], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0
call edi
add esp, 8
mov dword [esi], eax
push 0x329
push ecx
mov dword [ebp - 0x310], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 1
call edi
add esp, 8
mov dword [esi], eax
push 4
sub esp, 0x10
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x314], esp
push dword [ebp - 0x2f4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov dword [ebp - 0x2f4], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 3
call edi
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x300], esp
mov esi, esp
push 0xffffffffffffffff
push str.readCPUSpeedRegistryFailed
call edi
add esp, 8
mov dword [esi], eax
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 5
call fcn.005130e0
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0xa
mov ecx, eax
call fcn.00515040
push eax
mov ecx, ebx
call fcn.00429600
lea ecx, [ebp - 0x1e8]
call fcn.00429560
lea ecx, [ebp - 0x1e8]
call fcn.00516570
lea ecx, [ebp - 0x78]
call fcn.005133a0
mov eax, dword [ebp - 0x2f8]
jmp 0x51d185
sub esp, 0x68
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x300], esp
push str.Amazon::SystemInfo::getCPUSpeedMHz
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
mov edi, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov dword [ebp - 0x314], esp
mov esi, esp
push 0xffffffffffffffff
push 0x59e6a0
mov dword [ebp - 4], 0xb
call edi
add esp, 8
mov dword [esi], eax
push 0x330
push ecx
mov dword [ebp - 0x310], esp
mov esi, esp
push 0xffffffffffffffff
push str.SystemInfoWin
mov byte [ebp - 4], 0xc
call edi
add esp, 8
mov dword [esi], eax
push 4
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x30c], esp
push dword [ebp - 0x2f4]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov dword [ebp - 0x2fc], esp
mov esi, esp
push 0xffffffffffffffff
push str.errorCode
mov byte [ebp - 4], 0xe
call edi
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x2f4], esp
mov esi, esp
push 0xffffffffffffffff
push str.openCPUSpeedRegistryFailed
call edi
add esp, 8
mov dword [esi], eax
push 0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 0x10
call fcn.005130e0
mov byte [ebp - 4], 0x11
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.005158f0
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00515040
mov ecx, eax
call fcn.00515020
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.00515840
mov ecx, eax
call fcn.00515030
mov byte [ebp - 4], 0x15
mov ecx, eax
call fcn.00515040
push eax
mov ecx, ebx
call fcn.00429600
lea ecx, [ebp - 0x2f0]
call fcn.00429560
lea ecx, [ebp - 0x2f0]
call fcn.00516570
lea ecx, [ebp - 0xe0]
call fcn.005133a0
or eax, 0xffffffff
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.00556510
mov esp, ebp
pop ebp
ret