Function at 0x140005d80
Capabilities:
Map section object

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x14000f090]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
movups xmm0, xmmword [str.devicephysicalmemory]
movups xmmword [r11 - 0x60], xmm0
movups xmm1, xmmword [0x14000d4b0]
movups xmmword [r11 - 0x50], xmm1
movsd xmm0, qword [0x14000d4c0]
movsd qword [r11 - 0x40], xmm0
mov eax, dword [0x14000d4c8]
mov dword [r11 - 0x38], eax
movzx eax, word [0x14000d4cc]
mov word [r11 - 0x34], ax
mov dword [rsp + 0x50], 0xc0000001
mov rdx, qword [0x14000f128]
test rdx, rdx
jne 0x140005e30
mov eax, 0x80000008
xor ecx, ecx
cpuid
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], edx
movzx ecx, al
mov rdx, 0xffffffffffffffff
shr rdx, cl
shl rdx, cl
not rdx
mov qword [0x14000f128], rdx
cmp r14, rdx
ja 0x140006021
test rdx, rdx
jne 0x140005e6d
mov eax, 0x80000008
xor ecx, ecx
cpuid
mov dword [rsp + 0x5c], ebx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], edx
movzx ecx, al
mov rdx, 0xffffffffffffffff
shr rdx, cl
shl rdx, cl
not rdx
mov qword [0x14000f128], rdx
lea rax, [rsi + r14]
cmp rax, rdx
ja 0x140006021
xor r15d, r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, esi
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov rdi, rax
mov qword [rsp + 0x68], rax
xor edx, edx
lea r8d, [r15 + 1]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
nop
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov dword [rsp + 0x98], 0x30
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xb0], 0x40
lea rax, [rsp + 0x88]
mov qword [rsp + 0xa8], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb8], xmm0
lea r8, [rsp + 0x98]
mov edx, 0xf001f
lea rcx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov ebx, eax
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x140005fee
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], 0x2000
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x48], 4
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x2000
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [r9 - 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov ebx, eax
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x140005fe3
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x140005fe3
mov rdx, qword [rsp + 0x78]
cmp rsi, rdx
cmova rsi, rdx
test rsi, rsi
je 0x140005fe3
sub r14, qword [rsp + 0x80]
lea rax, [r14 + rsi]
cmp rax, rdx
ja 0x140005fc8
lea rdx, [r14 + r15]
mov r8, rsi
mov rcx, r12
call fcn.14000c780
mov rdx, r15
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
jmp 0x140005fe3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140005ff9
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, ebx
jmp 0x140006026
mov eax, 0xc0000001
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14000c4e0
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret