Function at 0x19040
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov byte [rsp + 0x20], 0
call fcn.00011010
movzx eax, al
cmp eax, 1
jle 0x19093
call fcn.00011010
movzx eax, al
mov edx, eax
lea rcx, [0x0001c650]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x52a
lea rdx, [0x0001c800]
lea rcx, [0x0001c620]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rax, qword [rsp + 0x60]
cmp dword [rax + 4], 0
jne 0x190a8
mov dword [rsp + 0x40], 1
jmp 0x190b0
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x21], al
call qword [sym.imp.ntoskrnl.exe_KeEnterCriticalRegion]
mov rax, qword [rsp + 0x68]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExAcquireFastMutex]
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x1910b
xor eax, eax
test eax, eax
jne 0x190f1
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x19109
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x0001cb50]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x19142
xor eax, eax
test eax, eax
jne 0x19122
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x19142
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 4]
lea rcx, [0x0001cb30]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x68]
cmp dword [rax + 0x40], 0
jne 0x1919e
xor eax, eax
test eax, eax
jne 0x19164
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
and eax, 0x800
test eax, eax
je 0x1917c
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x0001cb00]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x68]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
mov eax, 0xc000000e
jmp 0x193b7
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x28], rax
jmp 0x191bb
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
add rax, 0x30
cmp qword [rsp + 0x28], rax
je 0x19332
mov rax, qword [rsp + 0x28]
sub rax, 0x38
mov qword [rsp + 0x30], rax
xor eax, eax
test eax, eax
jne 0x191f4
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
and eax, 0x100
test eax, eax
je 0x19214
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x30]
lea rcx, [0x0001cae0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x19233
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0x30]
cmp dword [rax + 4], ecx
jne 0x1932d
xor eax, eax
test eax, eax
jne 0x1924a
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
and eax, 0x400
test eax, eax
je 0x1926a
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x30]
mov edx, dword [rax + 0x30]
lea rcx, [0x0001cad0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x30]
mov byte [rax + 0x48], 0
mov byte [rsp + 0x20], 1
mov dword [rsp + 0x38], 0
jmp 0x1928c
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov eax, dword [0x00015290]
cmp dword [rsp + 0x38], eax
jae 0x19322
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x19322
mov eax, dword [rsp + 0x38]
lea rcx, [0x00015210]
mov rdx, qword [rsp + 0x60]
mov eax, dword [rcx + rax*4]
cmp dword [rdx + 4], eax
jne 0x1931d
mov eax, dword [0x00015290]
dec eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jae 0x1930d
mov eax, dword [rsp + 0x3c]
lea rcx, [0x00015210]
mov edx, dword [rsp + 0x38]
lea r8, [0x00015210]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
mov eax, dword [rsp + 0x3c]
lea rcx, [0x00015250]
mov edx, dword [rsp + 0x38]
lea r8, [0x00015250]
mov eax, dword [rcx + rax*4]
mov dword [r8 + rdx*4], eax
mov eax, dword [0x00015290]
dec eax
mov dword [0x00015290], eax
jmp 0x19322
jmp 0x19282
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x1932d
jmp 0x19332
jmp 0x191ae
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x19345
mov dword [0x00015290], 0
mov rax, qword [rsp + 0x68]
add rax, 0x48
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_ExReleaseFastMutex]
call qword [sym.imp.ntoskrnl.exe_KeLeaveCriticalRegion]
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1937b
xor edx, edx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x20]
call qword [sym.imp.ntoskrnl.exe_IoInvalidateDeviceRelations]
xor eax, eax
jmp 0x193b7
xor eax, eax
test eax, eax
jne 0x19392
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
and eax, 0x800
test eax, eax
je 0x193b2
lea rcx, [0x0001c610]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x60]
mov edx, dword [rax + 4]
lea rcx, [0x0001cab0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 0xc000000d
add rsp, 0x58
ret