Function at 0x140067e04
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 r14, qword [rcx + 8]
mov r11, rcx
mov r10, qword [rcx + 0x70]
mov r15, rdx
mov rbx, qword [rcx + 0x38]
mov r13d, r15d
sub r13d, r14d
mov qword [rsp + 0x40], rdx
mov eax, dword [r11 + 0x18]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x58], r8
mov r8d, dword [rcx + 0x34]
mov rcx, qword [rcx + 0x10]
lea rdx, [rax + r14]
add rax, rcx
mov qword [rsp + 0x78], rcx
mov ecx, dword [r11 + 0x100]
mov qword [rsp + 0x80], rax
mov eax, r13d
sub eax, dword [r11 + 0x1c]
mov qword [rsp + 0x88], rdx
mov edx, 1
shl edx, cl
mov ecx, r13d
sub ecx, edx
mov qword [rsp + 0x90], r9
cmp eax, edx
mov qword [rsp + 0x68], r10
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 + 0x30], ecx
lea r12d, [rdi + 3]
lea ecx, [rdi + 6]
mov qword [rsp + 0x70], rbx
cmp eax, ecx
mov dword [rsp + 0x60], r8d
mov qword [rsp + 0x50], r14
cmovb ecx, eax
mov qword [rsp + 0x98], rdx
lea eax, [rdi + 1]
mov qword [rsp + 0x48], r12
shl eax, cl
mov dword [rsp + 0x64], eax
cmp dword [r11 + 0x12c], edi
jne 0x1400681b0
mov ebx, dword [r11 + 0x2c]
lea esi, [rdi + 0x18]
mov eax, r13d
sub eax, ebx
cmp eax, 0x180
jbe 0x140068085
lea eax, [rbx + 0x60]
mov dword [rsp + 0x28], eax
cmp ebx, eax
jae 0x140067fe0
mov r12d, dword [rsp + 0x28]
lea rax, [r14 + 8]
mov rdi, qword [rsp + 0x70]
mov r15d, esi
sub r15d, r8d
mov ebp, ebx
add rax, rbx
mov rsi, r10
mov r14, rax
mov eax, dword [r11 + 0x60]
mov rcx, r15
imul edx, dword [r14], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [rax + rdi]
prefetcht0 byte [rax + rdi + 0x20]
mov rax, rbp
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 2
and r9d, 0x3fffffc0
lea r8, [r9 + rdi]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc rbp
not ecx
inc r14
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [rdx + r8], r10b
mov dword [rsi + rax*4], ebx
inc ebx
cmp ebx, r12d
jb 0x140067f43
mov r15, qword [rsp + 0x40]
xor edi, edi
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
lea esi, [rdi + 0x18]
mov rcx, qword [r11 + 0x70]
lea ebx, [r13 - 0x20]
mov rdx, qword [r11 + 0x38]
lea r9, [rbx + r14]
lea rax, [r15 + 1]
mov qword [rsp + 0x38], rcx
mov r8d, ebx
cmp r9, rax
jbe 0x140068005
mov eax, edi
jmp 0x140068015
sub eax, r14d
mov ecx, 8
sub eax, ebx
inc eax
cmp eax, ecx
ja 0x140068017
mov ecx, eax
lea eax, [rcx + rbx]
cmp ebx, eax
jae 0x140068085
mov r12, qword [rsp + 0x38]
mov ebp, esi
sub ebp, dword [r11 + 0x34]
mov r15, rdx
mov r10d, ecx
mov eax, dword [r11 + 0x60]
mov rcx, rbp
imul edx, dword [r9], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rax + r15]
prefetcht0 byte [rax + r15 + 0x20]
mov rax, r8
inc r9
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r10, 1
jne 0x14006802f
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rcx, qword [r11 + 0x38]
mov rax, qword [r11 + 0x70]
mov qword [rsp + 0x28], rcx
mov rcx, qword [r11 + 8]
cmp ebx, r13d
jae 0x140068154
mov rdi, qword [rsp + 0x28]
lea r14, [rcx + 8]
mov r15d, esi
mov ebp, ebx
sub r15d, dword [r11 + 0x34]
mov r12, rax
add r14, rbp
mov eax, dword [r11 + 0x60]
mov rcx, r15
imul edx, dword [r14], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [rax + rdi]
prefetcht0 byte [rax + rdi + 0x20]
mov rax, rbp
and eax, 7
mov r10d, dword [r11 + rax*4 + 0x40]
mov r9d, r10d
mov dword [r11 + rax*4 + 0x40], edx
shr r9, 2
and r9d, 0x3fffffc0
lea r8, [r9 + rdi]
movzx edx, byte [r8]
dec edx
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
inc rbp
not ecx
inc r14
and ecx, 0x3f
add edx, ecx
mov byte [r8], dl
mov eax, edx
add rax, r9
mov byte [r8 + rdx], r10b
mov dword [r12 + rax*4], ebx
inc ebx
cmp ebx, r13d
jb 0x1400680b7
mov r15, qword [rsp + 0x40]
xor edi, edi
mov r12, qword [rsp + 0x48]
mov r14, qword [rsp + 0x50]
mov eax, dword [rsp + 0x98]
mov ecx, esi
sub ecx, dword [rsp + 0x60]
mov r10, qword [rsp + 0x68]
mov dword [r11 + 0x2c], r13d
imul edx, dword [r13 + r14 + 8], 0x9e3779b1
mov r8d, r13d
xor rdx, rax
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [r10 + rax*4 + 0x40]
mov rbx, qword [rsp + 0x70]
prefetcht0 byte [rax + rbx]
prefetcht0 byte [rax + rbx + 0x20]
and r8d, 7
mov r9d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1400681cb
imul r9d, dword [r15], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, r8d
mov dword [r11 + 0x2c], r13d
xor r9, rax
shr r9, cl
add dword [r11 + 0x68], r9d
mov eax, r9d
shr rax, 2
xorps xmm0, xmm0
and eax, 0x3fffffc0
mov rsi, rdi
add rbx, rax
mov rcx, rdi
movups xmmword [rsp + 0x98], xmm0
mov rdx, rbx
lea r14, [r10 + rax*4]
movsx eax, r9b
movzx ebp, byte [rbx]
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [rsp + rcx*4 + 0x98], eax
inc rcx
cmp rcx, 4
jl 0x14006820e
movsxd rax, dword [rsp + 0xa0]
mov edx, ebp
movsxd r8, dword [rsp + 0xa4]
and edx, 0x3f
shl r8, 0x10
mov ecx, edx
or r8, rax
neg ecx
movsxd rax, dword [rsp + 0x9c]
and ecx, 0x3f
shl r8, 0x10
or r8, rax
movsxd rax, dword [rsp + 0x98]
shl r8, 0x10
or r8, rax
mov r10, r8
shl r10, cl
mov ecx, edx
shr r8, cl
or r10, r8
je 0x1400682dd
mov rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x64]
mov r12, qword [rsp + 0x78]
mov r15d, dword [rsp + 0x30]
test r8d, r8d
je 0x1400682d3
bsf rcx, r10
add ecx, ebp
and ecx, 0x3f
mov ecx, dword [r14 + rcx*4]
je 0x1400682ca
cmp ecx, r15d
jb 0x1400682d3
cmp ecx, dword [rsp + 0x20]
jb 0x1400682b8
prefetcht0 byte [rcx + rdx]
jmp 0x1400682bd
prefetcht0 byte [rcx + r12]
mov dword [rsp + rsi*4 + 0xb0], ecx
inc rsi
dec r8d
lea rax, [r10 - 1]
and r10, rax
ja 0x140068293
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
lea edx, [rbp - 1]
and edx, 0x3f
mov eax, edx
neg eax
sbb ecx, ecx
not ecx
and ecx, 0x3f
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 0x1400683e6
mov r8, qword [rsp + 0x58]
mov ebp, dword [rsp + rdi*4 + 0xb0]
mov ecx, ebp
cmp ebp, dword [rsp + 0x20]
jb 0x140068344
mov rdx, qword [rsp + 0x50]
mov eax, dword [r12 + r15 - 3]
add rdx, rcx
cmp dword [rdx + r12 - 3], eax
jne 0x1400683da
mov rcx, r15
call fcn.14009ec70
jmp 0x1400683b6
mov rdx, qword [rsp + 0x78]
mov eax, dword [r15]
cmp dword [rbp + rdx], eax
jne 0x1400683da
mov r8, qword [rsp + 0x58]
lea r11, [rdx + 4]
add r11, rcx
lea r14, [r15 + 4]
mov rcx, qword [rsp + 0x80]
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 + 0x58]
mov rbx, rax
add rax, r11
cmp rax, qword [rsp + 0x80]
jne 0x1400683b2
mov rdx, qword [rsp + 0x88]
lea rcx, [rbx + r14]
call fcn.14009ec70
add rbx, rax
lea rax, [rbx + 4]
cmp rax, r12
jbe 0x1400683da
mov rdx, qword [rsp + 0x90]
mov ecx, r13d
sub ecx, ebp
mov r12, rax
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + r15]
cmp rcx, r8
je 0x1400683e6
inc rdi
cmp rdi, rsi
jb 0x140068313
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