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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x1e0
mov rax, qword [0x00047100]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rbx, rcx
mov rdi, rdx
xor ebp, ebp
mov esi, 0x114
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8, rsi
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rbp
call fcn.0003bc80
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0xb0], esi
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov edx, dword [rsp + 0xb4]
mov eax, dword [rsp + 0xb8]
mov dword [0x0004c320], edx
mov dword [0x0004c324], eax
mov qword [0x0004c308], rbx
call fcn.00022320
lea rdx, [0x00048b60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rbp
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rax, qword [sym.imp.ntoskrnl.exe_IoDriverObjectType]
mov rcx, qword [rax]
lea r11, [rsp + 0x48]
lea edx, [rbp + 0x40]
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], rbp
mov byte [rsp + 0x28], bpl
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByName]
lea esi, [rbp + 0x22]
cmp eax, ebp
jl 0x133d4
mov rax, qword [rsp + 0x48]
cmp rax, rbp
je 0x1343f
lea rcx, [0x00013288]
mov qword [rax + 0xe0], rcx
mov rax, qword [rsp + 0x48]
mov qword [rax + 0x70], rcx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x1343f
lea rdx, [0x00048ba0]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00048be0]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x50]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x30], r11
mov r9d, esi
mov edx, 0xf
mov rcx, rbx
mov byte [rsp + 0x28], bpl
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, ebp
jl 0x1343f
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov qword [rbx + 8], rbp
lea rcx, [0x0004f9c0]
mov r8b, 1
mov rdx, rdi
call qword [sym.imp.ntoskrnl.exe_RtlUpcaseUnicodeString]
lea rcx, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x30], rcx
lea edx, [r8 + 0xf]
mov rcx, rbx
mov r9d, esi
mov byte [rsp + 0x28], bpl
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov rcx, qword [rsp + 0x40]
cmp eax, ebp
mov esi, eax
jge 0x13497
cmp rcx, rbp
je 0x13669
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x13669
mov rax, qword [rcx + 0x40]
lea rdi, [rbx + 0x70]
mov qword [rax + 6], rcx
lea rax, [0x00013694]
mov ecx, 0x1b
rep stosq qword [rdi], rax
mov rcx, qword [rsp + 0x40]
lea rax, [fcn.0003bd94]
mov qword [rbx + 0x68], rax
call qword [sym.imp.ntoskrnl.exe_IoRegisterShutdownNotification]
mov rdx, qword [rsp + 0x40]
mov qword [0x0004c300], rdx
mov qword [rbx + 8], rbp
call fcn.00013ce8
mov eax, dword [0x0004c320]
mov qword [0x0004f9b0], rbp
mov qword [0x0004c328], rbp
mov qword [0x0004c330], rbp
cmp eax, 6
jne 0x13508
cmp dword [0x0004c324], 3
ja 0x1350a
cmp eax, eax
jbe 0x13518
mov qword [0x0004f9a8], rbp
mov qword [0x0004c338], rbp
mov rcx, rbx
call fcn.00014934
mov rcx, rbx
call fcn.0001e6f4
cmp byte [0x0004754e], bpl
jne 0x135a1
cmp dword [0x0004ce08], ebp
jne 0x135a1
mov r8d, dword [0x0004ce10]
mov edx, dword [0x0004ce14]
mov ecx, 1
call fcn.00021664
lea rdx, [0x00049480]
lea rcx, [rsp + 0x88]
mov dword [0x0004c2f8], ebp
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x00049680]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov r8d, 4
lea r9, [0x0004c2f8]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x88]
mov dword [rsp + 0x20], r8d
call fcn.00012c94
call fcn.0002204c
mov edx, 0x40010
xor ecx, ecx
mov r8d, 0x72647268
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x0004c318], rax
mov rax, qword [rsp + 0x40]
btr dword [rax + 0x30], 7
cmp dword [rsp + 0xb4], 6
mov rax, qword [rbx + 0x30]
jae 0x1361f
cmp rax, rbp
je 0x13664
mov rcx, qword [rax + 0x20]
cmp rcx, rbp
je 0x13664
cmp word [rax + 0x18], 0xc
jb 0x13664
movzx r8d, word [rax + 0x18]
xor edx, edx
call fcn.0003bc80
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x20]
lea rdx, [0x00010000]
mov rax, qword [rdx + 0x2bf50]
mov qword [rcx], rax
movzx eax, word [rdx + 0x2bf58]
jmp 0x13660
cmp rax, rbp
je 0x13664
mov rcx, qword [rax + 0x20]
cmp rcx, rbp
je 0x13664
cmp word [rax + 0x18], 0xc
jb 0x13664
movzx r8d, word [rax + 0x18]
xor edx, edx
call fcn.0003bc80
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rdx + 0x20]
lea rdx, [0x00010000]
mov rax, qword [rdx + 0x2bf60]
mov qword [rcx], rax
movzx eax, word [rdx + 0x2bf68]
mov word [rcx + 8], ax
call fcn.00022264
mov eax, esi
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.0003a660
mov rbx, qword [rsp + 0x210]
add rsp, 0x1e0
pop rdi
pop rsi
pop rbp
ret