Function at 0x140001340
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm7
movaps xmmword [rsp + 0x1e0], xmm6
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rcx + 0x2d0]
mov ebx, 0x10
sub rbx, rcx
mov r12, r8
sub r12, rbx
jae 0x1400013b6
mov rax, rcx
add rax, r8
jb 0x140001e0c
cmp rax, 0x10
ja 0x140001e1d
test r8, r8
je 0x1400014c9
lea rax, [rsi + 0x2c0]
add rax, rcx
cmp r8, 8
jae 0x1400013eb
xor edx, edx
jmp 0x1400014a0
movaps xmm0, xmmword [rsi + 0x2c0]
movaps xmmword [rsp + 0x20], xmm0
cmp rcx, 0x11
jae 0x140001e33
cmp rcx, 0x10
je 0x14000158f
lea rax, [rsp + rcx]
add rax, 0x20
cmp rbx, 8
jae 0x1400013f5
xor edx, edx
jmp 0x140001570
cmp r8, 0x20
jae 0x140001406
xor edx, edx
jmp 0x140001466
cmp rbx, 0x20
jae 0x1400014d5
xor edx, edx
jmp 0x140001535
mov rdx, r8
and rdx, 0xffffffffffffffe0
add rcx, rsi
add rcx, 0x2d0
xor r9d, r9d
nop word [rax + rax]
movups xmm0, xmmword [rdi + r9]
movups xmm1, xmmword [rdi + r9 + 0x10]
movups xmm2, xmmword [rcx + r9 - 0x10]
movups xmm3, xmmword [rcx + r9]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [rdi + r9], xmm2
movups xmmword [rdi + r9 + 0x10], xmm3
movups xmmword [rcx + r9 - 0x10], xmm0
movups xmmword [rcx + r9], xmm1
add r9, 0x20
cmp rdx, r9
jne 0x140001420
cmp rdx, r8
je 0x1400014bf
test r8b, 0x18
je 0x1400014a0
mov rcx, rdx
mov rdx, r8
and rdx, 0xfffffffffffffff8
mov r9, qword [rdi + rcx]
mov r10, qword [rax + rcx]
xor r10, r9
mov qword [rdi + rcx], r10
mov qword [rax + rcx], r9
add rcx, 8
cmp rdx, rcx
jne 0x140001470
cmp rdx, r8
je 0x1400014bf
nop word cs:[rax + rax]
movzx ecx, byte [rdi + rdx]
movzx r9d, byte [rax + rdx]
xor r9b, cl
mov byte [rdi + rdx], r9b
mov byte [rax + rdx], cl
lea rcx, [rdx + 1]
mov rdx, rcx
cmp r8, rcx
jne 0x1400014a0
add r8, qword [rsi + 0x2d0]
mov rax, r8
mov qword [rsi + 0x2d0], rax
jmp 0x140001de8
mov rdx, rbx
and rdx, 0xffffffffffffffe0
lea r8, [rsp + 0x20]
add rcx, r8
add rcx, 0x10
xor r8d, r8d
nop dword [rax + rax]
movups xmm0, xmmword [rdi + r8]
movups xmm1, xmmword [rdi + r8 + 0x10]
movups xmm2, xmmword [rcx + r8 - 0x10]
movups xmm3, xmmword [rcx + r8]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [rdi + r8], xmm2
movups xmmword [rdi + r8 + 0x10], xmm3
movups xmmword [rcx + r8 - 0x10], xmm0
movups xmmword [rcx + r8], xmm1
add r8, 0x20
cmp rdx, r8
jne 0x1400014f0
cmp rbx, rdx
je 0x14000158f
test bl, 0x18
je 0x140001570
mov rcx, rdx
mov rdx, rbx
and rdx, 0xfffffffffffffff8
nop
mov r8, qword [rdi + rcx]
mov r9, qword [rax + rcx]
xor r9, r8
mov qword [rdi + rcx], r9
mov qword [rax + rcx], r8
add rcx, 8
cmp rdx, rcx
jne 0x140001540
cmp rbx, rdx
je 0x14000158f
nop word cs:[rax + rax]
movzx ecx, byte [rdi + rdx]
movzx r8d, byte [rax + rdx]
xor r8b, cl
mov byte [rdi + rdx], r8b
mov byte [rax + rdx], cl
lea rcx, [rdx + 1]
mov rdx, rcx
cmp rbx, rcx
jne 0x140001570
mov rax, qword [0x140560008]
movzx eax, byte [rax]
cmp al, 1
jne 0x1400015cd
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm0
lea rcx, [rsp + 0x20]
lea r8, [rsp + 0xd0]
mov rdx, rsi
call fcn.140001000
add rdi, rbx
cmp r12, 0x7f
ja 0x140001625
jmp 0x140001b7e
xorps xmm0, xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm0
lea rdx, [rsp + 0xd0]
mov r8d, 4
mov rcx, rsi
call fcn.14053a090
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x20], xmm0
add rdi, rbx
cmp r12, 0x7f
jbe 0x140001b7e
movups xmm0, xmmword [rdi + 0x70]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rdi + 0x60]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rdi + 0x50]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rdi + 0x40]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movaps xmmword [rsp + 0x80], xmm3
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rax, qword [0x140560008]
movzx eax, byte [rax]
cmp al, 1
jne 0x14000178d
movaps xmm0, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x80]
movaps xmm4, xmmword [rsp + 0x90]
movaps xmm5, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xf0], xmm2
movaps xmmword [rsp + 0x100], xmm3
movaps xmmword [rsp + 0x110], xmm4
movaps xmmword [rsp + 0x120], xmm5
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x140], xmm7
lea rdx, [rsp + 0xd0]
mov rcx, rsi
call fcn.140001060
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmm2, xmmword [rsp + 0xf0]
movaps xmm3, xmmword [rsp + 0x100]
movaps xmm4, xmmword [rsp + 0x110]
movaps xmm5, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x80], xmm3
movaps xmmword [rsp + 0x90], xmm4
movaps xmmword [rsp + 0xa0], xmm5
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
jmp 0x1400017b9
lea rbx, [rsp + 0x90]
lea rdx, [rsp + 0x50]
mov r8d, 4
mov rcx, rsi
call fcn.14053a090
mov r8d, 4
mov rcx, rsi
mov rdx, rbx
call fcn.14053a090
movups xmm0, xmmword [rdi]
xorps xmm0, xmmword [rsp + 0x20]
lea rbp, [rdi + 0x10]
movups xmmword [rdi], xmm0
add r12, 0xfffffffffffffff0
cmp r12, 0xf0
jb 0x140001ac2
lea rbx, [rsp + 0x190]
lea r14, [rsp + 0xd0]
lea r15, [rsp + 0x150]
jmp 0x14000192b
mov r8d, 4
mov rcx, rsi
mov rdx, r15
call fcn.14053a090
mov r8d, 4
mov rcx, rsi
mov rdx, rbx
call fcn.14053a090
lea rdi, [rbp + 0x80]
add r12, 0xffffffffffffff80
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rbp + 0x10]
movups xmm2, xmmword [rbp + 0x20]
movups xmm3, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm1
xorps xmm2, xmmword [rsp + 0x70]
xorps xmm3, xmmword [rsp + 0x80]
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x30], xmm3
movups xmm0, xmmword [rbp + 0x40]
movups xmm1, xmmword [rbp + 0x50]
xorps xmm0, xmmword [rsp + 0x90]
xorps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rbp + 0x60]
movups xmm1, xmmword [rbp + 0x70]
xorps xmm0, xmmword [rsp + 0xb0]
xorps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm1
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x150]
movaps xmm1, xmmword [rsp + 0x160]
movaps xmm2, xmmword [rsp + 0x170]
movaps xmm3, xmmword [rsp + 0x180]
movaps xmmword [rsp + 0x80], xmm3
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
mov rbp, rdi
cmp r12, 0xef
jbe 0x140001ac5
movups xmm0, xmmword [rbp + 0xe0]
movaps xmmword [rsp + 0x1c0], xmm0
movups xmm0, xmmword [rbp + 0xd0]
movaps xmmword [rsp + 0x1b0], xmm0
movups xmm0, xmmword [rbp + 0xc0]
movaps xmmword [rsp + 0x1a0], xmm0
movups xmm0, xmmword [rbp + 0xb0]
movaps xmmword [rsp + 0x190], xmm0
movups xmm0, xmmword [rbp + 0x70]
movups xmm1, xmmword [rbp + 0x80]
movups xmm2, xmmword [rbp + 0x90]
movups xmm3, xmmword [rbp + 0xa0]
movaps xmmword [rsp + 0x180], xmm3
movaps xmmword [rsp + 0x170], xmm2
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x150], xmm0
mov rax, qword [0x140560008]
movzx eax, byte [rax]
cmp al, 1
jne 0x140001800
movaps xmm0, xmmword [rsp + 0x150]
movaps xmm1, xmmword [rsp + 0x160]
movaps xmm2, xmmword [rsp + 0x170]
movaps xmm3, xmmword [rsp + 0x180]
movaps xmm4, xmmword [rsp + 0x190]
movaps xmm5, xmmword [rsp + 0x1a0]
movaps xmm6, xmmword [rsp + 0x1b0]
movaps xmm7, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xe0], xmm1
movaps xmmword [rsp + 0xf0], xmm2
movaps xmmword [rsp + 0x100], xmm3
movaps xmmword [rsp + 0x110], xmm4
movaps xmmword [rsp + 0x120], xmm5
movaps xmmword [rsp + 0x130], xmm6
movaps xmmword [rsp + 0x140], xmm7
mov rcx, rsi
mov rdx, r14
call fcn.140001060
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmm2, xmmword [rsp + 0xf0]
movaps xmm3, xmmword [rsp + 0x100]
movaps xmm4, xmmword [rsp + 0x110]
movaps xmm5, xmmword [rsp + 0x120]
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x160], xmm1
movaps xmmword [rsp + 0x170], xmm2
movaps xmmword [rsp + 0x180], xmm3
movaps xmmword [rsp + 0x190], xmm4
movaps xmmword [rsp + 0x1a0], xmm5
movaps xmmword [rsp + 0x1b0], xmm6
movaps xmmword [rsp + 0x1c0], xmm7
jmp 0x140001822
mov rdi, rbp
add r12, 0xffffffffffffff90
mov eax, 0xf
nop
movzx ecx, byte [rsp + rax + 0x41]
xor byte [rdi + rax - 0xf], cl
movzx ecx, byte [rsp + rax + 0x42]
xor byte [rdi + rax - 0xe], cl
movzx ecx, byte [rsp + rax + 0x43]
xor byte [rdi + rax - 0xd], cl
movzx ecx, byte [rsp + rax + 0x44]
xor byte [rdi + rax - 0xc], cl
movzx ecx, byte [rsp + rax + 0x45]
xor byte [rdi + rax - 0xb], cl
movzx ecx, byte [rsp + rax + 0x46]
xor byte [rdi + rax - 0xa], cl
movzx ecx, byte [rsp + rax + 0x47]
xor byte [rdi + rax - 9], cl
movzx ecx, byte [rsp + rax + 0x48]
xor byte [rdi + rax - 8], cl
movzx ecx, byte [rsp + rax + 0x49]
xor byte [rdi + rax - 7], cl
movzx ecx, byte [rsp + rax + 0x4a]
xor byte [rdi + rax - 6], cl
movzx ecx, byte [rsp + rax + 0x4b]
xor byte [rdi + rax - 5], cl
movzx ecx, byte [rsp + rax + 0x4c]
xor byte [rdi + rax - 4], cl
movzx ecx, byte [rsp + rax + 0x4d]
xor byte [rdi + rax - 3], cl
movzx ecx, byte [rsp + rax + 0x4e]
xor byte [rdi + rax - 2], cl
movzx ecx, byte [rsp + rax + 0x4f]
xor byte [rdi + rax - 1], cl
movzx ecx, byte [rsp + rax + 0x50]
xor byte [rdi + rax], cl
add rax, 0x10
cmp rax, 0x7f
jne 0x140001ad0
add rdi, 0x70
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x20], xmm0
mov eax, r12d
and eax, 0xf
mov qword [rsp + 0x1d8], rax
mov rbp, r12
and rbp, 0xfffffffffffffff0
je 0x140001d40
lea r15, [rsp + 0xe0]
xor r13d, r13d
lea rbx, [rsp + 0x20]
lea r14, [rsp + 0xd0]
xorps xmm6, xmm6
jmp 0x140001c06
movups xmmword [r15 + 0x20], xmm6
movups xmmword [r15 + 0x10], xmm6
movups xmmword [r15], xmm6
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm0
mov r8d, 4
mov rcx, rsi
mov rdx, r14
call fcn.14053a090
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x20], xmm0
add r13, 0x10
cmp rbp, r13
je 0x140001d40
movzx eax, byte [rsp + 0x20]
movsd xmm0, qword [rdi + r13]
movaps xmmword [rsp + 0x30], xmm0
xor al, byte [rsp + 0x30]
movups xmm0, xmmword [rdi + r13]
mov byte [rdi + r13], al
movzx eax, byte [rsp + 0x21]
xor al, byte [rsp + 0x31]
mov byte [rdi + r13 + 1], al
movzx eax, byte [rsp + 0x22]
xor al, byte [rsp + 0x32]
mov byte [rdi + r13 + 2], al
movzx eax, byte [rsp + 0x23]
xor al, byte [rsp + 0x33]
mov byte [rdi + r13 + 3], al
movzx eax, byte [rsp + 0x24]
xor al, byte [rsp + 0x34]
mov byte [rdi + r13 + 4], al
movzx eax, byte [rsp + 0x25]
xor al, byte [rsp + 0x35]
mov byte [rdi + r13 + 5], al
movzx eax, byte [rsp + 0x26]
xor al, byte [rsp + 0x36]
mov byte [rdi + r13 + 6], al
movzx eax, byte [rsp + 0x27]
xor al, byte [rsp + 0x37]
mov byte [rdi + r13 + 7], al
movzx eax, byte [rsp + 0x28]
movsd xmm1, qword [rdi + r13 + 8]
movaps xmmword [rsp + 0x40], xmm1
xor al, byte [rsp + 0x40]
mov byte [rdi + r13 + 8], al
movzx eax, byte [rsp + 0x29]
xor al, byte [rsp + 0x41]
mov byte [rdi + r13 + 9], al
movzx eax, byte [rsp + 0x2a]
xor al, byte [rsp + 0x42]
mov byte [rdi + r13 + 0xa], al
movzx eax, byte [rsp + 0x2b]
xor al, byte [rsp + 0x43]
mov byte [rdi + r13 + 0xb], al
movzx eax, byte [rsp + 0x2c]
xor al, byte [rsp + 0x44]
mov byte [rdi + r13 + 0xc], al
movzx eax, byte [rsp + 0x2d]
xor al, byte [rsp + 0x45]
mov byte [rdi + r13 + 0xd], al
movzx eax, byte [rsp + 0x2e]
xor al, byte [rsp + 0x46]
mov byte [rdi + r13 + 0xe], al
movzx eax, byte [rsp + 0x2f]
xor al, byte [rsp + 0x47]
mov byte [rdi + r13 + 0xf], al
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [0x140560008]
movzx eax, byte [rax]
cmp al, 1
jne 0x140001bc0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm0
mov rcx, rbx
mov rdx, rsi
mov r8, r14
call fcn.140001000
add r13, 0x10
cmp rbp, r13
jne 0x140001c06
lea rax, [rsi + 0x2c0]
mov rbx, qword [rsp + 0x1d8]
test rbx, rbx
je 0x140001dd9
and r12d, 1
cmp ebx, 1
jne 0x140001d65
xor ecx, ecx
jmp 0x140001dbc
mov rdx, rbx
sub rdx, r12
lea r8, [rdi + rbp]
inc r8
xor r9d, r9d
nop word cs:[rax + rax]
movzx ecx, byte [r8 + r9 - 1]
movzx r10d, byte [rsp + r9 + 0x20]
xor r10b, cl
mov byte [r8 + r9 - 1], r10b
mov byte [rsp + r9 + 0x20], cl
lea rcx, [r9 + 2]
movzx r10d, byte [r8 + r9]
movzx r11d, byte [rsp + r9 + 0x21]
xor r11b, r10b
mov byte [r8 + r9], r11b
mov byte [rsp + r9 + 0x21], r10b
mov r9, rcx
cmp rdx, rcx
jne 0x140001d80
test r12, r12
je 0x140001dd9
add rdi, rbp
movzx edx, byte [rdi + rcx]
movzx r8d, byte [rsp + rcx + 0x20]
xor r8b, dl
mov byte [rdi + rcx], r8b
mov byte [rsp + rcx + 0x20], dl
mov qword [rsi + 0x2d0], rbx
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rax], xmm0
movaps xmm6, xmmword [rsp + 0x1e0]
movaps xmm7, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users_spectrum.cargo_registry_srcindex.crates.io_6f17d22bba15001fcfb_mode_0.7.1_srclib.rs
mov rdx, rax
call fcn.140555b20
ud2
lea r8, str.C:Users_spectrum.cargo_registry_srcindex.crates.io_6f17d22bba15001fcfb_mode_0.7.1_srclib.rs
mov edx, 0x10
mov rcx, rax
call fcn.140555aa0
ud2
lea r8, str.C:Users_spectrum.cargo_registry_srcindex.crates.io_6f17d22bba15001fcfb_mode_0.7.1_srclib.rs
mov edx, 0x10
call fcn.140555a20
ud2