Function at 0x140156830
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 [0x1402ecca8]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov r14, rcx
mov ecx, dword [0x1402f6488]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1402f61ac], ecx
jg 0x140156b71
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8, qword [0x1402ecba8]
test r8, r8
je 0x1401568d8
lea rcx, [0x1402ecb98]
cmp r14, rcx
je 0x140156b42
cmp qword [0x1402ecbb0], 0x10
cmovae rcx, qword [0x1402ecb98]
mov rdx, rcx
mov rcx, r14
call fcn.140008d90
jmp 0x140156b42
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 0x140156959
cmp byte [0x1402f61b0], 0
jne 0x140156a07
mov byte [0x1402f61b0], 1
mov edx, 0x5c
lea rbx, str.C:.conan_a4471d1_src_system_wrappers_sourceplatform_win.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140156935
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], 0xf1
lea r9, str.__s:_d__s__get_cpu_name_fail_by_RegOpenKeyW__status_is__ld
jmp 0x1401569ef
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 0x140156a0e
cmp byte [0x1402f61b0], 0
jne 0x140156a07
mov byte [0x1402f61b0], 1
mov edx, 0x5c
lea rbx, str.C:.conan_a4471d1_src_system_wrappers_sourceplatform_win.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x1401569d0
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], 0xfb
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.14015e690
xor al, al
jmp 0x140156b44
lea rax, [rsp + 0x80]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140156a20
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.140176090
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.140008d90
nop
test rbp, rbp
je 0x140156ac8
mov rcx, rbp
call fcn.140175928
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.14001c690
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140156b15
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140156b10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140156b10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140175928
lea rcx, [0x1402ecb98]
cmp rcx, r14
je 0x140156b37
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140156b2f
mov r14, qword [r14]
mov rdx, r14
call fcn.140008d90
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.140175f30
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, [0x1402f61ac]
call fcn.140175d08
cmp dword [0x1402f61ac], 0xffffffff
jne 0x140156887
lea rcx, [0x1401c70a0]
call fcn.140175b68
lea rcx, [0x1402f61ac]
call fcn.140175ca8
jmp 0x140156887