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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1b0
mov rax, qword [0x0001d100]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, rcx
mov rbx, rdx
xor esi, esi
lea rcx, [0x00100480]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea rax, [0x00011150]
lea r11, [0x00011150]
lea rcx, [0x000ff780]
mov qword [rdi + 0x80], rax
mov qword [rdi + 0x70], r11
lea rax, [0x00011178]
mov qword [rdi + 0xe0], rax
movzx r8d, word [rbx]
mov rdx, qword [rbx + 8]
call fcn.0001a110
lea rdx, [0x000ff780]
lea rcx, [0x001004a0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [0x0001a6c0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea r11, [rsp + 0x50]
lea r9d, [rsi + 0x22]
mov qword [rsp + 0x30], r11
lea r8, [rsp + 0x68]
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
jge 0x115e5
lea rax, [0x000112b0]
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
jmp 0x1177c
mov dl, 0x10
mov cl, 1
call qword [sym.imp.ntoskrnl.exe_IoIsWdmVersionAvailable]
lea rcx, [rsp + 0x58]
lea rdx, [0x0001a6f0]
cmp al, sil
jne 0x11607
lea rdx, [0x0001a5f0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
cmp eax, esi
jge 0x11631
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
jmp 0x1177c
mov edx, 0x11f47a8
mov ecx, 1
mov r8d, 0x70696e66
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
lea rcx, [0x001004a0]
mov qword [0x001004c0], rax
call fcn.00012c38
mov ebx, 0x1fffff
cmp eax, esi
jl 0x116c4
lea rax, [0x00011248]
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 0x116c4
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]
lea rcx, [0x001004a0]
call fcn.00015528
lea rcx, [0x00100480]
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.0001a460
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
cmp dword [rsp + 0x84], 6
mov qword [0x00100050], rsi
jne 0x11731
cmp dword [rsp + 0x88], 1
jne 0x11731
call fcn.00015704
lea rdx, [0x000112a4]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoRegisterDriverReinitialization]
lea rax, [0x00018000]
mov qword [rsp + 0x30], rsi
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 0x1177c
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.0001a090
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret