Function at 0x140046970
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x858]
sub rsp, 0x930
mov rax, qword [0x140093010]
xor rax, rsp
mov qword [rbp + 0x820], rax
xorps xmm0, xmm0
xor r12d, r12d
mov rdi, rcx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x70], r8d
xor edx, edx
mov r15d, r12d
mov esi, r12d
mov r14d, r12d
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp - 0x74]
mov dword [rbp - 0x78], r12d
mov qword [rsp + 0x30], rax
lea r9d, [r12 + 0x10]
lea rax, [rbp - 0x78]
mov dword [rbp - 0x74], 4
mov qword [rsp + 0x28], rax
lea r8, str.Platform_Specific_Field_1
lea rdx, str.HardwareDescriptionSystemCentralProcessor0
mov qword [rsp + 0x20], r12
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
movabs r13, 0x400000000000
test eax, eax
jns 0x140046a80
call fcn.140008030
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x140046a80
test qword [rcx + 0x10], r13
je 0x140046a80
mov rax, qword [rcx + 0x18]
and rax, r13
cmp rax, qword [rcx + 0x18]
jne 0x140046a80
lea rax, str.PlatformId_Registry_read_failed
mov qword [rsp + 0x58], 0x1000000
mov qword [rsp + 0x60], rax
lea rdx, [0x140085b05]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.1400030b4
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 0x60]
test eax, eax
je 0x140046ac3
cmp eax, 9
je 0x140046ac3
mov rcx, qword [rbp + 0x858]
lea rax, str.Unsupported_architecture__swallowing.
mov r9d, 0x80004005
mov qword [rsp + 0x20], rax
lea r8, str.D:_a_work1_sEosAppEosAppLibUpgradeEligibilityApi.cpp
mov edx, 0x239
call fcn.14004769c
jmp 0x140046ad5
movzx eax, word [rbp - 0x32]
movzx r14d, word [rbp - 0x34]
mov esi, eax
shr esi, 8
movzx r15d, al
xor ecx, ecx
xor eax, eax
cpuid
mov dword [rbp - 0x2c], ebx
mov ebx, SafeArrayGetDim
mov dword [rbp - 0x28], edx
mov r8d, ebx
mov dword [rbp - 0x24], ecx
lea rdx, str.AuthenticAMD
lea rcx, [rbp - 0x2c]
mov dword [rbp - 0x30], eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140046dae
mov r8d, ebx
lea rdx, str.GenuineIntel
lea rcx, [rbp - 0x2c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140046cfb
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea r9d, [rbx - 0xa]
lea rax, [rbp - 0x20]
mov rbx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea r8, str.VendorIdentifier
lea rdx, str.HardwareDescriptionSystemCentralProcessor0
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jns 0x140046b6e
bts dword [rdi + 0xa0], 7
jmp 0x140046e25
lea rdx, str.Qualcomm
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140046c89
mov ecx, 0x22
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
jne 0x140046e25
lea rax, [rbp - 0x6c]
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x30], rax
lea r8, str.CP_4030
lea rax, [rbp - 0x68]
mov dword [rbp - 0x6c], 8
mov qword [rsp + 0x28], rax
lea rdx, str.HardwareDescriptionSystemCentralProcessor0
mov r9d, 0x40
mov qword [rsp + 0x20], r12
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jns 0x140046c41
call fcn.140008030
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x140046c34
test qword [rcx + 0x10], r13
je 0x140046c34
mov rax, qword [rcx + 0x18]
and rax, r13
cmp rax, qword [rcx + 0x18]
jne 0x140046c34
lea rax, str.ARM64_Atomic_support_registry_read_failed
mov qword [rsp + 0x68], 0x1000000
mov qword [rsp + 0x70], rax
lea rdx, [0x140085b05]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.1400030b4
bts dword [rdi + 0xa0], 7
jmp 0x140046e25
mov rax, qword [rbp - 0x68]
shr rax, 0x14
and eax, 0xf
cmp eax, 2
jae 0x140046e25
lfence
mov r8d, eax
lea rdx, str.Qualcomm_CPU_family_check_failed__atomicsResult:__lu
lea rcx, [rbp + 0x1f0]
call fcn.140047240
lea rcx, [rbp + 0x1f0]
call fcn.140047298
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x40], 7
jmp 0x140046cea
call fcn.140008030
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x140046cdd
test qword [rcx + 0x10], r13
je 0x140046cdd
mov rax, qword [rcx + 0x18]
and rax, r13
cmp rax, qword [rcx + 0x18]
jne 0x140046cdd
lea rax, str.Unknown_CPU_vendor
mov qword [rsp + 0x78], 0x1000000
mov qword [rbp - 0x80], rax
lea rdx, [0x140085b05]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
call fcn.1400030b4
mov dword [rsp + 0x44], 7
lea rcx, [rsp + 0x44]
call fcn.140047370
or dword [rdi + 0xa0], 0x20
jmp 0x140046e25
mov eax, dword [rbp - 0x78]
cmp r14d, 6
jb 0x140046d8b
cmp esi, 0x5f
jbe 0x140046d39
cmp r14d, 6
jne 0x140046d8b
cmp esi, 0x8e
jne 0x140046d26
cmp r15d, 9
jne 0x140046d8b
cmp eax, 0x10
jne 0x140046d44
cmp esi, 0x9e
jne 0x140046d8b
cmp r15d, 9
jne 0x140046d8b
cmp eax, 8
je 0x140046d8b
cmp r14d, 6
jne 0x140046d44
cmp esi, 0x55
je 0x140046d8b
mov dword [rsp + 0x28], eax
lea rdx, str.Intel_CPU_family_check_failed__cpuFamily:__lu___cpuModel:__lu__cpuStepping:__lu__platformId:__lu
mov r9d, esi
mov dword [rsp + 0x20], r15d
mov r8d, r14d
lea rcx, [rbp + 0x400]
call fcn.140047240
lea rcx, [rbp + 0x400]
call fcn.140047298
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x48], 7
call fcn.140047370
or dword [rdi + 0xa0], 0x20
cmp word [rbp - 0x60], r12w
jne 0x140046e25
bts dword [rdi + 0xa0], 9
call fcn.1400473dc
lea rcx, [rsp + 0x4c]
mov dword [rsp + 0x4c], ebx
jmp 0x140046e20
cmp r14d, 0x17
jb 0x140046dc0
jne 0x140046e03
lea eax, [rsi - 1]
test eax, 0xffffffef
jne 0x140046e03
mov r9d, esi
mov dword [rsp + 0x20], r15d
mov r8d, r14d
lea rdx, str.AMD_CPU_family_check_failed__cpuFamily:__lu___cpuModel:__lu__cpuStepping:__lu
lea rcx, [rbp + 0x610]
call fcn.140047240
lea rcx, [rbp + 0x610]
call fcn.140047298
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 7
call fcn.140047370
or dword [rdi + 0xa0], 0x20
cmp word [rbp - 0x60], r12w
jne 0x140046e25
bts dword [rdi + 0xa0], 9
call fcn.1400473dc
lea rcx, [rsp + 0x54]
mov dword [rsp + 0x54], ebx
call fcn.140047370
mov rcx, qword [rbp + 0x820]
xor rcx, rsp
call fcn.1400521d0
lea r11, [rsp + 0x930]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret