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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov r13d, ecx
xorps xmm0, xmm0
xor ecx, ecx
xor eax, eax
cpuid
mov dword [rbp - 0x64], edx
xor esi, esi
mov dword [rbp - 0x60], ecx
lea rdx, [rbp - 0x68]
movups xmmword [rbp - 0x78], xmm0
lea rcx, str.___CPU_vendor_string:__s_r_n
mov dword [rbp - 0x4c], esi
movdqu xmmword [rbp - 0x5c], xmm0
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x68], ebx
call fcn.180002e3c
mov edx, 0x114
lea rdi, [rbp - 0x40]
mov ecx, edx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x40], edx
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rbp - 0x3c], 6
jb 0x18000c352
jne 0x18000bf6a
cmp dword [rbp - 0x38], esi
je 0x18000c352
cmp dword [rbp - 0x34], 0x1db0
je 0x18000c352
lea r8, [rbp - 0x80]
mov dword [rsp + 0x60], esi
mov edx, 8
mov word [rsp + 0x64], 0x500
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x70], rsi
mov r12b, sil
mov qword [rbp - 0x80], rsi
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
mov ebx, 1
test eax, eax
js 0x18000c33d
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x18000c33d
lea rax, [rsp + 0x70]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea r8d, [rbx + 0x1f]
mov dword [rsp + 0x48], esi
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x40], esi
mov dl, 2
mov dword [rsp + 0x38], esi
mov r15, rdi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntdll.dll_RtlAllocateAndInitializeSid]
test eax, eax
js 0x18000c0ae
mov rcx, qword [sym.imp.ntdll.dll_NtQueryInformationToken]
lea rax, [0x1800013c4]
mov qword [rsp + 0x30], rax
lea r9, [rbp + 0x1a0]
lea rax, [0x1800013a4]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8d, [rbx + 1]
lea rax, [rbp + 0x198]
mov qword [rsp + 0x20], rax
call fcn.180001950
test eax, eax
js 0x18000c0a3
mov r14, qword [rbp + 0x1a0]
cmp dword [r14], esi
jbe 0x18000c081
mov rcx, qword [rsp + 0x70]
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 0x18000c075
and dil, 0x14
cmp dil, 4
je 0x18000c07e
add esi, ebx
cmp esi, dword [r14]
jae 0x18000c081
jmp 0x18000c04d
mov r12b, bl
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rbp + 0x1a0]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
xor esi, esi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlFreeSid]
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtClose]
test r12b, r12b
je 0x18000c33d
mov eax, dword [rbp - 0x34]
lea r8, str.___Windows_version:__u._u_build__u
mov r9d, dword [rbp - 0x3c]
lea rcx, [rbp + 0xe0]
mov dword [rsp + 0x28], eax
mov edx, 0x64
mov eax, dword [rbp - 0x38]
mov dword [rsp + 0x20], eax
call fcn.18000a7e8
lea rdx, [rbp + 0xe0]
lea rcx, str._s_r_n
call fcn.180002e3c
mov edi, 0x16
mov dl, bl
mov ecx, edi
call fcn.1800016a4
mov r9d, ebx
mov byte [rbp + 0x198], sil
lea r8, [rbp + 0x198]
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.1800016a4
cmp byte [rbp + 0x198], sil
lea rax, [0x18003656c]
lea r15, str.disa
mov rdx, r15
lea rcx, str.___SecureBoot_is__sbled_on_this_machine_r_n
cmovne rdx, rax
call fcn.180002e3c
mov edi, 8
lea r9, [rbp + 0x1a0]
mov r8d, edi
mov dword [rsp + 0x78], edi
lea rdx, [rsp + 0x78]
mov r14b, sil
lea ecx, [rdi + 0x5f]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov r12d, 0x400
test eax, eax
js 0x18000c1b2
test byte [rsp + 0x7c], bl
je 0x18000c19f
test dword [rsp + 0x7c], r12d
je 0x18000c19f
mov r14b, bl
test r14b, r14b
je 0x18000c1c2
lea rcx, str.___Windows_HVCI_mode_detected_r_n
call fcn.180002e3c
jmp 0x18000c1c2
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
lea r9, [rbp + 0x1a8]
mov dword [rbp + 0x1a8], esi
mov r8d, edi
mov qword [rsp + 0x68], rdi
lea rdx, [rsp + 0x68]
mov ecx, 0x67
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x18000c23e
mov eax, dword [rsp + 0x6c]
test al, 2
je 0x18000c203
lea rcx, str.___Test_Mode_ENABLED_r_n
call fcn.180002e3c
mov eax, dword [rsp + 0x6c]
test al, al
jns 0x18000c217
lea rcx, str.___Debug_Mode_ENABLED_r_n
call fcn.180002e3c
mov eax, dword [rsp + 0x6c]
test r12d, eax
je 0x18000c22c
lea rcx, str.___HVCI_KMCI_ENABLED_r_n
call fcn.180002e3c
mov eax, dword [rsp + 0x6c]
bt eax, 0xe
jae 0x18000c23e
lea rcx, str.___WHQL_enforcement_ENABLED_r_n
call fcn.180002e3c
cmp dword [rbp - 0x34], 0x4563
jb 0x18000c320
mov r12d, 4
mov dword [rbp + 0x1a0], esi
lea rax, [rbp - 0x78]
mov dword [rbp + 0x198], r12d
mov r9d, 0xf003f
mov dword [rsp + 0x60], r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetControlCIConfig
mov rcx, 0xffffffff80000002
mov edi, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x18000c320
mov rcx, qword [rbp - 0x78]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x198]
lea rax, [rbp + 0x1a0]
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 0x18000c2e2
cmp dword [rbp + 0x198], r12d
jne 0x18000c2eb
xor edi, edi
cmp dword [rbp + 0x1a0], edi
seta dil
jmp 0x18000c2eb
xor edi, edi
cmp rsi, 2
cmove edi, ebx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp rsi, 2
cmovne rax, rsi
test rax, rax
jne 0x18000c320
test edi, edi
lea rax, [0x18003656c]
lea rcx, str.___MSFT_Driver_block_list_is__sbled_r_n
cmovne r15, rax
mov rdx, r15
call fcn.180002e3c
lea rcx, str.Start_custom_loader_n
call fcn.180002e3c
mov edx, dword [rbp - 0x34]
mov r8d, r13d
movzx ecx, r14b
call fcn.18000bd70
jmp 0x18000c368
lea rdx, str.____Administrator_privileges_are_required_to_continue._r_n____Verify_that_you_have_sufficient_privileges_and_you_are_not_running_program_under_any_compatibility_layer._r_n
mov ecx, ebx
call fcn.18000fb6c
mov eax, 0x522
jmp 0x18000c368
lea rdx, str.____Unsupported_WinNT_version_r_n
mov ecx, 1
call fcn.18000fb6c
mov eax, 0x519
mov rbx, qword [rsp + 0x290]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret