Function at 0x1400aa2d0
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 0x1400aa302
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 0x1400aa336
lea rcx, [rbp - 0x49]
call fcn.14000dea0
lea rdx, [rbp - 0x49]
lea rcx, [0x14024b0f0]
call fcn.1400b3350
mov rdx, qword [rbp - 0x31]
mov r14, rax
cmp rdx, 8
jb 0x1400aa39c
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aa397
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aa6bb
call fcn.1400dc808
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], bx
test r14, r14
je 0x1400aa3c8
inc dword [r14]
cmp dword [r14], 2
jl 0x1400aa3bf
mov byte [r14 + 0x28], 1
lea rax, [r14 - 8]
jmp 0x1400aa68f
lea r8, [rbp + 0x67]
mov qword [rbp + 0x67], rbx
mov rdx, rsi
lea rcx, [0x14024b0f0]
call fcn.1400b3470
test al, al
jne 0x1400aa5e4
cmp dword [0x140248200], 2
movups xmm0, xmmword [str.dRVYS]
mov eax, dword [0x140111da0]
movups xmm1, xmmword [0x140111d80]
mov dword [rbp - 0x19], eax
movzx eax, word [0x140111da4]
movups xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x15], ax
movups xmm0, xmmword [0x140111d90]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
jl 0x1400aa58a
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 [str.11111111]
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 0x1400aa480
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ebx, 0x1b
jge 0x1400aa5d1
movsxd rax, ebx
lea r8, [rbp - 0x49]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 2]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp ebx, 0x1b
jl 0x1400aa5a0
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400a0e70
xor eax, eax
jmp 0x1400aa68f
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 0x1400aa68c
cmp byte [r15 + 0x50], bl
je 0x1400aa68c
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x1400aa624
mov r8, rdi
lea rcx, [rbp - 0x49]
mov rdx, rsi
call fcn.14000dea0
lea r8, [r14 + 8]
lea rdx, [rbp - 0x49]
lea rcx, [0x14024b0f0]
call fcn.1400b30e0
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400aa68c
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400aa687
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400aa6b5
call fcn.1400dc808
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.1400e34bc
int3
call fcn.1400e34bc
int3