Function at 0x180049fe0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0xc], 0
mov rax, rcx
je 0x18004ab5e
movdqa xmm3, xmmword [0x180164c10]
movdqa xmm5, xmmword [0x180164ba0]
movdqa xmm4, xmmword [0x180164b70]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rbp
mov ebp, dword [0x180182290]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x20], rdi
xor edi, edi
movaps xmmword [rsp + 0x10], xmm6
mov r8d, edi
movaps xmmword [rsp], xmm7
cmp ebp, 5
jl 0x18004a126
movzx ecx, word [rcx]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016d6a0]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a14d
movabs r9, 0xff7e7eff7fff7f7f
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x18004a130
xor byte [rax + 4], 0xdf
xor byte [rax + 6], 0x5f
xor byte [rax + 0xa], 0x7f
movzx r8d, byte [rax + 4]
movzx ecx, byte [rax + 3]
xor r8b, 0xbe
movzx edx, byte [rax + 2]
not cl
movzx r11d, byte [rax + 8]
xor cl, 0x87
movzx r9d, byte [rax + 6]
xor r8b, 0xee
movzx r10d, byte [rax + 0xa]
not dl
xor byte [rax], 0xbb
not r11b
xor byte [rax + 1], 0x7d
xor dl, 0xde
xor byte [rax + 5], 0x1a
xor r9b, 0x3e
xor byte [rax + 9], 0x18
xor r11b, 0xde
xor byte [rax + 0xb], 0x2f
xor r10b, 0xbe
movdqa xmm6, xmmword [0x180164bd0]
xor dl, 0xbb
movdqa xmm7, xmmword [0x180164bc0]
xor r9b, 0xfa
mov byte [rax + 3], cl
xor r11b, 0xbe
movzx ecx, byte [rax + 7]
xor r10b, 0xfb
not cl
mov byte [rax + 4], r8b
xor cl, 0x66
mov byte [rax + 2], dl
mov byte [rax + 6], r9b
mov r8, rdi
mov byte [rax + 7], cl
mov byte [rax + 8], r11b
mov byte [rax + 0xa], r10b
cmp ebp, 5
jl 0x18004a2e2
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169930]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a30d
movabs r9, 0x9dfbff9dbdfb9bbf
nop dword [rax]
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x18004a2f0
mov esi, 0xc
mov rcx, rax
mov edx, esi
nop word [rax + rax]
xor byte [rcx], 0xde
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18004a320
mov r8, rdi
cmp ebp, 5
jl 0x18004a425
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c690]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a44c
movabs r9, 0xf777f7777ffff7ff
nop
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, rsi
jb 0x18004a430
xor byte [rax + 1], 0x7f
mov r8, rdi
xor byte [rax + 2], 0xee
xor byte [rax + 4], 0x7f
xor byte [rax + 5], 0xee
xor byte [rax + 7], 0x7f
xor byte [rax + 8], 0xee
xor byte [rax + 0xa], 0x7f
xor byte [rax + 0xb], 0xee
not byte [rax]
not byte [rax + 3]
not byte [rax + 6]
not byte [rax + 9]
cmp ebp, 5
jl 0x18004a56f
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016b300]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a59c
movabs r9, 0xd7dff557f7dddfdd
nop dword [rax]
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, rsi
jb 0x18004a580
xor byte [rax + 2], 0x6e
xor byte [rax + 6], 0xc6
xor byte [rax + 8], 0x46
movzx r8d, byte [rax + 6]
movzx r9d, byte [rax + 2]
xor r8b, 0x33
movzx r11d, byte [rax + 8]
xor r8b, 0xa7
movzx ecx, byte [rax + 0xb]
xor r9b, 0xf7
movzx ebx, byte [rax + 0xa]
xor r11b, 0xf7
xor byte [rax + 4], 0xd4
xor r9b, 0xb2
xor byte [rax], 0x9c
xor r11b, 0x7f
xor byte [rax + 1], 0xc2
not cl
xor byte [rax + 3], 0x97
xor cl, 0x31
xor byte [rax + 5], 0xcd
xor byte [rax + 7], 0x6f
xor byte [rax + 9], 0x9d
mov byte [rax + 6], r8b
mov r8, rdi
mov byte [rax + 0xa], bl
mov rbx, qword [rsp + 0x30]
mov byte [rax + 2], r9b
mov byte [rax + 8], r11b
mov byte [rax + 0xb], cl
cmp ebp, 5
jl 0x18004a706
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180169e70]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm7
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm6
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a72c
movabs r9, 0xb1b95fdff57dfddb
movzx ecx, r8b
mov rdx, r9
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, rsi
jb 0x18004a710
mov rcx, rax
nop
xor byte [rcx], 0xd6
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x18004a730
mov rsi, qword [rsp + 0x40]
mov r8, rdi
cmp ebp, 5
jl 0x18004a83a
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x18016c530]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a86d
movabs r9, 0xf5fbeee4fef4fdfc
nop dword [rax]
nop dword [rax + rax]
movzx ecx, r8b
mov rdx, r9
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x18004a850
xor byte [rax], 0xa0
mov r8, rdi
xor byte [rax + 1], 0x2a
xor byte [rax + 2], 0xb8
xor byte [rax + 3], 0xa0
xor byte [rax + 4], 0x2a
xor byte [rax + 5], 0xb8
xor byte [rax + 6], 0xa0
xor byte [rax + 7], 0x2a
xor byte [rax + 8], 0xb8
xor byte [rax + 9], 0xa0
xor byte [rax + 0xa], 0x2a
xor byte [rax + 0xb], 0xb8
cmp ebp, 5
jl 0x18004a994
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180166340]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm4
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movdqa xmm0, xmm5
movd ecx, xmm1
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004a9bd
movabs r9, 0x52113d3afeb2ba72
nop
movzx ecx, r8b
mov rdx, r9
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r8], dl
inc r8
cmp r8, 0xc
jb 0x18004a9a0
xor byte [rax + 2], 0xe9
xor byte [rax + 4], 0xae
xor byte [rax + 6], 0x3d
xor byte [rax + 8], 0x9f
xor byte [rax + 0xa], 0xcb
movzx ecx, byte [rax + 2]
movzx edx, byte [rax + 4]
xor cl, 0x5f
movzx r8d, byte [rax + 6]
xor dl, 0xbe
movzx r9d, byte [rax + 8]
xor r8b, 0x8e
movzx r10d, byte [rax + 0xa]
xor r9b, 0x5f
xor byte [rax], 0x4a
xor r10b, 0xbe
xor byte [rax + 1], 0x85
xor cl, 0xca
xor byte [rax + 3], 0x3e
xor dl, 0x27
xor byte [rax + 5], 0x44
xor r8b, 0x3b
xor byte [rax + 7], 0x49
xor r9b, 0x17
xor byte [rax + 9], 0xb3
xor r10b, 0x76
xor byte [rax + 0xb], 0x9e
cmp ebp, 5
mov byte [rax + 2], cl
mov rbp, qword [rsp + 0x38]
mov byte [rax + 4], dl
mov byte [rax + 6], r8b
mov byte [rax + 8], r9b
mov byte [rax + 0xa], r10b
jl 0x18004ab23
movzx ecx, word [rax]
movdqa xmm0, xmm4
movdqa xmm2, xmmword [0x180164e00]
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm7, 3
movd ecx, xmm1
movdqa xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
mov word [rax], cx
movzx ecx, word [rax + 2]
pshufb xmm1, xmm3
movd xmm0, ecx
xorps xmm1, xmm0
psllq xmm6, 3
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm7
pshufb xmm1, xmm3
mov word [rax + 2], cx
movzx ecx, word [rax + 4]
psllq xmm4, 3
psllq xmm5, 3
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm6
pshufb xmm1, xmm3
mov word [rax + 4], cx
movzx ecx, word [rax + 6]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm4
pshufb xmm1, xmm3
mov word [rax + 6], cx
movzx ecx, word [rax + 8]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
vpsrlvq xmm1, xmm2, xmm5
pshufb xmm1, xmm3
mov word [rax + 8], cx
movzx ecx, word [rax + 0xa]
movd xmm0, ecx
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rax + 0xa], cx
jmp 0x18004ab4c
movabs r8, 0xf8df3d1279b4717
nop dword [rax]
movzx ecx, dil
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + rdi], dl
inc rdi
cmp rdi, 0xc
jb 0x18004ab30
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
mov rdi, qword [rsp + 0x20]
mov byte [rax + 0xc], 0
add rsp, 0x28
ret