Function at 0x1400689b4
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov rax, qword [0x1400d6910]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rax, qword [rcx + 0x38]
mov r11, rcx
mov r10, qword [rcx + 0x70]
mov r15, rdx
mov qword [rsp + 0x70], rax
mov r13d, r15d
mov qword [rsp + 0x48], rdx
movabs r14, 0xcf1bbcdcbb000000
mov eax, dword [r11 + 0x18]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x60], r8
mov r8, qword [rcx + 8]
sub r13d, r8d
mov qword [rsp + 0x98], r9
mov r9d, dword [rcx + 0x34]
mov rcx, qword [rcx + 0x10]
lea rdx, [rax + r8]
mov qword [rsp + 0x80], rcx
add rax, rcx
mov qword [rsp + 0x90], rdx
mov ecx, dword [r11 + 0x100]
mov edx, 1
shl edx, cl
mov ecx, r13d
sub ecx, edx
mov qword [rsp + 0x88], rax
mov eax, r13d
mov qword [rsp + 0x40], r10
sub eax, dword [r11 + 0x1c]
cmp eax, edx
mov dword [rsp + 0x20], r9d
mov eax, dword [r11 + 0x10c]
cmovbe ecx, dword [r11 + 0x1c]
xor edi, edi
cmp dword [r11 + 0x28], edi
mov rdx, qword [r11 + 0x60]
cmovne ecx, dword [r11 + 0x1c]
mov dword [rsp + 0x38], ecx
lea r12d, [rdi + 3]
lea ecx, [rdi + 5]
mov qword [rsp + 0x58], r8
cmp eax, ecx
mov dword [rsp + 0x24], r13d
mov qword [rsp + 0xa0], rdx
cmovb ecx, eax
mov qword [rsp + 0x50], r12
lea eax, [rdi + 1]
shl eax, cl
mov dword [rsp + 0x68], eax
cmp dword [r11 + 0x12c], edi
jne 0x140068d53
mov ebx, dword [r11 + 0x2c]
lea esi, [rdi + 0x38]
mov eax, r13d
sub eax, ebx
cmp eax, 0x180
jbe 0x140068c39
lea eax, [rbx + 0x60]
cmp ebx, eax
jae 0x140068b91
mov r13, qword [rsp + 0x70]
mov ebp, esi
sub ebp, r9d
lea rsi, [r8 + 8]
add rsi, rbx
mov r12d, ebx
mov r15d, eax
mov rdi, r10
mov rdx, qword [rsi]
mov ecx, ebp
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov ecx, 0x1fffffe0
mov eax, edx
shr rax, 3
and rax, rcx
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
mov rax, r12
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 3
and r9, rcx
lea r8, [r9 + r13]
movzx edx, byte [r8]
dec edx
and edx, 0x1f
mov eax, edx
neg eax
sbb ecx, ecx
inc r12
not ecx
inc rsi
and ecx, 0x1f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [rdx + r8], r10b
mov dword [rdi + rax*4], ebx
inc ebx
cmp ebx, r15d
jb 0x140068afc
mov r15, qword [rsp + 0x48]
xor edi, edi
mov r13d, dword [rsp + 0x24]
mov r12, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
lea esi, [rdi + 0x38]
mov rcx, qword [r11 + 0x70]
lea ebx, [r13 - 0x20]
mov qword [rsp + 0x30], rcx
lea r10, [rbx + r8]
mov rcx, qword [r11 + 0x38]
lea rax, [r15 + 1]
mov qword [rsp + 0x78], rcx
mov r9d, ebx
cmp r10, rax
jbe 0x140068bbb
mov eax, edi
jmp 0x140068bcb
sub eax, r8d
mov ecx, 8
sub eax, ebx
inc eax
cmp eax, ecx
ja 0x140068bcd
mov ecx, eax
lea eax, [rcx + rbx]
cmp ebx, eax
jae 0x140068c34
mov r12, qword [rsp + 0x30]
mov r8d, esi
sub r8d, dword [r11 + 0x34]
mov r15, qword [rsp + 0x78]
mov ebp, ecx
mov rdx, qword [r10]
mov ecx, r8d
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rax + r15]
mov rax, r9
inc r10
and eax, 7
inc r9
mov dword [r11 + rax*4 + 0x40], edx
sub rbp, 1
jne 0x140068be7
mov r15, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov r10, qword [rsp + 0x40]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [r11 + 8]
cmp ebx, r13d
jae 0x140068cfd
mov r15, qword [rsp + 0x78]
lea rdi, [rax + 8]
mov ebp, esi
mov r12d, ebx
sub ebp, dword [r11 + 0x34]
mov rsi, rcx
add rdi, r12
mov rdx, qword [rdi]
mov ecx, ebp
imul rdx, r14
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov ecx, 0x1fffffe0
mov eax, edx
shr rax, 3
and rax, rcx
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rax + rsi]
mov rax, r12
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 3
and r9, rcx
lea r8, [r9 + rsi]
movzx edx, byte [r8]
dec edx
and edx, 0x1f
mov eax, edx
neg eax
sbb ecx, ecx
inc r12
not ecx
inc rdi
and ecx, 0x1f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [rdx + r8], r10b
mov dword [r15 + rax*4], ebx
inc ebx
cmp ebx, r13d
jb 0x140068c6b
mov r15, qword [rsp + 0x48]
xor edi, edi
mov r12, qword [rsp + 0x50]
mov r10, qword [rsp + 0x40]
lea esi, [rdi + 0x38]
mov rax, qword [rsp + 0x58]
sub esi, dword [rsp + 0x20]
mov r8d, r13d
mov cl, sil
mov dword [r11 + 0x2c], r13d
mov rdx, qword [r8 + rax + 8]
imul rdx, r14
xor rdx, qword [rsp + 0xa0]
shr rdx, cl
mov eax, edx
shr rax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [r10 + rax*4 + 0x40]
mov rcx, qword [rsp + 0x70]
prefetcht0 byte [rax + rcx]
and r8d, 7
mov r9d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x140068d72
mov r9, qword [r15]
mov ecx, 0x38
sub ecx, dword [rsp + 0x20]
imul r9, r14
mov dword [r11 + 0x2c], r13d
xor r9, rdx
shr r9, cl
mov rcx, qword [rsp + 0x70]
add dword [r11 + 0x68], r9d
mov eax, r9d
shr rax, 3
xorps xmm0, xmm0
and eax, 0x1fffffe0
mov rsi, rdi
movups xmmword [rsp + 0xa0], xmm0
lea rbx, [rax + rcx]
mov rcx, rdi
movzx ebp, byte [rbx]
lea r14, [r10 + rax*4]
movsx eax, r9b
mov r10d, ebp
and r10d, 0x1f
mov rdx, rbx
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
mov dword [rsp + rcx*4 + 0xa0], eax
inc rcx
cmp rcx, 2
jl 0x140068dbd
mov edx, dword [rsp + 0xa4]
mov ecx, r10d
neg ecx
shl edx, 0x10
or edx, dword [rsp + 0xa0]
and ecx, 0x1f
mov r8d, edx
mov eax, edx
shl r8d, cl
mov ecx, r10d
shr rax, cl
or r8, rax
je 0x140068e74
mov rdx, qword [rsp + 0x58]
mov r12d, dword [rsp + 0x68]
mov r13, qword [rsp + 0x80]
mov r15d, dword [rsp + 0x38]
test r12d, r12d
je 0x140068e65
bsf rcx, r8
add ecx, r10d
and ecx, 0x1f
mov ecx, dword [r14 + rcx*4]
je 0x140068e5c
cmp ecx, r15d
jb 0x140068e65
cmp ecx, dword [rsp + 0x28]
jb 0x140068e4a
prefetcht0 byte [rcx + rdx]
jmp 0x140068e4f
prefetcht0 byte [rcx + r13]
mov dword [rsp + rsi*4 + 0xb0], ecx
inc rsi
dec r12d
lea rax, [r8 - 1]
and r8, rax
ja 0x140068e24
mov r15, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x24]
mov r12, qword [rsp + 0x50]
lea edx, [rbp - 1]
and edx, 0x1f
mov eax, edx
neg eax
sbb ecx, ecx
not ecx
and ecx, 0x1f
add edx, ecx
mov byte [rbx], dl
mov byte [rdx + rbx], r9b
mov ecx, dword [r11 + 0x2c]
lea eax, [rcx + 1]
mov dword [r11 + 0x2c], eax
mov dword [r14 + rdx*4], ecx
test rsi, rsi
je 0x140068f80
mov r8, qword [rsp + 0x60]
mov ebp, dword [rsp + rdi*4 + 0xb0]
mov ecx, ebp
cmp ebp, dword [rsp + 0x28]
jb 0x140068edb
mov rdx, qword [rsp + 0x58]
mov eax, dword [r12 + r15 - 3]
add rdx, rcx
cmp dword [rdx + r12 - 3], eax
jne 0x140068f74
mov rcx, r15
call fcn.14009ec70
jmp 0x140068f50
mov rdx, qword [rsp + 0x80]
mov eax, dword [r15]
cmp dword [rbp + rdx], eax
jne 0x140068f74
mov r8, qword [rsp + 0x60]
lea r11, [rdx + 4]
add r11, rcx
lea r14, [r15 + 4]
mov rcx, qword [rsp + 0x88]
mov rax, r14
sub rax, r11
mov rdx, r11
add rcx, rax
cmp rcx, r8
cmovb r8, rcx
mov rcx, r14
call fcn.14009ec70
mov r8, qword [rsp + 0x60]
mov rbx, rax
add rax, r11
cmp rax, qword [rsp + 0x88]
jne 0x140068f4c
mov rdx, qword [rsp + 0x90]
lea rcx, [rbx + r14]
call fcn.14009ec70
add rbx, rax
lea rax, [rbx + 4]
cmp rax, r12
jbe 0x140068f74
mov rdx, qword [rsp + 0x98]
mov ecx, r13d
sub ecx, ebp
mov r12, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + r15]
cmp rcx, r8
je 0x140068f80
inc rdi
cmp rdi, rsi
jb 0x140068eaa
mov rax, r12
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14001bf00
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret