Function at 0x140011d20
Capabilities:
Get file attributes
Print debug messages
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x218
mov rax, qword [0x14001b050]
xor rax, rsp
mov qword [rsp + 0x208], rax
cmp dword [0x14001b17c], 0
je 0x140011d4e
jmp 0x14001309b
lea rcx, [0x1400182b0]
call sub.ntoskrnl.exe_DbgPrint
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x110], 0xffffffffffffffff
mov qword [rsp + 0x108], 0
mov dword [rsp + 0x28], 0x24
mov dword [rsp + 0x20], 1
mov r9d, 0x400000
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.ntoskrnl.exe_MmAllocatePagesForMdlEx]
mov qword [0x14001b3e0], rax
cmp qword [0x14001b3e0], 0
jne 0x140011dd4
lea rcx, [0x1400182e0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001309b
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [0x14001b3e0]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [0x14001b460], rax
mov qword [0x140024598], 0x76543210
mov dword [0x140024590], 0xfedcba98
mov eax, 0x90909090
mov qword [0x140024588], rax
cmp qword [0x14001b460], 0
je 0x140013080
mov rcx, qword [0x14001b460]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov qword [0x14001b3f0], rax
mov rcx, qword [0x14001b460]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov r8, rax
mov rdx, qword [0x14001b460]
lea rcx, [0x140018310]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x14001b3e0]
mov rax, qword [rcx + rax + 0x30]
shl rax, 0xc
mov qword [0x14001b3f0], rax
mov rdx, qword [0x14001b3f0]
lea rcx, [0x140018360]
call sub.ntoskrnl.exe_DbgPrint
mov rdi, qword [0x14001b460]
xor eax, eax
mov ecx, 0x400000
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x230]
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x1c0], 0x30
mov qword [rsp + 0x1c8], 0
mov dword [rsp + 0x1d8], 0
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x1d0], rax
mov qword [rsp + 0x1e0], 0
mov qword [rsp + 0x1e8], 0
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0xa0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x120]
lea r8, [rsp + 0x1c0]
mov edx, 0x120000
lea rcx, [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwCreateFile]
mov dword [rsp + 0xc8], eax
cmp dword [rsp + 0xc8], 0
jne 0x14001304f
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea r8, [rsp + 0x1f0]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwQueryInformationFile]
cmp qword [rsp + 0x1f8], 0x400000
jle 0x140011fd9
lea rcx, [0x140018380]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001309b
mov qword [rsp + 0xe0], 8
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 2
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x103
jne 0x14001206c
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
test eax, eax
je 0x14001206c
lea rcx, [0x1400183b0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001309b
cmp dword [rsp + 0x120], 0
jne 0x14001302b
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x88], eax
movzx eax, word [rsp + 0x78]
imul eax, eax, 0x200
movzx ecx, word [rsp + 0x78]
mov r8d, eax
mov edx, ecx
lea rcx, [0x1400183c0]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, word [rsp + 0x78]
imul eax, eax, 0x200
cdqe
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x40], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x30], eax
mov rax, qword [0x14001b460]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwReadFile]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x103
jne 0x140012135
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
mov eax, dword [rsp + 0x88]
add eax, 0x1000
mov eax, eax
and rax, 0xfffffffffffff000
mov dword [rsp + 0x88], eax
mov edx, dword [rsp + 0x88]
lea rcx, [0x1400183f0]
call sub.ntoskrnl.exe_DbgPrint
cmp dword [rsp + 0x120], 0
jne 0x14001302b
mov eax, dword [rsp + 0x88]
mov rcx, qword [0x14001b460]
add rcx, rax
mov rax, rcx
and rax, 0xfffffffffffff000
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov eax, 1
imul rax, rax, 0x10
mov rcx, qword [0x14001b460]
add rcx, rax
mov rax, rcx
mov qword [0x14001b3d8], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x70]
add rax, 0x10000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x70]
add rax, 0x1000
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [0x14001b408], rax
lea rcx, [0x140018400]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x138], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x138]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax]
or eax, 2
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xa0]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x140], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x140]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xa8]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xa8]
mov eax, dword [rcx + rax]
or eax, 2
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xa8]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
and eax, 0xfffffffd
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
bts eax, 7
mov ecx, 8
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov qword [rcx + rax], 0x200000
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
and eax, 0xfffffffd
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
bts eax, 7
mov ecx, 8
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x148], rax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x148]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
or eax, 2
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
btr eax, 7
mov ecx, 8
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov rcx, qword [rsp + 0x150]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x158], rax
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x158]
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
or eax, 1
mov ecx, 8
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
or eax, 2
mov ecx, 8
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx + rax]
btr eax, 7
mov ecx, 8
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x68]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x60], 0
jmp 0x14001261b
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x400
jge 0x1400126b8
lfence
imul eax, dword [rsp + 0x60], 0x1000
cdqe
mov rcx, qword [0x14001b460]
add rcx, rax
mov rax, rcx
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x160], rax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x160]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*8]
or eax, 1
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*8], eax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*8]
or eax, 2
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*8], eax
jmp 0x140012611
mov rax, qword [0x14001b460]
mov rcx, qword [rsp + 0x100]
sub rcx, rax
mov rax, rcx
shr rax, 0xc
mov dword [rsp + 0x60], eax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*8]
and eax, 0xfffffffe
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
mov dword [rdx + rcx*8], eax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
movabs rdx, 0xcf92000000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
movabs rdx, 0xcf96000000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
movabs rdx, 0xcf9b000000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 4
mov rcx, qword [rsp + 0x80]
movabs rdx, 0x9a000000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 5
mov rcx, qword [rsp + 0x80]
movabs rdx, 0x92000000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 6
mov rcx, qword [rsp + 0x80]
movabs rdx, 0x9a030000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 7
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 8
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 9
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 0xa
mov rcx, qword [rsp + 0x80]
movabs rdx, 0xaf9b000000ffff
mov qword [rcx + rax], rdx
mov eax, 8
imul rax, rax, 0xb
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 8
imul rax, rax, 0xd
mov rcx, qword [rsp + 0x80]
mov qword [rcx + rax], 0
mov eax, 0x6f
mov word [0x14001b450], ax
mov rax, qword [rsp + 0x80]
add rax, 0x400000
sub rax, qword [0x14001b460]
mov qword [0x14001b452], rax
lea r9, [0x14001b452]
lea r8, [0x14001b450]
lea rdx, [0x14001b450]
lea rcx, [0x140018430]
call sub.ntoskrnl.exe_DbgPrint
movzx eax, word [0x14001b450]
mov edx, eax
lea rcx, [0x140018480]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [0x14001b452]
lea rcx, [0x1400184a0]
call sub.ntoskrnl.exe_DbgPrint
lea rax, [0x14001b450]
mov qword [0x14001b3f8], rax
mov qword [rsp + 0xf8], 0x3fffff
mov rdx, qword [rsp + 0xf8]
lea rcx, [0x1400184c0]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [rsp + 0xf8]
mov ecx, 0x1000
call qword [sym.imp.ntoskrnl.exe_MmAllocateContiguousMemory]
mov qword [0x14001b448], rax
cmp qword [0x14001b448], 0
je 0x140012aef
lea rax, [0x140001432]
mov qword [rsp + 0xb0], rax
mov rdi, qword [0x14001b448]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1000
mov rcx, qword [0x14001b448]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [0x14001b440], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001b440]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
lea rcx, [0x140001432]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x168], rax
mov r8, qword [rsp + 0x168]
lea rdx, [0x140001432]
lea rcx, [0x1400184f0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x14001b448]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x170], rax
mov r8, qword [rsp + 0x170]
mov rdx, qword [0x14001b448]
lea rcx, [0x140018520]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140018550]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0x1000
jge 0x140012ab8
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0xce
jne 0x140012aa9
mov eax, dword [rsp + 0x60]
inc eax
cdqe
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0xce
jne 0x140012aa9
mov eax, dword [rsp + 0x60]
add eax, 2
cdqe
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0xce
jne 0x140012aa9
mov eax, dword [rsp + 0x60]
add eax, 3
cdqe
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0xce
jne 0x140012aa9
mov eax, dword [rsp + 0x60]
add eax, 4
cdqe
mov rcx, qword [rsp + 0xb0]
movzx eax, byte [rcx + rax]
cmp eax, 0xce
je 0x140012ab8
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
jmp 0x140012a14
mov edx, dword [rsp + 0x60]
lea rcx, [0x140018570]
call sub.ntoskrnl.exe_DbgPrint
movsxd rax, dword [rsp + 0x60]
mov rdi, qword [0x14001b448]
mov rsi, qword [rsp + 0xb0]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
lea rcx, [0x140018580]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x140012b00
lea rcx, [0x140018590]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001309b
lea rcx, [0x1400185b0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, 0x4000
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14001b420], rax
cmp qword [0x14001b420], 0
jne 0x140012b3e
lea rcx, [0x1400185e0]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001309b
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x4000
mov rcx, qword [0x14001b420]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [0x14001b410], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001b410]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov rdi, qword [0x14001b420]
xor eax, eax
mov ecx, 0x4000
rep stosb byte [rdi], al
mov rcx, qword [0x14001b420]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x178], rax
mov r8, qword [rsp + 0x178]
mov rdx, qword [0x14001b420]
lea rcx, [0x140018600]
call sub.ntoskrnl.exe_DbgPrint
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x14001b410]
mov rax, qword [rcx + rax + 0x30]
shl rax, 0xc
mov qword [0x14001b418], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x14001b440]
mov rax, qword [rcx + rax + 0x30]
shl rax, 0xc
mov qword [0x14001b428], rax
mov rcx, qword [0x14001b420]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x180], rax
mov r8, qword [rsp + 0x180]
mov rdx, qword [0x14001b418]
lea rcx, [0x140018630]
call sub.ntoskrnl.exe_DbgPrint
lea rcx, [0x140018670]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x14001b420]
mov qword [rsp + 0xe8], rax
mov rax, qword [0x14001b420]
add rax, 0x1000
mov qword [rsp + 0xd0], rax
mov rax, qword [0x14001b420]
add rax, 0x2000
mov qword [rsp + 0xb8], rax
mov rax, qword [0x14001b420]
add rax, 0x3000
mov qword [rsp + 0xd8], rax
lea rcx, [0x1400186a0]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x60], 0
jmp 0x140012ca2
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0x200
jge 0x140012e0a
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x188], rax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0x188]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xe8]
mov eax, dword [rcx + rax*8]
or eax, 1
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0xe8]
mov dword [rdx + rcx*8], eax
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x190], rax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0x190]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xd0]
mov eax, dword [rcx + rax*8]
or eax, 1
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0xd0]
mov dword [rdx + rcx*8], eax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x198], rax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x198]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax*8]
or eax, 1
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0xb8]
mov dword [rdx + rcx*8], eax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xb8]
mov eax, dword [rcx + rax*8]
btr eax, 7
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0xb8]
mov dword [rdx + rcx*8], eax
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
mov rdx, qword [0x14001b428]
mov qword [rcx + rax*8], rdx
movsxd rax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rcx + rax*8]
or eax, 1
movsxd rcx, dword [rsp + 0x60]
mov rdx, qword [rsp + 0xd8]
mov dword [rdx + rcx*8], eax
jmp 0x140012c98
lea rcx, [0x1400186b0]
call sub.ntoskrnl.exe_DbgPrint
mov edx, 0x1000
mov ecx, 1
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov qword [0x14001b438], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1000
mov rcx, qword [0x14001b438]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [0x14001b430], rax
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14001b430]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov rdi, qword [0x14001b438]
xor eax, eax
mov ecx, 0x1000
rep stosb byte [rdi], al
mov eax, 8
imul rax, rax, 0
mov rcx, qword [0x14001b430]
mov rax, qword [rcx + rax + 0x30]
shl rax, 0xc
mov qword [0x14001b400], rax
mov rdx, qword [0x14001b428]
lea rcx, [0x1400186d0]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [0x14001b400]
lea rcx, [0x1400186f0]
call sub.ntoskrnl.exe_DbgPrint
mov rcx, qword [0x14001b438]
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalAddress]
mov qword [rsp + 0x1a0], rax
mov rdx, qword [rsp + 0x1a0]
lea rcx, [0x1400186f0]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x14001b3d8]
mov rcx, qword [0x14001b400]
mov qword [rax], rcx
mov rax, qword [0x14001b3d8]
mov rcx, qword [0x14001b3f0]
mov qword [rax + 8], rcx
mov rax, qword [0x14001b460]
mov rcx, qword [rsp + 0xa0]
sub rcx, rax
mov rax, rcx
add rax, 0x400000
mov rcx, qword [0x14001b3d8]
mov qword [rcx + 0x10], rax
mov rax, qword [0x14001b460]
mov rcx, qword [rsp + 0x100]
sub rcx, rax
mov rax, rcx
add rax, 0x40ffc0
mov rcx, qword [0x14001b3d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14001b3d8]
mov qword [rax + 0x30], 0
mov dword [rsp + 0x28], 0x24
mov dword [rsp + 0x20], 1
mov r9d, 0x8000
mov r8, qword [rsp + 0x108]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.ntoskrnl.exe_MmAllocatePagesForMdlEx]
mov qword [rsp + 0xf0], rax
cmp qword [rsp + 0xf0], 0
je 0x140013008
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xf0]
mov rax, qword [rcx + rax + 0x30]
shl rax, 0xc
mov rcx, qword [0x14001b3d8]
mov qword [rcx + 0x30], rax
mov rax, qword [0x14001b3d8]
mov rdx, qword [rax + 0x30]
lea rcx, [0x140018710]
call sub.ntoskrnl.exe_DbgPrint
mov rax, qword [0x14001b3d8]
mov qword [rax + 0x38], 8
xor edx, edx
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
jmp 0x140013014
lea rcx, [0x140018730]
call sub.ntoskrnl.exe_DbgPrint
mov dword [0x14001b17c], 1
lea rcx, [0x14001b3e8]
call qword [sym.imp.ntoskrnl.exe_KeInitializeSpinLock]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rdx, qword [rsp + 0x1b8]
lea rcx, [0x140018760]
call sub.ntoskrnl.exe_DbgPrint
jmp 0x14001306a
mov r8, qword [rsp + 0x1b8]
mov edx, dword [rsp + 0xc8]
lea rcx, [0x140018780]
call sub.ntoskrnl.exe_DbgPrint
mov rdx, qword [0x14001b3e0]
mov rcx, qword [0x14001b460]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
jmp 0x14001308c
lea rcx, [0x1400182e0]
call sub.ntoskrnl.exe_DbgPrint
xor edx, edx
mov rcx, qword [0x14001b3e0]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.140014730
add rsp, 0x218
pop rdi
pop rsi
ret