Function at 0x1400b6930
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 0x1400b6962
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 0x1400b6996
lea rcx, [rbp - 0x49]
call fcn.14000eac0
lea rdx, [rbp - 0x49]
lea rcx, [0x1402586c0]
call fcn.1400bf900
mov rdx, qword [rbp - 0x31]
mov r14, rax
cmp rdx, 8
jb 0x1400b69fc
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b69f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b6d1d
call fcn.1400e8bd0
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
mov word [rbp - 0x49], bx
test r14, r14
je 0x1400b6a28
inc dword [r14]
cmp dword [r14], 2
jl 0x1400b6a1f
mov byte [r14 + 0x28], 1
lea rax, [r14 - 8]
jmp 0x1400b6cf1
lea r8, [rbp + 0x67]
mov qword [rbp + 0x67], rbx
mov rdx, rsi
lea rcx, [0x1402586c0]
call fcn.1400bfa20
test al, al
jne 0x1400b6c46
cmp dword [0x1402557d0], 2
movups xmm0, xmmword [str.e_SQXP]
mov eax, dword [0x14011e800]
movups xmm1, xmmword [0x14011e7e0]
mov dword [rbp - 0x19], eax
movzx eax, word [0x14011e804]
movups xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x15], ax
movups xmm0, xmmword [0x14011e7f0]
movups xmmword [rbp - 0x39], xmm1
movups xmmword [rbp - 0x29], xmm0
jl 0x1400b6bf2
movdqa xmm5, xmmword [0x140118390]
lea rcx, [rbp - 0x49]
movdqa xmm4, xmmword [0x1401183f0]
mov eax, 5
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
movdqa xmm7, xmmword [0x1401183b0]
movaps xmmword [rsp + 0x70], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x60], xmm9
movdqa xmm9, xmmword [str.00000000]
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
paddd xmm1, xmm2
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
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
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 0x1400b6ae0
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
cmp ebx, 0x1b
jge 0x1400b6c33
movsxd rax, ebx
lea r8, [rbp - 0x49]
lea r8, [r8 + rax*2]
nop dword [rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 2]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x30
xor word [r8 - 2], ax
cmp ebx, 0x1b
jl 0x1400b6c00
mov rdx, rsi
lea rcx, [rbp - 0x49]
call fcn.1400ad210
xor eax, eax
jmp 0x1400b6cf1
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 0x1400b6cee
cmp byte [r15 + 0x50], bl
je 0x1400b6cee
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 7
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x1400b6c86
mov r8, rdi
lea rcx, [rbp - 0x49]
mov rdx, rsi
call fcn.14000eac0
lea r8, [r14 + 8]
lea rdx, [rbp - 0x49]
lea rcx, [0x1402586c0]
call fcn.1400bf690
mov rdx, qword [rbp - 0x31]
cmp rdx, 8
jb 0x1400b6cee
mov rcx, qword [rbp - 0x49]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b6ce9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b6d17
call fcn.1400e8bd0
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.1400ef88c
int3
call fcn.1400ef88c
int3