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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
cmp qword [rsp + 0xe8], 0
jbe 0x140002426
cmp qword [rsp + 0xd8], 0
je 0x140002426
cmp qword [rsp + 0xd8], 0
jb 0x140002426
cmp qword [rsp + 0xe0], 0
je 0x140002426
cmp qword [rsp + 0xe0], 0
jae 0x140002430
mov eax, 0xc0000001
jmp 0x1400026c3
mov r8d, 1
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
jmp 0x140002458
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
test eax, eax
jge 0x14000248b
mov qword [rsp + 0x38], 0
mov eax, 0xc0000001
jmp 0x1400026c3
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, dword [rsp + 0xe8]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_IoAllocateMdl]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140002506
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov qword [rsp + 0x38], 0
mov eax, 0xc0000001
jmp 0x1400026c3
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x14000252d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmProbeAndLockPages]
jmp 0x140002556
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, 0xc0000001
jmp 0x1400026c3
jmp 0x140002581
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmMapLockedPagesSpecifyCache]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400025e8
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, 0xc0000001
jmp 0x1400026c3
mov dword [rsp + 0x40], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
movzx eax, al
test eax, eax
je 0x140002691
cmp dword [rsp + 0xf0], 0
jne 0x14000261a
mov dword [rsp + 0x44], 1
jmp 0x140002622
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
je 0x140002635
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
jmp 0x140002642
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0xf0], 0
je 0x140002658
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
jmp 0x140002665
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0xe8]
rep movsb byte [rdi], byte [rsi]
jmp 0x14000268f
jmp 0x140002699
mov dword [rsp + 0x40], 0xc0000001
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntoskrnl.exe_MmUnmapLockedPages]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_MmUnlockPages]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_IoFreeMdl]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140003110
add rsp, 0xb8
pop rdi
pop rsi
ret