Function at 0x140001700
Capabilities:
Map section object
Print debug messages

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x2d0
mov rax, qword [0x14002a380]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x50], 0xc0000001
mov byte [rsp + 0x54], 0
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x60], 0
cmp dword [rsp + 0x2e0], 0
je 0x140001793
cmp qword [rsp + 0x2e8], 0
je 0x140001793
cmp qword [rsp + 0x2f0], 0
je 0x140001793
cmp qword [rsp + 0x2f8], 0
jne 0x140001798
jmp 0x1400019ec
lea rax, [0x14002a630]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x2e0]
lea r8, [0x140024350]
mov edx, 0x103
lea rcx, [rsp + 0xb0]
call fcn.140002d80
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0x68]
lea rcx, [0x140024390]
call sub.ntoskrnl.exe_DbgPrint
mov dword [rsp + 0x78], 0x30
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x90], 0x240
lea rax, [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
lea r8, [rsp + 0x78]
mov edx, 6
mov rcx, qword [rsp + 0x2f0]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x140001855
jmp 0x1400019ec
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0x100000
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, 0xffffffffffffffff
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jge 0x1400018c2
jmp 0x1400019ec
xor edx, edx
mov rax, qword [rsp + 0x58]
mov ecx, 0x1000
div rcx
cmp rax, 0x60
je 0x1400018f9
xor edx, edx
mov rax, qword [rsp + 0x58]
mov ecx, 0x1000
div rcx
cmp rax, 0x61
je 0x1400018f9
mov dword [rsp + 0x50], 0xc0000023
jmp 0x1400019ec
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rcx, qword [rsp + 0x2e8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x2e8]
cmp qword [rax], 0
jne 0x14000193d
mov dword [rsp + 0x50], 0xc00000ef
jmp 0x1400019ec
mov r8d, 2
mov dl, 1
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
mov byte [rsp + 0x54], 1
jmp 0x14000196a
mov edx, 0x20
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
call fcn.140002f70
mov rcx, qword [rsp + 0x2f8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x2f8]
cmp qword [rax], 0
jne 0x1400019a2
mov dword [rsp + 0x50], 0xc00000f1
jmp 0x1400019ec
mov r9, qword [rsp + 0x308]
mov r8, qword [rsp + 0x300]
mov rax, qword [rsp + 0x2f8]
mov rdx, qword [rax]
mov ecx, dword [rsp + 0x2e0]
call fcn.140002400
movzx eax, al
test eax, eax
jne 0x1400019da
mov dword [rsp + 0x50], 0xc00000f2
jmp 0x1400019ec
mov dword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x14000173a
cmp dword [rsp + 0x50], 0
jge 0x140001aa9
mov rax, qword [rsp + 0x2e8]
cmp qword [rax], 0
je 0x140001a62
mov rax, qword [rsp + 0x2e8]
mov rax, qword [rax]
cmp qword [rax + 0x18], 0
je 0x140001a37
mov rax, qword [rsp + 0x2e8]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x2e8]
mov rdx, qword [rcx]
mov rcx, qword [rax + 0x18]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
movzx eax, byte [rsp + 0x54]
test eax, eax
je 0x140001a51
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov rax, qword [rsp + 0x2f8]
cmp qword [rax], 0
je 0x140001a88
mov rax, qword [rsp + 0x2f8]
mov rdx, qword [rax]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rax, qword [rsp + 0x2f0]
cmp qword [rax], 0
je 0x140001aa7
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140001ac1
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x2e0]
lea rcx, [0x1400243b0]
call sub.ntoskrnl.exe_DbgPrint
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140021990
add rsp, 0x2d0
pop rdi
ret