Function at 0x14020f530
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 [0x14038bd00]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov r13, qword [rcx + 8]
mov rbp, rcx
mov r12, qword [rcx + 0x38]
mov r14d, 1
mov esi, dword [rcx + 0x34]
mov rbx, r8
mov r8, qword [rcx + 0x70]
mov r10, rdx
mov ecx, dword [rcx + 0x100]
mov edi, 3
mov qword [rsp + 0x60], r9
mov r9d, edx
sub r9d, r13d
mov qword [rsp + 0x38], rdx
mov edx, r14d
mov qword [rsp + 0x40], rbx
shl edx, cl
mov eax, r9d
mov ecx, dword [rbp + 0x1c]
mov r11d, r9d
sub eax, ecx
mov qword [rsp + 0x48], r8
sub r11d, edx
mov qword [rsp + 0x50], r12
cmp eax, edx
mov dword [rsp + 8], esi
mov eax, dword [rbp + 0x10c]
cmovbe r11d, ecx
mov qword [rsp + 0x18], r13
cmp dword [rbp + 0x28], 0
mov dword [rsp], r9d
cmovne r11d, ecx
mov dword [rsp + 0x10], 0x3f
mov ecx, 6
mov dword [rsp + 0x30], r11d
cmp eax, ecx
cmovb ecx, eax
mov rax, qword [rbp + 0x60]
shl r14d, cl
xor r11d, r11d
movabs rcx, 0xcf1bbcdcbb000000
mov qword [rsp + 0x58], rax
mov dword [rsp + 4], r14d
cmp dword [rbp + 0x12c], r11d
jne 0x14020f949
mov esi, dword [rbp + 0x2c]
mov eax, r9d
sub eax, esi
mov qword [rsp + 0x20], r12
lea r12d, [rdi + 0x35]
mov r15, r8
mov r8d, dword [rsp + 8]
mov rdx, r13
cmp eax, 0x180
jbe 0x14020f815
lea edx, [rsi + 0x60]
mov qword [rsp + 0x28], r13
cmp esi, edx
jae 0x14020f729
mov rdi, qword [rsp + 0x48]
lea rax, [r13 + 8]
mov r15d, r12d
mov r14d, esi
mov r12, qword [rsp + 0x50]
sub r15d, r8d
add rax, rsi
mov rbx, rcx
mov r13, rax
mov r10d, edx
nop
mov rdx, qword [r13]
mov ecx, r15d
imul rdx, rbx
xor rdx, qword [rbp + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
prefetcht0 byte [rax + r12 + 0x20]
mov rax, r14
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [rbp + rax*4 + 0x40]
mov dword [rbp + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, byte [rax + r12]
lea rdx, [rax + r12]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, r11d
cmove eax, dword [rsp + 0x10]
inc r14
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [rdi + rax*4], esi
inc esi
cmp esi, r10d
jb 0x14020f670
mov rax, qword [rbp + 8]
mov edi, 3
mov r10, qword [rsp + 0x38]
movabs rcx, 0xcf1bbcdcbb000000
mov rbx, qword [rsp + 0x40]
mov r14d, dword [rsp + 4]
mov r13, qword [rsp + 0x18]
lea r12d, [rdi + 0x35]
mov r9d, dword [rsp]
mov qword [rsp + 0x28], rax
mov rdx, qword [rbp + 0x38]
lea esi, [r9 - 0x20]
mov r15, qword [rbp + 0x70]
lea rax, [r10 + 1]
mov qword [rsp + 0x20], rdx
lea r9, [rsi + r13]
mov edx, dword [rbp + 0x34]
mov dword [rsp + 0xc], edx
mov edx, eax
sub edx, r13d
mov r8d, esi
sub edx, esi
inc edx
cmp r9, rax
mov eax, 8
cmova edx, r11d
cmp edx, eax
cmova edx, eax
lea eax, [rsi + rdx]
cmp esi, eax
jae 0x14020f808
mov r14, qword [rsp + 0x20]
mov edi, r12d
sub edi, dword [rsp + 0xc]
movabs rbx, 0xcf1bbcdcbb000000
mov r10d, edx
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, edi
imul rdx, rbx
xor rdx, qword [rbp + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [r14 + rax]
prefetcht0 byte [r14 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [rbp + rax*4 + 0x40], edx
sub r10, 1
jne 0x14020f790
mov rdx, qword [rbp + 0x38]
mov edi, 3
mov r15, qword [rbp + 0x70]
movabs rcx, 0xcf1bbcdcbb000000
mov r10, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov r14d, dword [rsp + 4]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rbp + 8]
jmp 0x14020f80d
mov rdx, qword [rsp + 0x28]
mov r8d, dword [rbp + 0x34]
mov r9d, dword [rsp]
cmp esi, r9d
jae 0x14020f8ec
mov rdi, qword [rsp + 0x20]
lea r10, [rsi + 8]
mov r13d, r12d
mov r14d, esi
mov r12d, dword [rsp]
sub r13d, r8d
add r10, rdx
movabs rbx, 0xcf1bbcdcbb000000
mov rdx, qword [r10]
mov ecx, r13d
imul rdx, rbx
xor rdx, qword [rbp + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rdi + rax]
prefetcht0 byte [rdi + rax + 0x20]
mov rax, r14
lea r10, [r10 + 1]
and eax, 7
mov r9d, dword [rbp + rax*4 + 0x40]
mov dword [rbp + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, byte [rdi + rax]
lea rdx, [rdi + rax]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, r11d
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 [r15 + rax*4], esi
inc esi
cmp esi, r12d
jb 0x14020f841
mov r10, qword [rsp + 0x38]
mov edi, 3
mov rbx, qword [rsp + 0x40]
movabs rcx, 0xcf1bbcdcbb000000
mov r14d, dword [rsp + 4]
mov r13, qword [rsp + 0x18]
mov r9d, dword [rsp]
lea r12d, [rdi + 0x35]
sub r12d, dword [rsp + 8]
mov rax, qword [rsp + 0x48]
mov r8d, r9d
mov dword [rbp + 0x2c], r9d
mov rdx, qword [r8 + r13 + 8]
imul rdx, rcx
movzx ecx, r12b
xor rdx, qword [rsp + 0x58]
shr rdx, cl
mov ecx, edx
shr ecx, 2
and ecx, 0x3fffffc0
prefetcht0 byte [rax + rcx*4]
prefetcht0 byte [rax + rcx*4 + 0x40]
mov r9, qword [rsp + 0x50]
prefetcht0 byte [rcx + r9]
prefetcht0 byte [rcx + r9 + 0x20]
and r8d, 7
mov r15d, dword [rbp + r8*4 + 0x40]
mov dword [rbp + r8*4 + 0x40], edx
mov r8, rax
jmp 0x14020f964
mov r15, qword [r10]
imul r15, rcx
mov ecx, 0x38
mov dword [rbp + 0x2c], r9d
xor r15, rax
sub ecx, esi
shr r15, cl
mov r9, r12
add dword [rbp + 0x68], r15d
mov eax, r15d
shr eax, 2
mov rsi, r11
and eax, 0x3fffffc0
add r9, rax
mov qword [rsp + 0x58], r9
lea rcx, [r8 + rax*4]
movsx eax, r15b
movdqu xmm0, xmmword [r9]
movzx r12d, byte [r9]
mov qword [rsp + 0x18], rcx
movzx ecx, r12b
movd xmm2, eax
and cl, 0x3f
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [r9 + 0x10]
pmovmskb r8d, xmm1
movdqu xmm1, xmmword [r9 + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [r9 + 0x30]
pmovmskb eax, xmm1
pcmpeqb xmm0, xmm2
pmovmskb r9d, xmm0
shl r9, 0x10
or r9, rax
movsxd rax, edx
mov rdx, qword [rsp + 0x18]
shl r9, 0x10
or r9, rax
movsxd rax, r8d
shl r9, 0x10
or r9, rax
ror r9, cl
test r9, r9
je 0x14020fa42
mov r8d, dword [rsp + 0x30]
test r14d, r14d
je 0x14020fa42
bsf rcx, r9
add ecx, r12d
and ecx, 0x3f
mov ecx, dword [rdx + rcx*4]
je 0x14020fa39
cmp ecx, r8d
jb 0x14020fa42
prefetcht0 byte [rcx + r13]
mov dword [rsp + rsi*4 + 0x70], ecx
inc rsi
dec r14d
lea rax, [r9 - 1]
and r9, rax
ja 0x14020fa11
lea ecx, [r12 - 1]
mov eax, r11d
and ecx, 0x3f
mov r8d, 0x3f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [rax], cl
mov byte [rcx + rax], r15b
mov eax, dword [rbp + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [rbp + 0x2c]
test rsi, rsi
je 0x14020fb49
mov ebp, dword [rsp]
mov r14, qword [rsp + 0x60]
nop
mov r9d, dword [rsp + r11*4 + 0x70]
mov eax, dword [rdi + r10 - 3]
lea rdx, [r9 + r13]
cmp dword [rdx + rdi - 3], eax
jne 0x14020fb3d
lea r8, [rbx - 7]
mov rax, r10
cmp r10, r8
jae 0x14020fadc
mov rcx, qword [rdx]
xor rcx, qword [r10]
je 0x14020fab6
bsf rcx, rcx
shr rcx, 3
jmp 0x14020fb21
add rax, 8
add rdx, 8
cmp rax, r8
jae 0x14020fadc
mov rcx, qword [rax]
xor rcx, qword [rdx]
jne 0x14020fb70
add rax, 8
add rdx, 8
cmp rax, r8
jb 0x14020fac3
lea rcx, [rbx - 3]
cmp rax, rcx
jae 0x14020faf3
mov ecx, dword [rax]
cmp dword [rdx], ecx
jne 0x14020faf3
add rax, 4
add rdx, 4
lea rcx, [rbx - 1]
cmp rax, rcx
jae 0x14020fb0c
movzx ecx, word [rax]
cmp word [rdx], cx
jne 0x14020fb0c
add rax, 2
add rdx, 2
cmp rax, rbx
jae 0x14020fb1b
movzx ecx, byte [rax]
cmp byte [rdx], cl
jne 0x14020fb1b
inc rax
mov rcx, rax
sub rcx, r10
cmp rcx, rdi
jbe 0x14020fb3d
mov eax, ebp
mov rdi, rcx
sub eax, r9d
add eax, 3
mov qword [r14], rax
lea rax, [rcx + r10]
cmp rax, rbx
je 0x14020fb49
inc r11
cmp r11, rsi
jb 0x14020fa80
mov rax, rdi
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140248b50
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 0x14020fb21