Function at 0x1400b7460
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 0x1400b7492
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 0x1400b74c6
lea rcx, [rbp - 0x49]
call fcn.14000e870
lea rdx, [rbp - 0x49]
lea rcx, [0x1402596c0]
call fcn.1400c0470
mov rdx, qword [rbp - 0x31]
mov r14, rax
cmp rdx, 8
jb 0x1400b752c
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7527
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b784b
call fcn.1400e9750
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], bx
test r14, r14
je 0x1400b7558
inc dword [r14]
cmp dword [r14], 2
jl 0x1400b754f
mov byte [r14 + 0x28], 1
lea rax, [r14 - 8]
jmp 0x1400b781f
lea r8, [rbp + 0x67]
mov qword [rbp + 0x67], rbx
mov rdx, rsi
lea rcx, [0x1402596c0]
call fcn.1400c0590
test al, al
jne 0x1400b7774
cmp dword [0x1402567d0], 2
movups xmm0, xmmword [str.dRVYS]
mov eax, dword [0x14011f7e0]
movups xmm1, xmmword [0x14011f7c0]
mov dword [rbp - 0x19], eax
movzx eax, word [0x14011f7e4]
movups xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x15], ax
movups xmm0, xmmword [0x14011f7d0]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
jl 0x1400b771a
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rbp - 0x49]
movdqa xmm4, xmmword [0x14011d140]
mov eax, 4
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [str.6666]
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 0x1400b7610
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ebx, 0x1b
jge 0x1400b7761
movsxd rax, ebx
lea r8, [rbp - 0x49]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 2]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x36
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x31
xor word [r8 - 2], ax
cmp ebx, 0x1b
jl 0x1400b7730
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400add30
xor eax, eax
jmp 0x1400b781f
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 0x1400b781c
cmp byte [r15 + 0x50], bl
je 0x1400b781c
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x1400b77b4
mov r8, rdi
lea rcx, [rbp - 0x49]
mov rdx, rsi
call fcn.14000e870
lea r8, [r14 + 8]
lea rdx, [rbp - 0x49]
lea rcx, [0x1402596c0]
call fcn.1400c0200
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400b781c
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7817
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7845
call fcn.1400e9750
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.1400f040c
int3
call fcn.1400f040c
int3