Function at 0x140009f30
Capabilities:
Map section object

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 [0x14007a2b0]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov dword [rsp + 0x50], 0xc0000001
mov byte [rsp + 0x54], 0
mov dword [rsp + 0x68], 0
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
xor eax, eax
mov word [rsp + 0xb0], ax
lea rax, [rsp + 0xb2]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov qword [rsp + 0x60], 0
cmp dword [rsp + 0x2e0], 0
je 0x140009fd5
cmp qword [rsp + 0x2e8], 0
je 0x140009fd5
cmp qword [rsp + 0x2f0], 0
je 0x140009fd5
cmp qword [rsp + 0x2f8], 0
jne 0x140009fda
jmp 0x14000a21d
lea rax, [0x140097e30]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x2e0]
lea r8, [0x1400346e0]
mov edx, 0x103
lea rcx, [rsp + 0xb0]
call fcn.14000bbf0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x98]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0x240
lea rax, [rsp + 0x98]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
lea r8, [rsp + 0x68]
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 0x14000a086
jmp 0x14000a21d
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 0x14000a0f3
jmp 0x14000a21d
xor edx, edx
mov rax, qword [rsp + 0x58]
mov ecx, 0x1000
div rcx
cmp rax, 0x60
je 0x14000a12a
xor edx, edx
mov rax, qword [rsp + 0x58]
mov ecx, 0x1000
div rcx
cmp rax, 0x61
je 0x14000a12a
mov dword [rsp + 0x50], 0xc0000023
jmp 0x14000a21d
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 0x14000a16e
mov dword [rsp + 0x50], 0xc00000ef
jmp 0x14000a21d
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 0x14000a19b
mov edx, 0x20
mov rax, qword [rsp + 0x2e8]
mov rcx, qword [rax]
call fcn.140001bd8
mov rcx, qword [rsp + 0x2f8]
mov qword [rcx], rax
mov rax, qword [rsp + 0x2f8]
cmp qword [rax], 0
jne 0x14000a1d3
mov dword [rsp + 0x50], 0xc00000f1
jmp 0x14000a21d
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.14000ac00
movzx eax, al
test eax, eax
jne 0x14000a20b
mov dword [rsp + 0x50], 0xc00000f2
jmp 0x14000a21d
mov dword [rsp + 0x50], 0
xor eax, eax
test eax, eax
jne 0x140009f6a
cmp dword [rsp + 0x50], 0
jge 0x14000a2d8
mov rax, qword [rsp + 0x2e8]
cmp qword [rax], 0
je 0x14000a293
mov rax, qword [rsp + 0x2e8]
mov rax, qword [rax]
cmp qword [rax + 0x18], 0
je 0x14000a268
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 0x14000a282
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 0x14000a2b9
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 0x14000a2d8
mov rax, qword [rsp + 0x2f0]
mov rcx, qword [rax]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.14002ff90
add rsp, 0x2d0
pop rdi
ret