Function at 0x140001240
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3d0
mov rax, qword [0x140005020]
xor rax, rsp
mov qword [rsp + 0x3c0], rax
lea rdx, [0x1400032f0]
lea rcx, [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rax, rdx
mov ebx, 6
or rax, rcx
and eax, 0xf
jne 0x14000132a
mov eax, ebx
nop word [rax + rax]
movaps xmm0, xmmword [rdx]
movaps xmm1, xmmword [rdx + 0x10]
lea rcx, [rcx + 0x80]
lea rdx, [rdx + 0x80]
movaps xmmword [rcx - 0x80], xmm0
movaps xmm0, xmmword [rdx - 0x60]
movaps xmmword [rcx - 0x70], xmm1
movaps xmm1, xmmword [rdx - 0x50]
movaps xmmword [rcx - 0x60], xmm0
movaps xmm0, xmmword [rdx - 0x40]
movaps xmmword [rcx - 0x50], xmm1
movaps xmm1, xmmword [rdx - 0x30]
movaps xmmword [rcx - 0x40], xmm0
movaps xmm0, xmmword [rdx - 0x20]
movaps xmmword [rcx - 0x30], xmm1
movaps xmm1, xmmword [rdx - 0x10]
movaps xmmword [rcx - 0x20], xmm0
movaps xmmword [rcx - 0x10], xmm1
dec rax
jne 0x140001290
movaps xmm0, xmmword [rdx]
movaps xmm1, xmmword [rdx + 0x10]
mov rax, qword [rdx + 0x70]
movaps xmmword [rcx], xmm0
movaps xmm0, xmmword [rdx + 0x20]
movaps xmmword [rcx + 0x10], xmm1
movaps xmm1, xmmword [rdx + 0x30]
movaps xmmword [rcx + 0x20], xmm0
movaps xmm0, xmmword [rdx + 0x40]
movaps xmmword [rcx + 0x30], xmm1
movaps xmm1, xmmword [rdx + 0x50]
movaps xmmword [rcx + 0x40], xmm0
movaps xmm0, xmmword [rdx + 0x60]
movaps xmmword [rcx + 0x50], xmm1
movaps xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
movzx eax, word [rdx + 0x78]
mov word [rcx + 0x78], ax
jmp 0x140001338
mov r8d, 0x37a
mov rcx, r9
call sub.MSVCR110.dll_memcpy
lea rcx, [0x14000366c]
mov edx, 0x37a
call qword [sym.imp.MSVCR110.dll_printf]
xor eax, eax
nop dword [rax]
xor byte [rsp + rax + 0x40], 0xa
xor byte [rsp + rax + 0x41], 0xa
add rax, 2
cmp rax, 0x37a
jl 0x140001350
xor r8d, r8d
xor edx, edx
mov ecx, 0x40008
call qword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
mov r8d, 0x37a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r8, [rsp + 0x40]
mov rdi, rax
mov rcx, r8
lea rax, [rsp + 0x40]
or rcx, rdi
mov rdx, rdi
and ecx, 0xf
jne 0x14000145a
nop word [rax + rax]
movaps xmm0, xmmword [r8]
movaps xmm1, xmmword [r8 + 0x10]
lea rdx, [rdx + 0x80]
lea r8, [r8 + 0x80]
movaps xmmword [rdx - 0x80], xmm0
movaps xmm0, xmmword [r8 - 0x60]
movaps xmmword [rdx - 0x70], xmm1
movaps xmm1, xmmword [r8 - 0x50]
movaps xmmword [rdx - 0x60], xmm0
movaps xmm0, xmmword [r8 - 0x40]
movaps xmmword [rdx - 0x50], xmm1
movaps xmm1, xmmword [r8 - 0x30]
movaps xmmword [rdx - 0x40], xmm0
movaps xmm0, xmmword [r8 - 0x20]
movaps xmmword [rdx - 0x30], xmm1
movaps xmm1, xmmword [r8 - 0x10]
movaps xmmword [rdx - 0x20], xmm0
movaps xmmword [rdx - 0x10], xmm1
dec rbx
jne 0x1400013b0
movaps xmm0, xmmword [r8]
movaps xmm1, xmmword [r8 + 0x10]
mov rax, qword [r8 + 0x70]
movaps xmmword [rdx], xmm0
movaps xmm0, xmmword [r8 + 0x20]
movaps xmmword [rdx + 0x10], xmm1
movaps xmm1, xmmword [r8 + 0x30]
movaps xmmword [rdx + 0x20], xmm0
movaps xmm0, xmmword [r8 + 0x40]
movaps xmmword [rdx + 0x30], xmm1
movaps xmm1, xmmword [r8 + 0x50]
movaps xmmword [rdx + 0x40], xmm0
movaps xmm0, xmmword [r8 + 0x60]
movaps xmmword [rdx + 0x50], xmm1
movaps xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rax
movzx eax, word [r8 + 0x78]
mov word [rdx + 0x78], ax
jmp 0x14000146b
mov r8d, 0x37a
mov rdx, rax
mov rcx, rdi
call sub.MSVCR110.dll_memcpy
lea rax, [rsp + 0x30]
xor r9d, r9d
mov r8, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [sym.imp.MSVCP110.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001980
xor eax, eax
mov rcx, qword [rsp + 0x3c0]
xor rcx, rsp
call fcn.140001b20
mov rbx, qword [rsp + 0x3e0]
add rsp, 0x3d0
pop rdi
ret