Function at 0x140018c54
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a8]
sub rsp, 0x6a8
mov rax, qword [0x1400d6a00]
xor rax, rsp
mov qword [rbp + 0x590], rax
mov r13, r8
mov r12d, edx
mov r15, rcx
xor edx, edx
mov r8d, 0xb8
lea rcx, [rbp + 0x4d0]
mov rsi, r9
call fcn.14001ea80
xor edi, edi
lea rcx, [rbp]
xorps xmm0, xmm0
mov dword [rbp - 0x74], edi
xor eax, eax
mov dword [rbp - 0x5c], edi
xor edx, edx
mov qword [rbp - 0x18], rax
mov r8d, 0xa0
mov qword [rsp + 0x78], rdi
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x80], rdi
mov qword [rsp + 0x70], rdi
call fcn.14001ea80
movups xmm0, xmmword [0x14001f940]
mov rax, qword [r13 + 8]
lea rdx, [rbp + 0x4c0]
movdqu xmmword [rbp + 0x4c0], xmm0
movzx ecx, word [rax]
mov word [rbp + 0x4c8], cx
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rbp - 0x10]
lea rcx, [0x14001f950]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x68], 0x100
lea r14d, [rdi + 1]
mov qword [rsp + 0x60], rdi
lea r8, [rbp - 0x78]
mov dword [rsp + 0x58], edi
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x50], edi
mov eax, 0x200
mov qword [rsp + 0x48], rdi
xorps xmm0, xmm0
mov dword [rsp + 0x40], 0x20
mov r9, rsi
mov dword [rsp + 0x38], r14d
mov edx, 0x80100000
mov dword [rbp - 0x60], eax
lea rax, [rbp - 0x10]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rdi
mov dword [rbp - 0x78], 0x30
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rax
movdqu xmmword [rbp - 0x58], xmm0
call qword [sym.imp.ntoskrnl.exe_IoCreateFile]
mov ebx, eax
test eax, eax
jns 0x140018da6
lea rcx, [0x14001f960]
mov edx, ebx
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140019152
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rbp - 0x80]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rdi
mov edx, r14d
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov ebx, eax
test eax, eax
jns 0x140018de9
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea rcx, [0x14001f980]
jmp 0x140018d9a
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx + 0x10]
mov r14, qword [rax + 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 0x48], rax
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov cl, byte [r14 + 0x4c]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_IoAllocateIrp]
mov rbx, rax
test rax, rax
jne 0x140018e43
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x14001f9b0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
jmp 0x140019154
xor r8d, r8d
lea rcx, [rbp - 0x28]
lea edx, [r8 + 1]
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rdx, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea r8, [rbp - 0x78]
mov dword [rsp + 0x38], edi
xorps xmm0, xmm0
mov eax, 0xd8
mov dword [rsp + 0x30], edi
mov dword [rbp - 0x78], 0x30
xor r9d, r9d
mov qword [rbp - 0x70], rdi
xor ecx, ecx
mov dword [rbp - 0x60], 0x40
mov qword [rbp - 0x68], rdi
movdqu xmmword [rbp - 0x58], xmm0
mov rdx, qword [rdx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ntoskrnl.exe_ObCreateObject]
mov edi, eax
test eax, eax
jns 0x140018ec6
lea rcx, [0x14001f9d0]
mov edx, edi
call sub.ntoskrnl.exe_DbgPrint
mov eax, edi
jmp 0x140019154
mov rcx, qword [rsp + 0x70]
mov edi, 0xd8
mov r8d, edi
xor edx, edx
call fcn.14001ea80
mov rax, qword [rsp + 0x70]
mov ecx, 5
mov edx, 0x200
mov word [rax], cx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x48]
mov word [rax + 2], di
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], rcx
xor ecx, ecx
mov rax, qword [rsp + 0x70]
mov dword [rax + 0x50], 2
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov rcx, qword [rsp + 0x70]
mov edx, 0x200
mov r8d, edx
mov edi, 4
mov qword [rcx + 0x60], rax
mov rax, qword [rsp + 0x70]
mov word [rax + 0x5a], dx
xor edx, edx
movzx ecx, word [r13]
mov rax, qword [rsp + 0x70]
sub cx, di
mov word [rax + 0x58], cx
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 0x60]
call fcn.14001ea80
mov rcx, qword [rsp + 0x70]
mov rdx, qword [r13 + 8]
add rdx, rdi
movzx r8d, word [rcx + 0x58]
mov rcx, qword [rcx + 0x60]
call fcn.14001e7c0
mov rdx, qword [rsp + 0x70]
lea rcx, [0x14001f9f0]
add rdx, 0x58
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0x70]
lea edx, [rdi - 3]
sub rcx, 0xffffffffffffff80
xor r8d, r8d
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
mov rcx, qword [rsp + 0x70]
xor r8d, r8d
add rcx, 0x98
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x420
call fcn.14001ea80
call qword [sym.imp.ntoskrnl.exe_IoGetFileObjectGenericMapping]
mov r8d, r12d
lea rdx, [rbp + 0xa0]
mov r9, rax
lea rcx, [rbp]
call qword [sym.imp.ntoskrnl.exe_SeCreateAccessState]
xor r13d, r13d
mov edi, eax
test eax, eax
jns 0x14001900b
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_IoFreeIrp]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x14001fa10]
jmp 0x140018eb8
mov qword [rbp - 0x40], r13
lea rax, [rbp]
mov qword [rbp - 0x38], rax
lea rcx, [0x1400192b0]
mov rax, qword [rbp + 0x638]
xorps xmm0, xmm0
mov dword [rbp - 0x30], r12d
mov dword [rbp - 0x2c], r13d
movups xmmword [rsi], xmm0
mov qword [rbx + 0x18], rax
lea rax, [rbp - 0x28]
mov qword [rbx + 0x50], rax
mov qword [rbx + 8], r13
mov dword [rbx + 0x10], 0x84
mov word [rbx + 0x40], r13w
mov qword [rbx + 0x48], rsi
mov byte [rbx + 0x44], r13b
mov qword [rbx + 0x68], r13
mov rax, qword gs:[0x188]
mov rdx, qword [rbx + 0xb8]
mov qword [rbx + 0x98], rax
mov qword [rbx + 0xa0], r13
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0xc0], rax
mov byte [rdx - 0x48], r13b
mov qword [rdx - 0x20], r14
mov rax, qword [rsp + 0x70]
mov qword [rdx - 0x18], rax
lea rax, [rbp - 0x40]
mov qword [rdx - 0x40], rax
mov eax, dword [rbp + 0x628]
shl eax, 0x18
or eax, dword [rbp + 0x630]
mov dword [rdx - 0x38], eax
movzx eax, word [rbp + 0x618]
mov word [rdx - 0x30], ax
movzx eax, word [rbp + 0x620]
mov word [rdx - 0x2e], ax
mov eax, dword [rbp + 0x640]
mov dword [rdx - 0x28], eax
mov rdx, rbx
mov rax, qword [rbx + 0xb8]
mov qword [rax - 0x10], rcx
mov rcx, r14
mov qword [rax - 8], r13
mov byte [rax - 0x45], 0xe0
call qword [sym.imp.ntoskrnl.exe_IofCallDriver]
cmp eax, 0x103
jne 0x14001910c
mov r9b, 1
mov qword [rsp + 0x20], r13
xor r8d, r8d
lea rcx, [rbp - 0x28]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_KeWaitForSingleObject]
mov ebx, dword [rsi]
test ebx, ebx
jns 0x14001912b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rcx, [0x14001fa40]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140019152
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 8]
lock inc dword [rcx + 4]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x14001914f
lock inc dword [rcx + 0x1c]
mov rax, qword [rsp + 0x70]
mov qword [r15], rax
mov eax, ebx
mov rcx, qword [rbp + 0x590]
xor rcx, rsp
call fcn.14001e6e0
add rsp, 0x6a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret