Function at 0x1400015e0
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rdi
push rbp
lea rbp, [r11 - 0x4f]
sub rsp, 0xb0
mov rax, qword [0x140150010]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov eax, dword [0x14014d670]
xor ecx, ecx
cmp dword [0x140150018], 2
mov rbx, rdx
movups xmm0, xmmword [str.yLiHTHX_K]
mov rdi, qword [rbp + 0x7f]
mov dword [rbp - 0x19], eax
movzx eax, word [0x14014d674]
mov word [rbp - 0x15], ax
movzx eax, byte [0x14014d676]
mov byte [rbp - 0x13], al
mov qword [rbp + 7], r9
mov qword [rbp - 9], rcx
movups xmmword [rbp - 0x29], xmm0
jl 0x1400017c5
movdqa xmm0, xmmword [str.77777777777777779999999999999999]
lea rdx, [rbp - 0x25]
movdqa xmm5, xmmword [0x14014d750]
mov eax, 5
movdqa xmm4, xmmword [0x14014d7f0]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movdqa xmm7, xmmword [0x14014d790]
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [r11 - 0x38], xmm8
movdqa xmmword [rbp - 0x39], xmm0
mov r8d, dword [rbp - 0x39]
movd xmm8, eax
nop dword [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
mov eax, ecx
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 [0x14014d7a0]
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 [0x14014d7a0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400016a0
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0xa0]
cmp eax, 0x17
jge 0x1400017ff
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop
mov eax, 0x92492493
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, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x37
xor byte [r8 - 1], al
cmp ecx, 0x17
jl 0x1400017d0
cmp byte [0x14014d611], 0
movsd xmm0, qword [str.YL_VW]
movzx eax, word [0x14014d610]
movsd qword [rbp - 0x39], xmm0
mov word [rbp - 0x31], ax
je 0x140001848
xor byte [rbp - 0x38], 0x38
xor byte [rbp - 0x37], 0x39
xor byte [rbp - 0x36], 0x3a
xor byte [rbp - 0x35], 0x3b
xor byte [rbp - 0x34], 0x3c
xor byte [rbp - 0x33], 0x3d
xor byte [rbp - 0x32], 0x3e
xor byte [rbp - 0x31], 0x3f
xor byte [rbp - 0x30], 0x40
mov byte [rbp - 0x39], 0x6e
lea rdx, [rbp - 0x39]
call fcn.1400011b0
lea r8, [rbp - 0x29]
mov rdx, rax
call fcn.140001310
test rax, rax
je 0x140001878
mov r9d, dword [rbp + 0x77]
lea r8, [rbp + 7]
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call rax
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140004120
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret