Function at 0x180001240
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x98
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov rax, qword [0x1800c6008]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rbp, [0x1800c60a0]
xorps xmm0, xmm0
mov r10, r8
mov rbx, rdx
mov rdi, rcx
movdqu xmm8, xmmword [rcx]
movdqu xmm9, xmmword [rcx + 0x10]
movdqu xmm7, xmmword [rcx + 0x20]
movdqu xmm6, xmmword [rcx + 0x30]
movdqu xmm10, xmmword [rcx + 0x40]
movups xmmword [rsp + 0x20], xmm0
cmp r9d, 0x10
jge 0x1800012d5
test r9d, r9d
je 0x18000169e
movsxd rsi, r9d
lea rcx, [rsp + 0x20]
mov r8, rsi
mov rdx, r10
call fcn.18004e2a0
movdqa xmm10, xmmword [rsp + 0x20]
jmp 0x1800015e3
mov ecx, r10d
neg ecx
and ecx, 0xf
je 0x180001388
movdqu xmm10, xmmword [r8]
mov eax, ecx
sub r9d, ecx
movdqa xmm2, xmmword [0x1800c1db0]
movdqa xmm0, xmm9
movdqa xmm3, xmm8
add rbx, rax
movdqu xmmword [rdx], xmm10
add r10, rax
add rax, rax
movdqu xmm1, xmmword [rbp + rax*8 - 0x10]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm10, xmm1
pshufb xmm3, xmm1
pshufb xmm8, xmm2
pshufb xmm9, xmm2
por xmm8, xmm0
movdqa xmm0, xmm7
pshufb xmm0, xmm1
pshufb xmm7, xmm2
por xmm9, xmm0
movdqa xmm0, xmm6
pshufb xmm6, xmm2
pshufb xmm0, xmm1
por xmm6, xmm10
movdqa xmm1, xmm3
pclmulqdq xmm1, xmmword [0x1800c1d70], 0x10
por xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1800c1d70], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
mov eax, r9d
sub r9d, 0x40
js 0x180001450
movdqa xmm5, xmmword [0x1800c1d70]
mov ecx, eax
shr rcx, 6
mov eax, ecx
neg eax
shl eax, 6
add r9d, eax
nop dword [rax]
movdqu xmm1, xmmword [r10]
movdqa xmm0, xmm8
movdqu xmm2, xmmword [r10 + 0x10]
movdqu xmm3, xmmword [r10 + 0x20]
movdqu xmm4, xmmword [r10 + 0x30]
add r10, 0x40
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm8, xmm5, 0x10
xorps xmm8, xmm0
movdqa xmm0, xmm9
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm9, xmm5, 0x10
xorps xmm9, xmm0
pxor xmm8, xmm1
movdqa xmm0, xmm7
pxor xmm9, xmm2
pclmulqdq xmm0, xmm5, 1
pclmulqdq xmm7, xmm5, 0x10
xorps xmm7, xmm0
movdqa xmm0, xmm6
pclmulqdq xmm6, xmm5, 0x10
pclmulqdq xmm0, xmm5, 1
movdqu xmmword [rbx], xmm1
movdqu xmmword [rbx + 0x10], xmm2
movdqu xmmword [rbx + 0x20], xmm3
movdqu xmmword [rbx + 0x30], xmm4
add rbx, 0x40
xorps xmm6, xmm0
pxor xmm7, xmm3
pxor xmm6, xmm4
sub rcx, 1
jne 0x1800013b0
lea eax, [r9 + 0x10]
test eax, eax
js 0x1800014f1
movdqa xmm0, xmmword [0x1800c1d70]
movdqa xmm1, xmm6
movdqu xmm2, xmmword [r10]
movdqa xmm6, xmm7
movdqu xmm3, xmmword [r10 + 0x10]
mov r9d, eax
movdqu xmm4, xmmword [r10 + 0x20]
pclmulqdq xmm7, xmm0, 1
pclmulqdq xmm6, xmm0, 0x10
xorps xmm6, xmm7
movdqa xmm7, xmm9
pclmulqdq xmm9, xmm0, 1
pclmulqdq xmm7, xmm0, 0x10
xorps xmm7, xmm9
pxor xmm6, xmm4
movdqa xmm9, xmm8
pxor xmm7, xmm3
pclmulqdq xmm9, xmm0, 0x10
pclmulqdq xmm8, xmm0, 1
xorps xmm9, xmm8
movdqa xmm8, xmm1
pxor xmm9, xmm2
movdqu xmmword [rbx], xmm2
movdqu xmmword [rbx + 0x10], xmm3
movdqu xmmword [rbx + 0x20], xmm4
je 0x180001683
movdqu xmm10, xmmword [r10 + 0x30]
add rbx, 0x30
jmp 0x1800015d9
lea eax, [r9 + 0x20]
test eax, eax
js 0x180001570
movdqa xmm0, xmmword [0x1800c1d70]
movdqa xmm2, xmm6
movdqu xmm3, xmmword [r10]
movdqa xmm1, xmm7
movdqu xmm4, xmmword [r10 + 0x10]
movdqa xmm6, xmm9
movdqa xmm7, xmm8
mov r9d, eax
pclmulqdq xmm6, xmm0, 0x10
pclmulqdq xmm7, xmm0, 0x10
pclmulqdq xmm9, xmm0, 1
pclmulqdq xmm8, xmm0, 1
xorps xmm6, xmm9
xorps xmm7, xmm8
pxor xmm7, xmm3
pxor xmm6, xmm4
movdqa xmm8, xmm1
movdqa xmm9, xmm2
movdqu xmmword [rbx], xmm3
movdqu xmmword [rbx + 0x10], xmm4
je 0x180001683
movdqu xmm10, xmmword [r10 + 0x20]
add rbx, 0x20
jmp 0x1800015d9
lea eax, [r9 + 0x30]
test eax, eax
js 0x1800015ca
movdqu xmm2, xmmword [r10]
movdqa xmm1, xmm6
movdqa xmm6, xmm8
mov r9d, eax
pclmulqdq xmm6, xmmword [0x1800c1d70], 0x10
pclmulqdq xmm8, xmmword [0x1800c1d70], 1
xorps xmm6, xmm8
movdqa xmm8, xmm9
movdqa xmm9, xmm7
pxor xmm6, xmm2
movdqa xmm7, xmm1
movdqu xmmword [rbx], xmm2
je 0x180001683
movdqu xmm10, xmmword [r10 + 0x10]
add rbx, 0x10
jmp 0x1800015d9
add r9d, 0x40
je 0x180001683
movdqu xmm10, xmmword [r10]
movdqa xmmword [rsp + 0x20], xmm10
movsxd rsi, r9d
mov r8, rsi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18004e2a0
movdqa xmm2, xmmword [0x1800c1db0]
movdqa xmm0, xmm9
movdqa xmm3, xmm8
add rsi, rsi
movdqu xmm1, xmmword [rbp + rsi*8 - 0x10]
pshufb xmm0, xmm1
pxor xmm2, xmm1
pshufb xmm10, xmm1
pshufb xmm3, xmm1
pshufb xmm8, xmm2
pshufb xmm9, xmm2
por xmm8, xmm0
movdqa xmm0, xmm7
pshufb xmm0, xmm1
pshufb xmm7, xmm2
por xmm9, xmm0
movdqa xmm0, xmm6
pshufb xmm6, xmm2
pshufb xmm0, xmm1
por xmm6, xmm10
movdqa xmm1, xmm3
pclmulqdq xmm1, xmmword [0x1800c1d70], 0x10
por xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1800c1d70], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
movdqu xmmword [rdi], xmm8
movdqu xmmword [rdi + 0x10], xmm9
movdqu xmmword [rdi + 0x20], xmm7
movdqu xmmword [rdi + 0x30], xmm6
movdqu xmmword [rdi + 0x40], xmm10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004ccd0
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x98
pop rdi
pop rsi
pop rbp
pop rbx
ret