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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xf0
xor ebx, ebx
xorps xmm0, xmm0
mov rsi, rdx
mov dword [rbp - 0x1d], ebx
lea rdx, [rsp + 0x40]
mov word [rbp - 0x11], bx
mov byte [rbp - 0xf], bl
mov r12, r9
mov dword [rbp - 0xd], ebx
mov r15, rcx
mov qword [rbp - 0x61], rbx
mov qword [rsp + 0x40], rbx
movups xmmword [rbp - 1], xmm0
movups xmmword [rbp + 0xf], xmm0
movups xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.ntoskrnl.exe_PsLookupProcessByProcessId]
mov edi, eax
test eax, eax
jns 0x1400010ba
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x111
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003e80]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
jmp 0x14000164e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ntoskrnl.exe_ObfDereferenceObject]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
lea r8, [rbp - 0x59]
mov rcx, rsi
lea rdx, [rbp - 0x61]
call fcn.1400017b0
test eax, eax
jns 0x1400010fc
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, 0xc0000001
jmp 0x140001661
mov r14, qword [rbp - 0x61]
mov eax, 0x5a4d
cmp word [r14], ax
je 0x140001169
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x123
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003ea0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc000000d
jmp 0x14000164e
movsxd rsi, dword [r14 + 0x3c]
mov eax, 0x8664
add rsi, r14
cmp word [rsi + 4], ax
je 0x1400011e4
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x130
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003ed0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc00000bb
jmp 0x14000164e
mov edi, dword [rsi + 0x50]
mov rcx, r15
mov edx, edi
mov qword [rbp - 0x59], rdi
call fcn.140001b14
mov qword [rbp - 0x51], rax
mov r13, rax
test rax, rax
jne 0x140001250
lea ebx, [rax + 0x4d]
xor edx, edx
mov ecx, ebx
lea r8, [0x140003cc0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x13c
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003f00]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc0000017
jmp 0x140001575
mov r8, rdi
xor edx, edx
mov rcx, r13
call fcn.140003ac0
mov rax, qword [rbp + 0x6f]
mov qword [rbp - 0x39], rax
mov rax, qword [rbp + 0x7f]
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x21], ebx
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x19], rbx
mov qword [rbp - 9], rdi
mov byte [rbp - 0xe], bl
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r8, qword [rsp + 0x40]
mov r9, r13
mov r12, rax
mov qword [rbp - 0x69], rax
lea rax, [rbp - 0x71]
mov rdx, r14
mov qword [rsp + 0x30], rax
mov rcx, r12
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], 0x1000
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
jns 0x1400012ff
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x158
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003f20]
jmp 0x14000156b
movzx eax, word [rsi + 0x14]
mov ecx, ebx
add rax, 0x24
mov dword [rbp - 0x79], ebx
cmp bx, word [rsi + 6]
jae 0x140001375
mov r12, qword [rbp - 0x51]
lea r13, [rax + rsi]
mov eax, dword [r13 + 4]
test eax, eax
je 0x14000135d
mov r9d, dword [r13]
lea rcx, [rbp - 0x71]
mov edx, dword [r13 + 8]
add r9, r12
mov r8, qword [rsp + 0x40]
add rdx, r14
mov qword [rsp + 0x30], rcx
mov rcx, qword [rbp - 0x69]
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], rax
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
js 0x1400013df
mov ecx, dword [rbp - 0x79]
movzx eax, word [rsi + 6]
inc ecx
add r13, 0x28
mov dword [rbp - 0x79], ecx
cmp ecx, eax
jl 0x14000131a
mov r13, r12
mov r12, qword [rbp - 0x69]
mov edi, 0x1000
mov rcx, r15
mov edx, edi
call fcn.140001b14
mov rsi, rax
test rax, rax
jne 0x14000141f
lea ebx, [rax + 0x4d]
xor edx, edx
mov ecx, ebx
lea r8, [0x140003cc0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x17c
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003f60]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov edi, 0xc0000001
jmp 0x140001575
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x16a
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003f40]
jmp 0x14000156b
mov r8, rdi
xor edx, edx
mov rcx, rsi
call fcn.140003ac0
mov r8, qword [rsp + 0x40]
lea rax, [rbp - 0x71]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x41]
mov byte [rsp + 0x28], bl
mov r9, rsi
mov rcx, r12
mov qword [rsp + 0x20], 0x40
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
jns 0x14000149c
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x187
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003f90]
jmp 0x14000156b
mov edx, 0x1000
mov rcx, r15
call fcn.140001b14
mov r12, rax
test rax, rax
jne 0x1400014ee
lea ebx, [rax + 0x4d]
xor edx, edx
mov ecx, ebx
lea r8, [0x140003cc0]
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x193
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003fc0]
jmp 0x14000156b
mov edi, 0x1000
xor edx, edx
mov r8d, edi
mov rcx, r12
call fcn.140003ac0
mov r8, qword [rsp + 0x40]
lea rax, [rbp - 0x71]
mov rcx, qword [rbp - 0x69]
lea rdx, [0x1400037c0]
mov qword [rsp + 0x30], rax
mov r9, r12
mov byte [rsp + 0x28], bl
mov qword [rsp + 0x20], rdi
call sub.ntoskrnl.exe_MmCopyVirtualMemory
mov edi, eax
test eax, eax
jns 0x1400015a5
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r9, [0x140003e70]
mov dword [rsp + 0x20], 0x19e
lea r8, [0x140003cd0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003ff0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003cf0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
jmp 0x14000165f
mov r9, r12
lea rdx, [0x140001688]
mov r8, rsi
mov rcx, r15
call fcn.140001bcc
cmp qword [rbp - 0x59], rbx
jbe 0x1400015e6
mov r14, qword [rbp - 0x59]
lea rdx, [rbx + r13]
mov r8d, 1
mov rcx, r15
call fcn.140002e84
add rbx, 0x1000
cmp rbx, r14
jb 0x1400015c4
mov r14, qword [rbp - 0x61]
mov ebx, 1
mov rdx, rsi
mov r8d, ebx
mov rcx, r15
call fcn.140002e84
mov r8d, ebx
mov rdx, r12
mov rcx, r15
call fcn.140002e84
lea rcx, [rbp - 1]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor edx, edx
lea r8, [0x140003cc0]
lea ebx, [rdx + 0x4d]
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov r9, r13
mov qword [rsp + 0x28], r12
lea r8, [0x140004020]
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
lea r8, [0x140003cf0]
xor edx, edx
mov ecx, ebx
call qword [sym.imp.ntoskrnl.exe_DbgPrintEx]
mov eax, edi
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret