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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xa8
mov byte [rsp + 0x99], 0
mov dword [rsp + 0x9c], 0xc0000001
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
mov byte [rsp + 0x98], 0
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0xc0]
lea rdx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x180003a85
jmp 0x180003c81
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0x1fffff
xor r8d, r8d
mov edx, 0x200
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObOpenObjectByPointer]
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x180003acc
jmp 0x180003c81
mov r8d, 0x537973
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
jne 0x180003af7
jmp 0x180003c81
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov byte [rsp + 0x98], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.1800035e0
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x180003b98
cmp dword [rsp + 0x9c], 0xc0000045
jne 0x180003b93
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.1800035e0
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x180003b91
jmp 0x180003c81
jmp 0x180003b98
jmp 0x180003c81
mov r8d, 1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
rep movsb byte [rdi], byte [rsi]
jmp 0x180003be1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x50]
call fcn.1800035e0
cmp dword [rsp + 0x9c], 0
jge 0x180003c13
jmp 0x180003c81
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov byte [rsp + 0x98], 0
mov r8d, 1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
mov rdi, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
rep movsb byte [rdi], byte [rsi]
jmp 0x180003c63
cmp dword [rsp + 0x9c], 0
jge 0x180003c6f
jmp 0x180003c81
mov byte [rsp + 0x99], 1
xor eax, eax
test eax, eax
jne 0x180003a5d
cmp qword [rsp + 0x90], 0
je 0x180003ca8
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x58], 0
je 0x180003cc4
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x98]
test eax, eax
je 0x180003cdb
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov al, byte [rsp + 0x99]
add rsp, 0xa8
pop rdi
pop rsi
ret