Function at 0x1401749a0
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 [0x140304f48]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov r14, rcx
mov ecx, dword [0x14030e838]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x14030e708], ecx
jg 0x140174ce1
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll_memset
mov r8, qword [0x140304f28]
test r8, r8
je 0x140174a48
lea rcx, [0x140304f18]
cmp r14, rcx
je 0x140174cb2
cmp qword [0x140304f30], 0x10
cmovae rcx, qword [0x140304f18]
mov rdx, rcx
mov rcx, r14
call fcn.140008fb0
jmp 0x140174cb2
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 0x140174ac9
cmp byte [0x14030e70c], 0
jne 0x140174b77
mov byte [0x14030e70c], 1
mov edx, 0x5c
lea rbx, str.C:.conand095201_src_system_wrappers_sourceplatform_win.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140174aa5
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 0x140174b5f
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 0x140174b7e
cmp byte [0x14030e70c], 0
jne 0x140174b77
mov byte [0x14030e70c], 1
mov edx, 0x5c
lea rbx, str.C:.conand095201_src_system_wrappers_sourceplatform_win.cpp
mov rcx, rbx
call sub.VCRUNTIME140.dll_strrchr
test rax, rax
je 0x140174b40
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.14016ddf0
xor al, al
jmp 0x140174cb4
lea rax, [rsp + 0x80]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x140174b90
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.1401801d0
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.140008fb0
nop
test rbp, rbp
je 0x140174c38
mov rcx, rbp
call fcn.14017fa70
lea rdx, [rsp + 0x58]
mov rcx, r14
call fcn.14001cb80
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140174c85
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140174c80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140174c80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14017fa70
lea rcx, [0x140304f18]
cmp rcx, r14
je 0x140174ca7
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140174c9f
mov r14, qword [r14]
mov rdx, r14
call fcn.140008fb0
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.140180070
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, [0x14030e708]
call fcn.14017fe50
cmp dword [0x14030e708], 0xffffffff
jne 0x1401749f7
lea rcx, [0x1401d5850]
call fcn.14017fcb0
lea rcx, [0x14030e708]
call fcn.14017fdf0
jmp 0x1401749f7