Function at 0x140009c20
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov rax, qword [0x140016040]
xor rax, rsp
mov qword [rsp + 0x108], rax
lea rax, [rsp + 0xd8]
lea rcx, [0x140013380]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2e
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x50], 0xc0000001
call fcn.14000a770
cmp qword [rsp + 0x130], rax
ja 0x140009cad
mov rax, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
call fcn.14000a770
mov rcx, qword [rsp + 0x90]
cmp rcx, rax
jbe 0x140009cb6
mov eax, dword [rsp + 0x50]
jmp 0x140009eec
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x70], rax
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
nop
jmp 0x140009d0a
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
nop
mov dword [rsp + 0x98], 0x30
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0xb0], 0x40
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
lea r8, [rsp + 0x98]
mov edx, 0xf001f
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140009ed0
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x58], 0x2000
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x68]
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x140009ec1
cmp qword [rsp + 0x68], 0
je 0x140009ec1
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rax
jbe 0x140009e45
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140009ec1
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
cmp rax, qword [rsp + 0x58]
jbe 0x140009e84
jmp 0x140009eac
lfence
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov rdi, qword [rsp + 0x140]
mov rsi, rax
mov rcx, qword [rsp + 0x60]
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x68]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
nop
jmp 0x140009ec1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
nop
jmp 0x140009ed2
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140012d80
add rsp, 0x118
pop rdi
pop rsi
ret