Function at 0x140046ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rbx, rcx
xor r10d, r10d
movzx ecx, dl
sub ecx, 3
je 0x140046e1f
sub ecx, 1
je 0x140046db6
sub ecx, 1
je 0x140046d52
sub ecx, 1
je 0x140046bc2
mov r8, 0xffffffffffffffff
cmp ecx, 2
je 0x140046b64
movsd xmm0, qword [0x140101e38]
movzx ecx, word [0x140101e40]
movzx eax, byte [0x140101e42]
movsd qword [rbp - 0x18], xmm0
xorps xmm0, xmm0
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
xor byte [rbp - 0x15], 0x34
xor byte [rbp - 0x14], 0x35
xor byte [rbp - 0x13], 0x36
xor byte [rbp - 0x12], 0x37
xor byte [rbp - 0x11], 0x38
mov word [rbp - 0x10], cx
xor cl, 0x39
xor byte [rbp - 0xf], 0x3a
xor al, 0x3b
mov byte [rbp - 0x18], 0x4e
movups xmmword [rbx], xmm0
mov byte [rbp - 0xe], al
lea rax, [rbp - 0x18]
mov byte [rbp - 0x10], cl
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
inc r8
cmp byte [rax + r8], r10b
jne 0x140046b56
jmp 0x140046e8f
movsd xmm0, qword [str.bZ_A_Y_9]
movzx eax, byte [0x140101c70]
movsd qword [rbp - 0x18], xmm0
xorps xmm0, xmm0
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
xor byte [rbp - 0x15], 0x34
xor byte [rbp - 0x14], 0x35
xor byte [rbp - 0x13], 0x36
xor byte [rbp - 0x12], 0x37
xor byte [rbp - 0x11], 0x38
xor al, 0x39
mov byte [rbp - 0x18], 0x53
movups xmmword [rbx], xmm0
mov byte [rbp - 0x10], al
lea rax, [rbp - 0x18]
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
nop
inc r8
cmp byte [rax + r8], r10b
jne 0x140046bb0
lea rdx, [rbp - 0x18]
jmp 0x140046e93
cmp byte [0x14010183b], r10b
movsd xmm0, qword [str.cW__TRV]
mov eax, dword [0x140101838]
movsd qword [rbp - 0x18], xmm0
mov dword [rbp - 0x10], eax
je 0x140046d24
cmp dword [0x140110090], 2
mov r8d, r10d
jl 0x140046ce0
movdqa xmm2, xmmword [0x140103f80]
mov r8d, 8
movdqa xmm4, xmmword [0x140104340]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140103fb0]
psubd xmm2, xmm0
movd xmm0, dword [str.cW__TRV]
andps xmm2, xmmword [0x140103fc0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140103ff0]
xorps xmm2, xmm0
movd dword [rbp - 0x18], xmm2
movdqa xmm2, xmmword [0x140103f90]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140103fb0]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x14]
andps xmm2, xmmword [0x140103fc0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140103ff0]
xorps xmm2, xmm0
movd dword [rbp - 0x14], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x18]
add r9, rax
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x140046cf0
xorps xmm0, xmm0
lea rax, [rbp - 0x18]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r10
mov r8, 0xffffffffffffffff
mov qword [rbx + 0x18], r10
nop dword [rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140046d40
lea rdx, [rbp - 0x18]
jmp 0x140046e93
movsd xmm0, qword [str.bZ_A_Y_9]
mov r8, 0xffffffffffffffff
movzx eax, byte [0x140101c70]
movsd qword [rbp - 0x18], xmm0
xorps xmm0, xmm0
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
xor byte [rbp - 0x15], 0x34
xor byte [rbp - 0x14], 0x35
xor byte [rbp - 0x13], 0x36
xor byte [rbp - 0x12], 0x37
xor byte [rbp - 0x11], 0x38
xor al, 0x39
mov byte [rbp - 0x18], 0x53
movups xmmword [rbx], xmm0
mov byte [rbp - 0x10], al
lea rax, [rbp - 0x18]
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
inc r8
cmp byte [rax + r8], r10b
jne 0x140046da4
lea rdx, [rbp - 0x18]
jmp 0x140046e93
movsd xmm0, qword [str.bZ_A_Y_9]
mov r8, 0xffffffffffffffff
movzx eax, byte [0x140101c70]
movsd qword [rbp - 0x18], xmm0
xorps xmm0, xmm0
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
xor byte [rbp - 0x15], 0x34
xor byte [rbp - 0x14], 0x35
xor byte [rbp - 0x13], 0x36
xor byte [rbp - 0x12], 0x37
xor byte [rbp - 0x11], 0x38
xor al, 0x39
mov byte [rbp - 0x18], 0x53
movups xmmword [rbx], xmm0
mov byte [rbp - 0x10], al
lea rax, [rbp - 0x18]
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r10b
jne 0x140046e10
lea rdx, [rbp - 0x18]
jmp 0x140046e93
movsd xmm0, qword [str.x_DPUCQW__]
mov r8, 0xffffffffffffffff
movzx ecx, word [0x1401034b0]
movzx eax, byte [0x1401034b2]
movsd qword [rbp - 0x18], xmm0
xorps xmm0, xmm0
xor byte [rbp - 0x17], 0x32
xor byte [rbp - 0x16], 0x33
xor byte [rbp - 0x15], 0x34
xor byte [rbp - 0x14], 0x35
xor byte [rbp - 0x13], 0x36
xor byte [rbp - 0x12], 0x37
xor byte [rbp - 0x11], 0x38
mov word [rbp - 0x10], cx
xor cl, 0x39
xor byte [rbp - 0xf], 0x3a
xor al, 0x3b
mov byte [rbp - 0x18], 0x49
movups xmmword [rbx], xmm0
mov byte [rbp - 0xe], al
lea rax, [rbp - 0x18]
mov byte [rbp - 0x10], cl
mov qword [rbx + 0x10], r10
mov qword [rbx + 0x18], r10
inc r8
cmp byte [rax + r8], r10b
jne 0x140046e86
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.14008eab0
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rbp
ret