Function at 0x1400ca020
Capabilities:
Encode data using xor

Disassembly:
cmp r8d, 0x40
jl 0x1400ca3c1
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x58]
sub rsp, 0x148
mov rax, qword [0x140519680]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov qword [r11 + 0x10], rsi
lea rax, [rsp + 0x20]
mov qword [r11 + 0x18], rdi
mov rsi, rcx
mov qword [r11 - 0x18], r12
lea rdi, [rdx + 0x3c]
mov qword [r11 - 0x20], r14
lea r12, [rsp + 0x5c]
mov qword [r11 - 0x28], r15
lea r14, [rcx + 0x3c]
neg r12
mov r15d, r8d
sub rsi, rax
mov rbx, rcx
shr r15, 6
lea rax, [rbp - 0x60]
cmp rax, r14
ja 0x1400ca093
lea rax, [rbp - 0x24]
cmp rax, rbx
jae 0x1400ca0e3
lea rax, [rbp - 0x60]
cmp rax, rdi
ja 0x1400ca0a9
lea rax, [rdi - 0x3c]
lea rcx, [rbp - 0x24]
cmp rcx, rax
jae 0x1400ca0e3
cmp rbx, rdi
ja 0x1400ca0b7
lea rax, [rdi - 0x3c]
cmp r14, rax
jae 0x1400ca0e3
lea rax, [rsp + 0x5c]
cmp rbx, rax
ja 0x1400ca0cb
lea rax, [rsp + 0x20]
cmp r14, rax
jae 0x1400ca0e3
lea rax, [rsp + 0x20]
cmp rax, rdi
ja 0x1400ca111
lea rax, [rdi - 0x3c]
lea rcx, [rsp + 0x5c]
cmp rcx, rax
jb 0x1400ca111
xor edx, edx
lea r9, [rdi + r12]
lea r8d, [rdx + 0x10]
nop dword [rax]
lea rcx, [rsp + 0x20]
add rcx, rdx
mov eax, dword [r9 + rcx]
mov dword [rcx], eax
xor eax, dword [rcx + rsi]
mov dword [rbp + rdx - 0x60], eax
add rdx, 4
sub r8, 1
jne 0x1400ca0f0
jmp 0x1400ca14a
xor ecx, ecx
lea r8, [rdi + r12]
lea edx, [rcx + 4]
nop word [rax + rax]
lea rax, [rsp + 0x20]
add rax, rcx
movdqu xmm1, xmmword [rax + r8]
movdqu xmm0, xmmword [rax + rsi]
movdqu xmmword [rax], xmm1
xorps xmm0, xmm1
movdqu xmmword [rbp + rcx - 0x60], xmm0
add rcx, 0x10
sub rdx, 1
jne 0x1400ca120
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c94c0
mov r8d, 0x1000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c94c0
mov r8d, 0x2000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c94c0
mov r8d, 0x3000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c94c0
mov r8d, 0x4000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c94c0
mov r8d, 0x5000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c94c0
mov r8d, 0x6000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c94c0
mov r8d, 0x7000000
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c94c0
mov r8d, 0x8000000
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c94c0
mov r8d, 0x9000000
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c94c0
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call fcn.1400c8a00
mov r8d, 1
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c8a00
mov r8d, 2
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c8a00
mov r8d, 3
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c8a00
mov r8d, 4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c8a00
mov r8d, 5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c8a00
mov r8d, 6
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c8a00
mov r8d, 7
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400c8a00
mov r8d, 8
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.1400c8a00
mov r8d, 9
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1400c8a00
lea rax, [rbp - 0x60]
cmp rax, r14
ja 0x1400ca2f7
lea rax, [rbp - 0x24]
cmp rax, rbx
jae 0x1400ca309
lea rax, [rbp + 0x1c]
cmp rbx, rax
ja 0x1400ca327
lea rax, [rbp - 0x20]
cmp r14, rax
jb 0x1400ca327
xor eax, eax
nop dword [rax + rax]
mov ecx, dword [rbp + rax - 0x20]
xor ecx, dword [rbp + rax - 0x60]
xor dword [rax + rbx], ecx
add rax, 4
cmp rax, 0x40
jl 0x1400ca310
jmp 0x1400ca36d
movdqu xmm0, xmmword [rbx]
xorps xmm0, xmmword [rbp - 0x20]
xorps xmm0, xmmword [rbp - 0x60]
movdqu xmmword [rbx], xmm0
movdqu xmm0, xmmword [rbx + 0x10]
xorps xmm0, xmmword [rbp - 0x10]
xorps xmm0, xmmword [rbp - 0x50]
movdqu xmmword [rbx + 0x10], xmm0
movdqu xmm0, xmmword [rbx + 0x20]
xorps xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp - 0x40]
movdqu xmmword [rbx + 0x20], xmm0
movdqu xmm0, xmmword [rbx + 0x30]
xorps xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp - 0x30]
movdqu xmmword [rbx + 0x30], xmm0
add dword [rbx + 0x40], 1
jne 0x1400ca376
inc dword [rbx + 0x44]
add rdi, 0x40
sub r15, 1
jne 0x1400ca081
mov r15, qword [rsp + 0x130]
mov r14, qword [rsp + 0x138]
mov r12, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x170]
mov rsi, qword [rsp + 0x168]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.140367840
add rsp, 0x148
pop rbx
pop rbp
ret