Function at 0x1400575f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1400dd7c0], 0
mov rdi, rdx
mov rdx, qword [rcx]
mov rbx, rcx
mov esi, r8d
je 0x140056e75
mov rcx, qword [rcx + 0x28]
mov r8, rdx
mov rdx, rdi
mov r9d, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400575f0
movsxd r8, esi
mov rcx, rdi
call fcn.14005ba20
mov r8, rsi
test rdi, rdi
jne 0x140056e9d
xor eax, eax
mov dword [rbx + 0x4c], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov ecx, dword [rbx + 0x4c]
mov rdx, rdi
call fcn.140056f20
mov rsi, qword [rsp + 0x38]
mov dword [rbx + 0x4c], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0xa0
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 [0x1400da088]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rbp, [0x1400af040]
mov r10, r8
mov rdi, rdx
mov rsi, rcx
movdqu xmm8, xmmword [rcx + 0x50]
movdqu xmm9, xmmword [rcx + 0x60]
movdqu xmm7, xmmword [rcx + 0x70]
movdqu xmm6, xmmword [rcx + 0x80]
movdqu xmm10, xmmword [rcx + 0x90]
cmp r9d, 0x10
jge 0x140057669
test r9d, r9d
je 0x140057a6c
jmp 0x140057962
mov ecx, r10d
neg ecx
and ecx, 0xf
je 0x14005771c
movdqu xmm10, xmmword [r8]
mov eax, ecx
sub r9d, ecx
movdqa xmm2, xmmword [0x1400af190]
movdqa xmm0, xmm9
movdqa xmm3, xmm8
add rdi, 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 [0x1400af180], 0x10
por xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1400af180], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
sub r9d, 0x40
js 0x1400577e0
movdqa xmm5, xmmword [0x1400af180]
lea ecx, [r9 + 0x40]
shr rcx, 6
mov eax, ecx
neg eax
shl eax, 6
add r9d, eax
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
movdqu xmmword [rdi], xmm1
movdqu xmmword [rdi + 0x10], xmm2
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
movdqu xmmword [rdi + 0x20], xmm3
pclmulqdq xmm6, xmm5, 0x10
pclmulqdq xmm0, xmm5, 1
movdqu xmmword [rdi + 0x30], xmm4
add rdi, 0x40
xorps xmm6, xmm0
pxor xmm7, xmm3
pxor xmm6, xmm4
sub rcx, 1
jne 0x140057740
lea eax, [r9 + 0x10]
test eax, eax
js 0x14005787f
movdqa xmm0, xmmword [0x1400af180]
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
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
pxor xmm9, xmm2
movdqu xmmword [rdi + 0x20], xmm4
je 0x140057a4a
add rdi, 0x30
add r10, 0x30
jmp 0x140057962
lea eax, [r9 + 0x20]
test eax, eax
js 0x140057900
movdqa xmm0, xmmword [0x1400af180]
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
movdqu xmmword [rdi], xmm3
pxor xmm7, xmm3
pxor xmm6, xmm4
movdqa xmm8, xmm1
movdqa xmm9, xmm2
movdqu xmmword [rdi + 0x10], xmm4
je 0x140057a4a
add rdi, 0x20
add r10, 0x20
jmp 0x140057962
lea eax, [r9 + 0x30]
test eax, eax
js 0x140057958
movdqu xmm2, xmmword [r10]
movdqa xmm1, xmm6
movdqa xmm6, xmm8
mov r9d, eax
pclmulqdq xmm6, xmmword [0x1400af180], 0x10
pclmulqdq xmm8, xmmword [0x1400af180], 1
xorps xmm6, xmm8
movdqa xmm8, xmm9
movdqa xmm9, xmm7
pxor xmm6, xmm2
movdqa xmm7, xmm1
movdqu xmmword [rdi], xmm2
je 0x140057a4a
add rdi, 0x10
add r10, 0x10
jmp 0x140057962
add r9d, 0x40
je 0x140057a4a
xorps xmm0, xmm0
mov qword [rsp + 0x98], rbx
movsxd rbx, r9d
lea rcx, [rsp + 0x20]
mov r8, rbx
mov rdx, r10
movdqu xmmword [rsp + 0x20], xmm0
call fcn.14005ba20
movd xmm1, dword [rsp + 0x2c]
movdqa xmm3, xmm8
movd xmm0, dword [rsp + 0x28]
add rbx, rbx
movd xmm2, dword [rsp + 0x24]
movd xmm10, dword [rsp + 0x20]
punpckldq xmm10, xmm0
movdqa xmm0, xmm9
punpckldq xmm2, xmm1
punpckldq xmm10, xmm2
movdqa xmm2, xmmword [0x1400af190]
movdqu xmmword [rdi], xmm10
movdqu xmm1, xmmword [rbp + rbx*8 - 0x10]
mov rbx, qword [rsp + 0x98]
pxor xmm2, xmm1
pshufb xmm0, 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 [0x1400af180], 0x10
por xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1400af180], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
movdqu xmmword [rsi + 0x50], xmm8
movdqu xmmword [rsi + 0x60], xmm9
movdqu xmmword [rsi + 0x70], xmm7
movdqu xmmword [rsi + 0x80], xmm6
movdqu xmmword [rsi + 0x90], xmm10
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14005a430
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, 0xa0
pop rdi
pop rsi
pop rbp
ret