Function at 0x20250
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
sub rsp, 0xd8
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x50], 0
cmp dword [0x0002d4ec], 0
je 0x205b9
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0x4000000
jle 0x202b2
mov dword [rsp + 0x50], 0xf
mov dword [rsp + 0x68], 0x8000000
jmp 0x20468
cmp dword [rsp + 0x68], 0x2000000
jle 0x202d1
mov dword [rsp + 0x50], 0xe
mov dword [rsp + 0x68], 0x4000000
jmp 0x20468
cmp dword [rsp + 0x68], 0x1000000
jle 0x202f0
mov dword [rsp + 0x50], 0xd
mov dword [rsp + 0x68], 0x2000000
jmp 0x20468
cmp dword [rsp + 0x68], 0x800000
jle 0x2030f
mov dword [rsp + 0x50], 0xc
mov dword [rsp + 0x68], 0x1000000
jmp 0x20468
cmp dword [rsp + 0x68], 0x400000
jle 0x2032e
mov dword [rsp + 0x50], 0xb
mov dword [rsp + 0x68], 0x800000
jmp 0x20468
cmp dword [rsp + 0x68], 0x200000
jle 0x2034d
mov dword [rsp + 0x50], 0xa
mov dword [rsp + 0x68], 0x400000
jmp 0x20468
cmp dword [rsp + 0x68], 0x100000
jle 0x2036c
mov dword [rsp + 0x50], 9
mov dword [rsp + 0x68], 0x200000
jmp 0x20468
cmp dword [rsp + 0x68], 0x80000
jle 0x2038b
mov dword [rsp + 0x50], 8
mov dword [rsp + 0x68], 0x100000
jmp 0x20468
cmp dword [rsp + 0x68], 0x40000
jle 0x203aa
mov dword [rsp + 0x50], 7
mov dword [rsp + 0x68], 0x80000
jmp 0x20468
cmp dword [rsp + 0x68], 0x20000
jle 0x203c9
mov dword [rsp + 0x50], 6
mov dword [rsp + 0x68], 0x40000
jmp 0x20468
cmp dword [rsp + 0x68], 0x10000
jle 0x203e8
mov dword [rsp + 0x50], 5
mov dword [rsp + 0x68], 0x20000
jmp 0x20468
cmp dword [rsp + 0x68], 0x8000
jle 0x20404
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x68], 0x10000
jmp 0x20468
cmp dword [rsp + 0x68], 0x4000
jle 0x20420
mov dword [rsp + 0x50], 3
mov dword [rsp + 0x68], 0x8000
jmp 0x20468
cmp dword [rsp + 0x68], 0x2000
jle 0x2043c
mov dword [rsp + 0x50], 2
mov dword [rsp + 0x68], 0x4000
jmp 0x20468
cmp dword [rsp + 0x68], 0x1000
jle 0x20458
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x68], 0x2000
jmp 0x20468
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x68], 0x1000
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x80], eax
mov edx, dword [rsp + 0x100]
lea rcx, [0x00026d70]
call sub.ntoskrnl.exe_DbgPrint
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x68]
lea rcx, [0x00026d80]
call sub.ntoskrnl.exe_DbgPrint
mov edx, dword [rsp + 0x80]
lea rcx, [0x00026da0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x88], 0xffffffffffffffff
movsxd rax, dword [rsp + 0x68]
mov qword [rsp + 0x78], rax
mov ecx, dword [rsp + 0x80]
mov dword [rsp + 0x20], 1
mov r9, qword [rsp + 0x78]
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_MmAllocateContiguousMemorySpecifyCache]
mov r11, rax
mov rax, qword [rsp + 0xe8]
mov qword [rax], r11
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [0x00026db0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x100], eax
mov rax, qword [rsp + 0xe8]
cmp qword [rax], 0
jne 0x20564
lea rcx, [0x00026dd0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x20b05
xor r8d, r8d
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x205b4
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_MmFreeContiguousMemory]
mov r11, qword [rsp + 0xe8]
mov qword [r11], 0
lea rcx, [0x00026e20]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x20b05
jmp 0x2065e
mov dword [rsp + 0x68], 0x1000
mov edx, dword [rsp + 0x100]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r11, rax
mov rax, qword [rsp + 0xe8]
mov qword [rax], r11
mov rax, qword [rsp + 0xe8]
cmp qword [rax], 0
jne 0x20602
lea rcx, [0x00026e70]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x20b05
mov ecx, dword [rsp + 0x100]
call fcn.000201a0
movsxd rdx, eax
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x2065e
xor edx, edx
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r11, qword [rsp + 0xe8]
mov qword [r11], 0
lea rcx, [0x00026ea0]
call sub.ntoskrnl.exe_DbgPrint
xor eax, eax
jmp 0x20b05
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0x70]
mov qword [rcx], rax
xor r8d, r8d
mov edx, 0x48
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r11, rax
mov rax, qword [rsp + 0xf8]
mov qword [rax], r11
mov rax, qword [rsp + 0xf8]
cmp qword [rax], 0
jne 0x2070d
lea rcx, [0x00026ed0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [0x0002d4ec], 0
je 0x206c2
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_MmFreeContiguousMemory]
jmp 0x206d5
xor edx, edx
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [rsp + 0xe8]
mov qword [rax], 0
xor edx, edx
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov r11, qword [rsp + 0xe0]
mov qword [r11], 0
xor eax, eax
jmp 0x20b05
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], 0
lea r9, [0x00017c40]
lea r8, [0x00020220]
lea rdx, [0x000201d0]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInitializeGenericTable]
mov dword [rsp + 0x60], 0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0xc
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTable]
mov rax, qword [rsp + 0xe8]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x100]
mov rax, qword [rsp + 0x30]
add rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x100]
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov r11, rax
mov rax, qword [rsp + 0xf0]
mov qword [rax], r11
mov rcx, qword [rsp + 0xf0]
mov rcx, qword [rcx]
call qword [sym.imp.ntoskrnl.exe_MmBuildMdlForNonPagedPool]
cmp dword [0x0002d4ec], 0
je 0x208af
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xa8]
mov qword [rcx], rax
movsxd rax, dword [rsp + 0x50]
and rax, 0xf
shl rax, 6
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
and rcx, 0xfffffffffffffc3f
or rcx, rax
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
or rcx, 4
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
or rcx, 0x10
mov rax, qword [rsp + 0x70]
mov qword [rax], rcx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
or rcx, 1
mov rax, qword [rsp + 0x70]
mov qword [rax + 8], rcx
jmp 0x20b00
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x30], rax
jae 0x209ee
mov eax, dword [rsp + 0x54]
add eax, 1
xor edx, edx
mov ecx, 0x200
div ecx
test edx, edx
jne 0x20985
mov eax, dword [rsp + 0x54]
add eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*8]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0xb8], rax
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xb8]
mov qword [rcx + rdx*8], rax
mov eax, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + rax*8]
or rdx, 1
mov ecx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x54]
add eax, 1
mov ecx, eax
mov rax, qword [rsp + 0x70]
lea rcx, [rax + rcx*8]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov r8d, 0xc
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_RtlInsertElementGenericTable]
jmp 0x209de
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0xc8], rax
mov edx, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0xc8]
mov qword [rcx + rdx*8], rax
mov eax, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + rax*8]
and rdx, 0xfffffffffffffc3f
mov ecx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
mov rax, qword [rsp + 0x30]
add rax, 0x1000
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x54]
add eax, 1
mov dword [rsp + 0x54], eax
jmp 0x208af
mov eax, dword [rsp + 0x54]
sub eax, 1
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + rax*8]
or rdx, 0x10
mov ecx, dword [rsp + 0x54]
mov rax, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
mov eax, dword [rsp + 0x54]
imul eax, eax, 0x5a
xor edx, edx
mov ecx, 0x64
div ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x40], eax
jne 0x20a47
cmp dword [rsp + 0x40], 0
jle 0x20a47
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jle 0x20a74
mov eax, dword [rsp + 0x40]
add eax, 1
cdq
and edx, 0x1ff
add eax, edx
and eax, 0x1ff
sub eax, edx
test eax, eax
jne 0x20a74
mov eax, dword [rsp + 0x40]
sub eax, 1
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
lea rcx, [0x00026ef0]
call sub.ntoskrnl.exe_DbgPrint
movsxd r11, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + r11*8]
or rdx, 4
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
cmp dword [rsp + 0x54], 0
jbe 0x20b00
mov eax, dword [rsp + 0x54]
sub eax, 1
cmp dword [rsp + 0x40], eax
jge 0x20b00
mov eax, dword [rsp + 0x40]
add eax, 1
cdq
and edx, 0x1ff
add eax, edx
and eax, 0x1ff
sub eax, edx
test eax, eax
je 0x20af3
movsxd rax, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + rax*8]
or rdx, 4
movsxd rcx, dword [rsp + 0x40]
mov rax, qword [rsp + 0x70]
mov qword [rax + rcx*8], rdx
mov eax, dword [rsp + 0x40]
add eax, 2
mov dword [rsp + 0x40], eax
jmp 0x20aab
mov rax, qword [rsp + 0x70]
add rsp, 0xd8
ret