Function at 0x1337c0ecb180
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x198
mov r10, qword [rcx + 8]
mov r11, rcx
mov eax, dword [rcx + 0x18]
mov r15, r8
mov r9, qword [rcx + 0x70]
mov esi, edx
mov r12, qword [rcx + 0x38]
sub esi, r10d
mov r13d, dword [rcx + 0x34]
mov r14, rdx
mov ecx, dword [rcx + 0x100]
mov ebx, 1
mov rbp, qword [r11 + 0xf8]
mov edx, ebx
shl edx, cl
mov r8d, esi
mov ecx, dword [r11 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x28], eax
mov edi, 3
add rax, r10
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x88], rax
mov eax, esi
sub eax, ecx
mov qword [rsp + 0x38], r12
cmp eax, edx
mov dword [rsp + 0x4c], r13d
mov eax, dword [r11 + 0x10c]
mov rdx, qword [rbp + 0x38]
cmovbe r8d, ecx
cmp dword [r11 + 0x28], 0
mov qword [rsp + 0x40], r10
cmovne r8d, ecx
mov dword [rsp + 0x1e8], esi
mov ecx, 6
mov dword [rsp + 0x58], r8d
mov r8, qword [rbp + 0x70]
cmp eax, ecx
mov qword [rsp + 0x68], rbp
cmovb ecx, eax
mov rax, qword [r11 + 0x60]
mov qword [rsp + 0x20], rax
imul eax, dword [r14], 0x9e3779b1
shl ebx, cl
mov ecx, 0x18
sub ecx, dword [rbp + 0x34]
mov dword [rsp + 0x1e0], ebx
mov dword [rsp + 0x30], eax
shr rax, cl
mov qword [rsp + 0x78], rax
shr eax, 2
and eax, 0x3fffffc0
mov ecx, eax
add rax, rdx
mov qword [rsp + 0x70], rax
lea rax, [r8 + rcx*4]
mov qword [rsp + 0x80], rax
prefetcht0 byte [rax]
prefetcht0 byte [r8 + rcx*4 + 0x40]
prefetcht0 byte [rdx + rcx]
prefetcht0 byte [rdx + rcx + 0x20]
xor ebp, ebp
mov dword [rsp + 0x48], 0x3f
cmp dword [r11 + 0x12c], ebp
jne 0x1337c0ecb59f
mov r10d, dword [r11 + 0x2c]
mov eax, esi
sub eax, r10d
cmp eax, 0x180
jbe 0x1337c0ecb466
lea eax, [r10 + 0x60]
cmp r10d, eax
jae 0x1337c0ecb3a4
mov r15, qword [rsp + 0x40]
mov edi, 0x18
sub edi, r13d
add r15, 8
add r15, r10
mov r13d, r10d
mov rsi, r9
mov ebx, eax
nop dword [rax]
nop dword [rax + rax]
imul edx, dword [r15], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r11 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [rsi + rax*4]
prefetcht0 byte [rsi + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
prefetcht0 byte [rax + r12 + 0x20]
mov rax, r13
lea r15, [r15 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, byte [r12 + rax]
lea rdx, [r12 + rax]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, ebp
cmove eax, dword [rsp + 0x48]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [rsi + rax*4], r10d
inc r10d
cmp r10d, ebx
jb 0x1337c0ecb300
mov ebx, dword [rsp + 0x1e0]
mov edi, 3
mov r15, qword [rsp + 0x1f0]
mov esi, dword [rsp + 0x1e8]
mov rcx, qword [r11 + 0x38]
lea r10d, [rsi - 0x20]
mov r12, qword [rsp + 0x40]
lea rax, [r14 + 1]
mov r13, qword [r11 + 0x70]
mov qword [rsp + 0x60], rcx
mov ecx, eax
sub ecx, r10d
mov r8d, r10d
sub ecx, r12d
lea r9, [r10 + r12]
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [r10 + rcx]
cmp r10d, eax
jae 0x1337c0ecb45c
mov r15, qword [rsp + 0x60]
mov eax, 0x18
sub eax, dword [r11 + 0x34]
mov qword [rsp + 0x30], rax
mov ebx, eax
mov r12d, ecx
imul edx, dword [r9], 0x9e3779b1
mov rcx, rbx
mov eax, dword [r11 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
prefetcht0 byte [r15 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r12, 1
jne 0x1337c0ecb400
mov ebx, dword [rsp + 0x1e0]
mov r15, qword [rsp + 0x1f0]
mov r12, qword [rsp + 0x38]
mov r9, qword [rsp + 0x50]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 8]
mov qword [rsp + 0x60], rax
mov rax, qword [r11 + 0x38]
cmp r10d, esi
jae 0x1337c0ecb547
mov r15, qword [rsp + 0x60]
lea r13, [rcx + 8]
mov ebx, 0x18
mov r12d, r10d
sub ebx, dword [r11 + 0x34]
mov rdi, rax
add r13, r12
nop dword [rax + rax]
imul edx, dword [r13], 0x9e3779b1
mov rcx, rbx
mov eax, dword [r11 + 0x60]
xor rdx, rax
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, r12
lea r13, [r13 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov dword [r11 + 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, ebp
cmove eax, dword [rsp + 0x48]
inc r12
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [r15 + rax*4], r10d
inc r10d
cmp r10d, esi
jb 0x1337c0ecb4a0
mov ebx, dword [rsp + 0x1e0]
mov edi, 3
mov r15, qword [rsp + 0x1f0]
mov r9, qword [rsp + 0x50]
mov r12, qword [rsp + 0x38]
mov eax, dword [rsp + 0x20]
mov ecx, 0x18
sub ecx, dword [rsp + 0x4c]
mov r10, qword [rsp + 0x40]
mov r8d, esi
mov dword [r11 + 0x2c], esi
imul edx, dword [r8 + r10 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
prefetcht0 byte [rax + r12 + 0x20]
and r8d, 7
mov r13d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1337c0ecb5bb
mov r13d, dword [rsp + 0x20]
mov ecx, 0x18
mov eax, dword [rsp + 0x30]
sub ecx, dword [rsp + 0x4c]
xor r13, rax
shr r13, cl
mov dword [r11 + 0x2c], esi
add dword [r11 + 0x68], r13d
mov eax, r13d
shr eax, 2
mov rsi, rbp
and eax, 0x3fffffc0
movdqu xmm0, xmmword [rax + r12]
lea rcx, [r9 + rax*4]
lea r9, [rax + r12]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x38], r9
mov r12, rbp
mov rcx, qword [rsp + 0x38]
movsx eax, r13b
movd xmm2, eax
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
movzx edx, byte [rcx]
shl r9, 0x10
movzx ecx, dl
or r9, rax
and cl, 0x3f
shl r9, 0x10
movsxd rax, r8d
mov r8, qword [rsp + 0x20]
or r9, rax
ror r9, cl
test r9, r9
je 0x1337c0ecb6b2
mov r15d, dword [rsp + 0x58]
test ebx, ebx
je 0x1337c0ecb6a3
bsf rcx, r9
add ecx, edx
and ecx, 0x3f
mov ecx, dword [r8 + rcx*4]
je 0x1337c0ecb69a
cmp ecx, r15d
jb 0x1337c0ecb6a3
prefetcht0 byte [rcx + r10]
mov dword [rsp + r12*4 + 0x90], ecx
inc r12
dec ebx
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ecb670
mov r15, qword [rsp + 0x1f0]
mov dword [rsp + 0x1e0], ebx
lea ecx, [rdx - 1]
mov eax, ebp
and ecx, 0x3f
mov edx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x38]
mov byte [rax], cl
mov byte [rax + rcx], r13b
mov eax, dword [r11 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r11 + 0x2c]
test r12, r12
je 0x1337c0ecb747
mov ebp, dword [rsp + 0x1e8]
mov rbx, qword [rsp + 0x1f8]
nop
mov r13d, dword [rsp + rsi*4 + 0x90]
lea rdx, [r10 + r13]
mov eax, dword [rdx + rdi - 3]
cmp eax, dword [rdi + r14 - 3]
jne 0x1337c0ecb736
mov r8, r15
mov rcx, r14
call fcn.1337c0ebc5c0
mov rcx, rax
cmp rax, rdi
jbe 0x1337c0ecb731
mov rdi, rax
mov eax, ebp
sub eax, r13d
add eax, 3
mov qword [rbx], rax
lea rax, [rcx + r14]
cmp rax, r15
je 0x1337c0ecb73e
mov r10, qword [rsp + 0x40]
inc rsi
cmp rsi, r12
jb 0x1337c0ecb6f0
mov ebx, dword [rsp + 0x1e0]
xor ebp, ebp
mov r13, qword [rsp + 0x70]
mov r12, rbp
mov r10, qword [rsp + 0x68]
movdqu xmm0, xmmword [r13]
mov r9, qword [r10 + 8]
mov esi, dword [r10 + 0x18]
mov r10, qword [r10]
movzx r11d, byte [r13]
mov eax, r10d
sub eax, r9d
mov qword [rsp + 0x20], r9
sub dword [rsp + 0x28], eax
movsx eax, byte [rsp + 0x78]
mov qword [rsp + 0x1e0], r10
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [r13 + 0x10]
pmovmskb r8d, xmm1
movdqu xmm1, xmmword [r13 + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [r13 + 0x30]
pmovmskb ecx, xmm1
pcmpeqb xmm2, xmm0
pmovmskb eax, xmm2
shl rax, 0x10
or rax, rcx
movsxd rcx, edx
shl rax, 0x10
or rax, rcx
movsxd rcx, r8d
shl rax, 0x10
or rax, rcx
mov ecx, r11d
and ecx, 0x3f
ror rax, cl
test rax, rax
je 0x1337c0ecb8f5
mov r8, qword [rsp + 0x80]
test ebx, ebx
je 0x1337c0ecb835
bsf rdx, rax
add edx, r11d
and edx, 0x3f
mov edx, dword [r8 + rdx*4]
je 0x1337c0ecb82c
cmp edx, esi
jb 0x1337c0ecb835
prefetcht0 byte [rdx + r9]
mov dword [rsp + rbp*4 + 0x90], edx
inc rbp
dec ebx
lea rcx, [rax - 1]
and rax, rcx
ja 0x1337c0ecb803
test rbp, rbp
je 0x1337c0ecb8f5
nop
mov ebx, dword [rsp + r12*4 + 0x90]
mov eax, dword [r14]
add rbx, r9
cmp dword [rbx], eax
jne 0x1337c0ecb8e9
add rbx, 4
lea r13, [r14 + 4]
mov rcx, r13
mov r8, r15
sub rcx, rbx
mov rdx, rbx
add rcx, r10
cmp rcx, r15
cmovb r8, rcx
mov rcx, r13
call fcn.1337c0ebc5c0
mov r10, qword [rsp + 0x1e0]
mov rsi, rax
add rax, rbx
cmp rax, r10
jne 0x1337c0ecb8ae
mov rdx, qword [rsp + 0x88]
lea rcx, [rsi + r13]
mov r8, r15
call fcn.1337c0ebc5c0
mov r10, qword [rsp + 0x1e0]
add rsi, rax
add rsi, 4
cmp rsi, rdi
jbe 0x1337c0ecb8e4
mov eax, dword [rsp + 0x1e8]
mov rdi, rsi
sub eax, dword [rsp + r12*4 + 0x90]
sub eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x1f8]
add eax, 3
mov qword [rcx], rax
lea rax, [rsi + r14]
cmp rax, r15
je 0x1337c0ecb8f5
mov r9, qword [rsp + 0x20]
inc r12
cmp r12, rbp
jb 0x1337c0ecb840
mov rax, rdi
add rsp, 0x198
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret