Function at 0x1400beb90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rax + 0x10], r12
mov rsi, rdx
mov rdi, rcx
mov qword [rax - 0x30], r13
add rcx, 0x48
mov qword [rax - 0x38], r15
lea rdx, [rbp - 0x38]
call fcn.1400c0d00
mov r14, rax
cmp qword [rax + 0x18], 8
jb 0x1400bebd1
mov r14, qword [rax]
lea rcx, [rdi + 0x44]
lea rdx, [rbp - 0x58]
call fcn.1400c0d00
mov rbx, rax
cmp qword [rax + 0x18], 8
jb 0x1400bebeb
mov rbx, qword [rax]
lea rcx, [rdi + 0x40]
lea rdx, [rbp - 0x78]
call fcn.1400c0d00
mov r11, rax
cmp qword [rax + 0x18], 8
jb 0x1400bec05
mov r11, qword [rax]
cmp qword [rdi + 0x20], 0x10
lea r15, [rdi + 8]
mov eax, dword [rdi + 0x30]
mov r12d, dword [rdi + 0x3c]
mov r13d, dword [rdi + 0x38]
mov r9d, dword [rdi + 0x34]
mov dword [rbp + 0xb0], eax
mov eax, dword [rdi + 4]
mov dword [rbp + 0xc0], eax
mov eax, dword [rdi + 0x28]
mov dword [rbp + 0xc8], eax
mov eax, dword [rdi + 0x2c]
mov dword [rbp - 0x80], eax
mov eax, dword [rdi]
mov dword [rbp - 0x7c], eax
jb 0x1400bec45
mov r15, qword [r15]
movups xmm0, xmmword [0x140118aa0]
xor eax, eax
cmp dword [0x14024e2c0], 2
mov r8d, eax
movups xmm1, xmmword [0x140118ab0]
movups xmmword [rbp - 0x18], xmm0
movups xmm0, xmmword [0x140118ac0]
movups xmmword [rbp + 8], xmm0
movsd xmm0, qword [0x140118ae0]
movups xmmword [rbp - 8], xmm1
movups xmm1, xmmword [0x140118ad0]
movsd qword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x18], xmm1
jl 0x1400bee05
movdqa xmm5, xmmword [0x140112370]
lea rcx, [rbp - 0x18]
movdqa xmm4, xmmword [0x1401123c0]
mov eax, 1
movaps xmmword [rsp + 0x160], xmm6
movaps xmmword [rsp + 0x150], xmm7
movdqa xmm7, xmmword [0x140112390]
movaps xmmword [rsp + 0x140], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x130], xmm9
movdqa xmm9, xmmword [0x140117260]
movd xmm8, eax
nop word [rax + rax]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add r8d, 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 r8d, 0x20
jl 0x1400becf0
movaps xmm9, xmmword [rsp + 0x130]
movaps xmm8, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x160]
cmp r8d, 0x24
jge 0x1400bee44
movsxd rax, r8d
lea r10, [rbp - 0x18]
lea r10, [r10 + rax*2]
mov eax, 0x94f2095
lea r10, [r10 + 2]
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x37
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r10 - 2], ax
cmp r8d, 0x24
jl 0x1400bee10
mov eax, dword [rbp + 0xb0]
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x68], r14
mov r8, r15
mov qword [rsp + 0x60], rbx
mov rcx, rsi
mov qword [rsp + 0x58], r11
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x40], r9d
mov r9d, dword [rbp - 0x7c]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp - 0x80]
mov dword [rsp + 0x20], eax
call fcn.1400ae230
mov rdx, qword [rbp - 0x60]
mov r15, qword [rsp + 0x170]
mov r13, qword [rsp + 0x178]
mov r12, qword [rsp + 0x1b8]
cmp rdx, 8
jb 0x1400beef2
mov rcx, qword [rbp - 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400beeed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf086
call fcn.1400e2868
mov rdx, qword [rbp - 0x40]
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
cmp rdx, 8
jb 0x1400bef44
mov rcx, qword [rbp - 0x58]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bef3f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf086
call fcn.1400e2868
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
cmp rdx, 8
jb 0x1400bef94
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bef8f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf086
call fcn.1400e2868
mov rbx, qword [rdi + 0x50]
mov rdi, qword [rdi + 0x58]
cmp rbx, rdi
je 0x1400bf075
mov r14d, 0x5f
nop dword [rax + rax]
mov eax, dword [0x140118af0]
lea rdx, [rsp + 0x70]
movsd xmm0, qword [0x140118ae8]
lea rcx, [rbp - 0x38]
movzx r9d, word [rbx + 2]
movzx r8d, word [rbx]
mov dword [rsp + 0x78], eax
movzx eax, word [0x140118af4]
xor word [rsp + 0x78], 0x35
xor ax, 0x37
xor word [rsp + 0x7a], 0x36
movsd qword [rsp + 0x70], xmm0
xor word [rsp + 0x72], 0x32
xor word [rsp + 0x74], 0x33
xor word [rsp + 0x76], 0x34
mov word [rsp + 0x7c], ax
mov word [rsp + 0x70], r14w
call fcn.1400ae230
cmp qword [rax + 0x18], 8
mov r8, qword [rax + 0x10]
jb 0x1400bf021
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.1400a8720
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400bf068
mov rcx, qword [rbp - 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bf063
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bf08c
call fcn.1400e2868
add rbx, 4
cmp rbx, rdi
jne 0x1400befb0
mov rax, rsi
add rsp, 0x180
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400e951c
int3
call fcn.1400e951c
int3