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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xe0
mov rax, qword [0x14001d2d0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x70], 0
lea rax, [rsp + 0x74]
mov rdi, rax
xor eax, eax
mov ecx, 4
rep stosb byte [rdi], al
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x70], 0xfffffffffff0bdc0
mov rax, qword [rsp + 0xf8]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x140007e1c
mov rax, qword [rsp + 0x48]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x88], rax
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x78]
call fcn.140004ab0
mov r8, qword [rsp + 0x88]
mov rax, qword [rsp + 0xf8]
mov rdx, qword [rax + 8]
lea rcx, [rsp + 0x78]
call fcn.140005bd0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140007ea5
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x58]
jmp 0x140008154
mov rax, qword [rsp + 0xf8]
mov ecx, dword [rax]
call fcn.14000a290
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jge 0x140007ee8
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x5c]
jmp 0x140008154
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
mov rcx, qword [rsp + 0x30]
call sub.ntoskrnl.exe_PsGetProcessPeb
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140007f46
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rsp + 0x60], 0x80
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x60]
jmp 0x140008154
mov dword [rsp + 0x38], 0
jmp 0x140007f5a
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0
jne 0x140007f7e
cmp dword [rsp + 0x38], 0xa
jge 0x140007f7e
lea r8, [rsp + 0x70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
jmp 0x140007f50
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0
jne 0x140007fbe
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rsp + 0x64], 0x80
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x64]
jmp 0x140008154
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
add rax, 0x10
test rax, rax
jne 0x140008004
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov dword [rsp + 0x68], 0x80
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x68]
jmp 0x140008154
mov dword [rsp + 0x20], 0xc0000225
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x50], rax
jmp 0x14000802d
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x18]
add rax, 0x10
cmp qword [rsp + 0x50], rax
je 0x140008100
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400080fb
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
test eax, eax
jle 0x1400080fb
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x48]
xor edx, edx
mov ecx, 2
div rcx
sub rax, 4
mov r8, rax
mov rdx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x50]
call sub.ntoskrnl.exe__wcsnicmp
test eax, eax
jne 0x1400080fb
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x28]
mov rcx, rax
call fcn.14000a150
mov rax, qword [rsp + 0x28]
add rax, 0x20
mov rcx, rax
call fcn.14000a150
mov rax, qword [rsp + 0x28]
add rax, 0x10
mov rcx, rax
call fcn.14000a150
mov rax, qword [rsp + 0x28]
add rax, 0x70
mov rcx, rax
call fcn.14000a150
mov dword [rsp + 0x20], 0
jmp 0x140008100
jmp 0x140008020
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
cmp dword [rsp + 0x20], 0
jl 0x140008133
mov r8, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xf0]
call fcn.140009d40
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x78]
call fcn.140004bd0
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140018ca0
add rsp, 0xe0
pop rdi
ret