Function at 0x14c8c
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x60
cmp byte [0x000ddd0c], 0
mov ebx, 0xc0000001
lea r15, [0x001000e0]
jne 0x14d7f
and qword [0x00100130], 0
lea r8, [rax + 0x18]
lea rdx, [rax + 8]
lea rcx, [rax + 0x10]
xor r9d, r9d
mov qword [0x001000e8], r15
mov qword [0x001000e0], r15
mov byte [0x000dd8cc], 0
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
mov r11d, dword [rsp + 0xa8]
cmp r11d, 0xa
jne 0x14d21
cmp dword [rsp + 0xa0], 0
jne 0x14d78
mov byte [0x000dd8cc], 1
mov dword [0x000dd8c0], 0x20
mov dword [0x000dd8c4], 0x28
jmp 0x14d6e
cmp r11d, 6
jne 0x14d3f
mov eax, dword [rsp + 0xa0]
cmp eax, 3
je 0x14d0b
cmp eax, 2
je 0x14d0b
cmp eax, 1
jne 0x14d78
jmp 0x14d0b
cmp r11d, 5
jne 0x14d78
mov eax, dword [rsp + 0xa0]
cmp eax, 2
je 0x14d5a
cmp eax, 1
je 0x14d5a
test eax, eax
jne 0x14d78
mov dword [0x000dd8c0], 0x10
mov dword [0x000dd8c4], 0x14
mov dword [0x000dd8c8], 4
mov byte [0x000ddd0c], 1
and qword [rsp + 0x38], 0
and qword [rsp + 0x50], 0
and qword [rsp + 0x58], 0
lea rax, [0x001000f0]
mov edi, 0x20019
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0xb0]
mov edx, edi
mov dword [rsp + 0x30], 0x30
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x240
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x14fa6
mov rbp, qword [rsp + 0xb0]
test rbp, rbp
je 0x14fa6
and qword [rsp + 0x28], 0
and qword [rsp + 0xa8], 0
lea rax, [rsp + 0xa8]
xor r9d, r9d
xor r8d, r8d
mov edx, edi
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ecx, 0xc0000000
and eax, ecx
cmp eax, ecx
je 0x14fa6
mov rcx, qword [rsp + 0xa8]
mov rsi, qword [rcx + 8]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
test rsi, rsi
je 0x14fa6
mov eax, dword [0x000dd8c0]
mov rdi, qword [rax + rsi]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14f9d
mov rbx, qword [rdi + 8]
lea r13, [0x00014a88]
cmp rbx, r13
je 0x14f35
lea rax, [0x00014b7c]
cmp rbx, rax
je 0x14f35
mov edx, 0x430
mov ecx, 1
mov r8d, 0x52444948
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r12, rax
test rax, rax
je 0x14e76
xor edx, edx
mov r8d, 0x430
mov rcx, rax
call fcn.0001a460
mov qword [r12 + 8], r12
mov qword [r12], r12
movzx r8d, word [0x001000f0]
mov rdx, qword [0x001000f8]
lea rcx, [r12 + 0x28]
call fcn.0001a110
mov eax, dword [0x000dd8c4]
mov qword [r12 + 0x20], rbx
mov qword [r12 + 0x428], rdi
mov edx, dword [rax + rsi]
mov rcx, rdi
call rbx
lea rcx, [0x00100130]
mov qword [r12 + 0x10], rax
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rdx, qword [0x001000e0]
mov qword [r12], rdx
mov qword [r12 + 8], r15
mov qword [rdx + 8], r12
lea rcx, [0x00100130]
mov dl, al
mov qword [0x001000e0], r12
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
cmp byte [0x000dd8cc], 0
lea rax, [0x00014b7c]
cmovne r13, rax
mov qword [rdi + 8], r13
jmp 0x14f9b
lea rcx, [0x00100130]
xor ebx, ebx
call qword [sym.imp.ntoskrnl.exe_KeAcquireSpinLockRaiseToDpc]
mov rcx, qword [0x001000e0]
jmp 0x14f5e
mov rbx, rcx
cmp qword [rcx + 0x428], rdi
je 0x14f63
mov rcx, qword [rcx]
xor ebx, ebx
cmp rcx, r15
jne 0x14f4d
lea rcx, [0x00100130]
mov dl, al
call qword [sym.imp.ntoskrnl.exe_KeReleaseSpinLock]
cmp byte [0x000dd8cc], 0
mov eax, dword [0x000dd8c4]
mov edx, dword [rax + rsi]
mov rcx, rdi
je 0x14f94
lea r8, [rsp + 0xa0]
call qword [rbx + 0x20]
jmp 0x14f97
call qword [rbx + 0x20]
mov qword [rbx + 0x10], rax
xor ebx, ebx
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
add rsp, 0x60
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret