Function at 0x14001daa0
Capabilities:
Get system information on windows

Disassembly:
jmp 0x14004da30
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
lea rcx, [0x1400855e9]
call fcn.14001df69
mov dword [rbp + 0x44], 0
mov edx, 4
lea rcx, [rbp + 0x24]
call fcn.14001dad2
lea r9, [rbp + 0x44]
mov r8d, 4
lea rdx, [rbp + 0x24]
mov ecx, 0xc4
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0
jl 0x14004db78
lea rcx, str._t___SystemKernelVaShadowInformation_r_n
call fcn.14001de79
mov eax, dword [rbp + 0x24]
and eax, 1
movzx edx, al
lea rcx, str.KvaShadowEnabled
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 1
and eax, 1
movzx edx, al
lea rcx, str.KvaShadowUserGlobal
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 2
and eax, 1
movzx edx, al
lea rcx, str.KvaShadowPcid
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 3
and eax, 1
movzx edx, al
lea rcx, str.KvaShadowInvpcid
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 4
and eax, 1
movzx edx, al
lea rcx, str.KvaShadowRequired
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 5
and eax, 1
movzx edx, al
lea rcx, str.KvaShadowRequiredAvailable
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 6
and eax, 0x3f
mov edx, eax
lea rcx, str._tInvalidPteBit__lu_r_n
call fcn.14001de79
mov eax, dword [rbp + 0x24]
shr eax, 0xc
and eax, 1
movzx edx, al
lea rcx, str.L1DataCacheFlushSupported
call fcn.14001d361
mov eax, dword [rbp + 0x24]
shr eax, 0xd
and eax, 1
movzx edx, al
lea rcx, str.L1TerminalFaultMitigationPresent
call fcn.14001d361
jmp 0x14004db87
mov edx, dword [rbp + 0x64]
lea rcx, str.Cannot_query_Kernel_VA_Shadow_information
call fcn.14001d230
mov edx, 8
lea rcx, [rbp + 8]
call fcn.14001dad2
mov dword [rbp + 0x44], 8
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x44]
lea rdx, [rbp + 8]
mov ecx, 0xc9
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0xc0000002
je 0x14004dbc8
cmp dword [rbp + 0x64], 0xc0000003
jne 0x14004dbdc
mov edx, dword [rbp + 0x64]
lea rcx, str.Speculation_control_information_class_not_present
call fcn.14001d230
jmp 0x14004df81
cmp dword [rbp + 0x64], 0
je 0x14004dbf6
mov edx, dword [rbp + 0x64]
lea rcx, str.Cannot_query_speculation_control_information
call fcn.14001d230
jmp 0x14004df81
mov eax, dword [rbp + 0x44]
cmp rax, 8
je 0x14004dc1d
mov eax, dword [rbp + 0x44]
cmp rax, 4
je 0x14004dc1d
mov r8d, dword [rbp + 0x44]
lea rdx, str.Unknown_speculation_control_information_size__lu_r_n
mov ecx, 1
call fcn.14001d46f
lea rcx, str._t___SystemSpeculationControlInformation_r_n
call fcn.14001de79
mov eax, dword [rbp + 8]
and eax, 1
movzx edx, al
lea rcx, str.BpbEnabled
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 1
and eax, 1
movzx edx, al
lea rcx, str.BpbDisabledSystemPolicy
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 2
and eax, 1
movzx edx, al
lea rcx, str.BpbDisabledNoHardwareSupport
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 3
and eax, 1
movzx edx, al
lea rcx, str.SpecCtrlEnumerated
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 4
and eax, 1
movzx edx, al
lea rcx, str.SpecCmdEnumerated
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 5
and eax, 1
movzx edx, al
lea rcx, str.IbrsPresent
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 6
and eax, 1
movzx edx, al
lea rcx, str.StibpPresent
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 7
and eax, 1
movzx edx, al
lea rcx, str.SmepPresent
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 8
and eax, 1
movzx edx, al
lea rcx, str.SpeculativeStoreBypassDisableAvailable
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 9
and eax, 1
movzx edx, al
lea rcx, str.SpeculativeStoreBypassDisableSupported
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0xa
and eax, 1
movzx edx, al
lea rcx, str.SpeculativeStoreBypassDisabledSystemWide
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0xb
and eax, 1
movzx edx, al
lea rcx, str.SpeculativeStoreBypassDisabledKernel
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0xc
and eax, 1
movzx edx, al
lea rcx, str.SpeculativeStoreBypassDisableRequired
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0xd
and eax, 1
movzx edx, al
lea rcx, str.BpbDisabledKernelToUser
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0xe
and eax, 1
movzx edx, al
lea rcx, str.SpecCtrlRetpolineEnabled
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0xf
and eax, 1
movzx edx, al
lea rcx, str.SpecCtrlImportOptimizationEnabled
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x10
and eax, 1
movzx edx, al
lea rcx, str.EnhancedIbrs
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x11
and eax, 1
movzx edx, al
lea rcx, str.HvL1tfStatusAvailable
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x12
and eax, 1
movzx edx, al
lea rcx, str.HvL1tfProcessorNotAffected
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x13
and eax, 1
movzx edx, al
lea rcx, str.HvL1tfMigitationEnabled
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x14
and eax, 1
movzx edx, al
lea rcx, str.HvL1tfMigitationNotEnabled_Hardware
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x15
and eax, 1
movzx edx, al
lea rcx, str.HvL1tfMigitationNotEnabled_LoadOption
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x16
and eax, 1
movzx edx, al
lea rcx, str.HvL1tfMigitationNotEnabled_CoreScheduler
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x17
and eax, 1
movzx edx, al
lea rcx, str.EnhancedIbrsReported
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x18
and eax, 1
movzx edx, al
lea rcx, str.MdsHardwareProtected
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x19
and eax, 1
movzx edx, al
lea rcx, str.MbClearEnabled
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x1a
and eax, 1
movzx edx, al
lea rcx, str.MbClearReported
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x1b
and eax, 3
mov edx, eax
lea rcx, str._t_tTsxCtrlStatus__lu_r_n
call fcn.14001de79
mov eax, dword [rbp + 8]
shr eax, 0x1d
and eax, 1
movzx edx, al
lea rcx, str.TsxCtrlReported
call fcn.14001d361
mov eax, dword [rbp + 8]
shr eax, 0x1e
and eax, 1
movzx edx, al
lea rcx, str.TaaHardwareImmune
call fcn.14001d361
mov eax, dword [rbp + 0x44]
cmp rax, 8
jne 0x14004df81
lea rcx, str._t___SystemSpeculationControlInformation_v2_r_n
call fcn.14001de79
mov eax, dword [rbp + 0xc]
and eax, 1
movzx edx, al
lea rcx, str.SbdrSsdpHardwareProtected
call fcn.14001d361
mov eax, dword [rbp + 0xc]
shr eax, 1
and eax, 1
movzx edx, al
lea rcx, str.FbsdpHardwareProtected
call fcn.14001d361
mov eax, dword [rbp + 0xc]
shr eax, 2
and eax, 1
movzx edx, al
lea rcx, str.PsdpHardwareProtected
call fcn.14001d361
mov eax, dword [rbp + 0xc]
shr eax, 3
and eax, 1
movzx edx, al
lea rcx, str.FbClearEnabled
call fcn.14001d361
mov eax, dword [rbp + 0xc]
shr eax, 4
and eax, 1
movzx edx, al
lea rcx, str.FbClearReported
call fcn.14001d361
lea rcx, [rbp - 0x20]
lea rdx, [0x14006d9c0]
call fcn.14001dcb2
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret