Function at 0x1400013a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
mov rbp, rsp
sub rsp, 0x58
cmp byte [0x1400a5011], 0
mov rdi, rcx
movsd xmm0, qword [0x1400a5008]
movzx eax, word [0x1400a5010]
movsd qword [rbp - 0x38], xmm0
mov word [rbp - 0x30], ax
je 0x1400013f6
xor byte [rbp - 0x37], 0x32
xor byte [rbp - 0x36], 0x33
xor byte [rbp - 0x35], 0x34
xor byte [rbp - 0x34], 0x35
xor byte [rbp - 0x33], 0x36
xor byte [rbp - 0x32], 0x37
xor byte [rbp - 0x31], 0x38
xor byte [rbp - 0x30], 0x39
xor byte [rbp - 0x2f], 0x3a
mov byte [rbp - 0x38], 0x4e
lea rcx, [rbp - 0x38]
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001d02
mov eax, dword [0x1400a4fc0]
movsd xmm0, qword [str.zwazpzuyj]
mov qword [rsp + 0x70], rbx
xor ebx, ebx
mov qword [rsp + 0x78], rsi
mov r8d, ebx
mov esi, dword [0x1400da008]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x50], r15
lea r14d, [rbx + 4]
mov dword [rbp - 0x30], eax
lea r15d, [rbx + 0x1f]
movzx eax, word [0x1400a4fc4]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x1400a4fc6]
movaps xmmword [rsp + 0x40], xmm6
mov byte [rbp - 0x2a], al
movaps xmmword [rsp + 0x30], xmm7
movsd qword [rbp - 0x38], xmm0
cmp esi, 2
jl 0x14000157a
movdqa xmm2, xmmword [0x1400c82b0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400c8380]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400c82c0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.zwazpzuyj]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x38], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x34]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.1111111111111111]
xorps xmm2, xmm0
movd dword [rbp - 0x34], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xf
jl 0x140001590
lea rcx, [rbp - 0x38]
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001ce1
mov eax, dword [0x1400a4fb0]
mov r8d, ebx
movsd xmm0, qword [str.zwazpz]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x1400a4fb4]
mov byte [rbp - 0x2c], al
movsd qword [rbp - 0x38], xmm0
cmp esi, 2
jl 0x14000170f
movdqa xmm2, xmmword [0x1400c82b0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400c8380]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400c82c0]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.zwazpz]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x38], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
movd xmm1, dword [rbp - 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x34], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001720
lea rcx, [rbp - 0x38]
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001ce1
mov eax, dword [0x1400a4fe0]
mov r8d, ebx
movsd xmm0, qword [str.ff_ue]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x1400a4fe4]
mov byte [rbp - 0x2c], al
movsd qword [rbp - 0x38], xmm0
cmp esi, 2
jl 0x14000189f
movdqa xmm2, xmmword [0x1400c82b0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400c8380]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400c82c0]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.ff_ue]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x38], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
movd xmm1, dword [rbp - 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x34], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400018b0
lea rcx, [rbp - 0x38]
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001ce1
movzx ecx, word [0x1400a5000]
movzx eax, byte [0x1400a5002]
movsd xmm0, qword [0x1400a4ff8]
xor al, 0x3b
movsd qword [rbp - 0x38], xmm0
xor byte [rbp - 0x37], 0x32
xor byte [rbp - 0x36], 0x33
xor byte [rbp - 0x35], 0x34
xor byte [rbp - 0x34], 0x35
xor byte [rbp - 0x33], 0x36
xor byte [rbp - 0x32], 0x37
xor byte [rbp - 0x31], 0x38
mov word [rbp - 0x30], cx
xor cl, 0x39
xor byte [rbp - 0x2f], 0x3a
mov byte [rbp - 0x30], cl
lea rcx, [rbp - 0x38]
mov byte [rbp - 0x38], 0x57
mov byte [rbp - 0x2e], al
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001ce1
movzx ecx, word [0x1400a4fa0]
movzx eax, byte [0x1400a4fa2]
movsd xmm0, qword [str.davf]
xor al, 0x3b
movsd qword [rbp - 0x38], xmm0
xor byte [rbp - 0x37], 0x32
xor byte [rbp - 0x36], 0x33
xor byte [rbp - 0x35], 0x34
xor byte [rbp - 0x34], 0x35
xor byte [rbp - 0x33], 0x36
xor byte [rbp - 0x32], 0x37
xor byte [rbp - 0x31], 0x38
mov word [rbp - 0x30], cx
xor cl, 0x39
xor byte [rbp - 0x2f], 0x3a
mov byte [rbp - 0x30], cl
lea rcx, [rbp - 0x38]
mov byte [rbp - 0x38], 0x55
mov byte [rbp - 0x2e], al
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001ce1
mov eax, dword [0x1400a4fd0]
mov r8d, ebx
movsd xmm0, qword [str.xbxewgq]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x1400a4fd4]
mov byte [rbp - 0x2c], al
movsd qword [rbp - 0x38], xmm0
cmp esi, 2
jl 0x140001b05
movdqa xmm2, xmmword [0x1400c82b0]
mov r8d, 8
movdqa xmm4, xmmword [0x1400c8380]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400c82c0]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.xbxewgq]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x38], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
movd xmm1, dword [rbp - 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x34], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x38]
add r9, rax
nop
mov eax, 0x4ec4ec4f
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x31
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001b10
lea rcx, [rbp - 0x38]
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
test rax, rax
jne 0x140001ce1
mov eax, dword [0x1400a4ff0]
movsd xmm0, qword [str.pveue]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x1400a4ff4]
mov byte [rbp - 0x2c], al
movsd qword [rbp - 0x38], xmm0
cmp esi, 2
jl 0x140001c8b
movdqa xmm2, xmmword [0x1400c82b0]
mov ebx, 8
movdqa xmm4, xmmword [0x1400c8380]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1400c82c0]
movdqa xmm0, xmm2
mov eax, dword [str.1111111111111111]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r14d
movd xmm5, r15d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400c82f0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.pveue]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x38], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400c82d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400c82f0]
movd xmm1, dword [rbp - 0x34]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0x34], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x38]
add r8, rax
nop word [rax + rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x34
movzx eax, bl
inc ebx
sub al, cl
add al, 0x31
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x140001ca0
lea rcx, [rbp - 0x38]
call fcn.140001f20
mov rcx, rax
mov rdx, rdi
call fcn.1400012c0
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
mov r14, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x50]
add rsp, 0x58
pop rdi
pop rbp
ret