Function at 0x140011780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1401d3b98]
xor rax, rsp
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [str.AUWTL_n_bDM_Q_.4C]
movzx eax, byte [0x1401bb468]
mov r10, r8
xor r8d, r8d
mov byte [rsp + 0x30], al
cmp dword [0x1401d3ba8], 2
mov rbx, rdx
movups xmmword [rsp + 0x20], xmm0
mov rdi, rcx
mov r9d, r8d
jl 0x14001194c
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rsp + 0x24]
movdqa xmm5, xmmword [0x1401bba40]
mov eax, 4
movdqa xmm4, xmmword [0x1401bba90]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1401bba60]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm8
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movd xmm8, eax
nop dword [rax]
nop dword [rax + rax]
movd xmm2, r9d
lea eax, [r9 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r9d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
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
pand xmm2, xmmword [0x1401bba70]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
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, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401bba70]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r9d, 0x10
jl 0x140011830
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp r9d, 0x11
jge 0x140011991
movsxd rax, r9d
lea r11, [rsp + 0x20]
add r11, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r11, [r11 + 1]
imul r9d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r9b
inc r9d
sub al, cl
add al, 0x33
xor byte [r11 - 1], al
cmp r9d, 0x11
jl 0x140011960
movups xmm0, xmmword [rsp + 0x20]
mov r9d, r8d
mov r11, r8
movups xmmword [rsp + 0x40], xmm0
nop dword [rax]
nop word [rax + rax]
mov eax, 0xcccccccd
lea r11, [r11 + 0x14]
mul r9d
add r9d, 0x14
shr edx, 4
lea rcx, [rdx*4]
movzx eax, byte [rsp + rcx + 0x40]
mov byte [r11 + r10 - 0x14], al
movzx eax, byte [rsp + rcx + 0x41]
mov byte [r10 + r11 - 0x13], al
movzx eax, byte [rsp + rcx + 0x42]
mov byte [r10 + r11 - 0x12], al
movzx eax, byte [rsp + rcx + 0x43]
mov byte [r10 + r11 - 0x11], al
cmp r9d, 0x40
jl 0x1400119b0
lea rcx, [r10 + 4]
lea rax, [rbx + 0xf]
lea rdx, [r10 + 0x3b]
cmp rcx, rax
ja 0x140011a0f
cmp rdx, rbx
jae 0x140011a1d
lea rax, [rdi + 0x1f]
cmp rcx, rax
ja 0x140011a4b
cmp rdx, rdi
jb 0x140011a4b
sub rbx, rdi
movzx eax, byte [r8 + rdi]
lea rcx, [r8 + rdi]
mov byte [r10 + r8 + 4], al
movzx eax, byte [rcx + 0x10]
mov byte [r10 + r8 + 0x2c], al
movzx eax, byte [rcx + rbx]
mov byte [r10 + r8 + 0x18], al
inc r8
cmp r8, 0x10
jl 0x140011a20
jmp 0x140011a62
movups xmm0, xmmword [rdi]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [r10 + 0x2c], xmm0
movups xmm0, xmmword [rbx]
movups xmmword [r10 + 0x18], xmm0
mov rcx, r10
call fcn.1400112b0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14010fe10
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret