Function at 0x1337c0ec6d90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x168
mov rax, qword [rcx + 0x38]
mov r10, rcx
mov r15, qword [rcx + 8]
mov r13d, edx
mov r9, qword [rcx + 0x70]
sub r13d, r15d
mov qword [rsp + 0x50], rax
mov ebp, 1
mov eax, dword [rcx + 0x34]
mov r14, rdx
mov ecx, dword [rcx + 0x100]
mov edx, ebp
shl edx, cl
mov r8d, r13d
mov ecx, dword [r10 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x20], eax
mov edi, 3
mov eax, r13d
mov qword [rsp + 0x38], r9
sub eax, ecx
mov qword [rsp + 0x48], r15
cmp eax, edx
mov dword [rsp + 0x30], r13d
mov eax, dword [r10 + 0x10c]
movabs r12, 0xcf1bbcdcbf9b0000
cmovbe r8d, ecx
mov dword [rsp + 0x24], 0x1f
cmp dword [r10 + 0x28], 0
cmovne r8d, ecx
mov ecx, 5
cmp eax, ecx
mov dword [rsp + 0x40], r8d
cmovb ecx, eax
mov rax, qword [r10 + 0x60]
shl ebp, cl
xor ebx, ebx
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x1b0], ebp
cmp dword [r10 + 0x12c], ebx
jne 0x1337c0ec712e
mov r11d, dword [r10 + 0x2c]
lea esi, [rdi + 0x35]
mov eax, r13d
sub eax, r11d
cmp eax, 0x180
jbe 0x1337c0ec6ffd
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1337c0ec6f3c
mov r13, qword [rsp + 0x50]
lea rdi, [r15 + 8]
mov ebp, esi
mov r14d, r11d
sub ebp, dword [rsp + 0x20]
mov r15d, eax
add rdi, r11
mov rsi, r9
mov rdx, qword [rdi]
mov ecx, ebp
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [rax + r13]
mov rax, r14
lea rdi, [rdi + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, byte [rax + r13]
lea rdx, [rax + r13]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebx
cmove eax, dword [rsp + 0x24]
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], r11d
inc r11d
cmp r11d, r15d
jb 0x1337c0ec6ea0
mov r14, qword [rsp + 0x1b8]
mov edi, 3
mov ebp, dword [rsp + 0x1b0]
mov r15, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x30]
lea esi, [rdi + 0x35]
mov rcx, qword [r10 + 0x70]
lea r11d, [r13 - 0x20]
mov qword [rsp + 0x30], rcx
lea rax, [r14 + 1]
mov rcx, qword [r10 + 0x38]
lea r9, [r15 + r11]
mov qword [rsp + 0x28], rcx
mov ecx, eax
sub ecx, r15d
mov r8d, r11d
sub ecx, r11d
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebx
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1337c0ec6ff8
mov rdi, qword [rsp + 0x30]
mov r14d, esi
sub r14d, dword [r10 + 0x34]
mov r15, qword [rsp + 0x28]
mov ebp, ecx
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, r14d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [rdi + rax*4]
prefetcht0 byte [rdi + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rbp, 1
jne 0x1337c0ec6fa0
mov r14, qword [rsp + 0x1b8]
lea edi, [rbp + 3]
mov ebp, dword [rsp + 0x1b0]
mov r15, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
mov rax, qword [r10 + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [r10 + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [r10 + 8]
cmp r11d, r13d
jae 0x1337c0ec70de
mov r14, qword [rsp + 0x30]
lea rbp, [rax + 8]
mov r15d, esi
mov edi, r11d
sub r15d, dword [r10 + 0x34]
mov rsi, qword [rsp + 0x28]
add rbp, rdi
nop word [rax + rax]
mov rdx, qword [rbp]
mov ecx, r15d
imul rdx, r12
xor rdx, qword [r10 + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [rsi + rax]
mov rax, rdi
lea rbp, [rbp + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, byte [rsi + rax]
lea rdx, [rsi + rax]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebx
cmove eax, dword [rsp + 0x24]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r14 + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x1337c0ec7040
mov r14, qword [rsp + 0x1b8]
mov edi, 3
mov ebp, dword [rsp + 0x1b0]
mov r15, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
lea esi, [rdi + 0x35]
sub esi, dword [rsp + 0x20]
movzx ecx, sil
mov r8d, r13d
mov dword [r10 + 0x2c], r13d
mov rdx, qword [r8 + r15 + 8]
imul rdx, r12
xor rdx, qword [rsp + 0x58]
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
mov ecx, eax
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov rax, qword [rsp + 0x50]
prefetcht0 byte [rcx + rax]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1337c0ec7148
mov r11, qword [r14]
mov ecx, 0x38
sub ecx, dword [rsp + 0x20]
imul r11, r12
mov dword [r10 + 0x2c], r13d
xor r11, rax
shr r11, cl
add dword [r10 + 0x68], r11d
mov eax, r11d
shr eax, 3
mov rsi, rbx
and eax, 0x1fffffe0
lea rcx, [r9 + rax*4]
mov qword [rsp + 0x1b8], rcx
mov rcx, qword [rsp + 0x50]
add rcx, rax
movsx eax, r11b
mov qword [rsp + 0x1b0], rcx
movdqu xmm0, xmmword [rcx]
movzx r12d, byte [rcx]
movd xmm2, eax
mov edx, r12d
and edx, 0x1f
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
mov ecx, edx
neg ecx
pmovmskb eax, xmm1
and ecx, 0x1f
pcmpeqb xmm0, xmm2
pmovmskb r8d, xmm0
shl r8d, 0x10
or r8d, eax
mov r9d, r8d
mov eax, r8d
shl r9d, cl
mov ecx, edx
mov rdx, qword [rsp + 0x1b8]
shr rax, cl
or r9, rax
jbe 0x1337c0ec7210
mov r8d, dword [rsp + 0x40]
test ebp, ebp
je 0x1337c0ec7210
bsf rcx, r9
add ecx, r12d
and ecx, 0x1f
mov ecx, dword [rdx + rcx*4]
je 0x1337c0ec7207
cmp ecx, r8d
jb 0x1337c0ec7210
prefetcht0 byte [rcx + r15]
mov dword [rsp + rsi*4 + 0x60], ecx
inc rsi
dec ebp
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ec71e1
lea ecx, [r12 - 1]
mov eax, ebx
and ecx, 0x1f
mov r8d, 0x1f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x1b0]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r10 + 0x2c]
test rsi, rsi
je 0x1337c0ec72a5
nop dword [rax]
nop dword [rax + rax]
mov ebp, dword [rsp + rbx*4 + 0x60]
mov eax, dword [rdi + r14 - 3]
lea rdx, [r15 + rbp]
cmp dword [rdx + rdi - 3], eax
jne 0x1337c0ec729d
mov r12, qword [rsp + 0x1c0]
mov rcx, r14
mov r8, r12
call fcn.1337c0ebd1b0
mov rcx, rax
cmp rax, rdi
jbe 0x1337c0ec729d
mov rdx, qword [rsp + 0x1c8]
mov rdi, rax
mov eax, r13d
sub eax, ebp
add eax, 3
mov qword [rdx], rax
lea rax, [rcx + r14]
cmp rax, r12
je 0x1337c0ec72a5
inc rbx
cmp rbx, rsi
jb 0x1337c0ec7250
mov rax, rdi
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret