Function at 0x140174500
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
movdqa xmmword [rsp + 0xc0], xmm14
movdqa xmmword [rsp + 0xb0], xmm13
movdqa xmmword [rsp + 0xa0], xmm12
movdqa xmmword [rsp + 0x90], xmm11
movdqa xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x60], xmm8
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x40], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x38], rax
movdqu xmm9, xmmword [rcx + 0x44]
movdqu xmm8, xmmword [rcx + 0x54]
movdqu xmm6, xmmword [rcx + 0x64]
movdqu xmm7, xmmword [rcx + 0x74]
movabs r12, 0x1c6e41596
cmp r9d, 0xf
jle 0x140174657
mov eax, edi
neg eax
and eax, 0xf
je 0x140174953
movdqu xmm10, xmmword [rdi]
movdqu xmmword [rbx], xmm10
mov ecx, eax
add rbx, rcx
add rdi, rcx
sub r9d, eax
shl eax, 4
lea rcx, [0x140276f40]
movdqa xmm1, xmmword [rax + rcx - 0x10]
movdqa xmm0, xmm9
pshufb xmm0, xmm1
movdqa xmm2, xmmword [0x140275df0]
pxor xmm2, xmm1
pshufb xmm9, xmm2
movdqa xmm3, xmm8
pshufb xmm3, xmm1
por xmm9, xmm3
pshufb xmm8, xmm2
movdqa xmm3, xmm6
pshufb xmm3, xmm1
por xmm8, xmm3
pshufb xmm6, xmm2
movdqa xmm3, xmm7
pshufb xmm3, xmm1
por xmm6, xmm3
pshufb xmm7, xmm2
pshufb xmm10, xmm1
por xmm7, xmm10
movdqa xmm1, xmmword [0x140276f00]
pclmulqdq xmm1, xmm0, 1
movq xmm2, r12
pclmulqdq xmm2, xmm0, 0x10
pxor xmm2, xmm7
pxor xmm2, xmm1
movdqa xmm7, xmm2
jmp 0x14017495c
test r9d, r9d
jne 0x1401747db
jmp 0x1401748c4
movdqa xmm1, xmmword [rdi]
movdqa xmm2, xmmword [rdi + 0x10]
movdqa xmm3, xmmword [rdi + 0x20]
movq xmm4, r12
movdqa xmm5, xmm6
pclmulqdq xmm5, xmm4, 1
movdqa xmm11, xmmword [0x140276f00]
pclmulqdq xmm6, xmm11, 0x10
movdqa xmm0, xmm6
pxor xmm0, xmm5
movdqa xmm5, xmm8
pclmulqdq xmm5, xmm4, 1
pclmulqdq xmm8, xmm11, 0x10
movdqa xmm6, xmm8
pxor xmm6, xmm5
pclmulqdq xmm4, xmm9, 0x10
pclmulqdq xmm9, xmm11, 0x10
pxor xmm9, xmm4
movdqu xmmword [rbx], xmm1
movdqu xmmword [rbx + 0x10], xmm2
movdqu xmmword [rbx + 0x20], xmm3
movdqa xmm8, xmm9
pxor xmm8, xmm1
pxor xmm6, xmm2
pxor xmm0, xmm3
add r9d, 0xffffffd0
je 0x140174700
add rbx, 0x30
add rdi, 0x30
movdqa xmm9, xmm7
jmp 0x1401747d7
movdqa xmm9, xmm7
movdqa xmm7, xmm0
jmp 0x1401748a5
movdqa xmm1, xmmword [rdi]
movdqa xmm2, xmmword [rdi + 0x10]
movq xmm0, r12
movdqa xmm3, xmm8
pclmulqdq xmm3, xmm0, 1
movdqa xmm4, xmmword [0x140276f00]
pclmulqdq xmm8, xmm4, 0x10
pxor xmm8, xmm3
pclmulqdq xmm0, xmm9, 0x10
pclmulqdq xmm9, xmm4, 0x10
pxor xmm9, xmm0
movdqu xmmword [rbx], xmm1
movdqu xmmword [rbx + 0x10], xmm2
movdqa xmm0, xmm9
pxor xmm0, xmm1
movdqa xmm1, xmm8
pxor xmm1, xmm2
add r9d, 0xffffffe0
je 0x140174925
add rbx, 0x20
add rdi, 0x20
movdqa xmm9, xmm6
movdqa xmm8, xmm7
movdqa xmm6, xmm0
movdqa xmm7, xmm1
jmp 0x1401747db
movdqa xmm1, xmmword [rdi]
movq xmm0, r12
pclmulqdq xmm0, xmm9, 0x10
pclmulqdq xmm9, xmmword [0x140276f00], 0x10
movdqu xmmword [rbx], xmm1
pxor xmm0, xmm1
pxor xmm0, xmm9
add r9d, 0xfffffff0
je 0x14017493c
add rbx, 0x10
add rdi, 0x10
movdqa xmm9, xmm8
movdqa xmm8, xmm6
movdqa xmm6, xmm7
movdqa xmm7, xmm0
pxor xmm0, xmm0
lea r14, [rsp + 0x20]
movdqa xmmword [r14], xmm0
movsxd r15, r9d
mov rcx, r14
mov rdx, rdi
mov r8, r15
call fcn.1401cd6f0
movdqa xmm10, xmmword [r14]
mov rcx, rbx
mov rdx, rdi
mov r8, r15
call fcn.1401cd6f0
shl r15, 4
lea rax, [0x140276f40]
movdqa xmm1, xmmword [r15 + rax - 0x10]
movdqa xmm0, xmm9
pshufb xmm0, xmm1
movdqa xmm2, xmmword [0x140275df0]
pxor xmm2, xmm1
pshufb xmm9, xmm2
movdqa xmm3, xmm8
pshufb xmm3, xmm1
por xmm9, xmm3
pshufb xmm8, xmm2
movdqa xmm3, xmm6
pshufb xmm3, xmm1
por xmm8, xmm3
pshufb xmm6, xmm2
movdqa xmm3, xmm7
pshufb xmm3, xmm1
por xmm6, xmm3
pshufb xmm7, xmm2
pshufb xmm10, xmm1
por xmm7, xmm10
movdqa xmm1, xmmword [0x140276f00]
pclmulqdq xmm1, xmm0, 1
movq xmm2, r12
pclmulqdq xmm2, xmm0, 0x10
pxor xmm2, xmm7
pxor xmm2, xmm1
movdqa xmm7, xmm2
movdqu xmmword [rsi + 0x44], xmm9
movdqu xmmword [rsi + 0x54], xmm8
movdqu xmmword [rsi + 0x64], xmm6
movdqu xmmword [rsi + 0x74], xmm7
movdqu xmmword [rsi + 0x84], xmm10
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140191d80
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmm13, xmmword [rsp + 0xb0]
movaps xmm14, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movdqa xmm9, xmm6
movdqa xmm8, xmm7
movdqa xmm6, xmm0
movdqa xmm7, xmm1
jmp 0x1401748a5
movdqa xmm9, xmm8
movdqa xmm8, xmm6
movdqa xmm6, xmm7
movdqa xmm7, xmm0
jmp 0x1401748a5
movdqu xmm10, xmmword [rsi + 0x84]
cmp r9d, 0x40
jb 0x140174a2e
movq xmm0, r12
movdqa xmm1, xmmword [0x140276f00]
nop word cs:[rax + rax]
add r9d, 0xffffffc0
movdqa xmm3, xmmword [rdi]
movdqa xmm4, xmmword [rdi + 0x10]
movdqa xmm5, xmmword [rdi + 0x20]
movdqa xmm2, xmmword [rdi + 0x30]
movdqa xmm11, xmm9
pclmulqdq xmm11, xmm0, 1
pclmulqdq xmm9, xmm1, 0x10
movdqa xmm12, xmm8
pclmulqdq xmm12, xmm0, 1
pclmulqdq xmm8, xmm1, 0x10
movdqa xmm13, xmm6
pclmulqdq xmm13, xmm0, 1
pclmulqdq xmm6, xmm1, 0x10
movdqa xmm14, xmm7
pclmulqdq xmm14, xmm0, 1
pclmulqdq xmm7, xmm1, 0x10
movdqu xmmword [rbx], xmm3
movdqu xmmword [rbx + 0x10], xmm4
movdqu xmmword [rbx + 0x20], xmm5
movdqu xmmword [rbx + 0x30], xmm2
pxor xmm11, xmm3
pxor xmm9, xmm11
pxor xmm12, xmm4
pxor xmm8, xmm12
pxor xmm13, xmm5
pxor xmm6, xmm13
pxor xmm14, xmm2
pxor xmm7, xmm14
add rdi, 0x40
add rbx, 0x40
cmp r9d, 0x3f
ja 0x140174980
cmp r9d, 0x30
jae 0x140174665
cmp r9d, 0x20
jae 0x14017470e
cmp r9d, 0x10
jae 0x14017478f
test r9d, r9d
jne 0x1401747db
jmp 0x1401748a5