Function at 0x1337c0ecf5b0
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, 0x1a8
mov r15, qword [rcx + 8]
mov r10, rcx
mov rax, qword [rcx + 0x38]
mov rbp, r8
mov r14, qword [rcx + 0x70]
mov r12d, edx
mov r9d, dword [rcx + 0x34]
sub r12d, r15d
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov eax, dword [rcx + 0x18]
mov r11d, 1
mov ecx, dword [rcx + 0x100]
mov edx, r11d
shl edx, cl
mov r8d, r12d
mov ecx, dword [r10 + 0x1c]
sub r8d, edx
mov dword [rsp + 0x30], eax
mov edi, 3
add rax, r15
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x98], rax
mov eax, r12d
sub eax, ecx
mov dword [rsp + 0x54], r9d
cmp eax, edx
mov qword [rsp + 0x48], r15
mov rdx, qword [r10 + 0xf8]
mov rax, qword [r10 + 0x60]
cmovbe r8d, ecx
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x70], rax
cmovne r8d, ecx
mov dword [rsp + 0x1f0], r12d
mov ecx, 6
mov dword [rsp + 0x78], r8d
mov r8d, dword [r10 + 0x10c]
cmp r8d, ecx
mov qword [rsp + 0x68], rdx
cmovb ecx, r8d
imul esi, dword [rbx], 0x9e3779b1
shl r11d, cl
mov ecx, 0x22
sub ecx, dword [rdx + 0x108]
mov dword [rsp + 0x1f8], r11d
mov eax, esi
shr rax, cl
lea rax, [rax*4]
lea rcx, [rax*4]
mov qword [rsp + 0x90], rax
mov rax, qword [rdx + 0x70]
mov qword [rsp + 0x80], rcx
prefetcht0 byte [rcx + rax]
xor r13d, r13d
cmp r8d, 6
jbe 0x1337c0ecf6de
lea ecx, [r8 - 6]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x58], eax
jmp 0x1337c0ecf6e3
mov dword [rsp + 0x58], r13d
mov dword [rsp + 0x50], 0x3f
cmp dword [r10 + 0x12c], r13d
jne 0x1337c0ecf9e0
mov r11d, dword [r10 + 0x2c]
mov eax, r12d
sub eax, r11d
cmp eax, 0x180
jbe 0x1337c0ecf8a2
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1337c0ecf7e3
mov rdi, qword [rsp + 0x40]
lea r14, [r15 + 8]
mov r15, qword [rsp + 0x38]
mov r12d, 0x18
sub r12d, r9d
mov esi, r11d
add r14, r11
mov ebp, eax
nop dword [rax]
imul edx, dword [r14], 0x9e3779b1
mov rcx, r12
mov eax, dword [r10 + 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, rsi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + 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, r13d
cmove eax, dword [rsp + 0x50]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rcx + rdx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, ebp
jb 0x1337c0ecf740
mov rbp, qword [rsp + 0x200]
mov edi, 3
mov r12d, dword [rsp + 0x1f0]
mov r15, qword [rsp + 0x48]
mov rcx, qword [r10 + 0x38]
lea r11d, [r12 - 0x20]
mov r14, qword [r10 + 0x70]
lea rax, [rbx + 1]
mov qword [rsp + 0x88], rcx
lea r9, [r11 + r15]
mov ecx, eax
mov r8d, r11d
sub ecx, r11d
sub ecx, r15d
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, r13d
cmp ecx, eax
cmova ecx, eax
lea eax, [r11 + rcx]
cmp r11d, eax
jae 0x1337c0ecf89d
mov r12, qword [rsp + 0x88]
mov eax, 0x18
sub eax, dword [r10 + 0x34]
mov qword [rsp + 0x60], rax
mov ebp, eax
mov esi, ecx
imul edx, dword [r9], 0x9e3779b1
mov rcx, rbp
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
prefetcht0 byte [r12 + rax]
prefetcht0 byte [r12 + rax + 0x20]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rsi, 1
jne 0x1337c0ecf841
mov rbp, qword [rsp + 0x200]
mov r12d, dword [rsp + 0x1f0]
mov r14, qword [rsp + 0x38]
mov rax, qword [r10 + 0x70]
mov rcx, qword [r10 + 8]
mov qword [rsp + 0x88], rax
mov rax, qword [r10 + 0x38]
cmp r11d, r12d
jae 0x1337c0ecf980
mov r15, qword [rsp + 0x88]
lea r14, [rcx + 8]
mov edi, 0x18
mov esi, r11d
sub edi, dword [r10 + 0x34]
mov rbp, rax
add r14, rsi
nop dword [rax]
imul edx, dword [r14], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r10 + 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 [rax + rbp]
prefetcht0 byte [rax + rbp + 0x20]
mov rax, rsi
lea r14, [r14 + 1]
and eax, 7
mov r9d, dword [r10 + rax*4 + 0x40]
mov dword [r10 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 2
and eax, 0x3fffffc0
movzx ecx, byte [rax + rbp]
lea rdx, [rax + rbp]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, r13d
cmove eax, dword [rsp + 0x50]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], r11d
inc r11d
cmp r11d, r12d
jb 0x1337c0ecf8e0
mov rbp, qword [rsp + 0x200]
mov edi, 3
mov r15, qword [rsp + 0x48]
mov r14, qword [rsp + 0x38]
mov eax, dword [rsp + 0x70]
mov ecx, 0x18
sub ecx, dword [rsp + 0x54]
mov r8d, r12d
mov dword [r10 + 0x2c], r12d
imul edx, dword [r8 + r15 + 8], 0x9e3779b1
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
mov ecx, eax
prefetcht0 byte [r14 + rax*4]
prefetcht0 byte [r14 + rax*4 + 0x40]
mov rax, qword [rsp + 0x40]
prefetcht0 byte [rcx + rax]
prefetcht0 byte [rcx + rax + 0x20]
mov r11d, dword [rsp + 0x1f8]
and r8d, 7
mov r9d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1337c0ecf9fa
mov r9d, dword [rsp + 0x70]
mov ecx, 0x18
sub ecx, dword [rsp + 0x54]
mov eax, esi
xor r9, rax
mov dword [r10 + 0x2c], r12d
shr r9, cl
add dword [r10 + 0x68], r9d
mov eax, r9d
shr eax, 2
mov rsi, r13
and eax, 0x3fffffc0
mov qword [rsp + 0x38], r9
lea rcx, [r14 + rax*4]
mov r14, r13
mov qword [rsp + 0x70], rcx
mov rcx, qword [rsp + 0x40]
add rcx, rax
movsx eax, r9b
mov qword [rsp + 0x40], rcx
movdqu xmm0, xmmword [rcx]
movd xmm2, eax
mov rax, rcx
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rcx + 0x10]
pmovmskb r8d, xmm1
movdqu xmm1, xmmword [rcx + 0x20]
pcmpeqb xmm0, xmm2
pmovmskb edx, xmm0
pcmpeqb xmm1, xmm2
movdqu xmm0, xmmword [rcx + 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
or r9, rax
movsxd rax, r8d
mov r8, qword [rsp + 0x70]
shl r9, 0x10
or r9, rax
mov rax, rcx
movzx ecx, dl
and cl, 0x3f
ror r9, cl
test r9, r9
je 0x1337c0ecfaf7
mov ebp, dword [rsp + 0x78]
test r11d, r11d
je 0x1337c0ecfae7
bsf rcx, r9
add ecx, edx
and ecx, 0x3f
mov ecx, dword [r8 + rcx*4]
je 0x1337c0ecfade
cmp ecx, ebp
jb 0x1337c0ecfae7
prefetcht0 byte [rcx + r15]
mov dword [rsp + r14*4 + 0xa0], ecx
inc r14
dec r11d
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ecfab3
mov rbp, qword [rsp + 0x200]
mov dword [rsp + 0x1f8], r11d
lea ecx, [rdx - 1]
mov eax, r13d
and ecx, 0x3f
mov edx, 0x3f
cmove eax, edx
mov rdx, qword [rsp + 0x40]
add ecx, eax
mov rax, qword [rsp + 0x38]
mov byte [rdx], cl
mov byte [rcx + rdx], al
mov eax, dword [r10 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r10 + 0x2c]
test r14, r14
je 0x1337c0ecfb80
mov r13, qword [rsp + 0x48]
nop
mov r15d, dword [rsp + rsi*4 + 0xa0]
mov eax, dword [rdi + rbx - 3]
lea rdx, [r15 + r13]
cmp dword [rdx + rdi - 3], eax
jne 0x1337c0ecfb75
mov r8, rbp
mov rcx, rbx
call fcn.1337c0ebc5c0
cmp rax, rdi
jbe 0x1337c0ecfb75
mov rdx, qword [rsp + 0x208]
mov ecx, r12d
sub ecx, r15d
mov rdi, rax
add ecx, 3
add rax, rbx
mov qword [rdx], rcx
cmp rax, rbp
je 0x1337c0ecfb7d
inc rsi
cmp rsi, r14
jb 0x1337c0ecfb30
xor r13d, r13d
mov r9, qword [rsp + 0x68]
mov r10d, 3
mov r15d, dword [rsp + 0x58]
mov esi, r10d
add r15d, dword [rsp + 0x1f8]
mov rdx, qword [rsp + 0x80]
mov r8, qword [r9]
mov r14, qword [r9 + 8]
mov r11, qword [r9 + 0x70]
mov eax, r14d
sub eax, r8d
mov qword [rsp + 0x48], r8
add eax, dword [rsp + 0x30]
cmp r15d, r10d
mov dword [rsp + 0x1f8], eax
lea rcx, [rdx + r11]
cmovb esi, r15d
mov dword [rsp + 0x30], esi
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rcx]
prefetcht0 byte [rax + r14]
lea rcx, [rcx + 4]
sub r10, 1
jne 0x1337c0ecfbe0
mov rax, qword [rsp + 0x90]
mov ecx, dword [r11 + rax*4 + 0xc]
mov rax, qword [r9 + 0x80]
shr rcx, 8
prefetcht0 byte [rax + rcx*4]
mov r12d, r13d
test esi, esi
je 0x1337c0ecfcbc
nop dword [rax + rax]
mov rax, qword [r9 + 0x70]
mov esi, dword [rdx + rax]
lea rdx, [r14 + rsi]
test esi, esi
je 0x1337c0ecfd8d
mov eax, dword [rbx]
cmp dword [rdx], eax
jne 0x1337c0ecfc9a
mov rax, qword [rsp + 0x98]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1337c0ebc660
lea rcx, [rax + 4]
cmp rcx, rdi
jbe 0x1337c0ecfc90
mov eax, dword [rsp + 0x1f0]
mov rdi, rcx
mov rdx, qword [rsp + 0x208]
sub eax, esi
sub eax, dword [rsp + 0x1f8]
add eax, 3
mov qword [rdx], rax
lea rax, [rcx + rbx]
cmp rax, rbp
je 0x1337c0ecfda4
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x80]
inc r12d
add rdx, 4
mov qword [rsp + 0x80], rdx
cmp r12d, dword [rsp + 0x30]
jb 0x1337c0ecfc20
mov rax, qword [r9 + 0x70]
sub r15d, r12d
mov rcx, qword [rsp + 0x90]
mov edx, r13d
mov ecx, dword [rax + rcx*4 + 0xc]
mov esi, ecx
shr esi, 8
movzx eax, cl
cmp r15d, eax
cmova r15d, eax
test r15d, r15d
je 0x1337c0ecfd8d
mov r10, qword [r9 + 0x80]
lea eax, [rdx + rsi]
mov eax, dword [r10 + rax*4]
prefetcht0 byte [rax + r14]
inc edx
cmp edx, r15d
jb 0x1337c0ecfcf1
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [r9 + 0x80]
mov r12d, dword [rax + rsi*4]
mov eax, dword [rbx]
lea rdx, [r14 + r12]
cmp dword [rdx], eax
jne 0x1337c0ecfd7e
mov rax, qword [rsp + 0x98]
lea rcx, [rbx + 4]
mov r9, r8
mov qword [rsp + 0x20], rax
mov r8, rbp
add rdx, 4
call fcn.1337c0ebc660
add rax, 4
cmp rax, rdi
jbe 0x1337c0ecfd79
mov ecx, dword [rsp + 0x1f0]
mov rdi, rax
mov rdx, qword [rsp + 0x208]
sub ecx, r12d
sub ecx, dword [rsp + 0x1f8]
add ecx, 3
mov qword [rdx], rcx
lea rcx, [rax + rbx]
cmp rcx, rbp
je 0x1337c0ecfd8d
mov r9, qword [rsp + 0x68]
mov r8, qword [rsp + 0x48]
inc esi
inc r13d
cmp r13d, r15d
jb 0x1337c0ecfd10
mov rax, rdi
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, rcx
jmp 0x1337c0ecfd90