Function at 0x140001b00
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
cmp byte [0x14001b9cb], 0
mov rbx, rdx
movsd xmm0, qword [str.tJ_OYWS_]
mov eax, dword [0x14001b9c8]
mov r10d, dword [0x140150018]
mov qword [rsp + 0x80], rdi
mov edi, 0x1f
movaps xmmword [rsp + 0x60], xmm6
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
lea r11d, [rdi - 0x1a]
je 0x140001ca4
xor r8d, r8d
cmp r10d, 2
jl 0x140001c61
movdqa xmm2, xmmword [0x14014d750]
mov r8d, 8
movdqa xmm3, xmmword [0x14014d760]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14014d7f0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14014d790]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.tJ_OYWS_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14014d7a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.77777777777777779999999999999999]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rsp + 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14014d790]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rsp + 0x44]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14014d7a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.77777777777777779999999999999999]
xorps xmm2, xmm0
movd dword [rsp + 0x44], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax]
mov eax, 0x92492493
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, 0x38
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x37
xor byte [r9 - 1], al
cmp r8d, 0xc
jl 0x140001c70
mov eax, dword [0x14014d638]
xor ecx, ecx
movsd xmm0, qword [str._KTP]
mov dword [rsp + 0x58], eax
movzx eax, byte [0x14014d63c]
mov byte [rsp + 0x5c], al
movsd qword [rsp + 0x50], xmm0
cmp r10d, 2
jl 0x140001de1
movdqa xmm2, xmmword [0x14014d750]
mov ecx, 8
movdqa xmm3, xmmword [0x14014d760]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14014d7f0]
movdqa xmm0, xmm2
mov eax, dword [str.77777777777777779999999999999999]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r11d
movd xmm5, edi
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14014d790]
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, eax
paddb xmm2, xmm0
movd xmm0, dword [str._KTP]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rsp + 0x50], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14014d790]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14014d7a0]
movd xmm1, dword [rsp + 0x54]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
movaps xmm6, xmmword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov rdi, qword [rsp + 0x80]
movsxd rax, ecx
add r8, rax
nop dword [rax]
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, 0xd
jl 0x140001e00
lea rdx, [rsp + 0x50]
call fcn.1400011b0
lea r8, [rsp + 0x40]
mov rdx, rax
call fcn.140001310
test rax, rax
je 0x140001e7a
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rbx
call rax
add rsp, 0x70
pop rbx
ret
mov rax, 0xffffffffffffffff
add rsp, 0x70
pop rbx
ret