Function at 0x140046510
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rdi
push rbp
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
mov rax, qword [0x14017dbd0]
xor rax, rsp
mov qword [rbp + 0x17], rax
movups xmm0, xmmword [str.xCK_ZHXmQ_111F]
movzx eax, byte [0x1401649b0]
xor edi, edi
cmp dword [0x14017dbe8], 2
mov ecx, edi
movups xmmword [rbp - 0x39], xmm0
mov byte [rbp - 0x29], al
jl 0x1400466d3
movdqa xmm0, xmmword [str.6666666666666666]
lea rdx, [rbp - 0x35]
movdqa xmm5, xmmword [0x1401665a0]
mov eax, 5
movdqa xmm4, xmmword [0x140166690]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x1401665e0]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x38], xmm8
movdqa xmmword [rbp - 0x49], xmm0
mov r8d, dword [rbp - 0x49]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x140166640]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140166640]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400465b0
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0xc0]
cmp ecx, 0x11
jge 0x14004670f
movsxd rax, ecx
lea r8, [rbp - 0x39]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x1400466e0
cmp byte [0x140164999], dil
movsd xmm0, qword [str.XCUV]
movzx eax, word [0x140164998]
movsd qword [rbp - 0x49], xmm0
mov word [rbp - 0x41], ax
je 0x140046758
xor byte [rbp - 0x48], 0x37
xor byte [rbp - 0x47], 0x38
xor byte [rbp - 0x46], 0x39
xor byte [rbp - 0x45], 0x3a
xor byte [rbp - 0x44], 0x3b
xor byte [rbp - 0x43], 0x3c
xor byte [rbp - 0x42], 0x3d
xor byte [rbp - 0x41], 0x3e
xor byte [rbp - 0x40], 0x3f
mov byte [rbp - 0x49], 0x6e
lea rdx, [rbp - 0x49]
call fcn.140045960
lea r8, [rbp - 0x39]
mov rdx, rax
call fcn.140045ac0
mov rbx, rax
test rax, rax
je 0x1400467c5
xorps xmm0, xmm0
mov qword [rbp - 0x21], rdi
movdqu xmmword [rbp + 7], xmm0
mov qword [rbp - 0x19], 0x30
mov qword [rbp - 1], rdi
mov qword [rbp - 0x11], rdi
mov qword [rbp - 9], rdi
call fcn.140045de0
mov rcx, rax
lea r8, [rbp - 0x19]
lea rax, [rbp - 0x21]
mov r9d, 2
mov qword [rsp + 0x28], rax
mov edx, 0x1fffff
mov dword [rsp + 0x20], edi
call rbx
test eax, eax
js 0x1400467c5
mov rax, qword [rbp - 0x21]
jmp 0x1400467c7
xor eax, eax
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140095fb0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret