Function at 0x1400be4d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
lea rcx, [rsp + 0x68]
mov r14, rdx
call fcn.1400bfdc0
lea rcx, [rsp + 0x68]
call fcn.1400bfe10
xor r15d, r15d
test al, al
je 0x1400bea70
lea ecx, [r15 + 0x58]
mov qword [rsp + 0x48], r15
call fcn.1400e354c
movups xmm0, xmmword [str.aSA_CZZH_]
mov ecx, 0x50
mov qword [rbp - 0x68], r15
mov rbx, 0xffffffffffffffff
movups xmmword [rsp + 0x20], xmm0
xor word [rsp + 0x22], 0x32
mov r8, rbx
xor word [rsp + 0x24], 0x33
xor word [rsp + 0x26], 0x34
xor word [rsp + 0x28], 0x35
xor word [rsp + 0x2a], 0x36
xor word [rsp + 0x2c], 0x37
xor word [rsp + 0x2e], 0x38
movdqa xmm0, xmmword [0x140114480]
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsp + 0x40], rax
mov eax, dword [0x140119a18]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140119a1c]
xor word [rsp + 0x30], 0x39
xor word [rsp + 0x32], 0x3a
xor ax, 0x3b
mov word [rsp + 0x20], cx
mov word [rsp + 0x34], ax
lea rax, [rsp + 0x20]
movdqu xmmword [rbp - 0x58], xmm0
nop dword [rax]
inc r8
cmp word [rax + r8*2], r15w
jne 0x1400be5c0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.14000e980
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x70]
lea rax, [rbp - 0x48]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x50]
call fcn.1400bcd00
cmp dword [0x14024f2c0], 2
mov r8d, r15d
movups xmm0, xmmword [0x1401199c0]
movups xmm1, xmmword [0x1401199d0]
mov eax, dword [0x140119a00]
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 8], eax
movups xmm0, xmmword [0x1401199e0]
movzx eax, word [0x140119a04]
movups xmmword [rbp - 0x38], xmm1
mov word [rbp - 4], ax
movups xmm1, xmmword [0x1401199f0]
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
jl 0x1400be7c5
movdqa xmm5, xmmword [0x140113370]
lea rcx, [rbp - 0x48]
movdqa xmm4, xmmword [0x140119a40]
mov eax, 4
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
movdqa xmm7, xmmword [str.4444]
movaps xmmword [rsp + 0x110], xmm8
movd xmm6, eax
mov eax, 0x1f
movaps xmmword [rsp + 0x100], xmm9
movdqa xmm9, xmmword [str.11111111]
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 0x1400be6b0
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
cmp r8d, 0x23
jge 0x1400be805
movsxd rax, r8d
lea r9, [rbp - 0x48]
lea r9, [r9 + rax*2]
mov eax, 0x4ec4ec4f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x34
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x23
jl 0x1400be7d0
mov qword [rsp + 0x78], r15
lea rax, [rbp - 0x48]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1400be820
mov r8, rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000e980
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1400c05d0
mov rdx, qword [rbp - 0x70]
movzx esi, al
cmp rdx, 8
jb 0x1400be898
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400be893
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400beb22
call fcn.1400e3588
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
test rbx, rbx
je 0x1400be91d
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x1400be8d6
nop
mov rcx, rbx
call fcn.140006260
add rbx, 0x20
cmp rbx, rdi
jne 0x1400be8c0
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rax, rbx
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400be907
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400beb22
mov rcx, rbx
call fcn.1400e3588
xorps xmm0, xmm0
mov qword [rsp + 0x50], r15
movdqu xmmword [rsp + 0x58], xmm0
mov edi, 1
lea rbx, [rbp - 0x48]
nop word [rax + rax]
mov rdx, qword [rbx - 8]
lea rbx, [rbx - 0x20]
dec rdi
cmp rdx, 8
jb 0x1400be976
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400be971
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400beb22
mov rcx, r8
call fcn.1400e3588
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
test rdi, rdi
jne 0x1400be930
mov r8, qword [rsp + 0x40]
test sil, sil
je 0x1400bea14
mov rax, qword [r8]
cmp rax, r8
je 0x1400bea14
mov rdx, qword [rax + 0x40]
mov rcx, qword [rax + 0x48]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x1400beb28
cmp qword [rdx + 0x10], r15
ja 0x1400beaa9
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r15b
je 0x1400be9ef
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r15b
jne 0x1400be9ea
cmp rax, qword [rcx + 0x10]
jne 0x1400be9ea
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r15b
je 0x1400be9d7
mov rax, rcx
jmp 0x1400bea0f
mov rdx, qword [rcx]
mov rax, rcx
cmp byte [rdx + 0x19], r15b
jne 0x1400bea0f
nop dword [rax + rax]
mov rcx, qword [rdx]
mov rax, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], r15b
je 0x1400bea00
cmp rax, r8
jne 0x1400be9a1
mov rsi, qword [r8 + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400bea63
nop
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400bcc70
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400beb30
lea rcx, [rdi + 0x20]
call fcn.140006260
mov edx, 0x58
mov rcx, rdi
call fcn.1400e3588
cmp byte [rsi + 0x19], r15b
je 0x1400bea20
mov r8, qword [rsp + 0x40]
mov edx, 0x58
mov rcx, r8
call fcn.1400e3588
mov qword [r14], r15
mov qword [r14 + 0x18], select
mov qword [r14 + 0x10], r15
lea rcx, [rsp + 0x68]
call fcn.1400bfdd0
lea r11, [rsp + 0x140]
mov rax, r14
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor r8d, r8d
mov rcx, r14
call fcn.1400affa0
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400beb13
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400bcc70
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400beb30
lea rcx, [rdi + 0x20]
call fcn.140006260
mov edx, 0x58
mov rcx, rdi
call fcn.1400e3588
cmp byte [rsi + 0x19], r15b
je 0x1400bead0
mov rcx, qword [rsp + 0x40]
mov edx, 0x58
call fcn.1400e3588
jmp 0x1400bea7f
call fcn.1400ea23c
int3
call fcn.1400a3270
int3