Function at 0x14005c340
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
movdqa xmmword [rsp + 0x90], xmm15
movdqa xmmword [rsp + 0x80], xmm14
movdqa xmmword [rsp + 0x70], xmm13
movdqa xmmword [rsp + 0x60], xmm12
movdqa xmmword [rsp + 0x50], xmm11
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
test rdx, rdx
je 0x14005c792
cmp rdx, 8
jae 0x14005c3a6
xor eax, eax
jmp 0x14005c730
cmp rdx, 0x10
jae 0x14005c3b3
xor eax, eax
jmp 0x14005c5eb
mov rax, rdx
and rax, 0xfffffffffffffff0
xor r8d, r8d
pxor xmm0, xmm0
movdqa xmm1, xmmword [0x140904090]
nop dword [rax]
movdqu xmm3, xmmword [rcx + r8]
movdqa xmm5, xmm3
punpcklbw xmm5, xmm0
movdqa xmm4, xmm5
punpcklwd xmm4, xmm0
punpckhwd xmm5, xmm0
movdqa xmm7, xmm3
punpckhbw xmm7, xmm0
movdqa xmm6, xmm7
punpcklwd xmm6, xmm0
punpckhwd xmm7, xmm0
movdqa xmm8, xmm7
psrld xmm8, 7
movdqa xmm9, xmm6
psrld xmm9, 7
movdqa xmm10, xmm5
psrld xmm10, 7
movdqa xmm13, xmm4
psrld xmm13, 7
movdqa xmm14, xmm7
psrld xmm14, 6
pxor xmm14, xmm8
movdqa xmm15, xmm6
psrld xmm15, 6
pxor xmm15, xmm9
movdqa xmm12, xmm5
psrld xmm12, 6
pxor xmm12, xmm10
movdqa xmm11, xmm4
psrld xmm11, 6
pxor xmm11, xmm13
movdqa xmm13, xmm4
psrld xmm13, 5
movdqa xmm2, xmm5
psrld xmm2, 5
movdqa xmm10, xmm6
psrld xmm10, 5
movdqa xmm9, xmm7
psrld xmm9, 5
movdqa xmm8, xmm7
psrld xmm8, 4
pxor xmm8, xmm9
pxor xmm8, xmm14
movdqa xmm9, xmm6
psrld xmm9, 4
pxor xmm9, xmm10
pxor xmm9, xmm15
movdqa xmm10, xmm5
psrld xmm10, 4
pxor xmm10, xmm2
pxor xmm10, xmm12
movdqa xmm12, xmm4
psrld xmm12, 4
pxor xmm12, xmm13
pxor xmm12, xmm11
movdqa xmm2, xmm4
psrld xmm2, 3
movdqa xmm13, xmm5
psrld xmm13, 3
movdqa xmm14, xmm6
psrld xmm14, 3
movdqa xmm15, xmm7
psrld xmm15, 3
movdqa xmm11, xmm7
psrld xmm11, 2
pxor xmm11, xmm15
movdqa xmm15, xmm6
psrld xmm15, 2
pxor xmm15, xmm14
movdqa xmm14, xmm5
psrld xmm14, 2
pxor xmm14, xmm13
movdqa xmm13, xmm4
psrld xmm13, 2
pxor xmm13, xmm2
psrld xmm4, 1
pxor xmm4, xmm13
pxor xmm4, xmm12
psrld xmm5, 1
pxor xmm5, xmm14
pxor xmm5, xmm10
psrld xmm6, 1
pxor xmm6, xmm15
pxor xmm6, xmm9
psrld xmm7, 1
pxor xmm7, xmm11
pxor xmm7, xmm8
pand xmm6, xmm1
pand xmm7, xmm1
pcmpeqd xmm7, xmm0
pcmpeqd xmm6, xmm0
packssdw xmm6, xmm7
pand xmm4, xmm1
pand xmm5, xmm1
pcmpeqd xmm5, xmm0
pcmpeqd xmm4, xmm0
packssdw xmm4, xmm5
packsswb xmm4, xmm6
pand xmm3, xmmword [0x140914dd0]
psubb xmm3, xmm4
movdqu xmmword [rcx + r8], xmm3
add r8, 0x10
cmp rax, r8
jne 0x14005c3d0
cmp rax, rdx
je 0x14005c792
test dl, 8
je 0x14005c730
mov r8, rax
mov rax, rdx
and rax, 0xfffffffffffffff8
pxor xmm0, xmm0
movdqa xmm1, xmmword [0x140904090]
movdqa xmm2, xmmword [0x140914de0]
nop dword [rax]
movq xmm3, qword [rcx + r8]
movdqa xmm5, xmm3
punpcklbw xmm5, xmm0
movdqa xmm4, xmm5
punpcklwd xmm4, xmm0
punpckhwd xmm5, xmm0
movdqa xmm6, xmm5
psrld xmm6, 7
movdqa xmm7, xmm4
psrld xmm7, 7
movdqa xmm8, xmm5
psrld xmm8, 6
pxor xmm8, xmm6
movdqa xmm9, xmm4
psrld xmm9, 6
pxor xmm9, xmm7
movdqa xmm7, xmm4
psrld xmm7, 5
movdqa xmm10, xmm5
psrld xmm10, 5
movdqa xmm6, xmm5
psrld xmm6, 4
pxor xmm6, xmm10
pxor xmm6, xmm8
movdqa xmm8, xmm4
psrld xmm8, 4
pxor xmm8, xmm7
pxor xmm8, xmm9
movdqa xmm7, xmm4
psrld xmm7, 3
movdqa xmm9, xmm5
psrld xmm9, 3
movdqa xmm10, xmm5
psrld xmm10, 2
pxor xmm10, xmm9
movdqa xmm9, xmm4
psrld xmm9, 2
pxor xmm9, xmm7
psrld xmm4, 1
pxor xmm4, xmm9
pxor xmm4, xmm8
psrld xmm5, 1
pxor xmm5, xmm10
pxor xmm5, xmm6
pand xmm4, xmm1
pand xmm5, xmm1
pand xmm3, xmm2
pcmpeqd xmm5, xmm0
pcmpeqd xmm4, xmm0
packssdw xmm4, xmm5
packsswb xmm4, xmm4
psubb xmm3, xmm4
movq qword [rcx + r8], xmm3
add r8, 8
cmp rax, r8
jne 0x14005c610
cmp rax, rdx
je 0x14005c792
nop word cs:[rax + rax]
movzx r8d, byte [rcx + rax]
mov r9d, r8d
shr r9d, 7
mov r10d, r8d
shr r10d, 6
xor r10d, r9d
mov r9d, r8d
shr r9d, 5
mov r11d, r8d
shr r11d, 4
xor r11d, r9d
xor r11d, r10d
mov r9d, r8d
shr r9d, 3
mov r10d, r8d
shr r10d, 2
xor r10d, r9d
mov r9d, r8d
shr r9d, 1
xor r9d, r10d
xor r9d, r11d
test r9b, 1
sete r9b
and r8b, 0xfe
or r8b, r9b
mov byte [rcx + rax], r8b
inc rax
cmp rdx, rax
jne 0x14005c730
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
movaps xmm12, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm14, xmmword [rsp + 0x80]
movaps xmm15, xmmword [rsp + 0x90]
add rsp, 0xa8
ret