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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov rax, qword [0x14001d2d0]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov dword [rsp + 0x30], 0xc0000001
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x40], 0xffffffffffffffff
inc qword [rsp + 0x40]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x40]
cmp word [rax + rcx*2], 0
jne 0x1400094e2
mov rax, qword [rsp + 0x40]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x78]
call fcn.140004ab0
mov r8, qword [rsp + 0x98]
mov rax, qword [rsp + 0x118]
mov rdx, qword [rax + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140005bd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000956b
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x50]
jmp 0x1400097c9
mov rax, qword [rsp + 0x118]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x140009588
mov rax, qword [rsp + 0x48]
lea rax, [rax + rax + 2]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.140004ab0
mov r8, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x118]
mov rdx, qword [rax + 0x18]
lea rcx, [rsp + 0x88]
call fcn.140005bd0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x140009624
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x88]
call fcn.140004bd0
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x54]
jmp 0x1400097c9
mov rax, qword [rsp + 0x118]
mov eax, dword [rax]
lea rdx, [rsp + 0x38]
mov ecx, eax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jge 0x14000966e
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x88]
call fcn.140004bd0
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x58]
jmp 0x1400097c9
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x110]
call fcn.140007550
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x1400096e9
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rsp + 0x5c], 0xc0000001
lea rcx, [rsp + 0x88]
call fcn.140004bd0
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x5c]
jmp 0x1400097c9
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call fcn.140007360
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x14000974e
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rsp + 0x60], 0xc0000001
lea rcx, [rsp + 0x88]
call fcn.140004bd0
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x60]
jmp 0x1400097c9
lea rcx, [rsp + 0xc8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rax, qword [rsp + 0x118]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x70]
mov r8, qword [rsp + 0x38]
mov rax, qword [rsp + 0x118]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x110]
call fcn.1400091b0
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x88]
call fcn.140004bd0
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140018ca0
add rsp, 0x108
ret