Function at 0x14000ae80
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x50], xmm9
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x90], xmm13
movaps xmmword [rsp + 0xa0], xmm14
mov rbx, rdx
test rcx, rcx
je 0x14000b5d1
cmp qword [rcx + 8], 0
jns 0x14000b5c0
mov rdx, qword [rcx]
test rdx, rdx
jle 0x14000b573
lea rax, [rdx - 1]
cmp rax, 0xe
jbe 0x14000b5d5
lea rax, [rbx + 1]
movq xmm6, rbx
mov r8, rdx
movdqa xmm4, xmmword [0x1400600b0]
movq xmm7, rax
and r8, 0xfffffffffffffff0
mov rax, rcx
movdqa xmm3, xmmword [0x1400600c0]
punpcklqdq xmm6, xmm7
movdqa xmm5, xmmword [0x1400600d0]
movdqa xmm7, xmmword [0x1400600a0]
add r8, rcx
nop dword [rax]
movdqa xmm0, xmm6
add rax, 0x10
paddq xmm6, xmm7
movdqa xmm11, xmm0
paddq xmm11, xmm4
movdqa xmm10, xmm11
shufps xmm0, xmm11, 0x88
paddq xmm10, xmm4
movdqa xmm8, xmm10
paddq xmm8, xmm4
movdqa xmm1, xmm8
shufps xmm10, xmm8, 0x88
movdqa xmm8, xmm0
movdqa xmm13, xmm10
paddq xmm1, xmm4
psrad xmm13, 0x10
punpckhwd xmm8, xmm10
movdqa xmm2, xmm1
paddq xmm2, xmm4
movdqa xmm9, xmm2
shufps xmm1, xmm2, 0x88
movdqa xmm12, xmm1
paddq xmm9, xmm4
movdqa xmm2, xmm9
paddq xmm2, xmm4
shufps xmm9, xmm2, 0x88
movdqa xmm2, xmm0
punpcklwd xmm12, xmm9
punpcklwd xmm2, xmm10
psrad xmm10, 0x18
movdqa xmm11, xmm2
punpcklwd xmm2, xmm8
punpckhwd xmm11, xmm8
movdqa xmm8, xmm1
punpckhwd xmm8, xmm9
punpcklwd xmm2, xmm11
movdqa xmm11, xmm12
punpckhwd xmm11, xmm8
punpcklwd xmm12, xmm8
punpcklwd xmm12, xmm11
movdqa xmm11, xmm0
psrad xmm11, 0x10
psrad xmm0, 0x18
movdqa xmm8, xmm11
punpcklwd xmm11, xmm13
punpckhwd xmm8, xmm13
movdqa xmm13, xmm11
punpckhwd xmm13, xmm8
punpcklwd xmm11, xmm8
movdqa xmm8, xmm1
psrad xmm8, 0x10
psrad xmm1, 0x18
punpcklwd xmm11, xmm13
movdqa xmm13, xmm9
movdqa xmm14, xmm8
pand xmm11, xmm3
psrad xmm13, 0x10
psrad xmm9, 0x18
punpcklwd xmm8, xmm13
punpckhwd xmm14, xmm13
movdqa xmm13, xmm8
punpcklwd xmm8, xmm14
punpckhwd xmm13, xmm14
movdqu xmm14, xmmword [rax]
punpcklwd xmm8, xmm13
movdqa xmm13, xmm12
pand xmm12, xmm3
pand xmm8, xmm3
psraw xmm13, 8
packuswb xmm11, xmm8
movdqa xmm8, xmm2
pand xmm13, xmm3
psraw xmm8, 8
pand xmm2, xmm3
pand xmm8, xmm3
packuswb xmm2, xmm12
packuswb xmm8, xmm13
pand xmm2, xmm5
pxor xmm11, xmm8
movdqa xmm8, xmm0
punpcklwd xmm0, xmm10
punpckhwd xmm8, xmm10
movdqa xmm10, xmm0
pand xmm11, xmm5
punpckhwd xmm10, xmm8
punpcklwd xmm0, xmm8
movdqa xmm8, xmm1
punpcklwd xmm1, xmm9
punpckhwd xmm8, xmm9
punpcklwd xmm0, xmm10
movdqa xmm9, xmm1
punpcklwd xmm1, xmm8
pand xmm0, xmm3
punpckhwd xmm9, xmm8
pxor xmm2, xmm14
punpcklwd xmm1, xmm9
pxor xmm2, xmm11
pand xmm1, xmm3
packuswb xmm0, xmm1
pand xmm0, xmm5
pxor xmm2, xmm0
movups xmmword [rax], xmm2
cmp r8, rax
jne 0x14000af38
mov rax, rdx
and rax, 0xfffffffffffffff0
add rbx, rax
cmp rdx, rax
je 0x14000b573
mov r9, rbx
mov r8d, ebx
lea r10, [rax + 1]
sar r9, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x10]
and r9d, 0xffffffee
xor r8d, r9d
mov r9, rbx
sar r9, 0x10
and r9d, 0xffffffee
xor r8d, r9d
mov r9, rbx
sar r9, 0x18
and r9d, 0xffffffee
xor r8d, r9d
lea r9, [rbx + 1]
mov byte [rcx + rax + 0x10], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 2]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x11]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 2]
mov byte [rcx + rax + 0x11], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 3]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x12]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 3]
mov byte [rcx + rax + 0x12], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 4]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x13]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 4]
mov byte [rcx + rax + 0x13], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 5]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x14]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 5]
mov byte [rcx + rax + 0x14], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 6]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x15]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 6]
mov byte [rcx + rax + 0x15], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 7]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x16]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 7]
mov byte [rcx + rax + 0x16], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 8]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x17]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 8]
mov byte [rcx + rax + 0x17], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 9]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x18]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 9]
mov byte [rcx + rax + 0x18], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 0xa]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x19]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 0xa]
mov byte [rcx + rax + 0x19], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 0xb]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x1a]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 0xb]
mov byte [rcx + rax + 0x1a], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 0xc]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x1b]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 0xc]
mov byte [rcx + rax + 0x1b], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
lea r10, [rax + 0xd]
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x1c]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
lea r9, [rbx + 0xd]
mov byte [rcx + rax + 0x1c], r8b
cmp rdx, r10
jle 0x14000b573
mov r11, r9
mov r8d, r9d
add rbx, 0xe
sar r11, 8
and r8d, 0xffffffee
xor r8b, byte [rcx + rax + 0x1d]
and r11d, 0xffffffee
xor r8d, r11d
mov r11, r9
sar r9, 0x18
sar r11, 0x10
and r9d, 0xffffffee
and r11d, 0xffffffee
xor r8d, r11d
xor r8d, r9d
mov byte [rcx + rax + 0x1d], r8b
add rax, 0xe
cmp rdx, rax
jle 0x14000b573
mov r8, rbx
mov edx, ebx
sar r8, 8
and edx, 0xffffffee
xor dl, byte [rcx + rax + 0x10]
and r8d, 0xffffffee
xor edx, r8d
mov r8, rbx
sar rbx, 0x18
sar r8, 0x10
and ebx, 0xffffffee
and r8d, 0xffffffee
xor edx, r8d
xor edx, ebx
mov byte [rcx + rax + 0x10], dl
mov rax, rcx
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
movaps xmm13, xmmword [rsp + 0x90]
movaps xmm14, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
ret
call fcn.140006050
mov rcx, rax
test rax, rax
jne 0x14000aedc
xor eax, eax
jmp 0x14000b576
xor eax, eax
jmp 0x14000b148