Function at 0x140005d90
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 [0x14000f050]
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 [0x14000d490]
movups xmmword [r11 - 0x50], xmm1
movsd xmm0, qword [0x14000d4a0]
movsd qword [r11 - 0x40], xmm0
mov eax, dword [0x14000d4a8]
mov dword [r11 - 0x38], eax
movzx eax, word [0x14000d4ac]
mov word [r11 - 0x34], ax
mov dword [rsp + 0x50], 0xc0000001
mov rdx, qword [0x14000f0e0]
test rdx, rdx
jne 0x140005e40
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 [0x14000f0e0], rdx
cmp r14, rdx
ja 0x140006031
test rdx, rdx
jne 0x140005e7d
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 [0x14000f0e0], rdx
lea rax, [rsi + r14]
cmp rax, rdx
ja 0x140006031
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 0x140005ffe
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 0x140005ff3
mov r15, qword [rsp + 0x70]
test r15, r15
je 0x140005ff3
mov rdx, qword [rsp + 0x78]
cmp rsi, rdx
cmova rsi, rdx
test rsi, rsi
je 0x140005ff3
sub r14, qword [rsp + 0x80]
lea rax, [r14 + rsi]
cmp rax, rdx
ja 0x140005fd8
lea rdx, [r14 + r15]
mov r8, rsi
mov rcx, r12
call fcn.14000c580
mov rdx, r15
mov rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
jmp 0x140005ff3
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
jmp 0x140006009
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, ebx
jmp 0x140006036
mov eax, 0xc0000001
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14000c410
mov rbx, qword [rsp + 0x148]
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret