Function at 0x1400214a0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rcx
xor eax, eax
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
mov ebp, eax
mov rax, qword [0x140042028]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x30]
mov dword [rax], r8d
mov dword [rax + 4], edx
mov dword [rax + 8], ecx
mov byte [rax + 0xc], 0
lea rbx, [rsi + 0x30]
mov rcx, rax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov rdi, rax
mov rax, qword [rsi + 0x48]
cmp rax, rdi
jae 0x14002150c
lea r8, [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
call fcn.140017e90
jmp 0x140021532
mov r14, rbx
cmp rax, 0x10
jb 0x140021519
mov r14, qword [rsi + 0x30]
mov qword [rsi + 0x40], rdi
lea rdx, [rsp + 0x30]
mov rcx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rdi], 0
test ebp, ebp
jg 0x140021696
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
cmp eax, 0x80000004
jl 0x14002163f
mov edi, eax
mov eax, 0x80000002
xor ecx, ecx
xchg rbx, r15
cpuid
xchg rbx, r15
mov r8d, ecx
mov r9d, edx
mov r10d, eax
mov eax, 0x80000003
mov ecx, 0
xchg rbx, r12
cpuid
xchg rbx, r12
mov r11d, ecx
mov ebx, edx
mov ebp, eax
mov eax, 0x80000004
mov ecx, 0
xchg rbx, r13
cpuid
xchg rbx, r13
lea r14, [rsp + 0x30]
mov dword [r14], r10d
mov dword [r14 + 4], r15d
mov dword [r14 + 8], r8d
mov dword [r14 + 0xc], r9d
mov dword [r14 + 0x10], ebp
mov dword [r14 + 0x14], r12d
mov dword [r14 + 0x18], r11d
mov dword [r14 + 0x1c], ebx
mov dword [r14 + 0x20], eax
mov dword [r14 + 0x24], r13d
mov dword [r14 + 0x28], ecx
mov dword [r14 + 0x2c], edx
mov byte [r14 + 0x30], 0
lea rbx, [rsi + 0x50]
mov rcx, r14
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r14, rax
mov rax, qword [rsi + 0x68]
cmp rax, r14
jae 0x1400215fc
lea r8, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140017e90
jmp 0x14002161f
cmp rax, 0x10
jb 0x140021606
mov rbx, qword [rsi + 0x50]
mov qword [rsi + 0x60], r14
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14], 0
cmp edi, 0x80000007
jl 0x14002163f
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
shr edx, 8
and dl, 1
mov byte [rsi + 0x27], dl
cmp byte [rsi + 0x27], 0
jne 0x140021677
cmp byte [rsi + 0x28], 0
je 0x140021677
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
cmp r8d, 0x7263694d
jne 0x140021677
cmp ecx, 0x666f736f
jne 0x140021677
cmp edx, 0x76482074
jne 0x140021677
mov byte [rsi + 0x27], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14001bf90
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 1
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
mov r8d, eax
mov edi, ecx
mov r14d, edx
xor r12d, r12d
cmp ebp, 7
jb 0x1400216c8
mov eax, 7
xor ecx, ecx
xchg rbx, r12
cpuid
xchg rbx, r12
and r12d, 0x20
mov dword [rsi], r8d
mov eax, r8d
and eax, 0xf
mov dword [rsi + 0x10], eax
mov eax, r8d
shr eax, 0xc
and eax, 3
mov dword [rsi + 4], eax
lea r15, [rsp + 0x20]
mov rcx, r15
mov rdx, rbx
call fcn.1400213b0
movq xmm0, qword [r15 + 8]
pshufd xmm0, xmm0, 0xe1
movq qword [rsi + 8], xmm0
mov rax, qword [r15]
mov qword [rsi + 0x14], rax
mov eax, r14d
shr eax, 0x17
and al, 1
mov byte [rsi + 0x1c], al
mov eax, r14d
shr eax, 0x19
and al, 1
mov byte [rsi + 0x1d], al
shr r14d, 0x1a
and r14b, 1
mov byte [rsi + 0x1e], r14b
mov eax, edi
and al, 1
mov byte [rsi + 0x1f], al
mov eax, edi
shr eax, 9
and al, 1
mov byte [rsi + 0x20], al
mov eax, edi
shr eax, 0x13
and al, 1
mov byte [rsi + 0x21], al
mov eax, edi
shr eax, 0x14
and al, 1
mov byte [rsi + 0x22], al
mov eax, edi
shr eax, 0x17
and al, 1
mov byte [rsi + 0x23], al
mov eax, edi
shr eax, 0x1f
mov byte [rsi + 0x28], al
mov eax, edi
not eax
test eax, 0x1c000000
jne 0x140021779
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x14002177b
xor eax, eax
mov byte [rsi + 0x24], al
shr edi, 0x19
and dil, 1
mov byte [rsi + 0x26], dil
test al, al
setne al
test r12d, r12d
setne cl
and cl, al
mov byte [rsi + 0x25], cl
jmp 0x14002153a