Function at 0x140004ce0
Capabilities:
Map section object

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov r12, rdx
mov qword [rsp + 0x20], rdx
xor edx, edx
lea r8, [0x14000a360]
mov r13, rcx
mov r9, rcx
lea edi, [rdx + 0x4d]
mov ecx, edi
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, dword [0x14000a358]
xor ebx, ebx
movups xmm0, xmmword [0x14000a330]
mov dword [rbp - 0x11], eax
movzx eax, word [0x14000a35c]
movups xmm1, xmmword [0x14000a340]
mov word [rbp - 0xd], ax
lea rax, [rbp - 0x39]
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x41], rax
lea rax, [rbp - 0x49]
movsd xmm0, qword [0x14000a350]
movsd qword [rbp - 0x19], xmm0
xorps xmm0, xmm0
mov qword [rbp + 7], rax
movdqu xmmword [rbp + 0x17], xmm0
mov dword [rbp - 0x49], 0x2e002c
movups xmmword [rbp - 0x29], xmm1
mov dword [rbp - 9], 0x30
mov dword [rbp + 0xf], 0x240
mov qword [rbp - 1], rbx
call qword [sym.imp.ntoskrnl.exe_MmGetPhysicalMemoryRanges]
mov edx, ebx
mov qword [rbp + 0x7f], rbx
lea r8, [rax + 8]
jmp 0x140004dad
add rcx, qword [r8 - 8]
lea r8, [r8 + 0x10]
cmp rdx, rcx
cmovbe rdx, rcx
mov qword [rbp + 0x7f], rdx
mov rcx, qword [r8]
test rcx, rcx
jne 0x140004d9a
lea r8, [rbp - 9]
mov qword [rbp + 0x77], rbx
mov edx, 0xf001f
lea rcx, [rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwOpenSection]
mov r9, qword ds:[rbp + 0x77]
lea r8, [0x14000a380]
xor edx, edx
mov ecx, edi
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rcx, qword [rbp + 0x77]
lea rax, [rbp + 0x7f]
mov dword [rsp + 0x48], 4
lea r8, [rbp + 0x6f]
mov dword [rsp + 0x40], ebx
xor r9d, r9d
mov dword [rsp + 0x38], 1
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
mov qword [rbp + 0x6f], rbx
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
mov rcx, qword [rbp + 0x6f]
lea r8, [0x14000a390]
xor edx, edx
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r14, rbx
mov rsi, rbx
mov r15, rbx
mov rdi, rbx
lea ecx, [rdx + 0x4d]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r9, qword [rbp + 0x6f]
test r12, r12
je 0x140004fa9
movabs r10, 0xffffffffff000
mov r11d, 0x1ff
lea rax, [rbx + r13]
mov rcx, cr3
test r10, rcx
je 0x140004e98
and rcx, r10
mov r8, rax
shr r8, 0x27
and r8, r11
lea rdx, [r9 + rcx]
lea r14, [rdx + r8*8]
test byte [r14], 1
je 0x140004fc6
test r14, r14
je 0x140004ebd
mov rcx, qword [r14]
mov rdx, rax
shr rdx, 0x1e
and rcx, r10
and rdx, r11
add rcx, r9
lea rsi, [rcx + rdx*8]
test byte [rsi], 1
je 0x140004fc6
nop dword [rax]
test rsi, rsi
je 0x140004ef1
mov rcx, qword ds:[rsi]
mov rdx, rax
and rcx, r10
shr rdx, 0x15
add rcx, r9
and rdx, r11
lea r15, [rcx + rdx*8]
mov rcx, qword [r15]
test cl, 1
je 0x140004fc6
test cl, cl
js 0x140004fc6
test r15, r15
je 0x140004f13
mov rcx, qword [r15]
and rcx, r10
shr rax, 0xc
add rcx, r9
and rax, r11
lea rdi, [rcx + rax*8]
test byte [rdi], 1
je 0x140004fc6
test rbx, rbx
jne 0x140004f40
mov qword [rsp + 0x30], rdi
lea r8, [0x14000a3b0]
mov qword [rsp + 0x28], r15
lea ecx, [rbx + 0x4d]
mov r9, r14
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r9, qword [rbp + 0x6f]
test rdi, rdi
je 0x140004f81
test rbx, rbx
jne 0x140004f66
mov r9, qword ds:[rdi]
lea r8, [0x14000a3d0]
shr r9, 0x3f
lea ecx, [rbx + 0x4d]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov rax, qword [rdi]
movabs rcx, 0x7ffffffffffffff9
and rax, rcx
or rax, 2
mov qword [rdi], rax
mov r9, qword [rbp + 0x6f]
add rbx, 0x1000
movabs r10, 0xffffffffff000
mov r11d, 0x1ff
cmp rbx, r12
jb 0x140004e6d
mov rdx, r9
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_ZwUnmapViewOfSection]
mov rcx, qword ds:[rbp + 0x77]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret