Function at 0x140015560
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x90], 0
mov byte [rsp + 0x40], 0
cmp qword [rsp + 0xe0], 0xffff
ja 0x14001559b
mov byte [rsp + 0x40], 1
lea rax, [0x140016070]
lea rcx, [0x140016000]
sub rax, rcx
mov dword [rsp + 0x44], eax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400155c4
mov qword [rsp + 0x78], 0
jmp 0x1400155d9
mov rcx, qword [rsp + 0xe0]
call fcn.140022770
inc rax
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x48]
lea rax, [rax + rcx + 0x20]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14001583c
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x98]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea rcx, [0x140045f20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140045f10]
mov rcx, rax
call fcn.140015860
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xa0], rax
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x1400156ba
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
jmp 0x1400156ca
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x44]
mov r9d, eax
lea r8, [0x140016000]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0xd0]
call fcn.140014cb0
movzx eax, al
test eax, eax
je 0x140015820
mov r9d, 0x20
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call fcn.140014cb0
movzx eax, al
test eax, eax
je 0x140015820
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140015768
mov eax, dword [rsp + 0x48]
mov r9d, eax
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xd0]
call fcn.140014cb0
movzx eax, al
test eax, eax
je 0x140015820
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x68]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140015820
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x4c], 0x54fd32fc
lea rdx, [rsp + 0x4c]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x140015815
cmp dword [rsp + 0x4c], 0xab02cd03
jne 0x140015815
mov r9d, 0x20
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xd0]
call fcn.140014bd0
movzx eax, al
test eax, eax
je 0x140015815
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rax, qword [rsp + 0x90]
add rsp, 0xc0
pop rdi
ret