Function at 0x1337c0ec4250
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 esi, dword [rcx + 0x34]
mov r12, r8
mov ecx, dword [rcx + 0x100]
mov r14, rdx
mov qword [rsp + 0x48], rax
mov ebp, 1
mov edx, ebp
mov qword [rsp + 0x30], r9
shl edx, cl
mov eax, r13d
mov ecx, dword [r10 + 0x1c]
mov r8d, r13d
sub eax, ecx
mov dword [rsp + 0x40], esi
sub r8d, edx
mov dword [rsp + 0x28], r13d
cmp eax, edx
mov dword [rsp + 0x20], 0x1f
mov eax, dword [r10 + 0x10c]
mov edi, 3
mov rdx, qword [r10 + 0x60]
cmovbe r8d, ecx
cmp dword [r10 + 0x28], 0
mov qword [rsp + 0x58], rdx
cmovne r8d, ecx
mov ecx, 5
cmp eax, ecx
mov dword [rsp + 0x44], r8d
cmovb ecx, eax
xor ebx, ebx
shl ebp, cl
mov dword [rsp + 0x1b0], ebp
cmp dword [r10 + 0x12c], ebx
jne 0x1337c0ec45f3
mov r11d, dword [r10 + 0x2c]
mov eax, r13d
sub eax, r11d
cmp eax, 0x180
jbe 0x1337c0ec44c2
lea eax, [r11 + 0x60]
cmp r11d, eax
jae 0x1337c0ec43f2
mov r13, qword [rsp + 0x48]
lea r14, [r15 + 8]
mov ebp, 0x18
mov r12d, eax
sub ebp, esi
mov rdi, r9
add r14, r11
mov esi, r11d
imul edx, dword [r14], 0x9e3779b1
mov rcx, rbp
mov eax, dword [r10 + 0x60]
xor rdx, rax
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 [rax + r13]
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, 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 + 0x20]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, r12d
jb 0x1337c0ec4352
mov r14, qword [rsp + 0x1b8]
mov edi, 3
mov ebp, dword [rsp + 0x1b0]
mov r13d, dword [rsp + 0x28]
mov r12, qword [rsp + 0x1c0]
mov rcx, qword [r10 + 0x70]
lea r11d, [r13 - 0x20]
mov qword [rsp + 0x28], rcx
lea rax, [r14 + 1]
mov rcx, qword [r10 + 0x38]
lea r9, [r15 + r11]
mov qword [rsp + 0x50], 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 0x1337c0ec44bd
mov r12, qword [rsp + 0x28]
mov eax, 0x18
sub eax, dword [r10 + 0x34]
mov r14, qword [rsp + 0x50]
mov ebp, eax
mov qword [rsp + 0x38], rax
mov esi, ecx
nop word [rax + rax]
imul edx, dword [r9], 0x9e3779b1
mov rcx, rbp
mov eax, dword [r10 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r12 + rax*4]
prefetcht0 byte [r12 + rax*4 + 0x40]
prefetcht0 byte [r14 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r10 + rax*4 + 0x40], edx
sub rsi, 1
jne 0x1337c0ec4460
mov r14, qword [rsp + 0x1b8]
mov ebp, dword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1c0]
mov r9, qword [rsp + 0x30]
mov rax, qword [r10 + 0x70]
mov rcx, qword [r10 + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [r10 + 0x38]
cmp r11d, r13d
jae 0x1337c0ec45a0
mov rdi, qword [rsp + 0x50]
lea r12, [rcx + 8]
mov r14d, 0x18
mov esi, r11d
sub r14d, dword [r10 + 0x34]
mov rbp, rax
add r12, rsi
nop dword [rax + rax]
imul edx, dword [r12], 0x9e3779b1
mov rcx, r14
mov eax, dword [r10 + 0x60]
xor rdx, rax
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 [rax + rbp]
mov rax, rsi
lea r12, [r12 + 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 + rbp]
lea rdx, [rax + rbp]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebx
cmove eax, dword [rsp + 0x20]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [rdi + rax*4], r11d
inc r11d
cmp r11d, r13d
jb 0x1337c0ec4500
mov r14, qword [rsp + 0x1b8]
mov edi, 3
mov ebp, dword [rsp + 0x1b0]
mov r12, qword [rsp + 0x1c0]
mov r9, qword [rsp + 0x30]
mov eax, dword [rsp + 0x58]
mov ecx, 0x18
sub ecx, dword [rsp + 0x40]
mov r8d, r13d
mov dword [r10 + 0x2c], r13d
imul edx, dword [r8 + r15 + 8], 0x9e3779b1
xor rdx, rax
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 + 0x48]
prefetcht0 byte [rcx + rax]
and r8d, 7
mov r11d, dword [r10 + r8*4 + 0x40]
mov dword [r10 + r8*4 + 0x40], edx
jmp 0x1337c0ec460d
imul r11d, dword [r14], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, esi
mov dword [r10 + 0x2c], r13d
xor r11, rax
shr r11, cl
add dword [r10 + 0x68], r11d
mov eax, r11d
mov rdx, qword [rsp + 0x48]
mov rsi, rbx
shr eax, 3
and eax, 0x1fffffe0
add rdx, rax
mov qword [rsp + 0x58], rdx
lea rcx, [r9 + rax*4]
movsx eax, r11b
movdqu xmm0, xmmword [rdx]
mov qword [rsp + 0x1b0], rcx
movzx ecx, byte [rdx]
mov dword [rsp + 0x1b8], ecx
movd xmm2, eax
punpcklbw xmm2, xmm2
punpcklwd xmm2, xmm2
pshufd xmm2, xmm2, 0
movdqa xmm1, xmm2
pcmpeqb xmm1, xmm0
movdqu xmm0, xmmword [rdx + 0x10]
mov edx, ecx
and edx, 0x1f
pmovmskb eax, xmm1
mov ecx, edx
pcmpeqb xmm0, xmm2
neg ecx
pmovmskb r8d, xmm0
and ecx, 0x1f
shl r8d, 0x10
or r8d, eax
mov r9d, r8d
mov eax, r8d
mov r8, qword [rsp + 0x1b0]
shl r9d, cl
mov ecx, edx
mov edx, dword [rsp + 0x1b8]
shr rax, cl
or r9, rax
jbe 0x1337c0ec46e7
mov r12d, dword [rsp + 0x44]
nop
test ebp, ebp
je 0x1337c0ec46df
bsf rcx, r9
add ecx, edx
and ecx, 0x1f
mov ecx, dword [r8 + rcx*4]
je 0x1337c0ec46d6
cmp ecx, r12d
jb 0x1337c0ec46df
prefetcht0 byte [rcx + r15]
mov dword [rsp + rsi*4 + 0x60], ecx
inc rsi
dec ebp
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ec46b0
mov r12, qword [rsp + 0x1c0]
lea ecx, [rdx - 1]
mov eax, ebx
and ecx, 0x1f
mov edx, 0x1f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x58]
mov byte [rax], cl
mov byte [rcx + rax], r11b
mov eax, dword [r10 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r10 + 0x2c]
test rsi, rsi
je 0x1337c0ec476d
nop word [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 0x1337c0ec4765
mov r8, r12
mov rcx, r14
call fcn.1337c0ebc5c0
mov rcx, rax
cmp rax, rdi
jbe 0x1337c0ec4765
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 0x1337c0ec476d
inc rbx
cmp rbx, rsi
jb 0x1337c0ec4720
mov rax, rdi
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret