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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x890
mov rax, qword [0x14026eff8]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov r14, rcx
mov ecx, dword [0x140277a98]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x140277950], ecx
jg 0x1400f2c91
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8, qword [0x14026ef68]
test r8, r8
je 0x1400f29f8
lea rcx, [0x14026ef58]
cmp r14, rcx
je 0x1400f2c62
cmp qword [0x14026ef70], 0x10
cmovae rcx, qword [0x14026ef58]
mov rdx, rcx
mov rcx, r14
call fcn.14000baa0
jmp 0x1400f2c62
lea r8, [rsp + 0x48]
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, eax
test eax, eax
je 0x1400f2a79
cmp byte [0x140277954], 0
jne 0x1400f2b27
mov byte [0x140277954], 1
mov edx, 0x5c
lea rbx, str.C:.conan2a21da1_src_system_wrappers_sourceplatform_win.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400f2a55
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x38], edi
lea rax, str.em::GetCpuNameByReg
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x111
lea r9, str.__s:_d__s__get_cpu_name_fail_by_RegOpenKeyW__status_is__ld
jmp 0x1400f2b0f
mov dword [rsp + 0x40], 0x800
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ProcessorNameString
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x1400f2b2e
cmp byte [0x140277954], 0
jne 0x1400f2b27
mov byte [0x140277954], 1
mov edx, 0x5c
lea rbx, str.C:.conan2a21da1_src_system_wrappers_sourceplatform_win.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1400f2af0
mov edx, 0x5c
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
lea rbx, [rax + 1]
mov dword [rsp + 0x38], edi
lea rax, str.em::GetCpuNameByReg
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x11b
lea r9, str.__s:_d__s__get_cpu_name_fail_by_RegQueryValueExW__status_is__ld
mov qword [rsp + 0x20], rbx
xor r8d, r8d
mov rdx, qword [str.COMMON]
lea ecx, [r8 + 4]
call fcn.1400fa7d0
xor al, al
jmp 0x1400f2c64
lea rax, [rsp + 0x80]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x1400f2b40
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, esi
lea r8, [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.1401022a0
mov rbp, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [rsp + 0x80]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], SafeArrayGetLBound
mov r8, rbx
mov rdx, rbp
lea rcx, [rsp + 0x58]
call fcn.14000baa0
nop
test rbp, rbp
je 0x1400f2be8
mov rcx, rbp
call fcn.140101b3c
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.140020420
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400f2c35
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f2c30
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400f2c30
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140101b3c
lea rcx, [0x14026ef58]
cmp rcx, r14
je 0x1400f2c57
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x1400f2c4f
mov r14, qword [r14]
mov rdx, r14
call fcn.14000baa0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.140102140
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
lea rcx, [0x140277950]
call fcn.140101f1c
cmp dword [0x140277950], 0xffffffff
jne 0x1400f29a7
lea rcx, [0x140123280]
call fcn.140101d7c
lea rcx, [0x140277950]
call fcn.140101ebc
jmp 0x1400f29a7