Function at 0x1400043f0
Capabilities:
Attach user process memory
Find process by pid

Disassembly:
mov qword [rsp + 0x18], r8
push rbp
push r13
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [sym.imp.ntoskrnl.exe_MmHighestUserAddress]
mov r15, rdx
mov r13, r9
mov rdx, qword [rax]
cmp r15, rdx
jae 0x140004443
lea rax, [r15 + r9]
cmp rax, rdx
ja 0x140004443
cmp r15, 0x1000
jb 0x140004443
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x29], 0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jns 0x140004452
xor al, al
add rsp, 0xa0
pop r15
pop r13
pop rbp
ret
mov rcx, qword [rbp - 0x29]
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0x80], r14
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rdx, [r13 + 0xa]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov r14, rax
test rax, rax
je 0x140004775
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 9]
xor eax, eax
mov qword [rsp + 0x90], rdi
mov qword [rbp - 9], rax
xor dil, dil
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], r13
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea r9, [rbp - 0x19]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov dword [rsp + 0x20], 0x1000
lea rdx, [rbp - 0x21]
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_NtAllocateVirtualMemory]
mov ecx, 1
movzx edi, dil
test eax, eax
lea r8, [r13 + 0xa]
mov eax, dword [r15]
cmovns edi, ecx
mov dword [r14], eax
xor edx, edx
mov dword [rbp + 0x6f], edi
mov rcx, r14
call fcn.140005e00
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rbp - 0x29]
call fcn.1400052a0
mov qword [rbp - 0x11], rax
test rax, rax
jne 0x14000456b
test dil, dil
je 0x140004559
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 0x8000
lea rdx, [rbp - 0x21]
xor r8d, r8d
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_NtFreeVirtualMemory]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor al, al
jmp 0x14000476d
mov rbx, qword gs:[0x188]
mov edx, 0x500
xor ecx, ecx
mov qword [rsp + 0x88], r12
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
xor edx, edx
mov r12, rax
test rax, rax
jne 0x1400045a3
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor al, al
jmp 0x140004765
mov r8d, 0x500
mov qword [rsp + 0x98], rsi
mov rcx, r12
call fcn.140005e00
cli
add rbx, 0xffffffffffffffc8
mov esi, 0xa
mov rcx, rbx
mov edx, esi
mov rax, r12
nop dword [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x1400045d0
mov rcx, qword [rbp - 0x11]
mov rax, rbx
add rcx, 0xffffffffffffffc8
mov rdx, rsi
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rax - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x140004631
mov rdi, cr3
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax + 0x28]
mov cr3, rcx
mov r8, r13
mov rdx, r15
mov rcx, r14
call fcn.140005f00
mov cr3, rdi
mov rax, r12
nop word [rax + rax]
movups xmm0, xmmword [rax]
lea rbx, [rbx + 0x80]
movups xmmword [rbx - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx - 0x70], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx - 0x60], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx - 0x50], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx - 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx - 0x30], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx - 0x20], xmm0
movups xmm1, xmmword [rax + 0x70]
sub rax, 0xffffffffffffff80
movups xmmword [rbx - 0x10], xmm1
sub rsi, 1
jne 0x1400046b0
sti
mov rcx, qword [rbp + 0x77]
mov r8, r13
mov rdx, r14
call fcn.140005f00
xor edx, edx
mov rcx, r12
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
cmp byte [rbp + 0x6f], 0
mov rsi, qword [rsp + 0x98]
je 0x140004763
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r9d, 0x8000
lea rdx, [rbp - 0x21]
xor r8d, r8d
or rcx, 0xffffffffffffffff
call qword [sym.imp.ntoskrnl.exe_NtFreeVirtualMemory]
lea rcx, [rbp - 9]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov al, 1
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xc0]
mov r14, qword [rsp + 0x80]
add rsp, 0xa0
pop r15
pop r13
pop rbp
ret