Function at 0x14006a580
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1402a1240]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edi, edi
lea rcx, [rdx + 0xab0]
call fcn.14004ab90
mov rbp, rax
lea rcx, [rax + 0x10]
call fcn.14004a9b0
movsxd r14, eax
mov r15, r14
test eax, eax
jne 0x14006a6d1
mov eax, dword [str.xg9w8]
mov dword [rsp + 0x20], eax
cmp byte [0x140081fd3], dil
je 0x14006a699
mov r8d, edi
cmp dword [0x1402a12a0], 2
jl 0x14006a668
movdqa xmm3, xmmword [0x1400803f0]
movdqa xmm2, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x140083050]
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x140083050]
shufps xmm2, xmm0, 0xdd
psrad xmm2, 4
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [str.1111]
psubd xmm3, xmm0
andps xmm3, xmmword [0x140082fa0]
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmmword [str.6666666666666666]
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rsp + 0x20], xmm3
jmp 0x14006a699
lea r9, [rsp + 0x20]
nop dword [rax]
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 4
jl 0x14006a670
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], dil
jne 0x14006a6b3
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140049980
jmp 0x14006a83c
lea rcx, [rbx - 6]
and ecx, 8
call fcn.14004a910
test al, al
je 0x14006a73e
movzx eax, word [0x140081fd4]
mov word [rsp + 0x20], ax
movzx eax, byte [0x140081fd6]
mov byte [rsp + 0x20], 0x41
xor byte [rsp + 0x21], 0x37
xor al, 0x38
mov byte [rsp + 0x22], al
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rax + rbx], dil
jne 0x14006a720
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140049980
jmp 0x14006a83c
lea rcx, [rbp + 8]
call fcn.14004ab90
mov eax, 2
mul r15
mov rbx, 0xffffffffffffffff
cmovb rax, rbx
mov rcx, rax
call fcn.140076688
mov rbp, rax
mov rcx, rax
lea edx, [r14 - 1]
and edx, 3
lea r8d, [r14 - 1]
cmp edi, r8d
jge 0x14006a78d
add edx, 3
inc edi
movzx eax, dx
and ax, 7
add word [rcx], ax
add rcx, 2
jmp 0x14006a773
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
nop
inc rbx
cmp word [rbp + rbx*2], 0
jne 0x14006a7a0
mov r8, rbx
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.140049a80
nop
mov rcx, rbp
call fcn.140075e54
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rdx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x40]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x30]
cmova rdx, qword [rsp + 0x30]
lea r9, [rsp + 0x28]
mov rcx, rsi
call fcn.140049440
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14006a83c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006a837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006a837
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140075e54
mov rax, rsi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140075f70
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret