Function at 0x140053450
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [0x1400cc798], 0
mov rdi, rdx
mov rdx, qword [rcx]
mov rbx, rcx
mov esi, r8d
je 0x140052cd5
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 0x140053450
movsxd r8, esi
mov rcx, rdi
call fcn.14008dec0
mov r8, rsi
test rdi, rdi
jne 0x140052cfd
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.140052d80
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 [0x1400c9040]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rbp, [0x1400a8a00]
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 0x1400534c9
test r9d, r9d
je 0x1400538a5
jmp 0x1400537c0
mov ecx, r10d
neg ecx
and ecx, 0xf
je 0x140053577
movdqu xmm10, xmmword [r8]
mov eax, ecx
sub r9d, ecx
movdqa xmm2, xmmword [0x1400a8b50]
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
xorps xmm2, xmm1
pshufb xmm10, xmm1
pshufb xmm3, xmm1
pshufb xmm8, xmm2
pshufb xmm9, xmm2
orps xmm8, xmm0
movdqa xmm0, xmm7
pshufb xmm0, xmm1
pshufb xmm7, xmm2
orps xmm9, xmm0
movdqa xmm0, xmm6
pshufb xmm6, xmm2
pshufb xmm0, xmm1
orps xmm6, xmm10
movdqa xmm1, xmm3
pclmulqdq xmm1, xmmword [0x1400a8b40], 0x10
orps xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1400a8b40], 1
xorps xmm6, xmm0
xorps xmm6, xmm1
mov eax, r9d
sub r9d, 0x40
js 0x14005363c
movdqa xmm5, xmmword [0x1400a8b40]
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
xorps xmm8, xmm1
movdqa xmm0, xmm7
xorps 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 [rdi], xmm1
movdqu xmmword [rdi + 0x10], xmm2
movdqu xmmword [rdi + 0x20], xmm3
movdqu xmmword [rdi + 0x30], xmm4
add rdi, 0x40
xorps xmm6, xmm0
xorps xmm7, xmm3
xorps xmm6, xmm4
sub rcx, 1
jne 0x1400535a0
lea eax, [r9 + 0x10]
test eax, eax
js 0x1400536d8
movdqa xmm0, xmmword [0x1400a8b40]
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
xorps xmm6, xmm4
movdqa xmm9, xmm8
xorps xmm7, xmm3
pclmulqdq xmm9, xmm0, 0x10
pclmulqdq xmm8, xmm0, 1
xorps xmm9, xmm8
movdqa xmm8, xmm1
xorps xmm9, xmm2
movdqu xmmword [rdi], xmm2
movdqu xmmword [rdi + 0x10], xmm3
movdqu xmmword [rdi + 0x20], xmm4
je 0x140053883
add rdi, 0x30
add r10, 0x30
jmp 0x1400537c0
lea eax, [r9 + 0x20]
test eax, eax
js 0x140053753
movdqa xmm0, xmmword [0x1400a8b40]
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
xorps xmm7, xmm3
xorps xmm6, xmm4
movdqa xmm8, xmm1
movdqa xmm9, xmm2
movdqu xmmword [rdi], xmm3
movdqu xmmword [rdi + 0x10], xmm4
je 0x140053883
add rdi, 0x20
add r10, 0x20
jmp 0x1400537c0
lea eax, [r9 + 0x30]
test eax, eax
js 0x1400537aa
movdqu xmm2, xmmword [r10]
movdqa xmm1, xmm6
movdqa xmm6, xmm8
mov r9d, eax
pclmulqdq xmm6, xmmword [0x1400a8b40], 0x10
pclmulqdq xmm8, xmmword [0x1400a8b40], 1
xorps xmm6, xmm8
movdqa xmm8, xmm9
movdqa xmm9, xmm7
xorps xmm6, xmm2
movdqa xmm7, xmm1
movdqu xmmword [rdi], xmm2
je 0x140053883
add rdi, 0x10
add r10, 0x10
jmp 0x1400537c0
add r9d, 0x40
je 0x140053883
nop dword [rax]
nop dword [rax + rax]
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.14008dec0
movdqu xmm10, xmmword [rsp + 0x20]
add rbx, rbx
movdqa xmm2, xmmword [0x1400a8b50]
movdqa xmm0, xmm9
movdqa xmm3, xmm8
movdqu xmmword [rdi], xmm10
movdqu xmm1, xmmword [rbp + rbx*8 - 0x10]
mov rbx, qword [rsp + 0x98]
xorps xmm2, xmm1
pshufb xmm0, xmm1
pshufb xmm10, xmm1
pshufb xmm3, xmm1
pshufb xmm8, xmm2
pshufb xmm9, xmm2
orps xmm8, xmm0
movdqa xmm0, xmm7
pshufb xmm0, xmm1
pshufb xmm7, xmm2
orps xmm9, xmm0
movdqa xmm0, xmm6
pshufb xmm6, xmm2
pshufb xmm0, xmm1
orps xmm6, xmm10
movdqa xmm1, xmm3
pclmulqdq xmm1, xmmword [0x1400a8b40], 0x10
orps xmm7, xmm0
movdqa xmm0, xmm6
movdqa xmm6, xmm3
pclmulqdq xmm6, xmmword [0x1400a8b40], 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.140055420
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