Function at 0x1401e5140
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov rax, qword [0x14034bd48]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov r15, qword [rcx + 8]
mov r11, rcx
mov rax, qword [rcx + 0x38]
mov rdi, rdx
mov r13, qword [rcx + 0x70]
mov ebp, edx
mov qword [rsp + 0x80], rax
sub ebp, r15d
mov eax, dword [rcx + 0x34]
mov rbx, r8
mov r10d, dword [r11 + 0x10c]
mov r8d, edx
mov r14, qword [rdi]
sub r8d, r15d
mov dword [rsp + 0x40], eax
mov esi, 1
mov eax, dword [rcx + 0x18]
mov ecx, dword [rcx + 0x100]
mov dword [rsp + 0x28], eax
add rax, r15
mov qword [rsp + 0xb8], rax
mov eax, r8d
mov qword [rsp + 0x88], r9
mov r9d, r8d
mov qword [rsp + 0xa0], rdx
mov edx, esi
shl edx, cl
mov ecx, dword [r11 + 0x1c]
sub r9d, edx
sub eax, ecx
mov qword [rsp + 0x78], rbx
cmp eax, edx
mov qword [rsp + 0x58], r13
mov rdx, qword [r11 + 0xf8]
mov eax, esi
cmovbe r9d, ecx
mov qword [rsp + 0x38], r15
cmp dword [r11 + 0x28], 0
mov esi, 3
mov dword [rsp + 0x2c], ebp
cmovne r9d, ecx
mov dword [rsp + 0x30], r8d
mov ecx, 6
mov dword [rsp + 0x70], r9d
mov r9, qword [r11 + 0x60]
cmp r10d, ecx
mov qword [rsp + 0x60], r9
cmovb ecx, r10d
mov qword [rsp + 0xa8], rsi
shl eax, cl
mov ecx, 0x42
sub ecx, dword [rdx + 0x108]
mov dword [rsp + 0x44], eax
movabs rax, 0xcf1bbcdcbb000000
imul r14, rax
mov qword [rsp + 0x50], rdx
mov rax, r14
shr rax, cl
lea rax, [rax*4]
lea rcx, [rax*4]
mov qword [rsp + 0xb0], rax
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x68], rcx
prefetcht0 byte [rcx + rax]
xor r12d, r12d
mov qword [rsp + 0x90], r12
cmp r10d, 6
jbe 0x1401e52a7
lea ecx, [r10 - 6]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x24], eax
jmp 0x1401e52ac
mov dword [rsp + 0x24], r12d
mov dword [rsp + 0x20], 0x3f
cmp dword [r11 + 0x12c], r12d
jne 0x1401e55e2
mov r10d, dword [r11 + 0x2c]
mov eax, ebp
sub eax, r10d
mov ebp, 0x38
cmp eax, 0x180
jbe 0x1401e5476
lea eax, [r10 + 0x60]
cmp r10d, eax
jae 0x1401e53b7
mov rsi, qword [rsp + 0x58]
mov r13d, ebp
sub r13d, dword [rsp + 0x40]
add r15, 8
mov rdi, qword [rsp + 0x80]
add r15, r10
mov r14d, r10d
mov ebx, eax
movabs rbp, 0xcf1bbcdcbb000000
mov rdx, qword [r15]
mov ecx, r13d
imul rdx, rbp
xor rdx, qword [r11 + 0x60]
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 [rdi + rax]
prefetcht0 byte [rdi + rax + 0x20]
mov rax, r14
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r12d
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [rdi + r8]
lea rdx, [rdi + r8]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x20]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rsi + rax*4], r10d
inc r10d
cmp r10d, ebx
jb 0x1401e5312
mov rbx, qword [rsp + 0x78]
mov ebp, 0x38
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x38]
mov rcx, qword [r11 + 0x38]
lea rax, [rdi + 1]
mov r10d, dword [rsp + 0x2c]
mov r13, qword [r11 + 0x70]
add r10d, 0xffffffe0
mov qword [rsp + 0x48], rcx
mov ecx, eax
sub ecx, r10d
mov r8d, r10d
sub ecx, r15d
inc ecx
lea r9, [r10 + r15]
cmp r9, rax
mov eax, 8
cmova ecx, r12d
cmp ecx, eax
cmova ecx, eax
lea eax, [r10 + rcx]
cmp r10d, eax
jae 0x1401e5471
mov rbx, qword [rsp + 0x48]
mov r15d, ebp
sub r15d, dword [r11 + 0x34]
movabs r12, 0xcf1bbcdcbb000000
mov r14d, ecx
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, r15d
imul rdx, r12
xor rdx, qword [r11 + 0x60]
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 [rbx + rax]
prefetcht0 byte [rbx + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r14, 1
jne 0x1401e5420
mov rbx, qword [rsp + 0x78]
xor r12d, r12d
mov r13, qword [rsp + 0x58]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 0x38]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x2c]
mov qword [rsp + 0x98], rcx
mov rcx, qword [r11 + 8]
cmp r10d, eax
jae 0x1401e5579
mov rbx, qword [rsp + 0x48]
lea r15, [rcx + 8]
mov rsi, qword [rsp + 0x98]
mov r13d, ebp
sub r13d, dword [r11 + 0x34]
mov edi, eax
mov r14d, r10d
movabs rbp, 0xcf1bbcdcbb000000
add r15, r14
nop word [rax + rax]
mov rdx, qword [r15]
mov ecx, r13d
imul rdx, rbp
xor rdx, qword [r11 + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rbx + rax*4]
prefetcht0 byte [rbx + rax*4 + 0x40]
prefetcht0 byte [rsi + rax]
prefetcht0 byte [rsi + rax + 0x20]
mov rax, r14
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov r8d, r9d
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r12d
shr r8, 2
and r8d, 0x3fffffc0
movzx ecx, byte [rsi + r8]
lea rdx, [rsi + r8]
dec ecx
and ecx, 0x3f
cmove eax, dword [rsp + 0x20]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rbx + rax*4], r10d
inc r10d
cmp r10d, edi
jb 0x1401e54d0
mov rbx, qword [rsp + 0x78]
mov ebp, 0x38
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0xa8]
mov eax, dword [rsp + 0x2c]
mov r13, qword [rsp + 0x58]
sub ebp, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x30]
movzx ecx, bpl
mov dword [r11 + 0x2c], eax
mov rax, qword [rsp + 0x38]
mov rdx, qword [r8 + rax + 8]
movabs rax, 0xcf1bbcdcbb000000
imul rdx, rax
xor rdx, qword [rsp + 0x60]
shr rdx, cl
mov eax, edx
shr rax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
mov rcx, qword [rsp + 0x80]
prefetcht0 byte [rax + rcx]
prefetcht0 byte [rax + rcx + 0x20]
and r8d, 7
mov r9d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1401e55fd
mov ecx, 0x38
mov dword [r11 + 0x2c], r8d
sub ecx, dword [rsp + 0x40]
xor r9, r14
shr r9, cl
mov rcx, qword [rsp + 0x80]
add dword [r11 + 0x68], r9d
mov eax, r9d
shr rax, 2
mov r14, r12
and eax, 0x3fffffc0
mov qword [rsp + 0x60], r9
add rcx, rax
mov rbp, r12
mov qword [rsp + 0x98], rcx
lea r13, [r13 + rax*4]
movsx eax, r9b
movdqu xmm0, xmmword [rcx]
movzx r15d, byte [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, r15b
pmovmskb eax, xmm1
and cl, 0x3f
pcmpeqb xmm0, xmm2
pmovmskb r10d, xmm0
shl r10, 0x10
or r10, rax
movsxd rax, r8d
shl r10, 0x10
or r10, rax
movsxd rax, r9d
shl r10, 0x10
or r10, rax
ror r10, cl
test r10, r10
je 0x1401e56ec
mov edx, dword [rsp + 0x44]
mov r8, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x70]
test edx, edx
je 0x1401e56e8
bsf rcx, r10
add ecx, r15d
and ecx, 0x3f
je 0x1401e56df
mov ecx, dword [r13 + rcx*4]
cmp ecx, r9d
jb 0x1401e56e8
prefetcht0 byte [rcx + r8]
mov dword [rsp + r14*4 + 0xc0], ecx
inc r14
dec edx
lea rax, [r10 - 1]
and r10, rax
ja 0x1401e56b3
mov dword [rsp + 0x44], edx
mov r9, qword [rsp + 0x60]
lea ecx, [r15 - 1]
and ecx, 0x3f
mov eax, r12d
mov edx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x98]
mov byte [rax], cl
mov byte [rcx + rax], r9b
mov eax, dword [r11 + 0x2c]
mov dword [r13 + rcx*4], eax
inc dword [r11 + 0x2c]
test r14, r14
je 0x1401e581a
mov r12d, dword [rsp + 0x30]
mov r10, qword [rsp + 0x88]
nop word [rax + rax]
mov r9d, dword [rsp + rbp*4 + 0xc0]
mov eax, dword [rsi + rdi - 3]
mov edx, r9d
add rdx, qword [rsp + 0x38]
cmp dword [rdx + rsi - 3], eax
jne 0x1401e580b
lea r8, [rbx - 7]
mov rax, rdi
cmp rdi, r8
jae 0x1401e57a9
mov rcx, qword [rdx]
xor rcx, qword [rdi]
je 0x1401e577c
bsf rcx, rcx
shr rcx, 3
jmp 0x1401e57ee
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x1401e57a9
nop dword [rax]
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x1401e5977
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x1401e5790
lea rcx, [rbx - 3]
cmp rax, rcx
jae 0x1401e57c0
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x1401e57c0
add rax, 4
add rdx, 4
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x1401e57d9
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x1401e57d9
add rax, 2
add rdx, 2
cmp rax, rbx
jae 0x1401e57e8
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x1401e57e8
inc rax
mov rcx, rax
sub rcx, rdi
cmp rcx, rsi
jbe 0x1401e580b
mov eax, r12d
mov rsi, rcx
sub eax, r9d
add eax, 3
mov qword [r10], rax
lea rax, [rcx + rdi]
cmp rax, rbx
je 0x1401e5817
inc rbp
cmp rbp, r14
jb 0x1401e5740
xor r12d, r12d
mov r10, qword [rsp + 0x50]
mov r11d, 3
mov r13d, dword [rsp + 0x24]
mov ebp, r11d
add r13d, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x68]
mov r8, qword [r10]
mov r15, qword [r10 + 8]
mov r9, qword [r10 + 0x70]
mov eax, r15d
sub eax, r8d
mov qword [rsp + 0x38], r8
add eax, dword [rsp + 0x28]
cmp r13d, r11d
mov dword [rsp + 0x20], eax
lea rcx, [rdx + r9]
cmovb ebp, r13d
mov dword [rsp + 0x28], ebp
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rcx]
prefetcht0 byte [rax + r15]
lea rcx, [rcx + 4]
sub r11, 1
jne 0x1401e5870
mov rax, qword [rsp + 0xb0]
mov ecx, dword [r9 + rax*4 + 0xc]
mov rax, qword [r10 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov dword [rsp + 0x24], r12d
mov r11d, r12d
test ebp, ebp
je 0x1401e5995
nop dword [rax]
mov rax, qword [r10 + 0x70]
mov ebp, dword [rdx + rax]
lea r11, [r15 + rbp]
test ebp, ebp
je 0x1401e5aaf
mov eax, dword [rdi]
cmp dword [r11], eax
jne 0x1401e5953
add r11, 4
lea r12, [rdi + 4]
mov rcx, r12
mov rdx, r11
sub rcx, r11
add rcx, r8
mov r8, rbx
cmp rcx, rbx
cmovb r8, rcx
mov rcx, r12
call fcn.1401d6ce0
mov r8, qword [rsp + 0x38]
mov r14, rax
lea rcx, [rax + r11]
cmp rcx, r8
jne 0x1401e5921
mov rdx, qword [rsp + 0xb8]
lea rcx, [rax + r12]
mov r8, rbx
call fcn.1401d6ce0
mov r8, qword [rsp + 0x38]
add r14, rax
add r14, 4
cmp r14, rsi
jbe 0x1401e594e
mov eax, dword [rsp + 0x30]
mov rsi, r14
mov rcx, qword [rsp + 0x88]
sub eax, ebp
sub eax, dword [rsp + 0x20]
add eax, 3
mov qword [rcx], rax
lea rax, [r14 + rdi]
cmp rax, rbx
je 0x1401e598a
mov r10, qword [rsp + 0x50]
mov r11d, dword [rsp + 0x24]
add qword [rsp + 0x68], 4
inc r11d
mov dword [rsp + 0x24], r11d
cmp r11d, dword [rsp + 0x28]
jae 0x1401e5992
mov rdx, qword [rsp + 0x68]
jmp 0x1401e58b0
bsf rcx, rcx
shr rcx, 3
sub rcx, rdi
add rcx, rax
jmp 0x1401e57ee
mov rax, r14
jmp 0x1401e5ab2
xor r12d, r12d
mov rax, qword [r10 + 0x70]
sub r13d, r11d
mov rcx, qword [rsp + 0xb0]
mov edx, r12d
mov ecx, dword [rax + rcx*4 + 0xc]
mov ebp, ecx
shr ebp, 8
movzx eax, cl
cmp r13d, eax
cmova r13d, eax
test r13d, r13d
je 0x1401e5aaf
mov r9, qword [r10 + 0x80]
nop word [rax + rax]
lea eax, [rdx + rbp]
mov eax, dword [r9 + rax*4]
prefetcht0 byte [rax + r15]
inc edx
cmp edx, r13d
jb 0x1401e59d0
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r10 + 0x80]
mov eax, dword [rax + rbp*4]
lea r11, [r15 + rax]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi]
cmp dword [r11], eax
jne 0x1401e5a94
add r11, 4
lea r12, [rdi + 4]
mov rcx, r12
mov rdx, r11
sub rcx, r11
add rcx, r8
mov r8, rbx
cmp rcx, rbx
cmovb r8, rcx
mov rcx, r12
call fcn.1401d6ce0
mov r14, rax
lea rcx, [rax + r11]
cmp rcx, qword [rsp + 0x38]
jne 0x1401e5a58
mov rdx, qword [rsp + 0xb8]
lea rcx, [rax + r12]
mov r8, rbx
call fcn.1401d6ce0
add r14, rax
add r14, 4
cmp r14, rsi
jbe 0x1401e5a87
mov eax, dword [rsp + 0x30]
mov rsi, r14
sub eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add eax, 3
mov qword [rcx], rax
lea rcx, [r14 + rdi]
cmp rcx, rbx
je 0x1401e5aaf
mov r10, qword [rsp + 0x50]
mov r12, qword [rsp + 0x90]
mov r8, qword [rsp + 0x38]
inc r12d
inc ebp
mov qword [rsp + 0x90], r12
cmp r12d, r13d
jb 0x1401e59f0
mov rax, rsi
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.140234a20
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret