Function at 0x140001840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14006be50]
xor ebx, ebx
movsd xmm0, qword [0x14006be48]
mov rdi, rcx
mov esi, dword [0x140079088]
mov r8d, ebx
mov dword [rbp - 8], eax
movzx eax, byte [0x14006be54]
mov byte [rbp - 4], al
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x14000198f
movdqa xmm2, xmmword [0x14006d690]
mov r8d, 8
movdqa xmm3, xmmword [0x14006d6a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14006d710]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006d6b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14006be48]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006d6d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x10], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006d6b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0xc]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006d6d0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
xorps xmm2, xmm0
movd dword [rbp - 0xc], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x10]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x1400019a0
lea rcx, [rbp - 0x10]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d73
movzx ecx, word [0x14006be60]
movzx eax, byte [0x14006be62]
movsd xmm0, qword [str.g_qg]
xor al, 0x3c
movsd qword [rbp - 0x10], xmm0
xor byte [rbp - 0xf], 0x33
xor byte [rbp - 0xe], 0x34
xor byte [rbp - 0xd], 0x35
xor byte [rbp - 0xc], 0x36
xor byte [rbp - 0xb], 0x37
xor byte [rbp - 0xa], 0x38
xor byte [rbp - 9], 0x39
mov word [rbp - 8], cx
xor cl, 0x3a
xor byte [rbp - 7], 0x3b
mov byte [rbp - 8], cl
lea rcx, [rbp - 0x10]
mov byte [rbp - 0x10], 0x55
mov byte [rbp - 6], al
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d73
mov eax, dword [0x14006be70]
mov r8d, ebx
movsd xmm0, qword [str.eGGTF_v_v]
mov dword [rbp - 8], eax
movzx eax, byte [0x14006be74]
mov byte [rbp - 4], al
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x140001b8f
movdqa xmm2, xmmword [0x14006d690]
mov r8d, 8
movdqa xmm3, xmmword [0x14006d6a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14006d710]
movdqa xmm0, xmm2
mov eax, dword [str.2222222222222222]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006d6b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006d6d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.eGGTF_v_v]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x10], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006d6b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006d6d0]
movd xmm1, dword [rbp - 0xc]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0xc], xmm2
movsxd rax, r8d
lea r9, [rbp - 0x10]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
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, 0x33
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140001ba0
lea rcx, [rbp - 0x10]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
test rax, rax
jne 0x140001d73
mov eax, dword [0x14006be80]
movsd xmm0, qword [str.yVF_S__v_v]
mov dword [rbp - 8], eax
movzx eax, byte [0x14006be84]
mov byte [rbp - 4], al
movsd qword [rbp - 0x10], xmm0
cmp esi, 2
jl 0x140001d20
movdqa xmm2, xmmword [0x14006d690]
mov ebx, 8
movdqa xmm3, xmmword [0x14006d6a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x14006d710]
movdqa xmm0, xmm2
mov eax, dword [str.2222222222222222]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006d6b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14006d6d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.yVF_S__v_v]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 0x10], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14006d6b0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14006d6d0]
movd xmm1, dword [rbp - 0xc]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 0xc], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x10]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0xd
jl 0x140001d30
lea rcx, [rbp - 0x10]
call fcn.1400015b0
mov rcx, rax
mov rdx, rdi
call fcn.140001760
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop rbp
ret