Function at 0x14003c550
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 [0x140064030]
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 0x14003c5bc
lea r9, [rsp + 0x30]
mov rcx, rbx
mov rdx, rdi
call fcn.140028530
jmp 0x14003c5e2
mov r14, rbx
cmp rax, 0x10
jb 0x14003c5c9
mov r14, qword [rsi + 0x30]
mov qword [rsi + 0x40], rdi
lea rdx, [rsp + 0x30]
mov rcx, r14
mov r8, rdi
call sub.ntdll.dll_memmove
mov byte [r14 + rdi], 0
test ebp, ebp
jg 0x14003c746
mov eax, 0x80000000
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
cmp eax, 0x80000004
jl 0x14003c6ef
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 0x14003c6ac
lea r9, [rsp + 0x30]
mov rcx, rbx
mov rdx, r14
call fcn.140028530
jmp 0x14003c6cf
cmp rax, 0x10
jb 0x14003c6b6
mov rbx, qword [rsi + 0x50]
mov qword [rsi + 0x60], r14
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov r8, r14
call sub.ntdll.dll_memmove
mov byte [rbx + r14], 0
cmp edi, 0x80000007
jl 0x14003c6ef
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r8
cpuid
xchg rbx, r8
shr edx, 8
and dl, 1
mov byte [rsi + 0x27], dl
cmp byte [rsi + 0x27], 0
jne 0x14003c727
cmp byte [rsi + 0x28], 0
je 0x14003c727
mov eax, 0x40000000
xor ecx, ecx
xchg rbx, r8
cpuid
xchg rbx, r8
cmp r8d, 0x7263694d
jne 0x14003c727
cmp ecx, 0x666f736f
jne 0x14003c727
cmp edx, 0x76482074
jne 0x14003c727
mov byte [rsi + 0x27], 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400300f0
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ecx, ecx
mov eax, 1
xchg rbx, r8
cpuid
xchg rbx, r8
mov r8d, eax
mov edi, ecx
mov r14d, edx
xor r12d, r12d
cmp ebp, 7
jb 0x14003c778
xor ecx, ecx
mov eax, 7
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.14003c460
mov eax, dword [r15 + 0xc]
mov dword [rsi + 8], eax
mov eax, dword [r15 + 8]
mov dword [rsi + 0xc], eax
mov eax, dword [r15 + 4]
mov dword [rsi + 0x18], eax
mov eax, dword [r15]
mov dword [rsi + 0x14], eax
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 0x14003c82d
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
jmp 0x14003c82f
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 0x14003c5ea