Function at 0x18007e5c0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
sub rsp, 0x28
cmp byte [rcx + 0x17], 0
mov rax, rcx
je 0x18007f2fb
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 0x18007e72c
movdqa xmm4, xmmword [0x1801689e0]
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, 0x10
jb 0x18007e640
cmp r9, 0x17
jae 0x18007e75d
movabs r10, 0x7f7ffefeffffff7f
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, 0x17
jb 0x18007e740
movzx ecx, byte [rax + 3]
lea rdx, [rax + 4]
xor byte [rax], 0xd8
not cl
xor byte [rax + 1], 0x2d
xor cl, 0xb1
xor byte [rax + 2], 0x7c
mov r9, r8
xor byte [rdx], 0xfa
xor byte [rax + 6], 0xfd
xor byte [rax + 7], 0xf8
xor byte [rax + 9], 0x3f
xor byte [rax + 0xb], 0xba
xor byte [rax + 0xc], 0x29
xor byte [rax + 0xe], 0xb8
xor byte [rax + 0x10], r11b
xor byte [rax + 0x11], 0x6f
xor byte [rax + 0x13], 0x29
xor byte [rax + 0x15], 0x7b
xor byte [rax + 0x16], 0x6f
movdqa xmm6, xmmword [0x180164be0]
mov byte [rax + 3], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0x74
mov byte [rax + 5], cl
movzx ecx, byte [rax + 8]
not cl
xor cl, 0x32
mov byte [rax + 8], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x70
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xd]
not cl
xor cl, 0xa2
mov byte [rax + 0xd], cl
movzx ecx, byte [rax + 0xf]
not cl
xor cl, 0xf1
mov byte [rax + 0xf], cl
movzx ecx, byte [rax + 0x12]
not cl
xor cl, 0x67
mov byte [rax + 0x12], cl
movzx ecx, byte [rax + 0x14]
not cl
xor cl, 0x62
mov byte [rax + 0x14], cl
cmp ebp, 5
jl 0x18007e90f
movdqa xmm4, xmmword [0x18016a130]
mov r10, r11
sub r10, rax
mov rdi, rbx
sub rdi, rax
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, 0x10
jb 0x18007e823
cmp r9, 0x17
jae 0x18007e93d
movabs r10, 0xb99bbbfbb9fdbd9d
nop dword [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, 0x17
jb 0x18007e920
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov r10d, 7
movdqa xmm1, xmmword [0x1801691f0]
mov edx, r10d
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0x8d
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x18007e960
movdqa xmm5, xmmword [0x180164b80]
mov r9, r8
mov qword [rsp + 0x40], rsi
cmp ebp, 5
jl 0x18007ea8c
movdqa xmm4, xmmword [0x18016de70]
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, 0x10
jb 0x18007e9a0
cmp r9, 0x17
jae 0x18007eabd
movabs rdi, 0xffff7f77f7f7f777
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, 0x17
jb 0x18007eaa0
xor byte [rax], 0x7e
mov r9, r8
xor byte [rax + 1], 0x66
xor byte [rax + 2], 0x67
xor byte [rax + 3], 0x7e
xor byte [rax + 4], 0x66
xor byte [rax + 5], 0x67
xor byte [rax + 6], 0x7e
xor byte [rax + 7], 0x66
xor byte [rax + 8], 0x67
xor byte [rax + 9], 0x7e
xor byte [rax + 0xa], 0x66
xor byte [rax + 0xb], 0x67
xor byte [rax + 0xc], 0x7e
xor byte [rax + 0xd], 0x66
xor byte [rax + 0xe], 0x67
xor byte [rax + 0xf], 0x7e
xor byte [rax + 0x10], 0x66
xor byte [rax + 0x11], 0x67
xor byte [rax + 0x12], 0x7e
xor byte [rax + 0x13], 0x66
xor byte [rax + 0x14], 0x67
xor byte [rax + 0x15], 0x7e
xor byte [rax + 0x16], 0x66
cmp ebp, 5
jl 0x18007ec2c
movdqa xmm4, xmmword [0x18016b280]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
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, [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
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, [rsi + 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, 0x10
jb 0x18007eb40
cmp r9, 0x17
jae 0x18007ec5d
movabs rdi, 0xd7d777f7ffd5ddd5
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, 0x17
jb 0x18007ec40
movzx ecx, byte [rax + 4]
mov r9, r8
xor byte [rax], 0x87
not cl
xor byte [rax + 1], 0xd5
xor cl, 0x81
xor byte [rax + 2], 0x20
xor byte [rax + 3], 0x20
xor byte [rax + 6], 0xdc
xor byte [rax + 7], 0xa9
xor byte [rax + 8], 0xfd
xor byte [rax + 9], 0x73
xor byte [rax + 0xb], 0x95
xor byte [rax + 0xd], 0x78
xor byte [rax + 0xe], 0x3a
xor byte [rax + 0xf], r10b
xor byte [rax + 0x11], 0xf4
xor byte [rax + 0x12], 0xbd
xor byte [rax + 0x14], 0x42
xor byte [rax + 0x15], 0xd1
mov byte [rax + 4], cl
movzx ecx, byte [rax + 5]
not cl
xor cl, 0xf0
mov byte [rax + 5], cl
movzx ecx, byte [rax + 0xa]
not cl
xor cl, 0x69
mov byte [rax + 0xa], cl
movzx ecx, byte [rax + 0xc]
not cl
xor cl, 0x52
mov byte [rax + 0xc], cl
movzx ecx, byte [rax + 0x10]
not cl
xor cl, 0x2b
mov byte [rax + 0x10], cl
movzx ecx, byte [rax + 0x13]
not cl
xor cl, 0x4d
mov byte [rax + 0x13], cl
movzx ecx, byte [rax + 0x16]
not cl
xor cl, 0xd6
mov byte [rax + 0x16], cl
cmp ebp, 5
jl 0x18007ee0c
movdqa xmm4, xmmword [0x18016a080]
lea rdx, [rax + 4]
mov rdi, r11
mov rsi, rbx
sub rdi, rax
sub rsi, rax
nop dword [rax]
nop dword [rax + rax]
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, 0x10
jb 0x18007ed20
cmp r9, 0x17
jae 0x18007ee3d
movabs rdi, 0xb7f13bd13d5d7d55
nop word [rax + rax]
movzx ecx, r9b
mov rdx, rdi
and cl, r10b
shl cl, 3
shr rdx, cl
xor byte [rax + r9], dl
inc r9
cmp r9, 0x17
jb 0x18007ee20
movdqu xmm0, xmmword [rax]
lea rcx, [rax + 0x10]
mov rsi, qword [rsp + 0x40]
movdqa xmm1, xmmword [0x18016c1a0]
xorps xmm1, xmm0
movdqu xmmword [rax], xmm1
nop dword [rax]
xor byte [rcx], 0xef
lea rcx, [rcx + 1]
sub r10, 1
jne 0x18007ee60
mov r9, r8
cmp ebp, 5
jl 0x18007ef7d
movdqa xmm4, xmmword [0x18016c080]
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, 0x10
jb 0x18007ee91
cmp r9, 0x17
jae 0x18007efad
movabs r10, 0xebd3c6e8caf2c3f5
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, 0x17
jb 0x18007ef90
xor byte [rax], 0x71
mov r9, r8
xor byte [rax + 1], 0x24
xor byte [rax + 2], 0x38
xor byte [rax + 3], 0x71
xor byte [rax + 4], 0x24
xor byte [rax + 5], 0x38
xor byte [rax + 6], 0x71
xor byte [rax + 7], 0x24
xor byte [rax + 8], 0x38
xor byte [rax + 9], 0x71
xor byte [rax + 0xa], 0x24
xor byte [rax + 0xb], 0x38
xor byte [rax + 0xc], 0x71
xor byte [rax + 0xd], 0x24
xor byte [rax + 0xe], 0x38
xor byte [rax + 0xf], 0x71
xor byte [rax + 0x10], 0x24
xor byte [rax + 0x11], 0x38
xor byte [rax + 0x12], 0x71
xor byte [rax + 0x13], 0x24
xor byte [rax + 0x14], 0x38
xor byte [rax + 0x15], 0x71
xor byte [rax + 0x16], 0x24
cmp ebp, 5
jl 0x18007f11c
movdqa xmm4, xmmword [0x18016ce10]
lea rdx, [rax + 4]
mov r10, r11
mov rdi, rbx
sub r10, rax
sub rdi, rax
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, [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, 0x10
jb 0x18007f030
cmp r9, 0x17
jae 0x18007f14d
movabs r10, 0xfc191cbf77d53afa
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, 0x17
jb 0x18007f130
xor byte [rax], 0x65
xor byte [rax + 1], 0x27
xor byte [rax + 2], 0x82
xor byte [rax + 3], 0x62
xor byte [rax + 4], 0xd0
xor byte [rax + 5], 0xcf
xor byte [rax + 6], 0xf3
xor byte [rax + 7], 0x9a
xor byte [rax + 8], 0x5b
xor byte [rax + 9], 0x47
xor byte [rax + 0xa], 0xe3
xor byte [rax + 0xb], 0x6d
xor byte [rax + 0xc], 3
xor byte [rax + 0xd], 0xaf
xor byte [rax + 0xe], 0x67
xor byte [rax + 0xf], 0x29
xor byte [rax + 0x10], 0xf1
xor byte [rax + 0x11], 0xfc
xor byte [rax + 0x12], bl
xor byte [rax + 0x13], 0xde
xor byte [rax + 0x14], 0xe5
xor byte [rax + 0x15], 0x22
xor byte [rax + 0x16], 0x3d
movaps xmm7, xmmword [rsp]
cmp ebp, 5
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x20]
jl 0x18007f2bc
movdqa xmm4, xmmword [0x180164d00]
lea rdx, [rax + 4]
sub r11, rax
sub rbx, 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, 0x10
jb 0x18007f1d0
cmp r8, 0x17
jae 0x18007f2ed
movabs r9, 0x7f9ed5725999ddb
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, 0x17
jb 0x18007f2d0
movaps xmm6, xmmword [rsp + 0x10]
mov rbx, qword [rsp + 0x30]
mov byte [rax + 0x17], 0
add rsp, 0x28
ret