Function at 0x1400c4660
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.1400c5f60
lea rcx, [rsp + 0x68]
call fcn.1400c5fb0
xor r15d, r15d
test al, al
je 0x1400c4c10
lea ecx, [r15 + 0x58]
mov qword [rsp + 0x48], r15
call fcn.1400e9714
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 [0x14011a4a0]
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 [0x14011ff28]
mov dword [rsp + 0x30], eax
movzx eax, word [0x14011ff2c]
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 0x1400c4750
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x68]
call fcn.14000e870
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.1400c2e10
cmp dword [0x1402567d0], 2
mov r8d, r15d
movups xmm0, xmmword [0x14011fed0]
movups xmm1, xmmword [0x14011fee0]
mov eax, dword [0x14011ff10]
movups xmmword [rbp - 0x48], xmm0
mov dword [rbp - 8], eax
movups xmm0, xmmword [0x14011fef0]
movzx eax, word [0x14011ff14]
movups xmmword [rbp - 0x38], xmm1
mov word [rbp - 4], ax
movups xmm1, xmmword [0x14011ff00]
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm1
jl 0x1400c495d
movdqa xmm5, xmmword [0x140119390]
lea rcx, [rbp - 0x48]
movdqa xmm4, xmmword [0x14011cfe0]
mov eax, 5
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x120], xmm7
movdqa xmm7, xmmword [str.3333]
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
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 r8d, 0x20
jl 0x1400c4840
movaps xmm9, xmmword [rsp + 0x100]
movaps xmm8, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
cmp r8d, 0x23
jge 0x1400c49a8
movsxd rax, r8d
lea r9, [rbp - 0x48]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
lea r9, [r9 + 2]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x33
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x31
xor word [r9 - 2], ax
cmp r8d, 0x23
jl 0x1400c4970
mov qword [rsp + 0x78], r15
lea rax, [rbp - 0x48]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x1400c49c0
mov r8, rbx
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x78]
call fcn.14000e870
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call fcn.1400c6770
mov rdx, qword [rbp - 0x70]
movzx esi, al
cmp rdx, 8
jb 0x1400c4a38
mov rcx, qword [rsp + 0x78]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4a33
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4cc2
call fcn.1400e9750
mov rbx, qword [rsp + 0x50]
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], 7
mov word [rsp + 0x78], r15w
test rbx, rbx
je 0x1400c4abd
mov rdi, qword [rsp + 0x58]
cmp rbx, rdi
je 0x1400c4a76
nop
mov rcx, rbx
call fcn.140006150
add rbx, 0x20
cmp rbx, rdi
jne 0x1400c4a60
mov rbx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rax, rbx
sub rdx, rbx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400c4aa7
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4cc2
mov rcx, rbx
call fcn.1400e9750
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 0x1400c4b16
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400c4b11
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400c4cc2
mov rcx, r8
call fcn.1400e9750
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
test rdi, rdi
jne 0x1400c4ad0
mov r8, qword [rsp + 0x40]
test sil, sil
je 0x1400c4bb4
mov rax, qword [r8]
cmp rax, r8
je 0x1400c4bb4
mov rdx, qword [rax + 0x40]
mov rcx, qword [rax + 0x48]
sub rcx, rdx
sar rcx, 5
test rcx, rcx
je 0x1400c4cc8
cmp qword [rdx + 0x10], r15
ja 0x1400c4c49
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], r15b
je 0x1400c4b8f
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r15b
jne 0x1400c4b8a
cmp rax, qword [rcx + 0x10]
jne 0x1400c4b8a
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r15b
je 0x1400c4b77
mov rax, rcx
jmp 0x1400c4baf
mov rdx, qword [rcx]
mov rax, rcx
cmp byte [rdx + 0x19], r15b
jne 0x1400c4baf
nop dword [rax + rax]
mov rcx, qword [rdx]
mov rax, rdx
mov rdx, rcx
cmp byte [rcx + 0x19], r15b
je 0x1400c4ba0
cmp rax, r8
jne 0x1400c4b41
mov rsi, qword [r8 + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400c4c03
nop
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400c2d80
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400c4cd0
lea rcx, [rdi + 0x20]
call fcn.140006150
mov edx, 0x58
mov rcx, rdi
call fcn.1400e9750
cmp byte [rsi + 0x19], r15b
je 0x1400c4bc0
mov r8, qword [rsp + 0x40]
mov edx, 0x58
mov rcx, r8
call fcn.1400e9750
mov qword [r14], r15
mov qword [r14 + 0x18], select
mov qword [r14 + 0x10], r15
lea rcx, [rsp + 0x68]
call fcn.1400c5f70
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.1400b60b0
mov rcx, qword [rsp + 0x40]
mov rsi, qword [rcx + 8]
cmp byte [rsi + 0x19], r15b
jne 0x1400c4cb3
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400c2d80
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rdi + 0x40]
call fcn.1400c4cd0
lea rcx, [rdi + 0x20]
call fcn.140006150
mov edx, 0x58
mov rcx, rdi
call fcn.1400e9750
cmp byte [rsi + 0x19], r15b
je 0x1400c4c70
mov rcx, qword [rsp + 0x40]
mov edx, 0x58
call fcn.1400e9750
jmp 0x1400c4c1f
call fcn.1400f040c
int3
call fcn.1400a9480
int3