Function at 0x1400adbe0
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 r11, qword [rcx + 0x38]
mov rbp, rcx
mov r14d, dword [rcx + 0x34]
mov ebx, edx
mov r13d, edx
mov qword [rsp + 0x50], rdx
mov r15d, 1
mov qword [rsp + 0x30], r8
mov r10, rdx
mov qword [rsp + 0x58], r9
mov r9, qword [rcx + 0x70]
mov edx, r15d
mov rdi, r8
mov qword [rsp + 0x18], r9
mov r8, qword [rcx + 8]
mov esi, 3
mov ecx, dword [rcx + 0x100]
sub ebx, r8d
shl edx, cl
mov eax, ebx
mov ecx, dword [rbp + 0x1c]
sub r13d, r8d
sub eax, ecx
mov dword [rsp + 0xc], ebx
sub ebx, edx
mov qword [rsp + 0x38], r11
cmp eax, edx
mov dword [rsp + 8], r14d
mov eax, dword [rbp + 0x10c]
cmovbe ebx, ecx
mov qword [rsp + 0x20], r8
cmp dword [rbp + 0x28], 0
mov dword [rsp + 4], r13d
cmovne ebx, ecx
mov dword [rsp + 0x10], 0x3f
mov ecx, 6
mov dword [rsp + 0x2c], ebx
cmp eax, ecx
cmovb ecx, eax
mov rax, qword [rbp + 0x60]
shl r15d, cl
xor ebx, ebx
lea ecx, [rsi + 0x35]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x14], r15d
cmp dword [rbp + 0x12c], ebx
jne 0x1400adfb2
mov r11d, dword [rbp + 0x2c]
mov eax, r13d
mov r12, qword [rsp + 0x38]
sub eax, r11d
mov r14, r9
mov r9d, dword [rsp + 8]
mov rdx, r8
movabs r13, 0xcf1bbcdcbb000000
cmp eax, 0x180
jbe 0x1400ade87
lea edx, [r11 + 0x60]
mov qword [rsp + 0x48], r8
cmp r11d, edx
jae 0x1400addc6
mov r10, qword [rsp + 0x18]
lea rdi, [r8 + 8]
mov rsi, qword [rsp + 0x38]
mov r12d, ecx
sub r12d, r9d
mov r14d, r11d
add rdi, r11
mov r15d, edx
nop dword [rax]
mov rdx, qword [rdi]
mov ecx, r12d
imul rdx, r13
xor rdx, qword [rbp + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [r10 + rax*4 + 0x40]
prefetcht0 byte [rax + rsi]
prefetcht0 byte [rax + rsi + 0x20]
mov rax, r14
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 + 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 [r10 + rax*4], r11d
inc r11d
cmp r11d, r15d
jb 0x1400add20
mov rax, qword [rbp + 8]
mov esi, 3
mov r10, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x14]
lea ecx, [rsi + 0x35]
mov qword [rsp + 0x48], rax
mov r11d, dword [rsp + 4]
lea rax, [r10 + 1]
mov edx, dword [rbp + 0x34]
add r11d, 0xffffffe0
mov r14, qword [rbp + 0x70]
mov r12, qword [rbp + 0x38]
mov dword [rsp + 0x28], edx
mov rdx, qword [rsp + 0x20]
mov dword [rsp], eax
sub dword [rsp], edx
mov r8d, r11d
lea r9, [r11 + rdx]
mov edx, dword [rsp]
sub edx, r11d
inc edx
cmp r9, rax
mov eax, 8
cmova edx, ebx
cmp edx, eax
cmova edx, eax
lea eax, [r11 + rdx]
cmp r11d, eax
jae 0x1400ade79
sub ecx, dword [rsp + 0x28]
mov edi, edx
nop dword [rax + rax]
mov rdx, qword [r9]
imul rdx, r13
xor rdx, qword [rbp + 0x60]
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 0x1400ade20
mov r14, qword [rbp + 0x70]
mov r12, qword [rbp + 0x38]
mov rdx, qword [rbp + 8]
mov rdi, qword [rsp + 0x30]
jmp 0x1400ade7e
mov rdx, qword [rsp + 0x48]
mov r9d, dword [rbp + 0x34]
mov ecx, 0x38
mov eax, dword [rsp + 4]
cmp r11d, eax
jae 0x1400adf50
mov r15d, ecx
mov edi, r11d
sub r15d, r9d
lea rsi, [r11 + 8]
add rsi, rdx
mov r10d, eax
nop word [rax + rax]
mov rdx, qword [rsi]
mov ecx, r15d
imul rdx, r13
xor rdx, qword [rbp + 0x60]
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, rdi
lea rsi, [rsi + 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 rdi
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, r10d
jb 0x1400adeb0
mov r10, qword [rsp + 0x50]
mov esi, 3
mov rdi, qword [rsp + 0x30]
mov r15d, dword [rsp + 0x14]
mov eax, dword [rsp + 4]
mov r8d, dword [rsp + 0xc]
mov ecx, 0x38
sub ecx, dword [rsp + 8]
mov r9, qword [rsp + 0x18]
mov dword [rbp + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [r8 + rax + 8]
imul rdx, r13
xor rdx, qword [rsp + 0x40]
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 + 0x38]
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 0x1400adfd3
mov r12, qword [r10]
movabs r13, 0xcf1bbcdcbb000000
imul r12, r13
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
movdqu xmm0, xmmword [rax + r11]
movzx r13d, byte [rax + r11]
lea rcx, [r9 + rax*4]
mov qword [rsp + 0x18], rcx
lea rcx, [rax + r11]
movsx eax, r12b
mov qword [rsp + 0x40], rcx
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
pmovmskb r9d, xmm1
movdqu xmm1, xmmword [rcx + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb r8d, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [rcx + 0x30]
movzx ecx, r13b
pmovmskb eax, xmm1
and cl, 0x3f
pcmpeqb xmm0, xmm2
pmovmskb r11d, xmm0
shl r11, 0x10
or r11, rax
movsxd rax, r8d
mov r8, qword [rsp + 0x18]
shl r11, 0x10
or r11, rax
movsxd rax, r9d
shl r11, 0x10
or r11, rax
ror r11, cl
test r11, r11
je 0x1400ae0b9
mov rdx, qword [rsp + 0x20]
mov r9d, dword [rsp + 0x2c]
test r15d, r15d
je 0x1400ae0b9
bsf rcx, r11
add ecx, r13d
and ecx, 0x3f
je 0x1400ae0b0
mov ecx, dword [r8 + rcx*4]
cmp ecx, r9d
jb 0x1400ae0b9
prefetcht0 byte [rcx + rdx]
mov dword [rsp + r14*4 + 0x60], ecx
inc r14
dec r15d
lea rax, [r11 - 1]
and r11, rax
ja 0x1400ae087
lea ecx, [r13 - 1]
mov eax, ebx
and ecx, 0x3f
mov edx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x40]
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 0x1400ae1c8
mov r11, qword [rsp + 0x58]
nop
mov r9d, dword [rsp + rbx*4 + 0x60]
mov eax, dword [rsi + r10 - 3]
mov edx, r9d
add rdx, qword [rsp + 0x20]
cmp dword [rdx + rsi - 3], eax
jne 0x1400ae1bc
lea r8, [rdi - 7]
mov rax, r10
cmp r10, r8
jae 0x1400ae159
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x1400ae12a
bsf rcx, rcx
shr rcx, 3
jmp 0x1400ae19e
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x1400ae159
nop word [rax + rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1400ae1ef
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x1400ae140
lea rcx, [rdi - 3]
cmp rax, rcx
jae 0x1400ae170
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x1400ae170
add rax, 4
add rdx, 4
lea rcx, [rdi - 1]
cmp rax, rcx
jae 0x1400ae189
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x1400ae189
add rax, 2
add rdx, 2
cmp rax, rdi
jae 0x1400ae198
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1400ae198
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rsi
jbe 0x1400ae1bc
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 0x1400ae1c8
inc rbx
cmp rbx, r14
jb 0x1400ae0f0
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 0x1400ae19e