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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x3b0
mov rax, qword [0x0001c100]
xor rax, rsp
mov qword [rsp + 0x3a0], rax
xor esi, esi
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x1a2]
xor edx, edx
mov r8d, 0x1fe
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
mov word [rsp + 0x1a0], si
call fcn.00019aa0
lea rcx, [0x000fec60]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rax, [0x00011008]
lea r11, [0x00011008]
mov qword [rdi + 0x80], rax
lea rax, [0x00011030]
lea rdx, [0x00019c70]
lea rcx, [rsp + 0x58]
mov qword [rdi + 0x70], r11
mov qword [rdi + 0xe0], rax
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x50]
lea r9d, [rsi + 0x22]
mov qword [rsp + 0x30], r11
lea r8, [rsp + 0x58]
xor edx, edx
mov rcx, rdi
mov byte [rsp + 0x28], sil
mov dword [rsp + 0x20], esi
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
cmp eax, esi
jl 0x1158f
mov dl, 0x10
mov cl, 1
call qword [sym.imp.ntoskrnl.exe_IoIsWdmVersionAvailable]
lea rcx, [rsp + 0x68]
lea rdx, [0x00019ca0]
cmp al, sil
jne 0x113fc
lea rdx, [0x00019c30]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
cmp eax, esi
jge 0x11426
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x1158f
mov edx, 0x11f4594
mov r8d, 0x70696e66
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
movzx r8d, word [rbx]
mov rdx, qword [rbx + 8]
lea rcx, [rsp + 0x1a0]
mov qword [0x000feca0], rax
call fcn.00019750
lea rbp, [0x000fec80]
lea rdx, [rsp + 0x1a0]
mov rcx, rbp
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, rbp
call fcn.00012634
mov ebx, 0x1fffff
cmp eax, esi
jl 0x114e2
lea rax, [0x00011100]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, esi
jl 0x114e2
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov r8, qword [r8]
xor r9d, r9d
mov edx, ebx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rdx, qword [rsp + 0x48]
mov rcx, rbp
call fcn.00014f70
lea rcx, [0x000fec60]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeSetEvent]
lea rcx, [rsp + 0x84]
xor edx, edx
mov r8d, 0x118
mov dword [rsp + 0x80], esi
call fcn.00019aa0
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x84], 6
jne 0x11544
cmp dword [rsp + 0x88], 1
jne 0x11544
call fcn.0001514c
lea rdx, [0x0001116c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoRegisterDriverReinitialization]
lea rax, [0x0001747c]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
cmp eax, esi
jl 0x1158f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rcx, qword [rsp + 0x3a0]
xor rcx, rsp
call fcn.000196e0
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3b0
pop rdi
pop rsi
pop rbp
ret