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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5684b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x5d21e8]
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 - 0x304]
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 - 0x2f8], eax
test eax, eax
jne 0x50b1b6
mov dword [ebp - 0x2fc], eax
lea eax, [ebp - 0x300]
push eax
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x300], 0xff
push eax
push 0
push 0
push str.MHz
push dword [ebp - 0x304]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x2f8], eax
test eax, eax
je 0x50b1ab
push 0
lea ecx, [ebp - 0x78]
call fcn.00502d30
mov edi, eax
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov dword [ebp - 4], 0
push 0xffffffffffffffff
push str.readCPUSpeedRegistryFailed
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [ebp - 0x2f4], esp
push dword [ebp - 0x2f8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x337
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2f4], esp
push str.Amazon::SystemInfo::getCPUSpeedMHz
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 2
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x1e8]
call fcn.00425bf0
lea ecx, [ebp - 0x1e8]
call fcn.005066c0
lea ecx, [ebp - 0x78]
call fcn.00502f90
mov eax, dword [ebp - 0x2fc]
jmp 0x50b2bf
push 0
lea ecx, [ebp - 0xe0]
call fcn.00502d30
mov edi, eax
mov ebx, dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
push ecx
mov esi, esp
mov dword [ebp - 4], 3
push 0xffffffffffffffff
push str.openCPUSpeedRegistryFailed
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505810
sub esp, 0x10
mov edi, eax
mov ecx, esp
mov dword [ebp - 0x2f4], esp
push dword [ebp - 0x2f8]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_int_]
push ecx
mov esi, esp
mov byte [ebp - 4], 4
push 0xffffffffffffffff
push str.errorCode
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00504e80
push 4
mov ecx, eax
call fcn.00504e60
push ecx
mov esi, esp
mov edi, eax
push 0xffffffffffffffff
push str.SystemInfoWin
call ebx
add esp, 8
mov dword [esi], eax
mov ecx, edi
call fcn.00505760
push 0x33e
mov ecx, eax
call fcn.00504e70
sub esp, 0x68
mov edi, eax
mov ebx, esp
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2f4], esp
push str.Amazon::SystemInfo::getCPUSpeedMHz
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QVariant::constructor_char_const__]
push ecx
mov esi, esp
mov byte [ebp - 4], 5
push 0xffffffffffffffff
push 0x56e5f8
call dword [sym.imp.QtCore4.dll_private:_static_struct_QString::Data____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 8
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00504e80
push eax
mov ecx, ebx
call fcn.00425d30
lea ecx, [ebp - 0x2f0]
call fcn.00425bf0
lea ecx, [ebp - 0x2f0]
call fcn.005066c0
lea ecx, [ebp - 0xe0]
call fcn.00502f90
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.005329db
mov esp, ebp
pop ebp
ret