Function at 0x1337c0ec98d0
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 r10, qword [rcx + 8]
mov r11, rcx
mov rax, qword [rcx + 0x38]
mov r15, r8
mov r9, qword [rcx + 0x70]
mov esi, edx
mov r13d, dword [rcx + 0x34]
sub esi, r10d
mov qword [rsp + 0x68], rax
mov r14, rdx
mov eax, dword [rcx + 0x18]
mov edi, 1
mov ecx, dword [rcx + 0x100]
mov edx, edi
mov dword [rsp + 0x30], eax
mov r8d, esi
add rax, r10
shl edx, cl
mov ecx, dword [r11 + 0x1c]
sub r8d, edx
mov qword [rsp + 0x90], rax
mov ebx, 3
mov eax, esi
mov qword [rsp + 0x58], r9
sub eax, ecx
mov dword [rsp + 0x20], r13d
cmp eax, edx
mov qword [rsp + 0x38], r10
mov eax, dword [r11 + 0x10c]
cmovbe r8d, ecx
mov dword [rsp + 0x1f8], esi
cmp dword [r11 + 0x28], 0
cmovne r8d, ecx
mov ecx, 5
cmp eax, ecx
mov dword [rsp + 0x60], r8d
cmovb ecx, eax
mov rax, qword [r11 + 0x60]
imul r12d, dword [r14], 0x9e3779b1
mov qword [rsp + 0x28], rax
mov rax, qword [r11 + 0xf8]
mov qword [rsp + 0x70], rax
shl edi, cl
mov ecx, 0x18
mov dword [rsp + 0x1f0], edi
sub ecx, dword [rax + 0x34]
mov r8, qword [rax + 0x70]
mov rdx, qword [rax + 0x38]
mov eax, r12d
shr rax, cl
mov qword [rsp + 0x80], rax
shr eax, 3
and eax, 0x1fffffe0
mov ecx, eax
add rax, rdx
mov qword [rsp + 0x78], rax
lea rax, [r8 + rcx*4]
mov qword [rsp + 0x88], rax
prefetcht0 byte [rax]
prefetcht0 byte [r8 + rcx*4 + 0x40]
prefetcht0 byte [rdx + rcx]
xor ebp, ebp
mov dword [rsp + 0x40], 0x1f
cmp dword [r11 + 0x12c], ebp
jne 0x1337c0ec9cd1
mov r10d, dword [r11 + 0x2c]
mov eax, esi
sub eax, r10d
cmp eax, 0x180
jbe 0x1337c0ec9bab
lea eax, [r10 + 0x60]
cmp r10d, eax
jae 0x1337c0ec9aea
mov r15, qword [rsp + 0x38]
mov ebx, 0x18
mov r12, qword [rsp + 0x68]
sub ebx, r13d
add r15, 8
mov r13d, r10d
add r15, r10
mov rsi, r9
mov edi, eax
nop word [rax + rax]
imul edx, dword [r15], 0x9e3779b1
mov rcx, rbx
mov eax, dword [r11 + 0x60]
xor rdx, rax
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 [r12 + rax]
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, 3
and eax, 0x1fffffe0
movzx ecx, byte [rax + r12]
lea rdx, [rax + r12]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebp
cmove eax, dword [rsp + 0x40]
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, edi
jb 0x1337c0ec9a50
mov edi, dword [rsp + 0x1f0]
mov ebx, 3
mov r15, qword [rsp + 0x200]
mov esi, dword [rsp + 0x1f8]
mov rcx, qword [r11 + 0x38]
lea r10d, [rsi - 0x20]
mov r12, qword [rsp + 0x38]
lea rax, [r14 + 1]
mov r13, qword [r11 + 0x70]
mov qword [rsp + 0x50], 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 0x1337c0ec9ba6
mov r15, qword [rsp + 0x50]
mov eax, 0x18
sub eax, dword [r11 + 0x34]
mov qword [rsp + 0x48], rax
mov edi, eax
mov r12d, ecx
nop word [rax + rax]
imul edx, dword [r9], 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 [r13 + rax*4]
prefetcht0 byte [r13 + rax*4 + 0x40]
prefetcht0 byte [r15 + rax]
mov rax, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r12, 1
jne 0x1337c0ec9b50
mov edi, dword [rsp + 0x1f0]
mov r15, qword [rsp + 0x200]
mov r9, qword [rsp + 0x58]
mov rax, qword [r11 + 0x70]
mov rcx, qword [r11 + 8]
mov qword [rsp + 0x50], rax
mov rax, qword [r11 + 0x38]
cmp r10d, esi
jae 0x1337c0ec9c79
mov r15, qword [rsp + 0x50]
lea r13, [rcx + 8]
mov edi, 0x18
mov r12d, r10d
sub edi, dword [r11 + 0x34]
mov rbx, rax
add r13, r12
imul edx, dword [r13], 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 [r15 + rax*4]
prefetcht0 byte [r15 + rax*4 + 0x40]
prefetcht0 byte [rbx + rax]
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, 3
and eax, 0x1fffffe0
movzx ecx, byte [rbx + rax]
lea rdx, [rbx + rax]
dec ecx
mov r8d, eax
and ecx, 0x1f
mov eax, ebp
cmove eax, dword [rsp + 0x40]
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 0x1337c0ec9be0
mov edi, dword [rsp + 0x1f0]
mov ebx, 3
mov r15, qword [rsp + 0x200]
mov r9, qword [rsp + 0x58]
mov eax, dword [rsp + 0x28]
mov ecx, 0x18
sub ecx, dword [rsp + 0x20]
mov r10, qword [rsp + 0x38]
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, 3
and eax, 0x1fffffe0
mov ecx, eax
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov rax, qword [rsp + 0x68]
prefetcht0 byte [rcx + rax]
and r8d, 7
mov r13d, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1337c0ec9ceb
mov eax, dword [rsp + 0x28]
mov ecx, 0x18
sub ecx, dword [rsp + 0x20]
mov r13d, r12d
xor r13, rax
mov dword [r11 + 0x2c], esi
shr r13, cl
add dword [r11 + 0x68], r13d
mov eax, r13d
mov rdx, qword [rsp + 0x68]
mov r12, rbp
shr eax, 3
mov rsi, rbp
and eax, 0x1fffffe0
add rdx, rax
mov qword [rsp + 0x50], rdx
lea rcx, [r9 + rax*4]
movsx eax, r13b
movdqu xmm0, xmmword [rdx]
mov qword [rsp + 0x28], rcx
movzx ecx, byte [rdx]
mov dword [rsp + 0x20], 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 + 0x28]
shl r9d, cl
mov ecx, edx
mov edx, dword [rsp + 0x20]
shr rax, cl
or r9, rax
jbe 0x1337c0ec9dc6
mov r15d, dword [rsp + 0x60]
test edi, edi
je 0x1337c0ec9db7
bsf rcx, r9
add ecx, edx
and ecx, 0x1f
mov ecx, dword [r8 + rcx*4]
je 0x1337c0ec9dae
cmp ecx, r15d
jb 0x1337c0ec9db7
prefetcht0 byte [rcx + r10]
mov dword [rsp + r12*4 + 0xa0], ecx
inc r12
dec edi
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ec9d84
mov r15, qword [rsp + 0x200]
mov dword [rsp + 0x1f0], edi
lea ecx, [rdx - 1]
mov eax, ebp
and ecx, 0x1f
mov edx, 0x1f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x50]
mov byte [rax], cl
mov byte [rcx + rax], r13b
mov eax, dword [r11 + 0x2c]
mov dword [r8 + rcx*4], eax
inc dword [r11 + 0x2c]
test r12, r12
je 0x1337c0ec9e67
mov ebp, dword [rsp + 0x1f8]
mov rdi, qword [rsp + 0x208]
nop dword [rax]
nop word [rax + rax]
mov r13d, dword [rsp + rsi*4 + 0xa0]
lea rdx, [r10 + r13]
mov eax, dword [rdx + rbx - 3]
cmp eax, dword [rbx + r14 - 3]
jne 0x1337c0ec9e56
mov r8, r15
mov rcx, r14
call fcn.1337c0ebb450
mov rcx, rax
cmp rax, rbx
jbe 0x1337c0ec9e51
mov rbx, rax
mov eax, ebp
sub eax, r13d
add eax, 3
mov qword [rdi], rax
lea rax, [rbx + r14]
cmp rax, r15
je 0x1337c0ec9e5e
mov r10, qword [rsp + 0x38]
inc rsi
cmp rsi, r12
jb 0x1337c0ec9e10
mov edi, dword [rsp + 0x1f0]
xor ebp, ebp
mov rcx, qword [rsp + 0x78]
mov r12, rbp
mov r11, qword [rsp + 0x70]
movdqu xmm0, xmmword [rcx]
movzx esi, byte [rcx]
mov r10, qword [r11 + 8]
mov edx, esi
mov r13d, dword [r11 + 0x18]
and edx, 0x1f
mov r11, qword [r11]
mov eax, r11d
mov qword [rsp + 0x28], r10
sub eax, r10d
mov qword [rsp + 0x1f0], r11
sub dword [rsp + 0x30], eax
movsx eax, byte [rsp + 0x80]
movd xmm2, eax
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 xmm2, xmm0
pmovmskb r8d, xmm2
shl r8d, 0x10
or r8d, eax
mov r9d, r8d
mov eax, r8d
shl r9d, cl
mov ecx, edx
shr rax, cl
or r9, rax
jbe 0x1337c0ec9ff5
mov rdx, qword [rsp + 0x88]
test edi, edi
je 0x1337c0ec9f33
bsf rcx, r9
add ecx, esi
and ecx, 0x1f
mov ecx, dword [rdx + rcx*4]
je 0x1337c0ec9f2a
cmp ecx, r13d
jb 0x1337c0ec9f33
prefetcht0 byte [rcx + r10]
mov dword [rsp + rbp*4 + 0xa0], ecx
inc rbp
dec edi
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ec9f02
test rbp, rbp
je 0x1337c0ec9ff5
nop dword [rax]
mov edi, dword [rsp + r12*4 + 0xa0]
mov eax, dword [r14]
add rdi, r10
cmp dword [rdi], eax
jne 0x1337c0ec9fe9
add rdi, 4
lea r13, [r14 + 4]
mov rcx, r13
mov r8, r15
sub rcx, rdi
mov rdx, rdi
add rcx, r11
cmp rcx, r15
cmovb r8, rcx
mov rcx, r13
call fcn.1337c0ebb450
mov r11, qword [rsp + 0x1f0]
mov rsi, rax
add rax, rdi
cmp rax, r11
jne 0x1337c0ec9fae
mov rdx, qword [rsp + 0x90]
lea rcx, [rsi + r13]
mov r8, r15
call fcn.1337c0ebb450
mov r11, qword [rsp + 0x1f0]
add rsi, rax
add rsi, 4
cmp rsi, rbx
jbe 0x1337c0ec9fe4
mov eax, dword [rsp + 0x1f8]
mov rbx, rsi
sub eax, dword [rsp + r12*4 + 0xa0]
sub eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x208]
add eax, 3
mov qword [rcx], rax
lea rax, [rsi + r14]
cmp rax, r15
je 0x1337c0ec9ff5
mov r10, qword [rsp + 0x28]
inc r12
cmp r12, rbp
jb 0x1337c0ec9f40
mov rax, rbx
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret