Function at 0x14120
Capabilities:
Check os version
Create device object

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1a0
mov rax, qword [0x00026100]
xor rax, rsp
mov qword [rsp + 0x190], rax
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
and qword [rsp + 0x50], 0
mov rbx, rcx
mov edi, 0x114
lea rcx, [rsp + 0x70]
mov r8, rdi
xor edx, edx
call fcn.000231f0
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], edi
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov r11d, dword [0x0002a8e0]
cmp r11d, 6
jne 0x1419a
cmp dword [0x0002a8e4], 3
ja 0x1419c
cmp r11d, r11d
jbe 0x141a5
lea rdx, [0x000233e0]
jmp 0x141ac
lea rdx, [0x00023320]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x58]
mov edx, 0x80
call qword [sym.imp.ntoskrnl.exe_IoGetDeviceObjectPointer]
mov edi, eax
test eax, eax
jns 0x141ee
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x141e7
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
jmp 0x14414
cmp dword [rsp + 0x74], 6
mov rcx, qword [rbx + 0x40]
mov edi, 0x1c
jae 0x14251
test rcx, rcx
je 0x1429f
cmp word [rbx + 0x38], di
jb 0x1429f
movzx r8d, word [rbx + 0x38]
xor edx, edx
call fcn.000231f0
mov r11, qword [rbx + 0x40]
lea rcx, [0x00010000]
mov rax, qword [rcx + 0x13400]
mov qword [r11], rax
mov rax, qword [rcx + 0x13408]
mov qword [r11 + 8], rax
mov rax, qword [rcx + 0x13410]
mov qword [r11 + 0x10], rax
movzx eax, word [rcx + 0x13418]
jmp 0x1429a
test rcx, rcx
je 0x1429f
cmp word [rbx + 0x38], di
jb 0x1429f
movzx r8d, word [rbx + 0x38]
xor edx, edx
call fcn.000231f0
mov r11, qword [rbx + 0x40]
lea rcx, [0x00010000]
mov rax, qword [rcx + fcn.00013420]
mov qword [r11], rax
mov rax, qword [rcx + 0x13428]
mov qword [r11 + 8], rax
mov rax, qword [rcx + 0x13430]
mov qword [r11 + 0x10], rax
movzx eax, word [rcx + 0x13438]
mov word [r11 + 0x18], ax
mov rax, qword [0x0002a910]
mov rcx, qword [rsp + 0x48]
mov r9d, dword [rcx + 0x48]
test rax, rax
cmovne rbx, rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov eax, dword [rcx + 0x34]
lea edx, [r8 + 0x29]
mov rcx, rbx
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov esi, eax
test eax, eax
jns 0x14338
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x142f2
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [0x0002a908], 0
je 0x14412
mov rdx, qword [0x0002a910]
test rdx, rdx
je 0x14412
lea rcx, [0x0002a920]
add rdx, 0x70
mov rax, qword [rcx]
mov qword [rdx], rax
and qword [rcx], 0
add rcx, 8
add rdx, 8
sub rdi, 1
jne 0x1431b
jmp 0x14412
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
mov rbp, rax
test rax, rax
jne 0x143b3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x40], rbp
test rcx, rcx
je 0x14370
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [0x0002a908], 0
je 0x14412
mov rdx, qword [0x0002a910]
test rdx, rdx
je 0x14412
lea rcx, [0x0002a920]
add rdx, 0x70
mov rax, qword [rcx]
mov qword [rdx], rax
and qword [rcx], 0
add rcx, 8
add rdx, 8
sub rdi, 1
jne 0x14399
jmp 0x14412
mov rax, qword [rsp + 0x40]
xor edx, edx
mov rbx, qword [rax + 0x40]
lea r8d, [rdx + 0x29]
mov rcx, rbx
call fcn.000231f0
mov r11, qword [rsp + 0x40]
mov qword [rbx + 0x1c], r11
mov rax, qword [rsp + 0x48]
mov qword [rbx + 1], rax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x13], rbp
mov qword [rbx + 0xa], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov ecx, dword [rax + 0x30]
and ecx, 0x14
or dword [rdx + 0x30], ecx
mov rax, qword [rsp + 0x40]
btr dword [rax + 0x30], 7
mov rax, qword [rsp + 0x40]
mov qword [0x0002a900], rax
mov eax, esi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.00021bd0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret