Function at 0x1400bd7b0
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.1400bf0a0
lea rcx, [rsp + 0x68]
call fcn.1400bf0f0
xor r15d, r15d
test al, al
je 0x1400bdd50
lea ecx, [r15 + 0x58]
mov qword [rsp + 0x48], r15
call fcn.1400e282c
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 [0x140113480]
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 [0x140118a08]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140118a0c]
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 0x1400bd8a0
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.14000e8e0
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.1400bbfd0
cmp dword [0x14024e2c0], 2
mov r8d, r15d
movups xmm0, xmmword [0x1401189b0]
movups xmm1, xmmword [0x1401189c0]
mov eax, dword [0x1401189f0]
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 8], eax
movups xmm0, xmmword [0x1401189d0]
movzx eax, word [0x1401189f4]
movups xmmword [rbp - 0x38], xmm1
mov word [rbp - 4], ax
movups xmm1, xmmword [0x1401189e0]
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
jl 0x1400bdaa5
movdqa xmm5, xmmword [0x140112370]
lea rcx, [rbp - 0x48]
movdqa xmm4, xmmword [0x140117270]
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 [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 0x1400bd990
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
cmp r8d, 0x23
jge 0x1400bdae5
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 0x1400bdab0
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 0x1400bdb00
mov r8, rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000e8e0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1400bf8b0
mov rdx, qword [rbp - 0x70]
movzx esi, al
cmp rdx, 8
jb 0x1400bdb78
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400bdb73
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bde02
call fcn.1400e2868
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
test rbx, rbx
je 0x1400bdbfd
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x1400bdbb6
nop
mov rcx, rbx
call fcn.140006270
add rbx, 0x20
cmp rbx, rdi
jne 0x1400bdba0
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rax, rbx
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400bdbe7
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400bde02
mov rcx, rbx
call fcn.1400e2868
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 0x1400bdc56
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400bdc51
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400bde02
mov rcx, r8
call fcn.1400e2868
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
test rdi, rdi
jne 0x1400bdc10
mov r8, qword [rsp + 0x40]
test sil, sil
je 0x1400bdcf4
mov rax, qword [r8]
cmp rax, r8
je 0x1400bdcf4
mov rdx, qword [rax + 0x40]
mov rcx, qword [rax + 0x48]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x1400bde08
cmp qword [rdx + 0x10], r15
ja 0x1400bdd89
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r15b
je 0x1400bdccf
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r15b
jne 0x1400bdcca
cmp rax, qword [rcx + 0x10]
jne 0x1400bdcca
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r15b
je 0x1400bdcb7
mov rax, rcx
jmp 0x1400bdcef
mov rdx, qword [rcx]
mov rax, rcx
cmp byte [rdx + 0x19], r15b
jne 0x1400bdcef
nop dword [rax + rax]
mov rcx, qword [rdx]
mov rax, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], r15b
je 0x1400bdce0
cmp rax, r8
jne 0x1400bdc81
mov rsi, qword [r8 + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400bdd43
nop
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400bbf40
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400bde10
lea rcx, [rdi + 0x20]
call fcn.140006270
mov edx, 0x58
mov rcx, rdi
call fcn.1400e2868
cmp byte [rsi + 0x19], r15b
je 0x1400bdd00
mov r8, qword [rsp + 0x40]
mov edx, 0x58
mov rcx, r8
call fcn.1400e2868
mov qword [r14], r15
mov qword [r14 + 0x18], select
mov qword [r14 + 0x10], r15
lea rcx, [rsp + 0x68]
call fcn.1400bf0b0
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.1400af260
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400bddf3
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400bbf40
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400bde10
lea rcx, [rdi + 0x20]
call fcn.140006270
mov edx, 0x58
mov rcx, rdi
call fcn.1400e2868
cmp byte [rsi + 0x19], r15b
je 0x1400bddb0
mov rcx, qword [rsp + 0x40]
mov edx, 0x58
call fcn.1400e2868
jmp 0x1400bdd5f
call fcn.1400e951c
int3
call fcn.1400a2560
int3