Function at 0x180003a90
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 0x180003b15
jmp 0x180003d11
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 0x180003b5c
jmp 0x180003d11
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 0x180003b87
jmp 0x180003d11
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.180003670
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x180003c28
cmp dword [rsp + 0x9c], 0xc0000045
jne 0x180003c23
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.180003670
mov dword [rsp + 0x9c], eax
cmp dword [rsp + 0x9c], 0
jge 0x180003c21
jmp 0x180003d11
jmp 0x180003c28
jmp 0x180003d11
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 0x180003c71
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.180003670
cmp dword [rsp + 0x9c], 0
jge 0x180003ca3
jmp 0x180003d11
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 0x180003cf3
cmp dword [rsp + 0x9c], 0
jge 0x180003cff
jmp 0x180003d11
mov byte [rsp + 0x99], 1
xor eax, eax
test eax, eax
jne 0x180003aed
cmp qword [rsp + 0x90], 0
je 0x180003d38
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 0x180003d54
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 0x180003d6b
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov al, byte [rsp + 0x99]
add rsp, 0xa8
pop rdi
pop rsi
ret