Function at 0x14000cc34
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 - 0x138]
sub rsp, 0x238
xor ecx, ecx
xorps xmm0, xmm0
xor eax, eax
xor r13d, r13d
cpuid
mov dword [rbp - 0x7c], edx
lea rdx, [rbp - 0x80]
mov dword [rbp - 0x78], ecx
lea rcx, str.___CPU_vendor_string:__s_r_n
movups xmmword [rsp + 0x68], xmm0
mov dword [rbp - 0x64], r13d
movdqu xmmword [rbp - 0x74], xmm0
mov dword [rsp + 0x68], eax
mov dword [rbp - 0x80], ebx
call fcn.140002fb8
mov edx, 0x114
lea rdi, [rbp - 0x60]
mov ecx, edx
xor eax, eax
rep stosb byte [rdi], al
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x60], edx
call qword [sym.imp.ntdll.dll_RtlGetVersion]
cmp dword [rbp - 0x5c], 6
jb 0x14000d0b6
jne 0x14000ccb9
cmp dword [rbp - 0x58], r13d
je 0x14000d0b6
cmp dword [rbp - 0x54], 0x1db0
je 0x14000d0b6
mov esi, 8
mov dword [rbp + 0x188], r13d
mov edx, esi
mov word [rbp + 0x18c], 0x500
lea r8, [rsp + 0x78]
mov qword [rbp + 0x198], r13
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x78], r13
mov r12b, r13b
call qword [sym.imp.ntdll.dll_NtOpenProcessToken]
lea ebx, [rsi - 7]
test eax, eax
js 0x14000d0a1
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x14000d0a1
lea rax, [rbp + 0x198]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea r8d, [rsi + 0x18]
mov dword [rsp + 0x48], r13d
lea rcx, [rbp + 0x188]
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]
test eax, eax
js 0x14000ce15
mov rcx, qword [sym.imp.ntdll.dll_NtQueryInformationToken]
lea rax, [0x1400014f4]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x68]
lea rax, [0x1400014d4]
mov rdx, rdi
mov qword [rsp + 0x28], rax
lea r8d, [rsi - 6]
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
call fcn.140001aa4
test eax, eax
js 0x14000ce08
mov r14, qword [rsp + 0x68]
mov esi, r13d
cmp dword [r14], r13d
jbe 0x14000cde5
mov rcx, qword [rbp + 0x198]
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 0x14000cdd9
and dil, 0x14
cmp dil, 4
je 0x14000cde2
add esi, ebx
cmp esi, dword [r14]
jb 0x14000cdaf
jmp 0x14000cde5
mov r12b, bl
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rsp + 0x68]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, 8
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.ntdll.dll_RtlFreeSid]
mov rcx, r15
call qword [sym.imp.ntdll.dll_NtClose]
test r12b, r12b
je 0x14000d0a1
mov eax, dword [rbp - 0x54]
lea r8, str.___Windows_version:__u._u_build__u
mov r9d, dword [rbp - 0x5c]
lea rcx, [rbp + 0xc0]
mov dword [rsp + 0x28], eax
mov edx, 0x64
mov eax, dword [rbp - 0x58]
mov dword [rsp + 0x20], eax
call fcn.14000b0b8
lea rdx, [rbp + 0xc0]
lea rcx, str._s_r_n
call fcn.140002fb8
mov edi, 0x16
mov dl, bl
mov ecx, edi
call fcn.1400017f8
mov r9d, ebx
mov byte [rbp + 0x180], r13b
lea r8, [rbp + 0x180]
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.1400017f8
cmp byte [rbp + 0x180], r13b
lea rax, [0x14003be8c]
lea r15, str.disa
mov rdx, r15
lea rcx, str.___SecureBoot_is__sbled_on_this_machine_r_n
cmovne rdx, rax
call fcn.140002fb8
lea r12d, [rdi + 0x51]
mov dword [rbp + 0x188], esi
mov ecx, r12d
lea r9, [rbp + 0x180]
mov r8d, esi
lea rdx, [rbp + 0x188]
mov r14b, r13b
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov edi, 0x400
test eax, eax
js 0x14000cf1e
test byte [rbp + 0x18c], bl
je 0x14000cf0b
test dword [rbp + 0x18c], edi
je 0x14000cf0b
mov r14b, bl
test r14b, r14b
je 0x14000cf2e
lea rcx, str.___Windows_HVCI_mode_detected_r_n
call fcn.140002fb8
jmp 0x14000cf2e
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetLastWin32Error]
lea r9, [rbp + 0x190]
mov dword [rbp + 0x190], 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 0x14000cfac
mov eax, dword [rsp + 0x64]
test al, 2
je 0x14000cf72
lea rcx, str.___Test_Mode_ENABLED_r_n
call fcn.140002fb8
mov eax, dword [rsp + 0x64]
test al, al
jns 0x14000cf86
lea rcx, str.___Debug_Mode_ENABLED_r_n
call fcn.140002fb8
mov eax, dword [rsp + 0x64]
test edi, eax
je 0x14000cf9a
lea rcx, str.___HVCI_KMCI_ENABLED_r_n
call fcn.140002fb8
mov eax, dword [rsp + 0x64]
bt eax, 0xe
jae 0x14000cfac
lea rcx, str.___WHQL_enforcement_ENABLED_r_n
call fcn.140002fb8
cmp dword [rbp - 0x54], 0x4563
jb 0x14000d093
lea rax, [rsp + 0x68]
mov dword [rbp + 0x180], 4
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x198], 4
lea rdx, str.SystemCurrentControlSetControlCIConfig
mov dword [rbp + 0x188], r13d
mov rcx, 0xffffffff80000002
mov edi, r13d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d093
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 0x198]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x180]
lea rax, [rbp + 0x188]
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 0x14000d057
cmp dword [rbp + 0x180], 4
jne 0x14000d05d
cmp dword [rbp + 0x188], r13d
seta dil
jmp 0x14000d05d
cmp esi, 2
cmove edi, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
mov rax, r13
cmovne rax, rsi
test rax, rax
jne 0x14000d093
test edi, edi
lea rax, [0x14003be8c]
lea rcx, str.___MSFT_Driver_block_list_is__sbled_r_n
cmovne r15, rax
mov rdx, r15
call fcn.140002fb8
mov edx, dword [rbp - 0x54]
movzx ecx, r14b
call fcn.14000c644
jmp 0x14000d0cc
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.140011454
mov eax, 0x522
jmp 0x14000d0cc
lea rdx, str.____Unsupported_WinNT_version_r_n
mov ecx, 1
call fcn.140011454
mov eax, 0x519
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret