Function at 0x140007e84
Capabilities:
Attach user process memory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140076ea0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12d, r8d
mov rdi, rdx
mov r15, rcx
mov ebx, 0xc0000001
lea rdx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
xor r13d, r13d
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x30], 0xfffffffff1179fd0
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
test rax, rax
je 0x140007ff0
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
mov r14, rax
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007ff0
mov esi, r13d
mov dword [rsp + 0x24], r13d
mov ecx, dword [r14 + 0xc]
test ecx, ecx
jne 0x140007f36
cmp esi, 0xa
jge 0x140007f2e
lea r8, [rsp + 0x30]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
inc esi
mov dword [rsp + 0x24], esi
jmp 0x140007f0c
test ecx, ecx
je 0x140007ff0
mov edx, 4
lea r8d, [rdx - 3]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov eax, dword [r14 + 0xc]
mov esi, dword [rax + 0xc]
mov eax, dword [r14 + 0xc]
add rax, 0xc
cmp rsi, rax
je 0x140007fe5
test rsi, rsi
je 0x140007fde
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x140007fde
mov ecx, dword [rsi + 0x18]
mov r9d, r12d
mov r8, rdi
mov edx, dword [rsi + 0x20]
call fcn.140001840
test al, al
jne 0x140007fde
mov eax, dword [rdi]
cmp r12d, eax
jbe 0x140007fda
inc rax
imul rax, rax, 0x428
mov qword [rax + rdi], r15
mov edx, dword [rsi + 0x18]
mov eax, dword [rdi]
imul rcx, rax, 0x428
mov qword [rcx + rdi + 8], rdx
mov edx, dword [rsi + 0x20]
mov eax, dword [rdi]
imul rcx, rax, 0x428
mov qword [rcx + rdi + 0x10], rdx
mov r8d, dword [rsi + 0x28]
movzx edx, word [rsi + 0x24]
mov eax, dword [rdi]
imul rcx, rax, 0x428
add rcx, 0x18
add rcx, rdi
call fcn.140012af0
mov eax, dword [rdi]
inc eax
mov dword [rdi], eax
mov esi, dword [rsi]
jmp 0x140007f4c
cmp dword [rdi], r13d
cmovne ebx, r13d
mov dword [rsp + 0x20], ebx
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessPeb]
mov r14, rax
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400080ff
mov esi, r13d
mov dword [rsp + 0x28], r13d
mov rcx, qword [r14 + 0x18]
test rcx, rcx
jne 0x140008041
cmp esi, 0xa
jge 0x140008038
lea r8, [rsp + 0x30]
mov dl, 1
call qword [sym.imp.ntoskrnl.exe_KeDelayExecutionThread]
inc esi
mov dword [rsp + 0x28], esi
jmp 0x140008015
test rcx, rcx
je 0x1400080ff
mov edx, 8
lea r8d, [rdx - 7]
call qword [sym.imp.ntoskrnl.exe_ProbeForRead]
mov rax, qword [r14 + 0x18]
mov rsi, qword [rax + 0x10]
mov rax, qword [r14 + 0x18]
add rax, 0x10
cmp rsi, rax
je 0x1400080f4
test rsi, rsi
je 0x1400080ec
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x1400080ec
mov r9d, r12d
mov r8, rdi
mov edx, dword [rsi + 0x40]
mov rcx, qword [rsi + 0x30]
call fcn.140001840
test al, al
jne 0x1400080ec
mov eax, dword [rdi]
cmp r12d, eax
jbe 0x1400080e8
inc rax
imul rax, rax, 0x428
mov qword [rax + rdi], r15
mov rdx, qword [rsi + 0x30]
mov eax, dword [rdi]
imul rcx, rax, 0x428
mov qword [rcx + rdi + 8], rdx
mov edx, dword [rsi + 0x40]
mov eax, dword [rdi]
imul rcx, rax, 0x428
mov qword [rcx + rdi + 0x10], rdx
movzx edx, word [rsi + 0x48]
mov eax, dword [rdi]
imul rcx, rax, 0x428
add rcx, 0x18
add rcx, rdi
mov r8, qword [rsi + 0x50]
call fcn.140012af0
mov eax, dword [rdi]
inc eax
mov dword [rdi], eax
mov rsi, qword [rsi]
jmp 0x140008058
cmp dword [rdi], r13d
cmovne ebx, r13d
mov dword [rsp + 0x20], ebx
jmp 0x14000810a
lea rcx, [rsp + 0x38]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140014fb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret