Function at 0x18000e120
Capabilities:
Allocate or change rwx memory
Check os version
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1801dc960]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x68], rsp
mov r15d, r9d
mov qword [rsp + 0x48], r8
mov r14, rcx
mov qword [rsp + 0x80], rcx
mov r12d, 1
mov r8d, r12d
lea rdx, str.prthook64.dll
mov ecx, dword [rsp + 0x190]
call fcn.18000dee0
test eax, eax
je 0x18000e18b
xor eax, eax
jmp 0x18000e45b
xor edi, edi
mov esi, r12d
mov dword [rsp + 0x54], r12d
mov rbx, rdi
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x78], rdi
cmp r15d, r12d
jne 0x18000e1cb
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x180153998]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
jmp 0x18000e20f
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.FreeLibraryAndExitThread
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x180153960]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov r8d, 0x400
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x18000e260
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x18000e259]
mov rcx, qword [rsp + 0x68]
call fcn.1800f95a0
nop
nop
xor eax, eax
jmp 0x18000e45b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
movsxd r9, eax
mov qword [rsp + 0x20], rdi
mov r8, qword [rsp + 0x48]
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x18000e2aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [0x18000e2a3]
mov rcx, qword [rsp + 0x68]
call fcn.1800f95a0
nop
nop
xor eax, eax
jmp 0x18000e45b
mov dword [rsp + 0x90], edi
xor edx, edx
mov r8d, 0x98
lea rcx, [rsp + 0x94]
call fcn.1800f4fb0
mov dword [rsp + 0x90], 0x9c
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x18000e3f8
cmp dword [rsp + 0x94], 6
jae 0x18000e3da
cmp r15d, 1
jne 0x18000e32e
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov qword [rsp + 0x58], rax
jmp 0x18000e3f8
mov dword [rsp + 0x48], edi
mov r9d, dword [rsp + 0x78]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov qword [rsp + 0x58], rax
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov r11d, dword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r11
mov r9, qword [rsp + 0x60]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x18000e3d0]
mov rcx, qword [rsp + 0x68]
call fcn.1800f95a0
nop
nop
mov eax, 1
jmp 0x18000e45b
cmp r15d, 2
je 0x18000e3f8
mov r8, r13
mov rdx, qword [rsp + 0x60]
mov rcx, r14
call fcn.18000df90
mov rbx, rax
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x18000e417
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
cmove esi, edi
mov dword [rsp + 0x54], esi
test rbx, rbx
je 0x18000e440
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [rsp + 0x40], 0
cmovne edi, r12d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x18000e459
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, edi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1800f4f80
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret