Function at 0x1337c0ec8a70
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, 0x188
mov rax, qword [rcx + 0x38]
mov r11, rcx
mov r13, qword [rcx + 8]
mov r14, rdx
mov r9, qword [rcx + 0x70]
mov r10, r8
mov qword [rsp + 0x58], rax
mov edi, 1
mov eax, dword [rcx + 0x34]
mov r8d, r14d
mov rcx, qword [rcx + 0x10]
sub r8d, r13d
mov dword [rsp + 0x28], eax
mov ebx, r8d
mov eax, dword [r11 + 0x18]
movabs r12, 0xcf1bbcdcbb000000
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x48], r9
lea rdx, [rax + r13]
mov qword [rsp + 0x38], r13
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 ebx, edx
mov qword [rsp + 0x70], rax
mov eax, r8d
sub eax, ecx
mov dword [rsp + 0x1d0], r8d
cmp eax, edx
mov dword [rsp + 0x2c], 0x3f
mov eax, dword [r11 + 0x10c]
cmovbe ebx, ecx
cmp dword [r11 + 0x28], 0
cmovne ebx, ecx
mov ecx, 6
cmp eax, ecx
mov dword [rsp + 0x50], ebx
cmovb ecx, eax
mov rax, qword [r11 + 0x60]
xor ebp, ebp
shl edi, cl
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x24], edi
lea r15d, [rbp + 3]
cmp dword [r11 + 0x12c], ebp
jne 0x1337c0ec8e72
mov ebx, dword [r11 + 0x2c]
lea esi, [rbp + 0x38]
mov eax, r8d
sub eax, ebx
cmp eax, 0x180
jbe 0x1337c0ec8d29
lea eax, [rbx + 0x60]
mov dword [rsp + 0x30], eax
cmp ebx, eax
jae 0x1337c0ec8c60
mov r14d, dword [rsp + 0x30]
lea rax, [r13 + 8]
mov r10d, esi
mov edi, ebx
sub r10d, dword [rsp + 0x28]
mov r15, r9
mov rsi, qword [rsp + 0x58]
add rax, rbx
mov r13, rax
nop dword [rax + rax]
mov rdx, qword [r13]
mov ecx, r10d
imul rdx, r12
xor rdx, qword [r11 + 0x60]
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 [rsi + rax]
prefetcht0 byte [rsi + rax + 0x20]
mov rax, rdi
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 [rsi + rax]
lea rdx, [rsi + rax]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, ebp
cmove eax, dword [rsp + 0x2c]
inc rdi
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], ebx
inc ebx
cmp ebx, r14d
jb 0x1337c0ec8bb0
mov r14, qword [rsp + 0x1d8]
mov r15d, 3
mov r10, qword [rsp + 0x1e0]
mov edi, dword [rsp + 0x24]
mov r13, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x1d0]
lea esi, [r15 + 0x35]
mov rcx, qword [r11 + 0x70]
lea ebx, [r8 - 0x20]
mov qword [rsp + 0x40], rcx
lea rax, [r14 + 1]
mov rcx, qword [r11 + 0x38]
lea r9, [rbx + r13]
mov qword [rsp + 0x30], rcx
mov ecx, eax
sub ecx, r13d
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 0x1337c0ec8d1c
mov r15, qword [rsp + 0x40]
mov r13d, esi
sub r13d, dword [r11 + 0x34]
mov rdi, qword [rsp + 0x30]
mov r10d, ecx
nop word [rax + rax]
mov rdx, qword [r9]
mov ecx, r13d
imul rdx, r12
xor rdx, qword [r11 + 0x60]
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, r8
lea r9, [r9 + 1]
and eax, 7
inc r8
mov dword [r11 + rax*4 + 0x40], edx
sub r10, 1
jne 0x1337c0ec8cc0
mov edi, dword [rsp + 0x24]
lea r15d, [r10 + 3]
mov r10, qword [rsp + 0x1e0]
mov r13, qword [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r8d, dword [rsp + 0x1d0]
mov rax, qword [r11 + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [r11 + 0x38]
mov qword [rsp + 0x30], rax
mov rax, qword [r11 + 8]
cmp ebx, r8d
jae 0x1337c0ec8e20
mov r10d, dword [rsp + 0x1d0]
lea rdi, [rax + 8]
mov r15, qword [rsp + 0x40]
mov r14d, esi
sub r14d, dword [r11 + 0x34]
mov rsi, qword [rsp + 0x30]
mov r13d, ebx
add rdi, r13
nop dword [rax + rax]
mov rdx, qword [rdi]
mov ecx, r14d
imul rdx, r12
xor rdx, qword [r11 + 0x60]
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 [rsi + rax]
prefetcht0 byte [rsi + rax + 0x20]
mov rax, r13
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, 2
and eax, 0x3fffffc0
movzx ecx, byte [rsi + rax]
lea rdx, [rsi + rax]
dec ecx
mov r8d, eax
and ecx, 0x3f
mov eax, ebp
cmove eax, dword [rsp + 0x2c]
inc r13
add ecx, eax
mov byte [rdx], cl
mov eax, ecx
add rax, r8
mov byte [rdx + rcx], r9b
mov dword [r15 + rax*4], ebx
inc ebx
cmp ebx, r10d
jb 0x1337c0ec8d70
mov r14, qword [rsp + 0x1d8]
mov r15d, 3
mov r10, qword [rsp + 0x1e0]
mov edi, dword [rsp + 0x24]
mov r13, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x1d0]
lea esi, [r15 + 0x35]
mov r9, qword [rsp + 0x48]
sub esi, dword [rsp + 0x28]
movzx ecx, sil
mov dword [r11 + 0x2c], r8d
mov rdx, qword [r8 + r13 + 8]
imul rdx, r12
xor rdx, qword [rsp + 0x60]
shr rdx, cl
mov eax, edx
shr eax, 2
and eax, 0x3fffffc0
mov ecx, eax
prefetcht0 byte [r9 + rax*4]
prefetcht0 byte [r9 + rax*4 + 0x40]
mov rax, qword [rsp + 0x58]
prefetcht0 byte [rcx + rax]
prefetcht0 byte [rcx + rax + 0x20]
and r8d, 7
mov ebx, dword [r11 + r8*4 + 0x40]
mov dword [r11 + r8*4 + 0x40], edx
jmp 0x1337c0ec8e8c
mov rbx, qword [r14]
mov ecx, 0x38
sub ecx, dword [rsp + 0x28]
imul rbx, r12
mov dword [r11 + 0x2c], r8d
xor rbx, rax
shr rbx, cl
add dword [r11 + 0x68], ebx
mov eax, ebx
shr eax, 2
mov r13, rbp
and eax, 0x3fffffc0
lea r12, [r9 + rax*4]
mov r9, qword [rsp + 0x58]
add r9, rax
movsx eax, bl
mov qword [rsp + 0x60], r9
movdqu xmm0, xmmword [r9]
movzx esi, byte [r9]
movd xmm2, eax
movzx ecx, sil
punpcklbw xmm2, xmm2
and cl, 0x3f
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
shl r9, 0x10
or r9, rax
movsxd rax, r8d
shl r9, 0x10
or r9, rax
ror r9, cl
test r9, r9
je 0x1337c0ec8f8f
mov rdx, qword [rsp + 0x38]
mov r8d, dword [rsp + 0x20]
mov r10, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x50]
test edi, edi
je 0x1337c0ec8f7f
bsf rcx, r9
add ecx, esi
and ecx, 0x3f
mov ecx, dword [r12 + rcx*4]
je 0x1337c0ec8f76
cmp ecx, r14d
jb 0x1337c0ec8f7f
cmp ecx, r8d
jb 0x1337c0ec8f64
prefetcht0 byte [rcx + rdx]
jmp 0x1337c0ec8f69
prefetcht0 byte [rcx + r10]
mov dword [rsp + r13*4 + 0x80], ecx
inc r13
dec edi
lea rax, [r9 - 1]
and r9, rax
ja 0x1337c0ec8f41
mov r14, qword [rsp + 0x1d8]
mov r10, qword [rsp + 0x1e0]
lea ecx, [rsi - 1]
mov eax, ebp
and ecx, 0x3f
mov edx, 0x3f
cmove eax, edx
add ecx, eax
mov rax, qword [rsp + 0x60]
mov byte [rax], cl
mov byte [rcx + rax], bl
mov eax, dword [r11 + 0x2c]
mov dword [r12 + rcx*4], eax
inc dword [r11 + 0x2c]
test r13, r13
je 0x1337c0ec90ad
mov ecx, dword [rsp + 0x20]
nop dword [rax]
nop dword [rax + rax]
mov esi, dword [rsp + rbp*4 + 0x80]
mov eax, esi
cmp esi, ecx
jb 0x1337c0ec9005
mov rdx, qword [rsp + 0x38]
add rdx, rax
mov eax, dword [r15 + r14 - 3]
cmp dword [rdx + r15 - 3], eax
jne 0x1337c0ec909d
mov r8, r10
mov rcx, r14
call fcn.1337c0ebc5c0
mov rbx, rax
jmp 0x1337c0ec906d
mov rdi, qword [rsp + 0x68]
add rdi, rax
mov eax, dword [r14]
cmp dword [rdi], eax
jne 0x1337c0ec90a1
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 0x1337c0ec9069
mov r8, qword [rsp + 0x1e0]
lea rcx, [rbx + r12]
mov rdx, qword [rsp + 0x78]
call fcn.1337c0ebc5c0
add rbx, rax
add rbx, 4
mov r10, qword [rsp + 0x1e0]
cmp rbx, r15
jbe 0x1337c0ec909d
mov eax, dword [rsp + 0x1d0]
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 0x1337c0ec90ad
mov ecx, dword [rsp + 0x20]
inc rbp
cmp rbp, r13
jb 0x1337c0ec8fd0
mov rax, r15
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret