Function at 0x14000b23c
Capabilities:
Check os version
Get system information on windows
Get uefi variable
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x148]
sub rsp, 0x248
xor ecx, ecx
xorps xmm0, xmm0
xor eax, eax
xor r13d, r13d
cpuid
mov dword [rbp - 0x6c], edx
lea rdx, [rbp - 0x70]
mov dword [rbp - 0x68], ecx
lea rcx, str.___CPU_vendor_string:__s_r_n
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x54], r13d
movdqu xmmword [rbp - 0x64], xmm0
mov dword [rbp - 0x80], eax
mov dword [rbp - 0x70], ebx
call fcn.140002250
mov edx, 0x114
lea rdi, [rbp - 0x50]
mov ecx, edx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], edx
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rbp - 0x4c], 6
jb 0x14000b6af
jne 0x14000b2bf
cmp dword [rbp - 0x48], r13d
je 0x14000b6af
cmp dword [rbp - 0x44], 0x1db0
je 0x14000b6af
mov esi, 8
mov dword [rbp + 0x1a8], r13d
mov edx, esi
mov word [rbp + 0x1ac], 0x500
lea r8, [rsp + 0x78]
mov qword [rsp + 0x68], r13
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x78], r13
mov r12b, r13b
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
test eax, eax
js 0x14000b69c
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14000b69c
lea rax, [rsp + 0x68]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x18]
mov dword [rsp + 0x48], r13d
lea rcx, [rbp + 0x1a8]
mov dword [rsp + 0x40], r13d
mov dl, 2
mov dword [rsp + 0x38], r13d
mov r15, rdi
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
lea ebx, [rsi - 7]
test eax, eax
js 0x14000b419
mov rcx, qword [sym.imp.ntdll.dll_NtQueryInformationToken]
lea rax, [0x14000150c]
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x198]
lea rax, [0x1400014ec]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8d, [rsi - 6]
lea rax, [rbp + 0x190]
mov qword [rsp + 0x20], rax
call fcn.140001ab8
test eax, eax
js 0x14000b40e
mov r14, qword [rbp + 0x198]
mov esi, r13d
cmp dword [r14], r13d
jbe 0x14000b3e9
mov rcx, qword [rsp + 0x68]
mov edx, esi
add rdx, rdx
mov edi, dword [r14 + rdx*8 + 0x10]
mov rdx, qword [r14 + rdx*8 + 8]
call qword [sym.imp.ntdll.dll_RtlEqualSid]
test al, al
je 0x14000b3dd
and dil, 0x14
cmp dil, 4
je 0x14000b3e6
add esi, ebx
cmp esi, dword [r14]
jae 0x14000b3e9
jmp 0x14000b3b5
mov r12b, bl
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rbp + 0x198]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, 8
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlFreeSid]
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtClose]
test r12b, r12b
je 0x14000b69c
mov eax, dword [rbp - 0x44]
lea r8, str.___Windows_version:__u._u_build__u
mov r9d, dword [rbp - 0x4c]
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x28], eax
mov edx, 0x64
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x20], eax
call fcn.14000977c
lea rdx, [rbp + 0xd0]
lea rcx, str._s_r_n
call fcn.140002250
mov edi, 0x16
mov dl, bl
mov ecx, edi
call fcn.14000180c
mov r9d, ebx
mov byte [rbp + 0x190], r13b
lea r8, [rbp + 0x190]
lea rdx, str.8be4df61_93ca_11d2_aa0d_00e098032b8c
lea rcx, str.SecureBoot
call qword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
xor edx, edx
mov ecx, edi
call fcn.14000180c
cmp byte [rbp + 0x190], r13b
lea rax, [0x140036d34]
lea r15, str.disa
mov rdx, r15
lea rcx, str.___SecureBoot_is__sbled_on_this_machine_r_n
cmovne rdx, rax
call fcn.140002250
lea r12d, [rdi + 0x51]
mov dword [rsp + 0x70], esi
mov ecx, r12d
lea r9, [rbp + 0x198]
mov r8d, esi
lea rdx, [rsp + 0x70]
mov r14b, r13b
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, 0x400
test eax, eax
js 0x14000b51a
test byte [rsp + 0x74], bl
je 0x14000b507
test dword [rsp + 0x74], edi
je 0x14000b507
mov r14b, bl
test r14b, r14b
je 0x14000b52a
lea rcx, str.___Windows_HVCI_mode_detected_r_n
call fcn.140002250
jmp 0x14000b52a
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
lea r9, [rbp + 0x1a0]
mov dword [rbp + 0x1a0], r13d
mov r8d, esi
mov qword [rsp + 0x60], 8
lea rdx, [rsp + 0x60]
mov ecx, r12d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x14000b5a8
mov eax, dword [rsp + 0x64]
test al, 2
je 0x14000b56e
lea rcx, str.___Test_Mode_ENABLED_r_n
call fcn.140002250
mov eax, dword [rsp + 0x64]
test al, al
jns 0x14000b582
lea rcx, str.___Debug_Mode_ENABLED_r_n
call fcn.140002250
mov eax, dword [rsp + 0x64]
test edi, eax
je 0x14000b596
lea rcx, str.___HVCI_KMCI_ENABLED_r_n
call fcn.140002250
mov eax, dword [rsp + 0x64]
bt eax, 0xe
jae 0x14000b5a8
lea rcx, str.___WHQL_enforcement_ENABLED_r_n
call fcn.140002250
cmp dword [rbp - 0x44], 0x4563
jb 0x14000b68e
mov r12d, 4
mov dword [rbp + 0x198], r13d
lea rax, [rbp - 0x80]
mov dword [rbp + 0x190], r12d
mov r9d, 0xf003f
mov dword [rbp + 0x1a8], r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetControlCIConfig
mov rcx, 0xffffffff80000002
mov edi, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b68e
mov rcx, qword [rbp - 0x80]
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x190]
lea rax, [rbp + 0x198]
xor r8d, r8d
lea rdx, str.VulnerableDriverBlocklistEnable
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movsxd rsi, eax
test eax, eax
jne 0x14000b651
cmp dword [rbp + 0x190], r12d
jne 0x14000b658
cmp dword [rbp + 0x198], r13d
seta dil
jmp 0x14000b658
cmp rsi, 2
cmove edi, ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp rsi, 2
mov rax, r13
cmovne rax, rsi
test rax, rax
jne 0x14000b68e
test edi, edi
lea rax, [0x140036d34]
lea rcx, str.___MSFT_Driver_block_list_is__sbled_r_n
cmovne r15, rax
mov rdx, r15
call fcn.140002250
mov edx, dword [rbp - 0x44]
movzx ecx, r14b
call fcn.14000acd0
jmp 0x14000b6c5
lea rcx, str.____Administrator_privileges_are_required_to_continue._r_nVerify_that_you_have_sufficient_privileges_and_you_are_not_running_program_under_compatibility_layer._r_n
call fcn.140002250
mov eax, 0x522
jmp 0x14000b6c5
lea rdx, str.____Unsupported_WinNT_version_r_n
mov ecx, 1
call fcn.14000f72c
mov eax, 0x519
add rsp, 0x248
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret