Function at 0x137d0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov byte [rsp + 0x50], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov al, byte [rax + 4]
mov byte [rsp + 0xf8], al
cmp byte [rsp + 0xf8], 3
je 0x13833
cmp byte [rsp + 0xf8], 4
je 0x1413a
cmp byte [rsp + 0xf8], 0xff
je 0x13c02
jmp 0x1459e
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x28], 0
jne 0x13bfd
mov rax, qword [rsp + 0x160]
cmp qword [rax + 0x20], 0
jbe 0x13bfd
mov qword [rsp + 0x58], 0
mov rax, qword [0x00017140]
mov ecx, dword [rax + 4]
mov rax, qword [rsp + 0x160]
cmp rcx, qword [rax + 0x20]
jae 0x13892
mov rax, qword [0x00017140]
mov eax, dword [rax + 4]
mov qword [rsp + 0x100], rax
jmp 0x138a6
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x38], 0
je 0x13992
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x38]
movsx eax, word [rax + 0xa]
and eax, 5
test eax, eax
je 0x1391e
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x108], rax
jmp 0x13957
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x13990
mov rax, qword [rsp + 0x160]
mov dword [rax + 0x18], 0xc000009a
mov rax, qword [rsp + 0x160]
mov qword [rax + 0x20], 0
jmp 0x1459e
jmp 0x139a7
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x60]
call fcn.00011280
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x60]
call fcn.000112c0
lea rcx, [rsp + 0x60]
call fcn.000112a0
cmp qword [rsp + 0x60], 0
jne 0x13a01
xor r9d, r9d
mov r8d, 0x6f9
lea rdx, [0x00015360]
lea rcx, [0x00015590]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x110], 0
jmp 0x13a0c
mov dword [rsp + 0x110], 1
jmp 0x13a1f
mov rcx, qword [rsp + 0x170]
mov rax, qword [rsp + 0x60]
cmp qword [rcx + 0x1a], rax
jne 0x13a7f
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x22]
cmp rax, qword [rsp + 0x70]
jne 0x13a7f
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x170]
mov eax, dword [rax + 0xc]
cmp dword [rcx + 0xc], eax
jne 0x13a7f
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x170]
mov eax, dword [rax + 8]
cmp dword [rcx + 8], eax
jne 0x13a7f
jmp 0x1459e
mov rax, qword [rsp + 0x170]
cmp qword [rax + 0x1a], 0
je 0x13ac8
mov rdx, qword [rsp + 0x170]
add rdx, 0x1a
xor r8d, r8d
lea rcx, [0x0001915c]
call fcn.00014c30
mov rdx, qword [rsp + 0x170]
mov qword [rdx + 0x1a], 0
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x22], 0
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
movzx edx, word [rax + 0x19]
add rdx, 0x12
mov r8d, 0x684d6170
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x13b6c
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0xc]
mov dword [rcx + 4], eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x70]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
movzx ecx, word [rax + 0x19]
mov rsi, qword [rsp + 0x178]
mov rsi, qword [rsi]
add rsi, 0x1d
mov rdi, qword [rsp + 0x58]
add rdi, 0x12
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
movzx eax, word [rax + 0x19]
mov word [rcx + 0x10], ax
jmp 0x13b82
mov edx, 0x719
lea rcx, [0x00015210]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1459e
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [0x0001915c]
call fcn.00014c30
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [0x0001915c]
call fcn.00014870
movzx eax, al
test eax, eax
je 0x13bd5
mov rcx, qword [rsp + 0x170]
mov rax, qword [rsp + 0x60]
mov qword [rcx + 0x1a], rax
mov rcx, qword [rsp + 0x170]
mov eax, dword [rsp + 0x70]
mov dword [rcx + 0x22], eax
jmp 0x13bfd
mov edx, 0x684d6170
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r8d, 0x727
mov edx, dword [0x0001b168]
lea rcx, [0x00015600]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1459e
mov qword [rsp + 0x80], 0
mov dword [rsp + 0xc0], 0
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x9c], 0
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0xa8], 0xc0000001
mov dword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xb0], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 0x18]
call fcn.00011f60
mov rdx, qword [0x00017140]
mov eax, dword [rsp + 0x90]
cmp dword [rdx + 4], eax
jbe 0x13cb4
mov rax, qword [0x00017140]
mov eax, dword [rax + 4]
mov dword [rsp + 0x114], eax
jmp 0x13cc2
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x114], eax
mov eax, dword [rsp + 0x114]
mov qword [rsp + 0xb8], rax
mov r9d, 0x63666d
mov r8, qword [rsp + 0xb8]
xor edx, edx
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 0x18]
call sub.FLTMGR.SYS_FltAllocatePoolAlignedWithTag
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x13d1b
mov edx, 0x742
lea rcx, [0x00015210]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1410b
mov dword [rsp + 0xc0], 0
mov eax, dword [rsp + 0xc0]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 5
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0xb8]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x168]
mov rdx, qword [rdx + 0x20]
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 0x18]
call sub.FLTMGR.SYS_FltReadFile
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 0
jl 0x13db1
cmp dword [rsp + 0xc0], 0
jne 0x13db6
jmp 0x1410b
cmp qword [rsp + 0x180], 0
jne 0x13deb
xor r9d, r9d
mov r8d, 0x755
lea rdx, [0x00015360]
lea rcx, [0x00015670]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x118], 0
jmp 0x13df6
mov dword [rsp + 0x118], 1
mov rax, qword [rsp + 0x178]
cmp qword [rax], 0
jne 0x13e2e
xor r9d, r9d
mov r8d, 0x756
lea rdx, [0x00015360]
lea rcx, [0x00015680]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x11c], 0
jmp 0x13e39
mov dword [rsp + 0x11c], 1
mov rax, qword [rsp + 0x180]
mov eax, dword [rax]
cmp qword [rsp + 0xb8], rax
jae 0x13e5f
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x120], rax
jmp 0x13e71
mov rax, qword [rsp + 0x180]
mov eax, dword [rax]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xa0]
call fcn.00011280
mov r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0xa0]
call fcn.000112c0
lea rcx, [rsp + 0xa0]
call fcn.000112a0
cmp qword [rsp + 0xa0], 0
jne 0x13eed
xor r9d, r9d
mov r8d, 0x75e
lea rdx, [0x00015360]
lea rcx, [0x00015590]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x128], 0
jmp 0x13ef8
mov dword [rsp + 0x128], 1
mov rcx, qword [rsp + 0x170]
mov rax, qword [rsp + 0xa0]
cmp qword [rcx + 0x1a], rax
jne 0x13f5e
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x22]
cmp rax, qword [rsp + 0xb8]
jne 0x13f5e
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x170]
mov eax, dword [rax + 0xc]
cmp dword [rcx + 0xc], eax
jne 0x13f5e
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x170]
mov eax, dword [rax + 8]
cmp dword [rcx + 8], eax
jne 0x13f5e
jmp 0x1410b
mov rax, qword [rsp + 0x170]
cmp qword [rax + 0x1a], 0
je 0x13fa7
mov rdx, qword [rsp + 0x170]
add rdx, 0x1a
xor r8d, r8d
lea rcx, [0x0001915c]
call fcn.00014c30
mov rdx, qword [rsp + 0x170]
mov qword [rdx + 0x1a], 0
mov rax, qword [rsp + 0x170]
mov dword [rax + 0x22], 0
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
movzx edx, word [rax + 0x19]
add rdx, 0x12
mov r8d, 0x684d6170
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x14067
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0xc]
mov dword [rcx + 4], eax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 8]
mov dword [rcx], eax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0xb8]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
movzx ecx, word [rax + 0x19]
mov rsi, qword [rsp + 0x178]
mov rsi, qword [rsi]
add rsi, 0x1d
mov rdi, qword [rsp + 0x88]
add rdi, 0x12
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
movzx eax, word [rax + 0x19]
mov word [rcx + 0x10], ax
jmp 0x1407d
mov edx, 0x778
lea rcx, [0x00015210]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1410b
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [0x0001915c]
call fcn.00014c30
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0xa0]
lea rcx, [0x0001915c]
call fcn.00014870
movzx eax, al
test eax, eax
je 0x140df
mov rcx, qword [rsp + 0x170]
mov rax, qword [rsp + 0xa0]
mov qword [rcx + 0x1a], rax
mov rcx, qword [rsp + 0x170]
mov eax, dword [rsp + 0xb8]
mov dword [rcx + 0x22], eax
jmp 0x1410b
mov edx, 0x684d6170
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r8d, 0x786
mov edx, dword [0x0001b168]
lea rcx, [0x00015600]
call sub.ntoskrnl.exe_DbgPrint
nop
cmp qword [rsp + 0x80], 0
je 0x14135
mov r8d, 0x63666d
mov rdx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x168]
mov rcx, qword [rcx + 0x18]
call sub.FLTMGR.SYS_FltFreePoolAlignedWithTag
jmp 0x1459e
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x28], 0
jne 0x1459e
mov qword [rsp + 0xc8], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rcx, qword [0x00017140]
mov eax, dword [rax + 0x18]
cmp dword [rcx + 4], eax
jae 0x1418b
mov rax, qword [0x00017140]
mov eax, dword [rax + 4]
mov dword [rsp + 0x12c], eax
jmp 0x141a1
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x12c], eax
mov eax, dword [rsp + 0x12c]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe8], 0
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
cmp qword [rax + 0x38], 0
je 0x1429e
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x38]
movsx eax, word [rax + 0xa]
and eax, 5
test eax, eax
je 0x14224
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x38]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x130], rax
jmp 0x1425d
mov rcx, qword [rsp + 0x160]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x1429c
mov rax, qword [rsp + 0x160]
mov dword [rax + 0x18], 0xc000009a
mov rax, qword [rsp + 0x160]
mov qword [rax + 0x20], 0
jmp 0x1459e
jmp 0x142b6
mov rax, qword [rsp + 0x160]
mov rax, qword [rax + 0x10]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0xe8], rax
lea rcx, [rsp + 0xd0]
call fcn.00011280
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xd0]
call fcn.000112c0
lea rcx, [rsp + 0xd0]
call fcn.000112a0
jmp 0x14300
lea rdx, [rsp + 0xd0]
lea rcx, [0x0001915c]
call fcn.00014ac0
mov qword [rsp + 0xd8], rax
cmp qword [rsp + 0xd8], 0
je 0x1459e
mov rax, qword [rsp + 0xd8]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xc8], rax
cmp qword [rsp + 0xc8], 0
jne 0x14374
xor r9d, r9d
mov r8d, 0x7bd
lea rdx, [0x00015360]
lea rcx, [0x00015700]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov dword [rsp + 0x138], 0
jmp 0x1437f
mov dword [rsp + 0x138], 1
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 8]
cmp dword [rcx], eax
jne 0x14592
mov rcx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xe0]
cmp qword [rcx + 8], rax
jne 0x14592
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
movzx ecx, word [rax + 0x19]
mov rax, qword [rsp + 0xc8]
movzx eax, word [rax + 0x10]
lea rdx, [rcx + rax + 0x1d]
mov r8d, 0x63666d45
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x1457f
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x11]
mov byte [rcx + 0x11], al
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x10]
mov byte [rcx + 0x10], al
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x12]
mov byte [rcx + 0x12], al
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
movzx eax, byte [rax + 0x13]
mov byte [rcx + 0x13], al
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rsp + 0xc8]
movzx eax, word [rax + 0x10]
mov word [rcx + 0x19], ax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
movzx eax, word [rax + 0x19]
mov word [rcx + 0x1b], ax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rax + 0x15]
mov dword [rcx + 0x15], eax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rax + 8]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rax]
mov qword [rcx], rax
mov rax, qword [rsp + 0xc8]
movzx ecx, word [rax + 0x10]
mov rsi, qword [rsp + 0xc8]
add rsi, 0x12
mov rdi, qword [rsp + 0xf0]
add rdi, 0x1d
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x178]
mov rax, qword [rax]
movzx r8d, word [rax + 0x19]
mov rsi, qword [rsp + 0x178]
mov rsi, qword [rsi]
add rsi, 0x1d
mov rax, qword [rsp + 0xf0]
movzx eax, word [rax + 0x19]
xor edx, edx
mov ecx, 2
div rcx
mov rcx, rax
mov rax, qword [rsp + 0xf0]
lea rdi, [rax + rcx*2 + 0x1d]
mov rcx, r8
rep movsb byte [rdi], byte [rsi]
mov edx, 0x63666d45
mov rcx, qword [rsp + 0x178]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rdx, qword [rsp + 0x178]
mov rax, qword [rsp + 0xf0]
mov qword [rdx], rax
mov byte [rsp + 0x50], 1
jmp 0x14590
mov edx, 0x7d7
lea rcx, [0x00015210]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x1459e
lea rcx, [0x00015720]
call sub.ntoskrnl.exe_DbgPrint
mov al, byte [rsp + 0x50]
add rsp, 0x148
pop rdi
pop rsi
ret