Function at 0x140005108
Capabilities:
Print debug messages

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov byte [rsp + 8], cl
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov rax, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
lea rcx, [0x14000a8a0]
mov edi, r8d
mov r12, rdx
mov r9, rdx
xor r13d, r13d
mov r8d, 0xa1
lea rdx, [0x14000a880]
mov r14, qword [rax]
mov ebp, r13d
mov qword [rsp + 0x40], r14
call sub.ntoskrnl.exe_DbgPrint
test r12, r12
je 0x1400051b5
test edi, edi
je 0x1400051b5
cmp qword [rsp + 0xe0], r13
je 0x1400051b5
mov r15d, dword [rsp + 0xe8]
test r15d, r15d
je 0x1400051b5
cmp qword [0x140019538], r13
je 0x1400051b5
lea ecx, [r13 + 0x10]
call fcn.140004f38
mov qword [rsp + 0x48], rax
mov rsi, rax
test rax, rax
jne 0x1400051cb
mov r8d, 0xab
lea rcx, [0x14000a8d0]
lea rdx, [0x14000a880]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc0000001
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ebx, dword [rax]
test ebx, ebx
jne 0x1400051eb
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r8d, 0xb4
lea rcx, [0x14000a910]
jmp 0x1400051a9
mov dword [rsp + 0x30], ebx
lea rdx, [0x14000a880]
mov dword [rsp + 0x28], r15d
lea rcx, [0x14000a940]
mov r9, r12
mov dword [rsp + 0x20], edi
mov r8d, 0xb8
call sub.ntoskrnl.exe_DbgPrint
test ebx, ebx
je 0x1400053db
lea r13, [rsi + 8]
mov qword [rsp + 0xc8], rbx
mov esi, dword [rsp + 0xd0]
movups xmm1, xmmword [r13]
movups xmmword [rsp + 0x50], xmm1
psrldq xmm1, 8
movq rdi, xmm1
and rdi, 0xfffffffffffffff8
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400053c0
mov rax, qword [0x140019538]
mov rcx, rdi
call qword [0x14000c458]
cmp rax, r14
jne 0x1400053c0
mov rcx, qword [rdi + 8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
xor ecx, ecx
test al, al
je 0x1400053c0
lea eax, [rcx + 1]
lock xadd qword [rdi - 0x30], rax
inc rax
cmp rax, 1
jle 0x1400053bb
cmp qword [rdi - 0x28], rcx
je 0x1400053c0
mov r8, qword [sym.imp.ntoskrnl.exe_IoFileObjectType]
xor r9d, r9d
xor edx, edx
mov rcx, rdi
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByPointer]
test eax, eax
js 0x1400053bb
mov rcx, rdi
call fcn.140004868
xor ecx, ecx
mov r14, rax
test rax, rax
je 0x1400053ad
or rax, 0xffffffffffffffff
inc rax
cmp word [r14 + rax*2], cx
jne 0x1400052df
add rax, rax
mov r8, rsi
cmp dword [rsp + 0xd8], ecx
je 0x140005303
cmp rax, rsi
jb 0x1400053a2
jmp 0x14000530c
cmp rax, r8
jne 0x1400053a2
shr r8, 1
mov rdx, r14
mov rcx, r12
call sub.ntoskrnl.exe__wcsnicmp
test eax, eax
jne 0x1400053a2
cmp ebp, r15d
jae 0x1400053a0
movzx ebx, word [rsp + 0x50]
lea rdx, [0x14000a880]
movzx r9d, word [rsp + 0x56]
lea rcx, [0x14000a9a0]
mov r8d, 0x102
mov dword [rsp + 0x20], ebx
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0xe0]
mov eax, ebp
shl rax, 4
add rcx, rax
movzx eax, word [rsp + 0x56]
mov dword [rcx], ebx
xor ebx, ebx
mov qword [rcx + 8], rax
cmp byte [rsp + 0xc0], bl
je 0x140005398
call fcn.140004fec
test eax, eax
jns 0x140005398
mov r8d, 0x10b
lea rdx, [0x14000a880]
lea rcx, [0x14000a9d0]
call sub.ntoskrnl.exe_DbgPrint
mov rbx, qword [rsp + 0xc8]
inc ebp
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov r14, qword [rsp + 0x40]
lock dec qword [rdi - 0x30]
add r13, 0x18
sub rbx, 1
mov qword [rsp + 0xc8], rbx
jne 0x14000522f
mov rsi, qword [rsp + 0x48]
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x1400053ea
mov dword [rax], ebp
cmp r15d, ebp
mov rcx, rsi
sbb ebx, ebx
xor edx, edx
and ebx, 0xc0000004
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r8d, 0x12c
lea rdx, [0x14000a880]
lea rcx, [0x14000aa10]
call sub.ntoskrnl.exe_DbgPrint
mov eax, ebx
jmp 0x1400051ba