Function at 0x1400085b8
Capabilities:
Attach user process memory
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
mov rax, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov esi, 0xc0000001
cmp rcx, 4
jb 0x14000890e
test rdx, rdx
je 0x14000890e
test r8, r8
je 0x14000890e
test rax, rax
je 0x14000890e
call qword [sym.imp.ntoskrnl.exe_IoGetCurrentProcess]
mov r12, rax
mov qword [rsp + 0xa0], rax
mov rcx, r14
call fcn.14000dd30
mov r15, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x14000890e
mov edx, 8
xor ecx, ecx
mov r8d, 0x64617461
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov r14, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x14000890e
mov rcx, rax
call qword [sym.imp.ntoskrnl.exe_MmIsAddressValid]
test al, al
je 0x14000890e
xor eax, eax
mov qword [r14], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movups xmmword [rsp + 0x80], xmm1
mov qword [rsp + 0x78], rdi
or rax, 0xffffffffffffffff
inc rax
cmp byte [rdi + rax], 0
jne 0x140008693
mov word [rsp + 0x72], ax
mov word [rsp + 0x70], ax
mov r8b, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
xorps xmm0, xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm0
cmp r15, r12
je 0x1400086ee
lea rdx, [rsp + 0xa8]
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_KeStackAttachProcess]
nop
xor edi, edi
mov qword [rsp + 0x58], rdi
mov rcx, r15
call qword [sym.imp.ntoskrnl.exe_PsGetProcessWow64Process]
movsxd rcx, dword [rbx + 0x3c]
test rax, rax
je 0x1400087ce
mov r13d, dword [rcx + rbx + 0x78]
add r13, rbx
mov r8d, dword [r13 + 0x1c]
add r8, rbx
mov qword [rsp + 0x40], r8
mov r9d, dword [r13 + 0x20]
add r9, rbx
mov qword [rsp + 0x48], r9
mov eax, dword [r13 + 0x24]
add rax, rbx
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov dword [rsp + 0x38], r12d
cmp r12d, dword [r13 + 0x18]
jae 0x1400088ad
movzx eax, word [rax + r12*2]
mov eax, dword [r8 + rax*4]
mov dword [rsp + 0x110], eax
mov edx, dword [r9 + r12*4]
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
lea rcx, [rsp + 0x28]
test al, al
jne 0x140008873
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
inc r12d
mov r8, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
jmp 0x14000873a
mov r13d, dword [rcx + rbx + 0x88]
add r13, rbx
mov r8d, dword [r13 + 0x1c]
add r8, rbx
mov qword [rsp + 0x50], r8
mov r9d, dword [r13 + 0x20]
add r9, rbx
mov qword [rsp + 0x48], r9
mov eax, dword [r13 + 0x24]
add rax, rbx
mov qword [rsp + 0x40], rax
xor r12d, r12d
mov dword [rsp + 0x3c], r12d
cmp r12d, dword [r13 + 0x18]
jae 0x1400088ad
movzx eax, word [rax + r12*2]
mov eax, dword [r8 + rax*4]
mov dword [rsp + 0x110], eax
mov edx, dword [r9 + r12*4]
add rdx, rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_RtlInitString]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov r8b, 1
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlAnsiStringToUnicodeString]
mov r8b, 1
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x28]
call qword [sym.imp.ntoskrnl.exe_RtlEqualUnicodeString]
lea rcx, [rsp + 0x28]
test al, al
je 0x140008890
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
mov edi, dword [rsp + 0x110]
add rdi, rbx
mov qword [rsp + 0x58], rdi
xor esi, esi
mov dword [rsp + 0x20], esi
jmp 0x1400088ad
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
inc r12d
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x48]
mov rax, qword [rsp + 0x40]
jmp 0x140008800
mov qword [r14], rdi
jmp 0x1400088cb
cmp r15, qword [rsp + 0xa0]
je 0x1400088e3
lea rcx, [rsp + 0xa8]
call qword [sym.imp.ntoskrnl.exe_KeUnstackDetachProcess]
test esi, esi
js 0x1400088f5
mov rcx, qword [r14]
mov rdx, qword [rsp + 0x128]
mov qword [rdx], rcx
lea rcx, [rsp + 0x80]
call qword [sym.imp.ntoskrnl.exe_RtlFreeUnicodeString]
xor edx, edx
mov rcx, r14
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, esi
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret