Function at 0x140001090
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Create thread
Inject thread
Resume thread
Spawn thread to rwx shellcode
Use process replacement

Disassembly:
sub rsp, 0x1f8
mov rax, qword [0x1400240c0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
mov dword [rsp + 0x94], 0
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x84], ecx
lea rcx, [rsp + 0x1d0]
call fcn.1400015d0
mov dword [rsp + 0x80], 1
mov eax, dword [rsp + 0x80]
cmp eax, dword [rsp + 0x84]
jge 0x1400011fc
mov rax, qword [rsp + 0x88]
movsxd rcx, dword [rsp + 0x80]
mov rdx, qword [rax + rcx*8]
lea rcx, [rsp + 0x1b0]
call fcn.140001620
lea rcx, [rsp + 0x128]
call fcn.140001670
lea rcx, [rsp + 0x1b0]
lea rdx, [rsp + 0x120]
call fcn.140001680
lea rcx, [rsp + 0x1b0]
lea rdx, [rsp + 0x118]
call fcn.1400016e0
mov rdx, qword [rsp + 0x118]
mov r8, qword [rsp + 0x120]
lea rcx, [rsp + 0x190]
lea r9, [rsp + 0x128]
call fcn.140001730
lea rcx, [rsp + 0x150]
lea rdx, [0x14001938d]
call fcn.140001580
lea rcx, [rsp + 0x170]
lea rdx, [rsp + 0x150]
lea r8, [rsp + 0x190]
call fcn.140001840
lea rcx, [rsp + 0x1d0]
lea rdx, [rsp + 0x170]
call fcn.140001890
lea rcx, [rsp + 0x170]
call fcn.140001550
lea rcx, [rsp + 0x150]
call fcn.140001550
lea rcx, [rsp + 0x190]
call fcn.140001550
lea rcx, [rsp + 0x1b0]
call fcn.1400018c0
mov eax, dword [rsp + 0x80]
add eax, 1
mov dword [rsp + 0x80], eax
jmp 0x1400010db
lea rcx, [rsp + 0x130]
lea rdx, [0x140024bf0]
lea r8, [rsp + 0x1d0]
call fcn.1400018f0
lea rcx, [rsp + 0x130]
call fcn.140001a70
mov rdx, rax
lea rcx, str.Starting_as:__s_n
call fcn.1400019e0
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x68
call fcn.1400172e0
mov dword [rsp + 0xb0], 0x68
lea rcx, [rsp + 0x98]
xor edx, edx
mov r8d, 0x18
call fcn.1400172e0
lea rcx, [rsp + 0xb0]
xor edx, edx
mov r8d, 0x68
call fcn.1400172e0
mov dword [rsp + 0xb0], 0x68
lea rcx, [rsp + 0x98]
xor edx, edx
mov r8d, 0x18
call fcn.1400172e0
lea rcx, [rsp + 0x130]
call fcn.140001a70
mov qword [rsp + 0x68], rax
lea rcx, [0x140024bf0]
call fcn.140001a70
mov rdx, qword [rsp + 0x68]
mov rcx, rax
xor eax, eax
mov r9d, eax
xor eax, eax
lea r10, [rsp + 0xb0]
lea rax, [rsp + 0x98]
mov r8, r9
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
lea rcx, str.Started_PalServer__suspended_..._n
call fcn.1400019e0
lea rcx, str.UE4SS.dll
call fcn.140001a90
mov r8, rax
mov rcx, qword [rsp + 0x98]
xor eax, eax
mov edx, eax
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000136d
lea rcx, str.VirtualAllocEx_failed._n
call fcn.1400019e0
jmp 0x1400014ab
lea rcx, str.UE4SS.dll
call fcn.140001a90
mov qword [rsp + 0x60], rax
lea rcx, str.UE4SS.dll
call fcn.140001a70
mov r9, qword [rsp + 0x60]
mov r8, rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
xor eax, eax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 0
jne 0x1400013ca
lea rcx, str.WriteProcessMemory_failed._n
call fcn.1400019e0
jmp 0x14000148d
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
xor edx, edx
mov r8d, edx
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor edx, edx
mov rdx, r8
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x140001426
lea rcx, str.CreateRemoteThread_failed._n
call fcn.1400019e0
jmp 0x14000148d
mov rcx, qword [rsp + 0x70]
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
xor eax, eax
mov r8d, eax
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea rcx, str.DLL_Injected..._n
call fcn.1400019e0
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
lea rcx, str.Server_should_now_be_running__n
call fcn.1400019e0
mov rcx, qword [rsp + 0x98]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
xor eax, eax
mov r8d, eax
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call fcn.1400081e0
mov rcx, rax
call fcn.140008658
mov dword [rsp + 0x94], 0
lea rcx, [rsp + 0x130]
call fcn.140001550
lea rcx, [rsp + 0x1d0]
call fcn.140001550
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x5c], eax
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140003e70
mov eax, dword [rsp + 0x5c]
add rsp, 0x1f8
ret