Function at 0x1400c2ae0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x188
mov rax, qword [0x14013cd28]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r12, qword [rcx + 8]
mov rbx, rcx
mov r13d, dword [rcx + 0x34]
mov r11d, edx
sub r11d, r12d
mov qword [rsp + 0x58], rdx
mov eax, r11d
mov dword [rsp + 0xc], r11d
mov ebp, edx
mov qword [rsp + 0x60], r9
mov r9, qword [rcx + 0x38]
sub ebp, r12d
mov r15d, 1
mov qword [rsp + 0x30], r8
mov r10, rdx
mov qword [rsp + 0x20], r9
mov edx, r15d
mov dword [rsp + 8], r13d
mov rdi, r8
mov qword [rsp + 0x38], r12
mov r8, qword [rcx + 0x70]
mov esi, 3
mov ecx, dword [rcx + 0x100]
shl edx, cl
mov ecx, dword [rbx + 0x1c]
sub r11d, edx
sub eax, ecx
mov qword [rsp + 0x40], r8
cmp eax, edx
mov dword [rsp + 4], ebp
mov eax, dword [rbx + 0x10c]
cmovbe r11d, ecx
mov dword [rsp + 0x14], 0xf
cmp dword [rbx + 0x28], 0
cmovne r11d, ecx
mov ecx, 4
cmp eax, ecx
mov dword [rsp + 0x28], r11d
cmovb ecx, eax
mov rax, qword [rbx + 0x60]
shl r15d, cl
xor r11d, r11d
lea ecx, [rsi + 0x35]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x18], r15d
cmp dword [rbx + 0x12c], r11d
jne 0x1400c2e8b
mov r14d, dword [rbx + 0x2c]
mov eax, ebp
mov rdx, qword [rsp + 0x38]
sub eax, r14d
mov r12, r8
mov r13, r9
mov r9d, dword [rsp + 8]
mov r8, rdx
movabs rbp, 0xcf1bbcdcbb000000
cmp eax, 0x180
jbe 0x1400c2d7b
lea r8d, [r14 + 0x60]
mov qword [rsp + 0x50], rdx
cmp r14d, r8d
jae 0x1400c2ccd
mov r10, qword [rsp + 0x40]
lea r13, [rdx + 8]
mov rsi, qword [rsp + 0x20]
mov edi, ecx
sub edi, r9d
mov r12d, r14d
add r13, r14
mov r15d, r8d
nop word [rax + rax]
mov rdx, qword [r13]
mov ecx, edi
imul rdx, rbp
xor rdx, qword [rbx + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [rax + rsi]
mov rax, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [rbx + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbx + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + rsi]
lea rdx, [r8 + rsi]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x14]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r10 + rax*4], r14d
inc r14d
cmp r14d, r15d
jb 0x1400c2c30
mov rax, qword [rbx + 8]
mov esi, 3
mov r10, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x18]
mov rdx, qword [rsp + 0x38]
lea ecx, [rsi + 0x35]
mov qword [rsp + 0x50], rax
mov r14d, dword [rsp + 4]
lea rax, [r10 + 1]
mov r8d, dword [rbx + 0x34]
add r14d, 0xffffffe0
mov r12, qword [rbx + 0x70]
mov r13, qword [rbx + 0x38]
mov dword [rsp], eax
sub dword [rsp], edx
lea r9, [r14 + rdx]
mov edx, dword [rsp]
sub edx, r14d
mov dword [rsp + 0x10], r8d
inc edx
mov r8d, r14d
cmp r9, rax
mov eax, 8
cmova edx, r11d
cmp edx, eax
cmova edx, eax
lea eax, [r14 + rdx]
cmp r14d, eax
jae 0x1400c2d6d
sub ecx, dword [rsp + 0x10]
mov edi, edx
mov rdx, qword [r9]
imul rdx, rbp
xor rdx, qword [rbx + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rbx + rax*4 + 0x40], edx
sub rdi, 1
jne 0x1400c2d20
mov r12, qword [rbx + 0x70]
mov r13, qword [rbx + 0x38]
mov r8, qword [rbx + 8]
mov rdi, qword [rsp + 0x30]
jmp 0x1400c2d72
mov r8, qword [rsp + 0x50]
mov r9d, dword [rbx + 0x34]
mov ecx, 0x38
mov eax, dword [rsp + 4]
cmp r14d, eax
jae 0x1400c2e31
mov r15d, ecx
mov edi, r14d
sub r15d, r9d
lea rsi, [r14 + 8]
add rsi, r8
mov r10d, eax
nop dword [rax + rax]
mov rdx, qword [rsi]
mov ecx, r15d
imul rdx, rbp
xor rdx, qword [rbx + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [rax + r13]
mov rax, rdi
lea rsi, [rsi + 1]
and eax, 7
mov r9d, dword [rbx + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbx + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0x14]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], r14d
inc r14d
cmp r14d, r10d
jb 0x1400c2da0
mov r10, qword [rsp + 0x58]
mov esi, 3
mov rdi, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x18]
mov eax, dword [rsp + 4]
mov r12, qword [rsp + 0x38]
mov ecx, 0x38
sub ecx, dword [rsp + 8]
mov dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0xc]
mov r8d, eax
mov rdx, qword [rax + r12 + 8]
imul rdx, rbp
xor rdx, qword [rsp + 0x48]
shr rdx, cl
mov rcx, qword [rsp + 0x40]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x20]
prefetcht0 byte [rax + r9]
and r8d, 7
mov r14d, dword [rbx + r8*4 + 0x40]
mov dword [rbx + r8*4 + 0x40], edx
mov r8, rcx
jmp 0x1400c2eac
mov r14, qword [r10]
movabs rbp, 0xcf1bbcdcbb000000
imul r14, rbp
sub ecx, r13d
xor r14, rax
mov eax, dword [rsp + 0xc]
shr r14, cl
mov dword [rbx + 0x2c], eax
add dword [rbx + 0x68], r14d
mov eax, r14d
shr rax, 4
mov rbp, r11
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r9]
lea rcx, [r8 + rax*4]
mov qword [rsp + 0x20], rcx
lea rcx, [rax + r9]
movzx eax, byte [rax + r9]
mov r13d, eax
mov dword [rsp + 0x10], eax
mov qword [rsp + 0x48], rcx
and r13d, 0xf
movsx eax, r14b
mov ecx, r13d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb edx, xmm1
movzx eax, dx
shl ax, cl
movzx ecx, r13b
movzx r9d, ax
movzx eax, dx
mov rdx, qword [rsp + 0x20]
shr rax, cl
or r9, rax
jbe 0x1400c2f61
mov r8d, dword [rsp + 0x28]
nop
test r15d, r15d
je 0x1400c2f61
bsf rcx, r9
add ecx, r13d
and ecx, 0xf
je 0x1400c2f58
mov ecx, dword [rdx + rcx*4]
cmp ecx, r8d
jb 0x1400c2f61
prefetcht0 byte [rcx + r12]
mov dword [rsp + rbp*4 + 0x70], ecx
inc rbp
dec r15d
lea rax, [r9 - 1]
and r9, rax
ja 0x1400c2f30
mov ecx, dword [rsp + 0x10]
mov eax, r11d
dec ecx
mov r8d, 0xf
and ecx, 0xf
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x48]
mov byte [rax], cl
mov byte [rcx + rax], r14b
mov eax, dword [rbx + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0x2c]
test rbp, rbp
je 0x1400c306b
mov rbx, qword [rsp + 0x60]
nop dword [rax + rax]
mov r9d, dword [rsp + r11*4 + 0x70]
mov eax, dword [rsi + r10 - 3]
lea rdx, [r12 + r9]
cmp dword [rdx + rsi - 3], eax
jne 0x1400c305f
lea r8, [rdi - 7]
mov rax, r10
cmp r10, r8
jae 0x1400c2ffc
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x1400c2fd6
bsf rcx, rcx
shr rcx, 3
jmp 0x1400c3041
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x1400c2ffc
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1400c3092
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x1400c2fe3
lea rcx, [rdi - 3]
cmp rax, rcx
jae 0x1400c3013
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x1400c3013
add rax, 4
add rdx, 4
lea rcx, [rdi - 1]
cmp rax, rcx
jae 0x1400c302c
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x1400c302c
add rax, 2
add rdx, 2
cmp rax, rdi
jae 0x1400c303b
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1400c303b
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rsi
jbe 0x1400c305f
mov eax, dword [rsp + 0xc]
mov rsi, rcx
sub eax, r9d
add eax, 3
mov qword [rbx], rax
lea rax, [rcx + r10]
cmp rax, rdi
je 0x1400c306b
inc r11
cmp r11, rbp
jb 0x1400c2fa0
mov rax, rsi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400e45e0
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
bsf rcx, rcx
shr rcx, 3
sub rcx, r10
add rcx, rax
jmp 0x1400c3041