Function at 0x140068d50
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x188
mov rax, qword [0x1400c81d8]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r15, qword [rcx + 8]
mov rbx, rcx
mov rax, qword [rcx + 0x70]
mov rdi, r8
mov qword [rsp + 0x40], rax
mov esi, edx
mov rax, qword [rcx + 0x38]
sub esi, r15d
mov qword [rsp + 0x48], rax
mov r13d, edx
sub r13d, r15d
mov qword [rsp + 0x38], r8
mov r14d, 1
mov qword [rsp + 0x30], rdx
mov r10, rdx
mov qword [rsp + 0x60], r9
mov r9d, dword [rcx + 0x34]
mov edx, r14d
mov ecx, dword [rcx + 0x100]
mov eax, esi
shl edx, cl
mov r8d, esi
mov ecx, dword [rbx + 0x1c]
sub r8d, edx
sub eax, ecx
mov dword [rsp + 8], r9d
cmp eax, edx
mov qword [rsp + 0x20], r15
mov eax, dword [rbx + 0x10c]
mov ebp, 3
cmovbe r8d, ecx
mov dword [rsp], r13d
cmp dword [rbx + 0x28], 0
movabs r12, 0xcf1bbcdcbf9b0000
mov dword [rsp + 0x10], esi
cmovne r8d, ecx
mov dword [rsp + 0xc], 0xf
mov ecx, 4
mov dword [rsp + 0x28], r8d
cmp eax, ecx
cmovb ecx, eax
mov rax, qword [rbx + 0x60]
shl r14d, cl
xor r11d, r11d
mov qword [rsp + 0x58], rax
mov dword [rsp + 4], r14d
cmp dword [rbx + 0x12c], r11d
jne 0x1400690e8
mov esi, dword [rbx + 0x2c]
mov eax, r13d
sub eax, esi
lea r13d, [rbp + 0x35]
cmp eax, 0x180
jbe 0x140068fbb
lea eax, [rsi + 0x60]
cmp esi, eax
jae 0x140068f15
mov rbp, qword [rsp + 0x40]
lea r14, [r15 + 8]
mov r10d, r13d
mov edi, esi
mov r13, qword [rsp + 0x48]
sub r10d, r9d
add r14, rsi
mov r15d, eax
nop dword [rax]
mov rdx, qword [r14]
mov ecx, r10d
imul rdx, r12
xor rdx, qword [rbx + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rbp + rax*4]
prefetcht0 byte [rax + r13]
mov rax, rdi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [rbx + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbx + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r13]
lea rdx, [r8 + r13]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0xc]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [rbp + rax*4], esi
inc esi
cmp esi, r15d
jb 0x140068e80
mov r10, qword [rsp + 0x30]
mov ebp, 3
mov rdi, qword [rsp + 0x38]
mov r14d, dword [rsp + 4]
mov r15, qword [rsp + 0x20]
lea r13d, [rbp + 0x35]
mov rcx, qword [rbx + 0x70]
lea rax, [r10 + 1]
mov esi, dword [rsp]
mov qword [rsp + 0x18], rcx
add esi, 0xffffffe0
mov rcx, qword [rbx + 0x38]
mov qword [rsp + 0x50], rcx
mov ecx, eax
sub ecx, r15d
mov r8d, esi
sub ecx, esi
lea r9, [rsi + r15]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r11d
cmp ecx, eax
cmova ecx, eax
lea eax, [rsi + rcx]
cmp esi, eax
jae 0x140068fbb
mov r14, qword [rsp + 0x18]
mov edi, r13d
sub edi, dword [rbx + 0x34]
mov r10, qword [rsp + 0x50]
mov r15d, ecx
nop dword [rax]
mov rdx, qword [r9]
mov ecx, edi
imul rdx, r12
xor rdx, qword [rbx + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r10 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rbx + rax*4 + 0x40], edx
sub r15, 1
jne 0x140068f70
mov r10, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov r14d, dword [rsp + 4]
mov rax, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x38]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp]
mov qword [rsp + 0x18], rcx
mov rcx, qword [rbx + 8]
cmp esi, eax
jae 0x140069093
mov rbp, qword [rsp + 0x50]
lea rdi, [rcx + 8]
mov r14, qword [rsp + 0x18]
mov r10d, r13d
sub r10d, dword [rbx + 0x34]
mov r13d, eax
mov r15d, esi
add rdi, r15
nop word [rax + rax]
mov rdx, qword [rdi]
mov ecx, r10d
imul rdx, r12
xor rdx, qword [rbx + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rbp + rax*4]
prefetcht0 byte [r14 + rax]
mov rax, r15
lea rdi, [rdi + 1]
and eax, 7
mov r9d, dword [rbx + rax*4 + 0x40]
mov r8d, r9d
mov dword [rbx + rax*4 + 0x40], edx
mov eax, r11d
shr r8, 4
and r8d, 0xffffff0
movzx ecx, byte [r8 + r14]
lea rdx, [r8 + r14]
dec ecx
and ecx, 0xf
cmove eax, dword [rsp + 0xc]
inc r15
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbp + rax*4], esi
inc esi
cmp esi, r13d
jb 0x140069000
mov r10, qword [rsp + 0x30]
mov ebp, 3
mov rdi, qword [rsp + 0x38]
mov r14d, dword [rsp + 4]
mov eax, dword [rsp]
lea r13d, [rbp + 0x35]
sub r13d, dword [rsp + 8]
mov r8d, dword [rsp + 0x10]
movzx ecx, r13b
mov dword [rbx + 0x2c], eax
mov rax, qword [rsp + 0x20]
mov rdx, qword [r8 + rax + 8]
imul rdx, r12
xor rdx, qword [rsp + 0x58]
shr rdx, cl
mov rcx, qword [rsp + 0x40]
mov eax, edx
shr rax, 4
and eax, 0xffffff0
prefetcht0 byte [rcx + rax*4]
mov r9, qword [rsp + 0x48]
prefetcht0 byte [rax + r9]
and r8d, 7
mov r15d, dword [rbx + r8*4 + 0x40]
mov dword [rbx + r8*4 + 0x40], edx
jmp 0x14006910a
mov r15, qword [r10]
mov ecx, 0x38
sub ecx, r9d
mov dword [rbx + 0x2c], esi
mov r9, qword [rsp + 0x48]
imul r15, r12
xor r15, rax
shr r15, cl
mov rcx, qword [rsp + 0x40]
add dword [rbx + 0x68], r15d
mov eax, r15d
shr rax, 4
mov rsi, r11
and eax, 0xffffff0
movdqu xmm0, xmmword [rax + r9]
lea r13, [rcx + rax*4]
lea rcx, [rax + r9]
movzx eax, byte [rax + r9]
mov r12d, eax
mov dword [rsp + 8], eax
mov qword [rsp + 0x58], rcx
and r12d, 0xf
movsx eax, r15b
mov ecx, r12d
neg ecx
and ecx, 0xf
movd xmm1, eax
punpcklbw xmm1, xmm1
punpcklwd xmm1, xmm1
pshufd xmm1, xmm1, 0
pcmpeqb xmm1, xmm0
pmovmskb edx, xmm1
movzx eax, dx
shl ax, cl
movzx ecx, r12b
movzx r9d, ax
movzx eax, dx
shr rax, cl
or r9, rax
jbe 0x1400691ba
mov rdx, qword [rsp + 0x20]
mov r8d, dword [rsp + 0x28]
test r14d, r14d
je 0x1400691ba
bsf rcx, r9
add ecx, r12d
and ecx, 0xf
je 0x1400691b1
mov ecx, dword [r13 + rcx*4]
cmp ecx, r8d
jb 0x1400691ba
prefetcht0 byte [rcx + rdx]
mov dword [rsp + rsi*4 + 0x70], ecx
inc rsi
dec r14d
lea rax, [r9 - 1]
and r9, rax
ja 0x140069188
mov ecx, dword [rsp + 8]
mov eax, r11d
dec ecx
mov edx, 0xf
and ecx, 0xf
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [rax], cl
mov byte [rcx + rax], r15b
mov eax, dword [rbx + 0x2c]
mov dword [r13 + rcx*4], eax
inc dword [rbx + 0x2c]
test rsi, rsi
je 0x1400692d8
mov rbx, qword [rsp + 0x60]
nop dword [rax]
nop dword [rax + rax]
mov r9d, dword [rsp + r11*4 + 0x70]
mov eax, dword [r10 + rbp - 3]
mov edx, r9d
add rdx, qword [rsp + 0x20]
cmp dword [rdx + rbp - 3], eax
jne 0x1400692cc
lea r8, [rdi - 7]
mov rax, r10
cmp r10, r8
jae 0x140069269
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x14006923a
bsf rcx, rcx
shr rcx, 3
jmp 0x1400692ae
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x140069269
nop word [rax + rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1400692ff
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x140069250
lea rcx, [rdi - 3]
cmp rax, rcx
jae 0x140069280
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x140069280
add rax, 4
add rdx, 4
lea rcx, [rdi - 1]
cmp rax, rcx
jae 0x140069299
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x140069299
add rax, 2
add rdx, 2
cmp rax, rdi
jae 0x1400692a8
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1400692a8
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rbp
jbe 0x1400692cc
mov eax, dword [rsp + 0x10]
mov rbp, rcx
sub eax, r9d
add eax, 3
mov qword [rbx], rax
lea rax, [rcx + r10]
cmp rax, rdi
je 0x1400692d8
inc r11
cmp r11, rsi
jb 0x140069200
mov rax, rbp
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1400890e0
add rsp, 0x188
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 0x1400692ae