Function at 0x14934
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 [0x00047100]
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.0003bc80
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], edi
call qword [sym.imp.ntoskrnl.exe_RtlGetVersion]
mov r11d, dword [0x0004c320]
cmp r11d, 6
jne 0x149ae
cmp dword [0x0004c324], 3
ja 0x149b0
cmp r11d, r11d
jbe 0x149b9
lea rdx, [0x0003bf80]
jmp 0x149c0
lea rdx, [0x0003bec0]
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 0x14a02
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x149fb
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, edi
jmp 0x14c2d
cmp dword [rsp + 0x74], 6
mov rcx, qword [rbx + 0x40]
mov edi, 0x1c
jae 0x14a65
test rcx, rcx
je 0x14ab3
cmp word [rbx + 0x38], di
jb 0x14ab3
movzx r8d, word [rbx + 0x38]
xor edx, edx
call fcn.0003bc80
mov r11, qword [rbx + 0x40]
lea rcx, [0x00010000]
mov rax, qword [rcx + 0x2bfa0]
mov qword [r11], rax
mov rax, qword [rcx + 0x2bfa8]
mov qword [r11 + 8], rax
mov rax, qword [rcx + 0x2bfb0]
mov qword [r11 + 0x10], rax
movzx eax, word [rcx + 0x2bfb8]
jmp 0x14aae
test rcx, rcx
je 0x14ab3
cmp word [rbx + 0x38], di
jb 0x14ab3
movzx r8d, word [rbx + 0x38]
xor edx, edx
call fcn.0003bc80
mov r11, qword [rbx + 0x40]
lea rcx, [0x00010000]
mov rax, qword [rcx + 0x2bfc0]
mov qword [r11], rax
mov rax, qword [rcx + 0x2bfc8]
mov qword [r11 + 8], rax
mov rax, qword [rcx + 0x2bfd0]
mov qword [r11 + 0x10], rax
movzx eax, word [rcx + 0x2bfd8]
mov word [r11 + 0x18], ax
mov rax, qword [0x0004c350]
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 0x14b4c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14b06
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [0x0004c348], 0
je 0x14c2b
mov rdx, qword [0x0004c350]
test rdx, rdx
je 0x14c2b
lea rcx, [0x0004c360]
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 0x14b2f
jmp 0x14c2b
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_IoAttachDeviceToDeviceStack]
mov rbp, rax
test rax, rax
jne 0x14bc7
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 0x14b84
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
cmp qword [0x0004c348], 0
je 0x14c2b
mov rdx, qword [0x0004c350]
test rdx, rdx
je 0x14c2b
lea rcx, [0x0004c360]
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 0x14bad
jmp 0x14c2b
mov rax, qword [rsp + 0x40]
xor edx, edx
mov rbx, qword [rax + 0x40]
lea r8d, [rdx + 0x29]
mov rcx, rbx
call fcn.0003bc80
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 [0x0004c340], rax
call fcn.0002314c
mov eax, esi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.0003a660
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