Function at 0x1337c0ec7220
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, 0x188
mov r12, qword [rcx + 8]
mov r11, rcx
mov rax, qword [rcx + 0x38]
mov r14, rdx
mov r9, qword [rcx + 0x70]
mov r10, r8
mov esi, dword [rcx + 0x34]
mov edi, 1
mov rcx, qword [rcx + 0x10]
mov r13d, r14d
sub r13d, r12d
mov qword [rsp + 0x48], rax
mov eax, dword [r11 + 0x18]
mov r8d, r13d
mov dword [rsp + 0x1d0], eax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x20], r9
lea rdx, [rax + r12]
mov dword [rsp + 0x40], esi
add rax, rcx
mov qword [rsp + 0x78], rdx
mov ecx, dword [r11 + 0x100]
mov edx, edi
shl edx, cl
mov ecx, dword [r11 + 0x1c]
sub r8d, edx
mov qword [rsp + 0x70], rax
mov eax, r13d
sub eax, ecx
mov qword [rsp + 0x30], r12
cmp eax, edx
mov dword [rsp + 0x1d8], r13d
mov eax, dword [r11 + 0x10c]
mov rdx, qword [r11 + 0x60]
cmovbe r8d, ecx
cmp dword [r11 + 0x28], 0
mov qword [rsp + 0x60], rdx
cmovne r8d, ecx
mov dword [rsp + 0x28], 0x1f
mov ecx, 5
mov dword [rsp + 0x44], r8d
cmp eax, ecx
cmovb ecx, eax
xor ebp, ebp
shl edi, cl
mov dword [rsp + 0x2c], edi
lea r15d, [rbp + 3]
cmp dword [r11 + 0x12c], ebp
jne 0x1337c0ec75df
mov ebx, dword [r11 + 0x2c]
mov eax, r13d
sub eax, ebx
cmp eax, 0x180
jbe 0x1337c0ec74b0
lea eax, [rbx + 0x60]
cmp ebx, eax
jae 0x1337c0ec73ee
mov r15, qword [rsp + 0x48]
lea rdi, [r12 + 8]
mov r13d, 0x18
mov r10d, eax
sub r13d, esi
mov r12, r9
add rdi, rbx
mov esi, ebx
nop word [rax + rax]
imul edx, dword [rdi], 0x9e3779b1
mov rcx, r13
mov eax, dword [r11 + 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 [r15 + rax]
mov rax, rsi
lea rdi, [rdi + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, byte [r15 + rax]
lea rdx, [r15 + rax]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebp
cmove eax, dword [rsp + 0x28]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], ebx
inc ebx
cmp ebx, r10d
jb 0x1337c0ec7350
mov r10, qword [rsp + 0x1e0]
mov r15d, 3
mov edi, dword [rsp + 0x2c]
mov r12, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x1d8]
mov rcx, qword [r11 + 0x70]
lea ebx, [r13 - 0x20]
mov qword [rsp + 0x38], rcx
lea rax, [r14 + 1]
mov rcx, qword [r11 + 0x38]
lea r9, [r12 + rbx]
mov qword [rsp + 0x58], rcx
mov ecx, eax
sub ecx, r12d
mov r8d, ebx
sub ecx, ebx
inc ecx
cmp r9, rax
mov eax, 8
cmova ecx, ebp
cmp ecx, eax
cmova ecx, eax
lea eax, [rbx + rcx]
cmp ebx, eax
jae 0x1337c0ec74ab
mov r10, qword [rsp + 0x38]
mov eax, 0x18
sub eax, dword [r11 + 0x34]
mov r12, qword [rsp + 0x58]
mov r13d, eax
mov qword [rsp + 0x50], rax
mov esi, ecx
nop dword [rax]
imul edx, dword [r9], 0x9e3779b1
mov rcx, r13
mov eax, dword [r11 + 0x60]
xor rdx, rax
shr rdx, cl
mov eax, edx
shr eax, 3
and eax, 0x1fffffe0
prefetcht0 byte [r10 + rax*4]
prefetcht0 byte [r10 + rax*4 + 0x40]
prefetcht0 byte [rax + r12]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub rsi, 1
jne 0x1337c0ec7450
mov r10, qword [rsp + 0x1e0]
mov r12, qword [rsp + 0x30]
mov r13d, dword [rsp + 0x1d8]
mov r9, qword [rsp + 0x20]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 8]
mov qword [rsp + 0x58], rax
mov rax, qword [r11 + 0x38]
cmp ebx, r13d
jae 0x1337c0ec758c
mov r12, qword [rsp + 0x58]
lea r10, [rcx + 8]
mov edi, 0x18
mov esi, ebx
sub edi, dword [r11 + 0x34]
mov r15, rax
add r10, rsi
nop dword [rax]
nop dword [rax + rax]
imul edx, dword [r10], 0x9e3779b1
mov rcx, rdi
mov eax, dword [r11 + 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 [r15 + rax]
mov rax, rsi
lea r10, [r10 + 1]
and eax, 7
mov r9d, dword [r11 + rax*4 + 0x40]
mov dword [r11 + rax*4 + 0x40], edx
mov eax, r9d
shr eax, 3
and eax, 0x1fffffe0
movzx ecx, byte [r15 + rax]
lea rdx, [r15 + rax]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebp
cmove eax, dword [rsp + 0x28]
inc rsi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r12 + rax*4], ebx
inc ebx
cmp ebx, r13d
jb 0x1337c0ec74f0
mov r10, qword [rsp + 0x1e0]
mov r15d, 3
mov edi, dword [rsp + 0x2c]
mov r12, qword [rsp + 0x30]
mov r9, qword [rsp + 0x20]
mov eax, dword [rsp + 0x60]
mov ecx, 0x18
sub ecx, dword [rsp + 0x40]
mov r8d, r13d
mov dword [r11 + 0x2c], r13d
imul edx, dword [r8 + r12 + 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 ebx, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1337c0ec75f9
imul ebx, dword [r14], 0x9e3779b1
mov ecx, 0x18
mov eax, edx
sub ecx, esi
mov dword [r11 + 0x2c], r13d
xor rbx, rax
shr rbx, cl
add dword [r11 + 0x68], ebx
mov eax, ebx
shr eax, 3
mov r13, rbp
and eax, 0x1fffffe0
lea rcx, [r9 + rax*4]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x48]
add rcx, rax
movsx eax, bl
mov qword [rsp + 0x60], rcx
movdqu xmm0, xmmword [rcx]
movzx esi, byte [rcx]
movd xmm2, eax
mov edx, esi
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 + 0x20]
shr rax, cl
or r9, rax
jbe 0x1337c0ec76de
mov r8d, dword [rsp + 0x1d0]
mov r10, qword [rsp + 0x68]
mov r15d, dword [rsp + 0x44]
test edi, edi
je 0x1337c0ec76d0
bsf rcx, r9
add ecx, esi
and ecx, 0x1f
mov ecx, dword [rdx + rcx*4]
je 0x1337c0ec76c7
cmp ecx, r15d
jb 0x1337c0ec76d0
cmp ecx, r8d
jb 0x1337c0ec76b5
prefetcht0 byte [rcx + r12]
jmp 0x1337c0ec76ba
prefetcht0 byte [rcx + r10]
mov dword [rsp + r13*4 + 0x80], ecx
inc r13
dec edi
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ec7692
mov r10, qword [rsp + 0x1e0]
mov r15d, 3
lea ecx, [rsi - 1]
mov eax, ebp
and ecx, 0x1f
mov r8d, 0x1f
cmove eax, r8d
add ecx, eax
mov rax, qword [rsp + 0x60]
mov byte [rax], cl
mov byte [rcx + rax], bl
mov eax, dword [r11 + 0x2c]
mov dword [rdx + rcx*4], eax
inc dword [r11 + 0x2c]
test r13, r13
je 0x1337c0ec77ff
mov ecx, dword [rsp + 0x1d0]
nop word [rax + rax]
mov esi, dword [rsp + rbp*4 + 0x80]
cmp esi, ecx
jb 0x1337c0ec774f
mov eax, dword [r15 + r14 - 3]
lea rdx, [rsi + r12]
cmp dword [rdx + r15 - 3], eax
jne 0x1337c0ec77f3
mov r8, r10
mov rcx, r14
call fcn.1337c0ebc5c0
mov rbx, rax
jmp 0x1337c0ec77bc
mov rdi, qword [rsp + 0x68]
mov eax, dword [r14]
add rdi, rsi
cmp dword [rdi], eax
jne 0x1337c0ec77f3
mov rcx, qword [rsp + 0x70]
lea r12, [r14 + 4]
add rdi, 4
mov r8, r10
mov rax, r12
mov rdx, rdi
sub rax, rdi
add rcx, rax
cmp rcx, r10
cmovb r8, rcx
mov rcx, r12
call fcn.1337c0ebc5c0
mov rbx, rax
add rax, rdi
cmp rax, qword [rsp + 0x70]
jne 0x1337c0ec77b3
mov r8, qword [rsp + 0x1e0]
lea rcx, [rbx + r12]
mov rdx, qword [rsp + 0x78]
call fcn.1337c0ebc5c0
add rbx, rax
mov r12, qword [rsp + 0x30]
add rbx, 4
mov r10, qword [rsp + 0x1e0]
cmp rbx, r15
jbe 0x1337c0ec77ec
mov eax, dword [rsp + 0x1d8]
mov r15, rbx
mov rcx, qword [rsp + 0x1e8]
sub eax, esi
add eax, 3
mov qword [rcx], rax
lea rax, [rbx + r14]
cmp rax, r10
je 0x1337c0ec77ff
mov ecx, dword [rsp + 0x1d0]
inc rbp
cmp rbp, r13
jb 0x1337c0ec7720
mov rax, r15
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret