Function at 0x1400ccfd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov rax, qword [0x1401b5030]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, qword [rcx + 8]
mov r10, rcx
mov eax, dword [rcx + 0x34]
mov r14, rdx
mov rsi, qword [rcx + 0x38]
mov ebx, 1
mov dword [rsp + 0x2c], eax
mov r11d, r14d
mov eax, dword [r10 + 0x18]
sub r11d, edi
mov dword [rsp + 0x24], eax
mov r13d, r14d
sub r13d, edi
mov qword [rsp + 0x68], rdx
mov dword [rsp + 0x30], r11d
movabs r12, 0xcf1bbcdcbf9b0000
lea rdx, [rax + rdi]
mov qword [rsp + 0x90], r9
mov qword [rsp + 0x88], rdx
mov r9, r8
mov edx, ebx
mov qword [rsp + 0x40], r8
mov r8, qword [rcx + 0x70]
mov rcx, qword [rcx + 0x10]
add rax, rcx
mov qword [rsp + 0x78], rcx
mov ecx, dword [r10 + 0x100]
shl edx, cl
mov ecx, dword [r10 + 0x1c]
mov qword [rsp + 0x80], rax
mov eax, r11d
sub eax, ecx
mov qword [rsp + 0x60], r8
sub r11d, edx
mov qword [rsp + 0x58], rsi
cmp eax, edx
mov qword [rsp + 0x48], rdi
mov eax, dword [r10 + 0x10c]
cmovbe r11d, ecx
mov dword [rsp + 0x20], r13d
cmp dword [r10 + 0x28], 0
mov dword [rsp + 0x38], 0x1f
cmovne r11d, ecx
mov ecx, 5
cmp eax, ecx
mov dword [rsp + 0x50], r11d
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
xor ebp, ebp
shl ebx, cl
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x28], ebx
lea r15d, [rbp + 3]
cmp dword [r10 + 0x12c], ebp
jne 0x1400cd397
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
mov ecx, dword [rsp + 0x2c]
lea r13d, [rbp + 0x38]
sub eax, r11d
mov rdi, r8
mov edx, ecx
cmp eax, 0x180
jbe 0x1400cd276
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1400cd1dd
mov r14, qword [rsp + 0x48]
mov esi, r13d
mov r13, qword [rsp + 0x58]
sub esi, ecx
add r14, 8
mov edi, r11d
add r14, r11
mov ebx, eax
mov r15, r8
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [r14]
mov ecx, esi
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
mov rax, rdi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x38]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, ebx
jb 0x1400cd140
mov rdi, qword [r10 + 0x70]
mov r15d, 3
mov rsi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov r14, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x28]
lea r13d, [r15 + 0x35]
mov r11d, dword [rsp + 0x20]
lea rax, [r14 + 1]
mov r9, qword [rsp + 0x48]
add r11d, 0xffffffe0
mov ecx, eax
mov r8d, r11d
sub ecx, r11d
add r9, r8
sub ecx, dword [rsp + 0x48]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400cd276
mov r15d, r13d
mov ebx, ecx
sub r15d, edx
mov rdx, qword [r9]
mov ecx, r15d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rsi + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rbx, 1
jne 0x1400cd221
mov rdi, qword [r10 + 0x70]
lea r15d, [rbx + 3]
mov ebx, dword [rsp + 0x28]
mov rsi, qword [r10 + 0x38]
mov edx, dword [r10 + 0x34]
mov rax, qword [r10 + 8]
cmp r11d, dword [rsp + 0x20]
jae 0x1400cd32f
mov r14d, r13d
mov r15d, r11d
mov r13d, dword [rsp + 0x20]
lea rbx, [rax + 8]
sub r14d, edx
add rbx, r15
nop word [rax + rax]
mov rdx, qword [rbx]
mov ecx, r14d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rsi + rax]
mov rax, r15
lea rbx, [rbx + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r10 + rax*4 + 0x40], edx
mov eax, ebp
shr r8, 3
and r8d, 0x1fffffe0
movzx ecx, byte [rsi + r8]
lea rdx, [rsi + r8]
dec ecx
and ecx, 0x1f
cmove eax, dword [rsp + 0x38]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x1400cd2a0
mov r14, qword [rsp + 0x68]
mov r15d, 3
mov ebx, dword [rsp + 0x28]
lea r13d, [r15 + 0x35]
mov eax, dword [rsp + 0x20]
sub r13d, dword [rsp + 0x2c]
mov rdi, qword [rsp + 0x48]
movzx ecx, r13b
mov dword [r10 + 0x2c], eax
mov eax, dword [rsp + 0x30]
mov r8d, eax
mov rdx, qword [rax + rdi + 8]
imul rdx, r12
xor rdx, qword [rsp + 0x70]
shr rdx, cl
mov rcx, qword [rsp + 0x60]
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rcx + rax*4]
prefetcht0 byte [rcx + rax*4 + 0x40]
mov rsi, qword [rsp + 0x58]
prefetcht0 byte [rax + rsi]
mov r9, qword [rsp + 0x40]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
mov r8, rcx
jmp 0x1400cd3b5
mov r11, qword [r14]
mov ecx, 0x38
sub ecx, dword [rsp + 0x2c]
imul r11, r12
xor r11, rax
mov eax, dword [rsp + 0x30]
shr r11, cl
mov dword [r10 + 0x2c], eax
add dword [r10 + 0x68], r11d
mov eax, r11d
shr rax, 3
mov r13, rbp
and eax, 0x1fffffe0
movdqu xmm0, xmmword [rax + rsi]
lea rcx, [rax + rsi]
mov qword [rsp + 0x70], rcx
lea r12, [r8 + rax*4]
movzx eax, byte [rcx]
mov esi, eax
mov dword [rsp + 0x34], eax
movsx eax, r11b
and esi, 0x1f
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
mov ecx, esi
neg ecx
pmovmskb eax, xmm1
and ecx, 0x1f
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
shl edx, 0x10
or edx, eax
mov r8d, edx
mov eax, edx
shl r8d, cl
mov ecx, esi
shr rax, cl
or r8, rax
jbe 0x1400cd487
mov edx, dword [rsp + 0x24]
mov r9, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x50]
test ebx, ebx
je 0x1400cd47d
bsf rcx, r8
add ecx, esi
and ecx, 0x1f
mov ecx, dword [r12 + rcx*4]
je 0x1400cd474
cmp ecx, r14d
jb 0x1400cd47d
cmp ecx, edx
jb 0x1400cd462
prefetcht0 byte [rcx + rdi]
jmp 0x1400cd467
prefetcht0 byte [rcx + r9]
mov dword [rsp + r13*4 + 0xa0], ecx
inc r13
dec ebx
lea rax, [r8 - 1]
and r8, rax
ja 0x1400cd440
mov r14, qword [rsp + 0x68]
mov r9, qword [rsp + 0x40]
mov ecx, dword [rsp + 0x34]
mov eax, ebp
dec ecx
mov edx, 0x1f
and ecx, 0x1f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x70]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [r12 + rcx*4], eax
inc dword [r10 + 0x2c]
test r13, r13
je 0x1400cd59d
mov ecx, dword [rsp + 0x24]
mov esi, dword [rsp + rbp*4 + 0xa0]
cmp esi, ecx
jb 0x1400cd4ef
mov eax, dword [r15 + r14 - 3]
lea rdx, [rsi + rdi]
cmp dword [rdx + r15 - 3], eax
jne 0x1400cd58b
mov r8, r9
mov rcx, r14
call fcn.1400c02e0
mov rdi, rax
jmp 0x1400cd55d
mov rbx, qword [rsp + 0x78]
mov eax, dword [r14]
add rbx, rsi
cmp dword [rbx], eax
jne 0x1400cd58b
mov rcx, qword [rsp + 0x80]
lea r12, [r14 + 4]
add rbx, 4
mov r8, r9
mov rax, r12
mov rdx, rbx
sub rax, rbx
add rcx, rax
cmp rcx, r9
cmovb r8, rcx
mov rcx, r12
call fcn.1400c02e0
mov rdi, rax
add rax, rbx
cmp rax, qword [rsp + 0x80]
jne 0x1400cd559
mov r8, qword [rsp + 0x40]
lea rcx, [r12 + rdi]
mov rdx, qword [rsp + 0x88]
call fcn.1400c02e0
add rdi, rax
add rdi, 4
mov r9, qword [rsp + 0x40]
cmp rdi, r15
jbe 0x1400cd587
mov eax, dword [rsp + 0x30]
mov r15, rdi
mov rcx, qword [rsp + 0x90]
sub eax, esi
add eax, 3
mov qword [rcx], rax
lea rax, [rdi + r14]
cmp rax, r9
je 0x1400cd59d
mov ecx, dword [rsp + 0x24]
inc rbp
cmp rbp, r13
jae 0x1400cd59d
mov rdi, qword [rsp + 0x48]
jmp 0x1400cd4c0
mov rax, r15
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14011b0c0
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret