Function at 0x1400b7780
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.1400b9070
lea rcx, [rsp + 0x68]
call fcn.1400b90c0
xor r15d, r15d
test al, al
je 0x1400b7d20
lea ecx, [r15 + 0x58]
mov qword [rsp + 0x48], r15
call fcn.1400dc7cc
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 [0x14010d3d0]
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 [0x1401124c8]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1401124cc]
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 0x1400b7870
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.14000dea0
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.1400b5fb0
cmp dword [0x140248200], 2
mov r8d, r15d
movups xmm0, xmmword [0x140112470]
movups xmm1, xmmword [0x140112480]
mov eax, dword [0x1401124b0]
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 8], eax
movups xmm0, xmmword [0x140112490]
movzx eax, word [0x1401124b4]
movups xmmword [rbp - 0x38], xmm1
mov word [rbp - 4], ax
movups xmm1, xmmword [0x1401124a0]
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
jl 0x1400b7a75
movdqa xmm5, xmmword [0x14010c2c0]
lea rcx, [rbp - 0x48]
movdqa xmm4, xmmword [0x140110070]
mov eax, 4
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
movdqa xmm7, xmmword [str.2222]
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 0x1400b7960
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
cmp r8d, 0x23
jge 0x1400b7ab5
movsxd rax, r8d
lea r9, [rbp - 0x48]
lea r9, [r9 + rax*2]
mov eax, 0x51eb851f
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x32
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x23
jl 0x1400b7a80
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 0x1400b7ad0
mov r8, rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000dea0
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1400b9880
mov rdx, qword [rbp - 0x70]
movzx esi, al
cmp rdx, 8
jb 0x1400b7b48
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b7b43
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7dd2
call fcn.1400dc808
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
test rbx, rbx
je 0x1400b7bcd
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x1400b7b86
nop
mov rcx, rbx
call fcn.140006290
add rbx, 0x20
cmp rbx, rdi
jne 0x1400b7b70
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rax, rbx
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400b7bb7
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b7dd2
mov rcx, rbx
call fcn.1400dc808
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 0x1400b7c26
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400b7c21
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400b7dd2
mov rcx, r8
call fcn.1400dc808
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
test rdi, rdi
jne 0x1400b7be0
mov r8, qword [rsp + 0x40]
test sil, sil
je 0x1400b7cc4
mov rax, qword [r8]
cmp rax, r8
je 0x1400b7cc4
mov rdx, qword [rax + 0x40]
mov rcx, qword [rax + 0x48]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x1400b7dd8
cmp qword [rdx + 0x10], r15
ja 0x1400b7d59
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r15b
je 0x1400b7c9f
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r15b
jne 0x1400b7c9a
cmp rax, qword [rcx + 0x10]
jne 0x1400b7c9a
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r15b
je 0x1400b7c87
mov rax, rcx
jmp 0x1400b7cbf
mov rdx, qword [rcx]
mov rax, rcx
cmp byte [rdx + 0x19], r15b
jne 0x1400b7cbf
nop dword [rax + rax]
mov rcx, qword [rdx]
mov rax, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], r15b
je 0x1400b7cb0
cmp rax, r8
jne 0x1400b7c51
mov rsi, qword [r8 + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400b7d13
nop
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400b5f20
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400b7de0
lea rcx, [rdi + 0x20]
call fcn.140006290
mov edx, 0x58
mov rcx, rdi
call fcn.1400dc808
cmp byte [rsi + 0x19], r15b
je 0x1400b7cd0
mov r8, qword [rsp + 0x40]
mov edx, 0x58
mov rcx, r8
call fcn.1400dc808
mov qword [r14], r15
mov qword [r14 + 0x18], select
mov qword [r14 + 0x10], r15
lea rcx, [rsp + 0x68]
call fcn.1400b9080
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.1400a8f20
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400b7dc3
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400b5f20
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400b7de0
lea rcx, [rdi + 0x20]
call fcn.140006290
mov edx, 0x58
mov rcx, rdi
call fcn.1400dc808
cmp byte [rsi + 0x19], r15b
je 0x1400b7d80
mov rcx, qword [rsp + 0x40]
mov edx, 0x58
call fcn.1400dc808
jmp 0x1400b7d2f
call fcn.1400e34bc
int3
call fcn.1400743b0
int3