Function at 0x1800037b0
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 + 0x91], 0
mov dword [rsp + 0x94], 0xc0000001
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x48], 0
mov byte [rsp + 0x90], 0
mov dword [rsp + 0x40], 0
mov eax, dword [rsp + 0xd8]
mov qword [rsp + 0x98], rax
mov ecx, dword [rsp + 0xc0]
lea rdx, [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
jge 0x180003838
jmp 0x180003a24
lea rax, [rsp + 0x48]
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 + 0x94], eax
cmp dword [rsp + 0x94], 0
jge 0x18000387f
jmp 0x180003a24
mov r8d, 0x537973
mov rdx, qword [rsp + 0x98]
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x1800038a7
jmp 0x180003a24
mov r8d, 1
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x98]
rep movsb byte [rdi], byte [rsi]
jmp 0x1800038e7
cmp dword [rsp + 0x94], 0
jge 0x1800038f6
jmp 0x180003a24
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov byte [rsp + 0x90], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
call fcn.180003670
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
jge 0x18000399d
cmp dword [rsp + 0x94], 0xc0000045
jne 0x180003998
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
call fcn.180003670
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 0
jge 0x180003996
jmp 0x180003a24
jmp 0x18000399d
jmp 0x180003a24
mov r8d, 1
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_ProbeForWrite]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x98]
rep movsb byte [rdi], byte [rsi]
jmp 0x1800039dd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
lea r8, [rsp + 0x98]
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x48]
call fcn.180003670
cmp dword [rsp + 0x94], 0
jge 0x180003a12
jmp 0x180003a24
mov byte [rsp + 0x91], 1
xor eax, eax
test eax, eax
jne 0x180003810
cmp qword [rsp + 0x50], 0
je 0x180003a42
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov qword [rsp + 0x50], 0
cmp qword [rsp + 0x58], 0
je 0x180003a5e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov qword [rsp + 0x58], 0
movzx eax, byte [rsp + 0x90]
test eax, eax
je 0x180003a75
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov al, byte [rsp + 0x91]
add rsp, 0xa8
pop rdi
pop rsi
ret