Function at 0x14000fef0
Capabilities:
Create device object

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov dword [rsp + 0x40], 0
call fcn.14000bb90
movzx eax, al
test eax, eax
jne 0x14000ff24
call fcn.14000b7b0
mov eax, 0xc0000424
jmp 0x140010354
mov eax, 0x1e
mov word [rsp + 0x50], ax
mov eax, 0x20
mov word [rsp + 0x52], ax
lea rax, [0x140019ed0]
mov qword [rsp + 0x58], rax
mov eax, 0x16
mov word [rsp + 0xb0], ax
mov eax, 0x18
mov word [rsp + 0xb2], ax
lea rax, [0x140019ef0]
mov qword [rsp + 0xb8], rax
mov eax, 0x14
mov word [rsp + 0xf8], ax
mov eax, 0x16
mov word [rsp + 0xfa], ax
lea rax, [0x140019f10]
mov qword [rsp + 0x100], rax
mov eax, 0x14
mov word [rsp + 0xc0], ax
mov eax, 0x16
mov word [rsp + 0xc2], ax
lea rax, [0x140019f30]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x100
mov r9d, 0x22
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.ntoskrnl.exe_IoCreateDevice]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x14001003f
mov rax, qword [0x14001b4e8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x40]
lea rcx, [0x140019f50]
mov rax, qword [rsp + 0x68]
call qword [0x14001b2b0]
call fcn.14000b7b0
mov eax, dword [rsp + 0x40]
jmp 0x140010354
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.ntoskrnl.exe_IoCreateSymbolicLink]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400100a2
mov rax, qword [0x14001b4e8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
mov edx, dword [rsp + 0x40]
lea rcx, [0x140019f80]
mov rax, qword [rsp + 0x78]
call qword [0x14001b2b0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_IoDeleteDevice]
call fcn.14000b7b0
mov eax, dword [rsp + 0x40]
jmp 0x140010354
movzx eax, byte [section..data]
test eax, eax
jne 0x140010277
mov rax, qword [sym.imp.ntoskrnl.exe_PsProcessType]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x118], 3
lea rax, [0x1400126f0]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], 0
mov rax, qword [sym.imp.ntoskrnl.exe_PsThreadType]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x138], 3
lea rax, [0x140012800]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x148], 0
mov eax, 0x100
mov word [rsp + 0xd0], ax
mov eax, 2
mov word [rsp + 0xd2], ax
mov eax, 0x14
mov word [rsp + 0xd8], ax
mov eax, 0x16
mov word [rsp + 0xda], ax
lea rax, [0x140019f10]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xe8], 0
lea rax, [rsp + 0x110]
mov qword [rsp + 0xf0], rax
lea rdx, [0x14001d320]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ObRegisterCallbacks]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x1400101e8
mov rax, qword [0x14001b4e8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
mov edx, dword [rsp + 0x40]
lea rcx, [0x140019fc0]
mov rax, qword [rsp + 0x88]
call qword [0x14001b2b0]
mov dword [rsp + 0x40], 0
mov byte [0x14001d006], 0
mov byte [0x14001d007], 0
mov rax, qword [0x14001d328]
add rax, 0x3098
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8, qword [rsp + 0x160]
lea rdx, [rsp + 0xc0]
lea rcx, [0x140015350]
call qword [sym.imp.ntoskrnl.exe_CmRegisterCallbackEx]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jge 0x140010275
mov rax, qword [0x14001b4e8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x98], rax
mov edx, dword [rsp + 0x40]
lea rcx, [0x14001a000]
mov rax, qword [rsp + 0x98]
call qword [0x14001b2b0]
mov dword [rsp + 0x40], 0
mov byte [0x14001d005], 0
jmp 0x14001029e
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x30]
or eax, 4
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x30]
btr eax, 7
mov rcx, qword [rsp + 0x48]
mov dword [rcx + 0x30], eax
mov rax, qword [rsp + 0x160]
lea rcx, [0x140010360]
mov qword [rax + 0x68], rcx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x160]
lea rdx, [0x14000bf40]
mov qword [rcx + rax + 0x70], rdx
mov eax, 8
imul rax, rax, 2
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x160]
mov r8, qword [rsp + 0x160]
mov rax, qword [r8 + rax + 0x70]
mov qword [rdx + rcx + 0x70], rax
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x160]
lea rdx, [0x14000bf80]
mov qword [rcx + rax + 0x70], rdx
call fcn.14000b900
mov rax, qword [0x14001b4e8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
lea rcx, [0x14001a040]
mov rax, qword [rsp + 0xa8]
call qword [0x14001b2b0]
mov eax, dword [rsp + 0x40]
add rsp, 0x158
ret