Function at 0x1400aa800
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push r12
push r15
lea rbp, [rsp - 0x3f]
sub rsp, 0xa8
cmp qword [rcx], 0
mov r12d, r8d
mov rsi, rdx
mov r15, rcx
jne 0x1400aa832
xor eax, eax
add rsp, 0xa8
pop r15
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0xd8], rbx
xor ebx, ebx
mov qword [rsp + 0xe0], rdi
mov rdi, 0xffffffffffffffff
mov r8, rdi
mov qword [rsp + 0xa0], r14
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
inc r8
cmp word [rdx + r8*2], bx
jne 0x1400aa866
lea rcx, [rbp - 0x49]
call fcn.14000e060
lea rdx, [rbp - 0x49]
lea rcx, [0x14024b0f0]
call fcn.1400b3860
mov rdx, qword [rbp - 0x31]
mov r14, rax
cmp rdx, 8
jb 0x1400aa8cc
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aa8c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aabeb
call fcn.1400dcd18
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], bx
test r14, r14
je 0x1400aa8f8
inc dword [r14]
cmp dword [r14], 2
jl 0x1400aa8ef
mov byte [r14 + 0x28], 1
lea rax, [r14 - 8]
jmp 0x1400aabbf
lea r8, [rbp + 0x67]
mov qword [rbp + 0x67], rbx
mov rdx, rsi
lea rcx, [0x14024b0f0]
call fcn.1400b3980
test al, al
jne 0x1400aab14
cmp dword [0x140248200], 2
movups xmm0, xmmword [str.dRVYS]
mov eax, dword [0x140111db0]
movups xmm1, xmmword [0x140111d90]
mov dword [rbp - 0x19], eax
movzx eax, word [0x140111db4]
movups xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x15], ax
movups xmm0, xmmword [0x140111da0]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
jl 0x1400aaaba
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rbp - 0x49]
movdqa xmm4, xmmword [0x14010c320]
mov eax, 4
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x14010c2e0]
movaps xmmword [rsp + 0x70], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm9
movdqa xmm9, xmmword [0x140110dc0]
movd xmm8, eax
nop dword [rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
pxor xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm9
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp ebx, 0x18
jl 0x1400aa9b0
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ebx, 0x1b
jge 0x1400aab01
movsxd rax, ebx
lea r8, [rbp - 0x49]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp ebx, 0x1b
jl 0x1400aaad0
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400a1310
xor eax, eax
jmp 0x1400aabbf
mov rcx, qword [r15]
mov r9d, r12d
mov rax, qword [rcx]
mov r10, qword [rax + 0x38]
mov rax, qword [rbp + 0x67]
mov r8d, dword [rax + 0xa4]
mov rdx, qword [rax + 0xb0]
call r10
mov r14, rax
test rax, rax
je 0x1400aabbc
cmp byte [r15 + 0x50], bl
je 0x1400aabbc
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x1400aab54
mov r8, rdi
lea rcx, [rbp - 0x49]
mov rdx, rsi
call fcn.14000e060
lea r8, [r14 + 8]
lea rdx, [rbp - 0x49]
lea rcx, [0x14024b0f0]
call fcn.1400b35f0
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400aabbc
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aabb7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aabe5
call fcn.1400dcd18
mov rax, r14
mov rdi, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
mov r14, qword [rsp + 0xa0]
add rsp, 0xa8
pop r15
pop r12
pop rsi
pop rbp
ret
call fcn.1400e39cc
int3
call fcn.1400e39cc
int3