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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x898]
sub rsp, 0x990
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140042020]
xor rax, rsp
mov qword [rbp + 0x888], rax
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x30], 0x400
lea rax, [0x140030110]
mov qword [rsp + 0x50], rax
lea rax, [0x140030118]
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP100.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], 1
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP100.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x50], rax
lea rcx, [rsp + 0x68]
call qword [sym.imp.MSVCP100.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x68], rax
mov qword [rbp - 0x28], rbx
mov dword [rbp - 0x20], ebx
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.System_information
call fcn.14000b420
lea r11, [rsp + 0x38]
mov qword [rsp + 0x20], r11
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, str.Unknown
test eax, eax
jne 0x1400071ad
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400071a2
lea rbx, [rbp + 0x80]
cmp word [rbp + 0x80], ax
cmove rbx, rdi
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.____H_W_________:
call fcn.14000b420
mov rcx, rax
mov rdx, rbx
call fcn.14000b420
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400073af
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, [0x14002fc30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000724e
lea rbx, [rbp + 0x80]
cmp word [rbp + 0x80], ax
cmove rbx, rdi
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.____ProductName_:
call fcn.14000b420
mov rcx, rax
mov rdx, rbx
call fcn.14000b420
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.EditionID
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400072c0
lea rbx, [rbp + 0x80]
cmp word [rbp + 0x80], ax
cmove rbx, rdi
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.____EditionID___:
call fcn.14000b420
mov rcx, rax
mov rdx, rbx
call fcn.14000b420
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.ReleaseId
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007332
lea rbx, [rbp + 0x80]
cmp word [rbp + 0x80], ax
cmove rbx, rdi
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.____ReleaseId___:
call fcn.14000b420
mov rcx, rax
mov rdx, rbx
call fcn.14000b420
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.CSDVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400073a4
lea rbx, [rbp + 0x80]
cmp word [rbp + 0x80], ax
cmove rbx, rdi
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rax
lea rdx, str.____CSDVersion__:
call fcn.14000b420
mov rcx, rax
mov rdx, rbx
call fcn.14000b420
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140009890
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400073ca
mov rbx, qword [rax]
lea rdx, [0x1400451e8]
lea rcx, [0x140043230]
call qword [sym.imp.MSVCR100.dll_public:_char_const____ptr64___cdecl_type_info::_name_internal_method_struct___type_info_node____ptr64_const___ptr64]
mov r8, rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 0x16c
lea r9, str.DbgLog.cpp
mov edx, 5
lea rcx, [0x1400457d0]
call fcn.140007dd0
nop
cmp qword [rbp + 0x68], 8
jb 0x140007419
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
nop
lea rcx, [rbp - 0x18]
call fcn.1400097f0
lea rcx, [rbp - 0x18]
call qword [sym.imp.MSVCP100.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x888]
xor rcx, rsp
call fcn.140029670
lea r11, [rsp + 0x990]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret