Function at 0x18002c790
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x1c], 0
mov rax, rcx
je 0x18002d4db
movdqa xmm2, xmmword [0x180164c10]
xor r8d, r8d
movdqa xmm3, xmmword [0x180164b70]
mov r9d, r8d
mov qword [rsp + 0x30], rbx
mov r11, 0xfffffffffffffffe
mov qword [rsp + 0x38], rbp
mov ebx, 2
mov ebp, dword [0x180182290]
movaps xmmword [rsp + 0x10], xmm6
movaps xmmword [rsp], xmm7
movdqa xmm7, xmmword [0x180164bb0]
mov qword [rsp + 0x20], rdi
cmp ebp, 5
jl 0x18002c8fc
movdqa xmm4, xmmword [0x18016de60]
lea rdx, [rcx + 4]
mov r10, r11
mov edi, ebx
sub r10, rcx
sub rdi, rcx
nop dword [rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002c810
cmp r9, 0x1c
jae 0x18002c92d
movabs r10, 0xffff7eff7fffffff
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002c910
movzx ecx, byte [rax + 5]
lea rdx, [rax + 4]
xor byte [rax], 0x39
not cl
xor byte [rax + 1], 0xa8
xor cl, 0x37
xor byte [rax + 2], 0x38
mov r9, r8
xor byte [rax + 3], 0x1a
xor byte [rdx], 0x3c
xor byte [rax + 6], 0x59
xor byte [rax + 7], 0x19
xor byte [rax + 8], 8
xor byte [rax + 9], 0x5a
xor byte [rax + 0xb], 0xfc
xor byte [rax + 0xc], 0xa8
xor byte [rax + 0xd], 0x79
xor byte [rax + 0xe], 0x19
xor byte [rax + 0x10], 0xb8
xor byte [rax + 0x11], 0x18
xor byte [rax + 0x12], 0x9c
xor byte [rax + 0x13], 0x28
xor byte [rax + 0x15], 0xdb
xor byte [rax + 0x16], 8
xor byte [rax + 0x17], 0x78
xor byte [rax + 0x18], 0xd8
xor byte [rax + 0x1a], 0x88
xor byte [rax + 0x1b], 0x3b
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 5], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x27
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xf]
not cl
xor cl, 0x15
mov byte [rax + 0xf], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 6
mov byte [rax + 0x14], cl
movzx ecx, byte [rax + 0x19]
not cl
xor cl, 0x63
mov byte [rax + 0x19], cl
cmp ebp, 5
jl 0x18002cadc
movdqa xmm4, xmmword [0x18016da60]
mov r10, r11
sub r10, rax
mov rdi, rbx
sub rdi, rax
nop
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + r10]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002c9f0
cmp r9, 0x1c
jae 0x18002cb0d
movabs r10, 0xff99d9ddbbbffbbb
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002caf0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 0xc
movdqa xmm1, xmmword [0x1801694d0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0x98
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18002cb30
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x18002cc5c
movdqa xmm4, xmmword [0x1801677b0]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002cb70
cmp r9, 0x1c
jae 0x18002cc8d
movabs rdi, 0x7777ff7ff77ff7f7
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002cc70
xor byte [rax], 0xf7
mov r9, r8
xor byte [rax + 2], 0xe7
xor byte [rax + 3], 0xf7
xor byte [rax + 5], 0xe7
xor byte [rax + 6], 0xf7
xor byte [rax + 8], 0xe7
xor byte [rax + 9], 0xf7
xor byte [rax + 0xb], 0xe7
xor byte [rax + 0xc], 0xf7
xor byte [rax + 0xe], 0xe7
xor byte [rax + 0xf], 0xf7
xor byte [rax + 0x11], 0xe7
xor byte [rax + 0x12], 0xf7
xor byte [rax + 0x14], 0xe7
xor byte [rax + 0x15], 0xf7
xor byte [rax + 0x17], 0xe7
xor byte [rax + 0x18], 0xf7
xor byte [rax + 0x1a], 0xe7
xor byte [rax + 0x1b], 0xf7
not byte [rax + 1]
not byte [rax + 4]
not byte [rax + 7]
not byte [rax + 0xa]
not byte [rax + 0xd]
not byte [rax + 0x10]
not byte [rax + 0x13]
not byte [rax + 0x16]
not byte [rax + 0x19]
cmp ebp, 5
jl 0x18002ce0c
movdqa xmm4, xmmword [0x180167480]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop word [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rsi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002cd20
cmp r9, 0x1c
jae 0x18002ce3d
movabs rdi, 0x755ddf55d7775df7
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002ce20
xor byte [rax], 0xd0
mov r9, r8
xor byte [rax + 1], 0x70
xor byte [rax + 2], 0x63
xor byte [rax + 3], 0x8d
xor byte [rax + 4], bl
xor byte [rax + 5], 0xdc
xor byte [rax + 6], 0xf4
xor byte [rax + 7], 0xa7
xor byte [rax + 8], 0x9d
xor byte [rax + 9], 0x8b
xor byte [rax + 0xa], 0x95
xor byte [rax + 0xb], 0x2c
xor byte [rax + 0xc], 0x2b
xor byte [rax + 0xd], 0x19
xor byte [rax + 0xe], 0x4b
xor byte [rax + 0xf], 0xc5
xor byte [rax + 0x10], 0x21
xor byte [rax + 0x11], 0x22
xor byte [rax + 0x12], 0x41
xor byte [rax + 0x13], 0xc7
xor byte [rax + 0x14], 0x45
xor byte [rax + 0x15], 0xa1
xor byte [rax + 0x16], 0xf6
xor byte [rax + 0x17], r10b
xor byte [rax + 0x18], 0x4e
xor byte [rax + 0x19], 0x1d
xor byte [rax + 0x1a], 0x29
xor byte [rax + 0x1b], 0x36
cmp ebp, 5
jl 0x18002cfbc
movdqa xmm4, xmmword [0x180169df0]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rsi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002ced0
cmp r9, 0x1c
jae 0x18002cfed
movabs rdi, 0xb11935931975db51
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002cfd0
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016be80]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xe3
lea rcx, [rcx + 1]
sub r10, 1
jne 0x18002d010
mov r9, r8
cmp ebp, 5
jl 0x18002d12d
movdqa xmm4, xmmword [0x180166420]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
sub rdi, rax
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [r10 + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm5
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002d041
cmp r9, 0x1c
jae 0x18002d15d
movabs r10, 0x53d5f15f42d1667c
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 1
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002d140
xor byte [rax], 0xe8
mov r9, r8
xor byte [rax + 1], 0x60
xor byte [rax + 2], 0x6c
xor byte [rax + 3], 0xe8
xor byte [rax + 4], 0x60
xor byte [rax + 5], 0x6c
xor byte [rax + 6], 0xe8
xor byte [rax + 7], 0x60
xor byte [rax + 8], 0x6c
xor byte [rax + 9], 0xe8
xor byte [rax + 0xa], 0x60
xor byte [rax + 0xb], 0x6c
xor byte [rax + 0xc], 0xe8
xor byte [rax + 0xd], 0x60
xor byte [rax + 0xe], 0x6c
xor byte [rax + 0xf], 0xe8
xor byte [rax + 0x10], 0x60
xor byte [rax + 0x11], 0x6c
xor byte [rax + 0x12], 0xe8
xor byte [rax + 0x13], 0x60
xor byte [rax + 0x14], 0x6c
xor byte [rax + 0x15], 0xe8
xor byte [rax + 0x16], 0x60
xor byte [rax + 0x17], 0x6c
xor byte [rax + 0x18], 0xe8
xor byte [rax + 0x19], 0x60
xor byte [rax + 0x1a], 0x6c
xor byte [rax + 0x1b], 0xe8
cmp ebp, 5
jl 0x18002d2dc
movdqa xmm4, xmmword [0x180164fd0]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
sub rdi, rax
movzx ecx, word [rdx - 4]
movq xmm0, r9
punpcklqdq xmm0, xmm0
add r9, 8
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + r10]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rdi]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm7
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r9, 0x18
jb 0x18002d1f0
cmp r9, 0x1c
jae 0x18002d30d
movabs r10, 0x147e50f09057dbf5
nop word [rax + rax]
movzx ecx, r9b
mov rdx, r10
and cl, 3
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x1c
jb 0x18002d2f0
xor byte [rax], 0xc6
xor byte [rax + 1], 0xa5
xor byte [rax + 2], 0xd8
xor byte [rax + 3], 0x67
xor byte [rax + 4], 0x82
xor byte [rax + 5], 0xe5
xor byte [rax + 6], 0xd4
xor byte [rax + 7], 0x84
xor byte [rax + 8], 0x8a
xor byte [rax + 9], 0x11
xor byte [rax + 0xa], 0x89
xor byte [rax + 0xb], 0x13
xor byte [rax + 0xc], 0xdc
xor byte [rax + 0xd], 0x73
xor byte [rax + 0xe], 0xd
xor byte [rax + 0xf], 0xa6
xor byte [rax + 0x10], 0xbb
xor byte [rax + 0x11], 0xfa
xor byte [rax + 0x12], 0xcf
xor byte [rax + 0x13], 0xdd
xor byte [rax + 0x14], 0x1f
xor byte [rax + 0x15], 0x65
xor byte [rax + 0x16], 0xee
xor byte [rax + 0x17], 0x2d
xor byte [rax + 0x18], 0x80
xor byte [rax + 0x19], 0x2b
xor byte [rax + 0x1a], 0xf5
xor byte [rax + 0x1b], 0x95
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x18002d49c
movdqa xmm4, xmmword [0x180167250]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, rax
nop word [rax + rax]
movzx ecx, word [rdx - 4]
movq xmm0, r8
punpcklqdq xmm0, xmm0
add r8, 8
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rdx + r11]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, rax
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdx + rbx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm6
psllq xmm0, 3
vpsrlvq xmm1, xmm4, xmm0
movd xmm0, ecx
pshufb xmm1, xmm2
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp r8, 0x18
jb 0x18002d3b0
cmp r8, 0x1c
jae 0x18002d4cd
movabs r9, 0x717f5d0f8b9d9be7
nop word [rax + 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, 0x1c
jb 0x18002d4b0
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x1c], 0
add rsp, 0x28
ret