Function at 0x1ea50
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov dword [rsp + 0x4c], 0
call fcn.00016210
movzx eax, al
cmp eax, 1
jle 0x1eaa9
call fcn.00016210
movzx eax, al
mov edx, eax
lea rcx, [0x00011090]
call sub.ntoskrnl.exe_DbgPrint
xor r9d, r9d
mov r8d, 0x26b
lea rdx, [0x000110b8]
lea rcx, [0x000110e4]
call qword [sym.imp.ntoskrnl.exe_RtlAssert]
mov rcx, qword [rsp + 0x98]
call fcn.00016110
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x1eaf4
cmp dword [rsp + 0x50], 1
je 0x1ec96
cmp dword [rsp + 0x50], 2
je 0x1ed74
cmp dword [rsp + 0x50], 3
je 0x1ebd2
jmp 0x1ee2b
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x54], 0
je 0x1eb4b
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x58], 0
je 0x1eb49
jmp 0x1eb26
jmp 0x1eb05
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov r8d, 0x4d525356
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1eb9f
mov dword [rsp + 0x4c], 0xc000009a
jmp 0x1ee3a
mov eax, dword [rsp + 0x48]
mov r8d, eax
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.00013690
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x38], rcx
jmp 0x1ee3a
mov dword [rsp + 0x48], 0xc
mov eax, dword [rsp + 0x48]
mov r8d, 0x4d525356
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1ec0b
mov dword [rsp + 0x4c], 0xc000009a
jmp 0x1ee3a
mov eax, dword [rsp + 0x48]
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.000139e0
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x90]
mov ecx, dword [rcx + 0x30]
mov dword [rsp + 0x30], ecx
lea rcx, [0x00011158]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x800
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.00016280
xor eax, eax
test eax, eax
jne 0x1ec6f
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x14]
and eax, 0x40
test eax, eax
je 0x1ec80
mov rdx, qword [rsp + 0x40]
lea rcx, [0x00011168]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x38], rcx
jmp 0x1ee3a
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x5c], 0
je 0x1eced
mov rax, qword [rsp + 0x40]
movzx eax, word [rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x40]
add rax, 2
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0x60], 0
je 0x1eceb
jmp 0x1ecc8
jmp 0x1eca7
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov r8d, 0x4d525356
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1ed41
mov dword [rsp + 0x4c], 0xc000009a
jmp 0x1ee3a
mov eax, dword [rsp + 0x48]
mov r8d, eax
mov rax, qword [rsp + 0x90]
mov rdx, qword [rax + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.00013690
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x38], rcx
jmp 0x1ee3a
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x50]
mov byte [rsp + 0x64], al
cmp byte [rsp + 0x64], 3
je 0x1ed8d
jmp 0x1ed97
mov dword [rsp + 0x48], 0x5e
jmp 0x1ed9f
mov dword [rsp + 0x48], 0x5e
mov eax, dword [rsp + 0x48]
mov r8d, 0x4d525356
mov edx, eax
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1edcd
mov dword [rsp + 0x4c], 0xc000009a
jmp 0x1ee3a
mov rax, qword [rsp + 0x90]
movzx eax, byte [rax + 0x50]
mov byte [rsp + 0x68], al
cmp byte [rsp + 0x68], 3
je 0x1ede6
jmp 0x1ee00
mov eax, dword [rsp + 0x48]
mov r8d, eax
lea rdx, [0x00011180]
mov rcx, qword [rsp + 0x40]
call fcn.00013690
jmp 0x1ee18
mov eax, dword [rsp + 0x48]
mov r8d, eax
lea rdx, [0x000111b0]
mov rcx, qword [rsp + 0x40]
call fcn.00013690
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x38], rcx
jmp 0x1ee3a
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
add rsp, 0x88
ret