Function at 0x112b0
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x208
mov rax, qword [0x0002b100]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
mov dword [rsp + 0x90], 0
lea rdi, [rsp + 0x1b8]
lea rsi, [0x00024900]
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x230]
movzx eax, word [rax]
cmp eax, 6
jge 0x11319
mov eax, 0xc000000d
jmp 0x1195d
mov rax, qword [rsp + 0x230]
mov rax, qword [rax + 8]
movzx eax, word [rax]
mov word [rsp + 0x1d0], ax
lea rdx, [rsp + 0x1b8]
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x178], 0x30
mov qword [rsp + 0x180], 0
mov dword [rsp + 0x190], 0x200
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0
mov dword [rsp + 0x68], 0x100
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x20
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x238]
lea r8, [rsp + 0x178]
mov edx, 0x80100000
lea rcx, [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov dword [rsp + 0x1a8], eax
cmp dword [rsp + 0x1a8], 0
jge 0x11423
mov eax, dword [rsp + 0x1a8]
jmp 0x1195d
mov qword [rsp + 0x28], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov r8, qword [r8]
mov edx, 1
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov dword [rsp + 0x1a8], eax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_NtClose]
cmp dword [rsp + 0x1a8], 0
jge 0x11484
mov eax, dword [rsp + 0x1a8]
jmp 0x1195d
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 8]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x1e0], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rsp + 0x178], 0x30
mov qword [rsp + 0x180], 0
mov dword [rsp + 0x190], 0x240
mov qword [rsp + 0x188], 0
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xd8
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x178]
mov rdx, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
mov rdx, qword [rdx]
xor ecx, ecx
call sub.ntoskrnl.exe_ObCreateObject
mov dword [rsp + 0x1a8], eax
cmp dword [rsp + 0x1a8], 0
jge 0x1156c
mov eax, dword [rsp + 0x1a8]
jmp 0x1195d
xor edx, edx
mov rax, qword [rsp + 0x170]
movzx ecx, byte [rax + 0x4c]
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x115a2
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, 0xc000009a
jmp 0x1195d
xor r8d, r8d
mov edx, 1
lea rcx, [rsp + 0x158]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rdi, qword [rsp + 0x78]
xor eax, eax
mov ecx, 0xd8
rep stosb byte [rdi], al
mov edx, 5
mov rax, qword [rsp + 0x78]
mov word [rax], dx
mov ecx, 0xd8
mov rax, qword [rsp + 0x78]
mov word [rax + 2], cx
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x1e0]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x50], 2
mov rdx, qword [rsp + 0x230]
mov rdx, qword [rdx + 8]
add rdx, 4
mov rcx, qword [rsp + 0x78]
add rcx, 0x58
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rsp + 0x78]
add rcx, 0x80
xor r8d, r8d
mov edx, 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rcx, qword [rsp + 0x78]
add rcx, 0x98
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor r9d, r9d
lea r8, [rsp + 0x90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_PsGetVersion]
mov edx, 0x1a0
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [rsp + 0x1d8], rax
mov rdi, qword [rsp + 0x1d8]
xor eax, eax
mov ecx, 0x1a0
rep stosb byte [rdi], al
call qword [sym.imp.ntoskrnl.exe_IoGetFileObjectGenericMapping]
mov r9, rax
mov r8d, dword [rsp + 0x228]
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0xb0]
call sub.ntoskrnl.exe_SeCreateAccessState
mov dword [rsp + 0x1a8], eax
xor edx, edx
mov rcx, qword [rsp + 0x1d8]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp dword [rsp + 0x1a8], 0
jge 0x116f2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x1a8]
jmp 0x1195d
mov qword [rsp + 0x98], 0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x228]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0xac], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], 0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x268]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x10], 0x84
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x40], 0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x238]
mov qword [rcx + 0x48], rax
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x158]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x41], 0
mov rax, qword [rsp + 0x70]
mov byte [rax + 0x44], 0
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x68], 0
call fcn.000110d0
mov rdx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax + 0x98], rdx
mov rax, qword [rsp + 0x70]
mov qword [rax + 0xa0], 0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0xc0], rax
mov rcx, qword [rsp + 0x70]
call fcn.000110f0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov byte [rax], 0
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x78]
mov qword [rcx + 0x30], rax
mov rcx, qword [rsp + 0x88]
lea rax, [rsp + 0x98]
cwde
add byte [rax], al
add byte [rax - 0x77], cl
or byte [r11 + 0x258248c], cl
add byte [rax], al
shl ecx, 0x18
or ecx, dword [rsp + 0x260]
mov rax, qword [rsp + 0x88]
mov dword [rax + 0x10], ecx
mov rcx, qword [rsp + 0x88]
movzx eax, word [rsp + 0x248]
mov word [rcx + 0x18], ax
mov rcx, qword [rsp + 0x88]
movzx eax, word [rsp + 0x250]
mov word [rcx + 0x1a], ax
mov rcx, qword [rsp + 0x88]
mov eax, dword [rsp + 0x270]
mov dword [rcx + 0x20], eax
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov r9b, 1
xor r8d, r8d
lea rdx, [0x000111c0]
mov rcx, qword [rsp + 0x70]
call fcn.00011110
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x170]
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
mov dword [rsp + 0x1a8], eax
cmp dword [rsp + 0x1a8], 0x103
jne 0x118e3
mov qword [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x158]
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov rax, qword [rsp + 0x238]
mov eax, dword [rax]
mov dword [rsp + 0x1a8], eax
cmp dword [rsp + 0x1a8], 0
jge 0x11918
mov rax, qword [rsp + 0x78]
mov qword [rax + 8], 0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
jmp 0x11956
invalid
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 8]
add rax, 4
lock add dword [rax], 1
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x10], 0
je 0x11946
mov rax, qword [rsp + 0x78]
mov rax, qword [rax + 0x10]
add rax, 0x1c
lock add dword [rax], 1
mov rcx, qword [rsp + 0x220]
mov rax, qword [rsp + 0x78]
mov qword [rcx], rax
mov eax, dword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.000246f0
add rsp, 0x208
pop rdi
pop rsi
ret