Function at 0x1400efac0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
mov rbp, rsp
mov eax, 0x60
call fcn.140187030
sub rsp, rax
mov rax, qword [0x140363e80]
xor rax, rsp
mov qword [rbp - 0x18], rax
mov rdi, qword [rbp + 0x50]
lea eax, [r8 - 1]
mov r10, qword [rbp + 0x60]
mov r13d, r8d
mov rbx, rdx
mov rsi, rcx
cmp eax, 0x7f
ja 0x1400f0001
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x58], r14
mov r8, r9
mov rdx, rdi
mov qword [rsp + 0x50], r15
mov rcx, rdi
movups xmmword [rbp - 0x40], xmm0
call r10
lea eax, [r13 + 7]
xor ecx, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
movsxd r9, eax
mov r11, r9
cmp dword [rbp + 0x58], ecx
je 0x1400efcce
test eax, eax
jle 0x1400efc8f
cmp r9d, 8
jb 0x1400efc8f
lea eax, [r9 - 1]
movsxd r10, eax
add eax, 0x10
movsxd rdx, eax
lea r8, [r10 + rbx]
lea rdx, [rbp + rdx - 0x40]
cmp rbx, rdx
ja 0x1400efb78
lea rax, [rbp - 0x30]
cmp r8, rax
jae 0x1400efc8f
lea rax, [r10 + rsi]
cmp rbx, rax
ja 0x1400efb8a
cmp r8, rsi
jae 0x1400efc8f
lea rax, [r10 + rdi]
cmp rbx, rax
ja 0x1400efb9c
cmp r8, rdi
jae 0x1400efc8f
lea r8, [rbp - 0x30]
cmp r8, rax
ja 0x1400efbae
cmp rdx, rdi
jae 0x1400efc8f
mov qword [rsp + 0x90], r12
mov eax, r9d
and eax, 0x80000007
jge 0x1400efbc7
dec eax
or eax, 0xfffffff8
inc eax
movdqa xmm3, xmmword [0x1401e2260]
lea r8, [rbp - 0x34]
sub r9d, eax
lea r10, [rbp - 0x30]
movsxd r12, r9d
lea rdx, [rsi + 4]
mov r9, rdi
mov r14, rbx
sub r9, rsi
sub r8, rsi
sub r10, rsi
sub r14, rsi
mov r15, 0xfffffffffffffffc
sub r15, rsi
nop dword [rax]
movd xmm2, dword [rdx + r9 - 4]
xorps xmm0, xmm0
movd xmm1, dword [rdx - 4]
lea rdx, [rdx + 8]
punpcklbw xmm2, xmm0
lea rax, [r15 + rdx]
punpcklwd xmm2, xmm0
add ecx, 8
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [rdx - 8]
punpcklbw xmm1, xmm0
andps xmm2, xmm3
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd dword [r8 + rdx - 8], xmm2
movd dword [r14 + rdx - 0xc], xmm2
movd xmm2, dword [rdx + r9 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
andps xmm2, xmm3
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd dword [r10 + rdx - 8], xmm2
movd dword [r14 + rdx - 8], xmm2
cmp rax, r12
jl 0x1400efc00
mov r12, qword [rsp + 0x90]
movsxd rax, ecx
cmp rax, r11
jge 0x1400efe2a
mov rdx, rdi
lea r8, [rbp - 0x30]
sub rdx, rsi
lea rcx, [rax + rsi]
sub r8, rsi
sub rbx, rsi
sub r11, rax
movzx eax, byte [rcx + rdx]
xor al, byte [rcx]
mov byte [r8 + rcx], al
mov byte [rbx + rcx], al
lea rcx, [rcx + 1]
sub r11, 1
jne 0x1400efcb2
jmp 0x1400efe2a
mov r10d, ecx
test eax, eax
jle 0x1400efdf9
cmp r9d, 8
jb 0x1400efdf9
lea r8d, [r9 - 1]
lea eax, [r8 + 0x10]
movsxd rdx, eax
lea r14, [rbp - 0x40]
add r14, rdx
movsxd rax, r8d
lea rdx, [rbp - 0x30]
lea r8, [rax + rdi]
cmp rdx, r8
ja 0x1400efd0e
cmp r14, rdi
jae 0x1400efdf9
lea rdx, [rax + rbx]
lea r15, [rbp - 0x30]
cmp r15, rdx
ja 0x1400efd24
cmp r14, rbx
jae 0x1400efdf9
cmp rbx, r8
ja 0x1400efd32
cmp rdx, rdi
jae 0x1400efdf9
add rax, rsi
cmp rbx, rax
ja 0x1400efd43
cmp rdx, rsi
jae 0x1400efdf9
cmp r9d, 0x10
jb 0x1400efda5
mov edx, r9d
and edx, 0x8000000f
jge 0x1400efd5b
dec edx
or edx, 0xfffffff0
inc edx
mov eax, r9d
sub eax, edx
movsxd r8, eax
mov rdx, rsi
lea rax, [rbp - 0x30]
sub rdx, rax
lea rax, [rbp - 0x30]
movdqu xmm1, xmmword [rdx + rax]
add r10d, 0x10
lea rax, [rax + 0x10]
movdqu xmm0, xmmword [rdi + rcx]
movdqu xmmword [rbp + rcx - 0x30], xmm1
xorps xmm0, xmm1
movdqu xmmword [rbx + rcx], xmm0
add rcx, 0x10
cmp rcx, r8
jl 0x1400efd71
mov eax, r9d
and al, 0xf
cmp al, 8
jb 0x1400efdf9
jmp 0x1400efdaf
lea rax, [rbp - 0x30]
mov rdx, rsi
sub rdx, rax
mov eax, r9d
and eax, 0x80000007
jge 0x1400efdc0
dec eax
or eax, 0xfffffff8
inc eax
sub r9d, eax
movsxd rax, r10d
lea rcx, [rbp - 0x30]
add rcx, rax
movsxd r8, r9d
movq xmm1, qword [rdx + rcx]
lea rcx, [rcx + 8]
movq xmm0, qword [rax + rdi]
add r10d, 8
xorps xmm0, xmm1
movq qword [rbp + rax - 0x30], xmm1
movq qword [rax + rbx], xmm0
add rax, 8
cmp rax, r8
jl 0x1400efdd0
movsxd rcx, r10d
cmp rcx, r11
jge 0x1400efe2a
lea rax, [rbp - 0x30]
sub rsi, rax
lea rdx, [rbp - 0x30]
add rdx, rcx
nop
movzx eax, byte [rsi + rdx]
lea rdx, [rdx + 1]
mov byte [rbp + rcx - 0x30], al
xor al, byte [rcx + rdi]
mov byte [rcx + rbx], al
inc rcx
cmp rcx, r11
jl 0x1400efe10
mov r15, qword [rsp + 0x50]
mov eax, r13d
mov r14, qword [rsp + 0x58]
cdq
and edx, 7
add eax, edx
mov ecx, eax
and eax, 7
sub eax, edx
sar ecx, 3
movsxd rbx, ecx
mov r11d, eax
lea rdx, [rbp - 0x40]
test eax, eax
jne 0x1400efe61
movups xmm0, xmmword [rdx + rbx]
movups xmmword [rdi], xmm0
jmp 0x1400f0001
movzx edx, byte [rdx + rbx]
mov ecx, r11d
movzx r8d, byte [rbp + rbx - 0x3f]
mov r10d, 8
shl dl, cl
movzx eax, r8b
sub r10b, r11b
movzx ecx, r10b
shr al, cl
mov ecx, r11d
or dl, al
shl r8b, cl
mov byte [rdi], dl
movzx ecx, r10b
movzx edx, byte [rbp + rbx - 0x3e]
movzx eax, dl
shr al, cl
or r8b, al
mov byte [rdi + 1], r8b
movzx r8d, byte [rbp + rbx - 0x3d]
movzx eax, r8b
shr al, cl
mov ecx, r11d
shl dl, cl
movzx ecx, r10b
or al, dl
movzx edx, byte [rbp + rbx - 0x3c]
mov byte [rdi + 2], al
movzx eax, dl
shr al, cl
mov ecx, r11d
shl r8b, cl
movzx ecx, r10b
or al, r8b
movzx r8d, byte [rbp + rbx - 0x3b]
mov byte [rdi + 3], al
movzx eax, r8b
shr al, cl
mov ecx, r11d
shl dl, cl
movzx ecx, r10b
or al, dl
movzx edx, byte [rbp + rbx - 0x3a]
mov byte [rdi + 4], al
movzx eax, dl
shr al, cl
mov ecx, r11d
shl r8b, cl
movzx ecx, r10b
or al, r8b
movzx r8d, byte [rbp + rbx - 0x39]
mov byte [rdi + 5], al
movzx eax, r8b
shr al, cl
mov ecx, r11d
shl dl, cl
movzx ecx, r10b
or al, dl
movzx edx, byte [rbp + rbx - 0x38]
mov byte [rdi + 6], al
movzx eax, dl
shr al, cl
mov ecx, r11d
shl r8b, cl
movzx ecx, r10b
or al, r8b
movzx r8d, byte [rbp + rbx - 0x37]
mov byte [rdi + 7], al
movzx eax, r8b
shr al, cl
mov ecx, r11d
shl dl, cl
movzx ecx, r10b
or al, dl
movzx edx, byte [rbp + rbx - 0x36]
mov byte [rdi + 8], al
movzx eax, dl
shr al, cl
mov ecx, r11d
shl r8b, cl
or al, r8b
movzx r8d, byte [rbp + rbx - 0x35]
movzx ecx, r10b
movzx r9d, byte [rbp + rbx - 0x32]
mov byte [rdi + 9], al
movzx eax, r8b
shr al, cl
mov ecx, r11d
shl dl, cl
movzx ecx, r10b
or al, dl
movzx edx, byte [rbp + rbx - 0x34]
mov byte [rdi + 0xa], al
movzx eax, dl
shr al, cl
mov ecx, r11d
shl r8b, cl
movzx ecx, r10b
or al, r8b
movzx r8d, byte [rbp + rbx - 0x33]
mov byte [rdi + 0xb], al
movzx eax, r8b
shr al, cl
mov ecx, r11d
shl dl, cl
movzx ecx, r10b
or al, dl
movzx edx, byte [rbp + rbx - 0x31]
mov byte [rdi + 0xc], al
movzx eax, r9b
shr al, cl
mov ecx, r11d
shl r8b, cl
or al, r8b
shl r9b, cl
mov byte [rdi + 0xd], al
movzx ecx, r10b
movzx eax, dl
shr al, cl
or r9b, al
movzx eax, byte [rbp + rbx - 0x30]
shr al, cl
mov ecx, r11d
shl dl, cl
or al, dl
mov byte [rdi + 0xe], r9b
mov byte [rdi + 0xf], al
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.1401862b0
add rsp, 0x60
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret