Function at 0x1400c2bd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rdi
push r12
push r14
push r15
mov eax, 0x78
call fcn.140150d80
sub rsp, rax
mov rcx, r9
mov r15, r9
mov r12, r8
mov rdi, rdx
xor r14d, r14d
call fcn.140084750
mov rcx, r15
call fcn.140084640
mov r15, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400c3098
mov qword [rsp + 0xa8], rbx
mov rbx, qword [rsp + 0xb8]
mov rcx, rbx
call fcn.140084640
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400c3090
mov rcx, rbx
mov qword [rsp + 0x68], rsi
call fcn.140084640
mov rsi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400c308b
mov rcx, rbx
call fcn.140084640
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400c308b
mov r8, r12
mov rdx, rdi
mov rcx, rsi
call fcn.1400c2690
test eax, eax
je 0x1400c308b
cmp dword [rsi + 8], r14d
je 0x1400c308b
mov rdx, r12
mov rcx, rbx
call fcn.1400764c0
test rax, rax
je 0x1400c308b
mov rcx, rsi
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x60], r13
call fcn.1400767c0
mov rcx, rbx
mov ebp, eax
call fcn.1400767c0
movsxd r13, dword [r12 + 8]
mov dword [rsp + 0x20], eax
cmp r13d, dword [rsi + 0xc]
jg 0x1400c2cdc
mov rax, rsi
jmp 0x1400c2ce7
mov edx, r13d
mov rcx, rsi
call fcn.140076c50
test rax, rax
je 0x1400c3081
movsxd rax, dword [rsi + 8]
mov rbx, qword [rsi]
mov rcx, r13
cmp rax, r13
jge 0x1400c2d0b
lea rdi, [rbx + rax*8]
sub rcx, rax
xor eax, eax
rep stosq qword [rdi], rax
mov dword [rsi + 8], r13d
cmp r13d, dword [r15 + 0xc]
jg 0x1400c2d1a
mov rax, r15
jmp 0x1400c2d25
mov edx, r13d
mov rcx, r15
call fcn.140076c50
test rax, rax
je 0x1400c3081
mov rsi, qword [r15]
mov eax, 1
mov qword [rsi], rax
cmp r13d, eax
jle 0x1400c2d4e
lea eax, [r13 - 1]
lea rdi, [rsi + 8]
movsxd rcx, eax
xor eax, eax
rep stosq qword [rdi], rax
mov r8, qword [rsp + 0x28]
mov dword [r15 + 8], r13d
cmp r13d, dword [r8 + 0xc]
jg 0x1400c2d62
mov rax, r8
jmp 0x1400c2d72
mov edx, r13d
mov rcx, r8
call fcn.140076c50
mov r8, qword [rsp + 0x28]
test rax, rax
je 0x1400c3081
mov r11, qword [r8]
mov qword [rsp + 0x38], r11
test r13d, r13d
jle 0x1400c2d93
mov rdi, r11
xor eax, eax
mov rcx, r13
rep stosq qword [rdi], rax
mov rdx, qword [rsp + 0x30]
mov dword [r8 + 8], r13d
mov r15, qword [rdx]
mov qword [rsp + 0x50], r15
test ebp, ebp
je 0x1400c2e74
nop dword [rax]
mov rdi, qword [rbx]
test dil, 1
jne 0x1400c2e60
mov rax, qword [rsi]
mov rcx, qword [r12]
mov r15, r14
mov rdx, qword [rcx]
mov r9, rax
lea ecx, [r13 - 1]
and r9d, 1
movsxd r10, ecx
neg r9
and rdx, r9
xor rax, rdx
test ecx, ecx
jle 0x1400c2e4a
mov r11, rbx
mov r14, 0xfffffffffffffff8
lea r8, [rsi + 8]
sub r11, rsi
sub r14, rsi
mov r15, r10
nop dword [rax]
mov rcx, qword [r11 + r8]
shr rdi, 1
shr rax, 1
shl rcx, 0x3f
lea r8, [r8 + 8]
or rcx, rdi
mov rdi, qword [r11 + r8 - 8]
mov qword [r11 + r8 - 0x10], rcx
mov rdx, qword [r12]
add rdx, r14
mov rdx, qword [rdx + r8]
and rdx, r9
xor rdx, qword [r8 - 8]
mov rcx, rdx
shl rcx, 0x3f
or rcx, rax
mov rax, rdx
mov qword [r8 - 0x10], rcx
dec r10
jne 0x1400c2e00
xor r14d, r14d
shr rdi, 1
shr rax, 1
mov qword [rbx + r15*8], rdi
mov qword [rsi + r15*8], rax
dec ebp
jne 0x1400c2db0
mov r11, qword [rsp + 0x38]
mov r15, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
cmp ebp, 0x40
jg 0x1400c2e8f
mov rax, qword [rbx]
test rax, rax
je 0x1400c3081
cmp rax, 1
je 0x1400c3033
mov ecx, dword [rsp + 0x20]
cmp ebp, ecx
jge 0x1400c2ed1
mov rax, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
mov rbx, r15
mov r15, qword [rax]
mov rsi, r11
mov r11, qword [rdi]
mov dword [rsp + 0x20], ebp
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x38], r11
mov ebp, ecx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x28], rdi
mov r10, r14
test r13d, r13d
jle 0x1400c2f86
cmp r13d, 2
jb 0x1400c2f86
lea eax, [r13 - 1]
mov edx, r14d
movsxd rcx, eax
lea r9, [r11 + rcx*8]
lea rax, [rsi + rcx*8]
cmp rsi, r9
ja 0x1400c2f07
cmp rax, r11
jae 0x1400c2f86
lea rdi, [rbx + rcx*8]
cmp rsi, rdi
ja 0x1400c2f15
cmp rax, rbx
jae 0x1400c2f86
lea r8, [r15 + rcx*8]
cmp rsi, r8
ja 0x1400c2f23
cmp rax, r15
jae 0x1400c2f86
cmp rbx, r9
ja 0x1400c2f2d
cmp rdi, r11
jae 0x1400c2f86
cmp rbx, r8
ja 0x1400c2f37
cmp rdi, r15
jae 0x1400c2f86
mov eax, r13d
and eax, 0x80000001
jge 0x1400c2f48
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, r13d
sub ecx, eax
nop dword [rax]
movsxd rax, edx
add edx, 2
add r10, 2
movdqu xmm0, xmmword [rbx + rax*8]
movdqu xmm1, xmmword [r15 + rax*8]
pxor xmm1, xmm0
movdqu xmmword [rbx + rax*8], xmm1
movdqu xmm1, xmmword [r11 + rax*8]
movdqu xmm0, xmmword [rsi + rax*8]
pxor xmm1, xmm0
movdqu xmmword [rsi + rax*8], xmm1
cmp edx, ecx
jl 0x1400c2f50
cmp r10, r13
jge 0x1400c2fcb
mov rdi, r15
mov r8, r11
mov r9, rsi
mov rdx, r13
sub rdi, rbx
sub r8, rbx
sub r9, rbx
lea rcx, [rbx + r10*8]
sub rdx, r10
nop word [rax + rax]
mov rax, qword [rdi + rcx]
lea rcx, [rcx + 8]
xor qword [rcx - 8], rax
mov rax, qword [r8 + rcx - 8]
xor qword [r9 + rcx - 8], rax
dec rdx
jne 0x1400c2fb0
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
cmp ebp, dword [rsp + 0x20]
jne 0x1400c2da4
lea eax, [rbp - 1]
cdq
and edx, 0x3f
add eax, edx
sar eax, 6
movsxd rdi, eax
mov rax, rdi
mov rcx, qword [rbx + rdi*8]
test rcx, rcx
jne 0x1400c3014
nop word [rax + rax]
test rax, rax
je 0x1400c3014
mov rcx, qword [rbx + rax*8 - 8]
dec rax
dec edi
test rcx, rcx
je 0x1400c3000
call fcn.140076800
mov r11, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x28]
shl edi, 6
lea ebp, [rdi + rax]
jmp 0x1400c2da4
mov rdi, qword [rsp + 0x40]
mov edx, dword [rdi + 8]
test edx, edx
jle 0x1400c3065
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [rdi]
lea rcx, [rax + rcx*8]
nop dword [rax]
mov rax, qword [rcx]
lea rcx, [rcx - 8]
test rax, rax
jne 0x1400c3062
dec edx
test edx, edx
jg 0x1400c3050
mov dword [rdi + 8], edx
mov rcx, qword [rsp + 0xa0]
mov rdx, rdi
call fcn.1400764c0
test rax, rax
mov eax, 1
cmovne r14d, eax
mov rbp, qword [rsp + 0x70]
mov r13, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb8]
call fcn.140084580
mov eax, r14d
add rsp, 0x78
pop r15
pop r14
pop r12
pop rdi
ret