Function at 0x1400aca10
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x178
mov rax, qword [0x140114e78]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r13, qword [rcx + 8]
mov rbp, rcx
mov r11, qword [rcx + 0x38]
mov ebx, edx
mov r14d, dword [rcx + 0x34]
sub ebx, r13d
mov eax, ebx
mov dword [rsp + 0xc], ebx
mov r10, rdx
mov qword [rsp + 0x30], r8
mov rdi, r8
mov qword [rsp + 0x50], r9
mov r9, qword [rcx + 0x70]
mov r8d, edx
mov ecx, dword [rcx + 0x100]
sub r8d, r13d
mov r15d, 1
mov qword [rsp + 0x38], r9
mov edx, r15d
mov qword [rsp + 0x40], r11
shl edx, cl
mov esi, 3
mov ecx, dword [rbp + 0x1c]
sub ebx, edx
sub eax, ecx
mov dword [rsp + 8], r14d
cmp eax, edx
mov qword [rsp + 0x20], r13
mov eax, dword [rbp + 0x10c]
mov rdx, qword [rbp + 0x60]
cmovbe ebx, ecx
cmp dword [rbp + 0x28], 0
mov dword [rsp + 4], r8d
cmovne ebx, ecx
mov qword [rsp + 0x48], rdx
mov ecx, 6
mov dword [rsp + 0x28], ebx
cmp eax, ecx
mov dword [rsp + 0x10], 0x3f
cmovb ecx, eax
xor ebx, ebx
shl r15d, cl
mov dword [rsp], r15d
cmp dword [rbp + 0x12c], ebx
jne 0x1400acdd3
mov r11d, dword [rbp + 0x2c]
mov eax, r8d
mov r12, qword [rsp + 0x40]
sub eax, r11d
mov ecx, dword [rsp + 8]
mov r14, r9
mov rdx, r13
cmp eax, 0x180
jbe 0x1400acca6
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1400acbe8
mov rsi, qword [rsp + 0x40]
lea r12, [r13 + 8]
mov r15d, 0x18
mov r14d, r11d
sub r15d, ecx
mov edi, eax
add r12, r11
mov r13, r9
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rbp + 0x60]
mov rcx, r15
imul edx, dword [r12], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
prefetcht0 byte [rsi + rax]
prefetcht0 byte [rsi + rax + 0x20]
mov rax, r14
lea r12, [r12 + 1]
and eax, 7
mov r9d, dword [rbp + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbp + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + rsi]
lea rdx, [r8 + rsi]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x10]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r13 + rax*4], r11d
inc r11d
cmp r11d, edi
jb 0x1400acb40
mov rdx, qword [rbp + 8]
mov esi, 3
mov rdi, qword [rsp + 0x30]
mov r15d, dword [rsp]
mov r13, qword [rsp + 0x20]
mov r8d, dword [rsp + 4]
mov ecx, dword [rbp + 0x34]
lea r11d, [r8 - 0x20]
mov r14, qword [rbp + 0x70]
lea rax, [r10 + 1]
mov r12, qword [rbp + 0x38]
lea r9, [r11 + r13]
mov dword [rsp + 0x18], ecx
mov ecx, eax
sub ecx, r13d
mov r8d, r11d
sub ecx, r11d
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebx
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1400acc99
mov eax, 0x18
mov edi, ecx
sub eax, dword [rsp + 0x18]
mov qword [rsp + 0x18], rax
mov ecx, eax
nop dword [rax + rax]
mov eax, dword [rbp + 0x60]
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [r12 + rax]
prefetcht0 byte [r12 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rbp + rax*4 + 0x40], edx
sub rdi, 1
jne 0x1400acc40
mov r14, qword [rbp + 0x70]
mov r12, qword [rbp + 0x38]
mov rdx, qword [rbp + 8]
mov rdi, qword [rsp + 0x30]
mov ecx, dword [rbp + 0x34]
mov r8d, dword [rsp + 4]
mov r9, qword [rsp + 0x38]
cmp r11d, r8d
jae 0x1400acd76
mov r15d, dword [rsp + 4]
lea rdi, [r11 + 8]
mov esi, 0x18
mov r13d, r11d
sub esi, ecx
add rdi, rdx
nop word [rax + rax]
mov eax, dword [rbp + 0x60]
mov rcx, rsi
imul edx, dword [rdi], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [r12 + rax]
prefetcht0 byte [r12 + rax + 0x20]
mov rax, r13
lea rdi, [rdi + 1]
and eax, 7
mov r9d, dword [rbp + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbp + rax*4 + 0x40], edx
mov eax, ebx
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [r8 + r12]
lea rdx, [r8 + r12]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x10]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r14 + rax*4], r11d
inc r11d
cmp r11d, r15d
jb 0x1400accd0
mov rdi, qword [rsp + 0x30]
mov esi, 3
mov r15d, dword [rsp]
mov r13, qword [rsp + 0x20]
mov r8d, dword [rsp + 4]
mov r9, qword [rsp + 0x38]
mov eax, dword [rsp + 0xc]
mov ecx, 0x18
sub ecx, dword [rsp + 8]
mov dword [rbp + 0x2c], r8d
mov r8d, eax
imul edx, dword [rax + r13 + 8], 0x9e3779b1
mov eax, dword [rsp + 0x48]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov r11, qword [rsp + 0x40]
prefetcht0 byte [rax + r11]
prefetcht0 byte [rax + r11 + 0x20]
and r8d, 7
mov r12d, dword [rbp + r8*4 + 0x40]
mov dword [rbp + r8*4 + 0x40], edx
jmp 0x1400acdf1
imul r12d, dword [r10], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, r14d
xor r12, rax
mov eax, dword [rsp + 0xc]
shr r12, cl
mov dword [rbp + 0x2c], eax
add dword [rbp + 0x68], r12d
mov eax, r12d
shr rax, 2
mov r14, rbx
and eax, 0x3fffffc0
add r11, rax
mov qword [rsp + 0x48], r11
lea rcx, [r9 + rax*4]
movsx eax, r12b
movdqu xmm0, xmmword [r11]
mov qword [rsp + 0x20], rcx
movzx ecx, byte [r11]
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
mov dword [rsp], ecx
movdqa xmm1, xmm2
mov edx, dword [rsp]
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [r11 + 0x10]
and cl, 0x3f
pmovmskb r9d, xmm1
movdqu xmm1, xmmword [r11 + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb r8d, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [r11 + 0x30]
pmovmskb eax, xmm1
pcmpeqb xmm0, xmm2
pmovmskb r11d, xmm0
shl r11, 0x10
or r11, rax
movsxd rax, r8d
mov r8, qword [rsp + 0x20]
shl r11, 0x10
or r11, rax
movsxd rax, r9d
shl r11, 0x10
or r11, rax
ror r11, cl
test r11, r11
je 0x1400aced4
mov r9d, dword [rsp + 0x28]
test r15d, r15d
je 0x1400aced4
bsf rcx, r11
add ecx, edx
and ecx, 0x3f
je 0x1400acecb
mov ecx, dword [r8 + rcx*4]
cmp ecx, r9d
jb 0x1400aced4
prefetcht0 byte [rcx + r13]
mov dword [rsp + r14*4 + 0x60], ecx
inc r14
dec r15d
lea rax, [r11 - 1]
and r11, rax
ja 0x1400acea2
lea ecx, [rdx - 1]
mov eax, ebx
and ecx, 0x3f
mov edx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x48]
mov byte [rax], cl
mov byte [rcx + rax], r12b
mov eax, dword [rbp + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [rbp + 0x2c]
test r14, r14
je 0x1400acfdb
mov r11, qword [rsp + 0x50]
nop dword [rax]
mov r9d, dword [rsp + rbx*4 + 0x60]
mov eax, dword [rsi + r10 - 3]
lea rdx, [r9 + r13]
cmp dword [rdx + rsi - 3], eax
jne 0x1400acfcf
lea r8, [rdi - 7]
mov rax, r10
cmp r10, r8
jae 0x1400acf6c
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x1400acf46
bsf rcx, rcx
shr rcx, 3
jmp 0x1400acfb1
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x1400acf6c
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1400ad002
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x1400acf53
lea rcx, [rdi - 3]
cmp rax, rcx
jae 0x1400acf83
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x1400acf83
add rax, 4
add rdx, 4
lea rcx, [rdi - 1]
cmp rax, rcx
jae 0x1400acf9c
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x1400acf9c
add rax, 2
add rdx, 2
cmp rax, rdi
jae 0x1400acfab
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1400acfab
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rsi
jbe 0x1400acfcf
mov eax, dword [rsp + 0xc]
mov rsi, rcx
sub eax, r9d
add eax, 3
mov qword [r11], rax
lea rax, [rcx + r10]
cmp rax, rdi
je 0x1400acfdb
inc rbx
cmp rbx, r14
jb 0x1400acf10
mov rax, rsi
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1400db3a0
add rsp, 0x178
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 0x1400acfb1