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 r14, qword [rcx + 0x2d0]
mov ebx, 0x10
sub rbx, r14
mov r12, r8
sub r12, rbx
jae 0x1400013b6
mov rax, r14
add rax, r8
jb 0x140001d6c
cmp rax, 0x10
ja 0x140001d80
test r8, r8
je 0x1400014c9
lea rax, [rsi + 0x2c0]
add rax, r14
cmp r8, 8
jae 0x1400013eb
xor ecx, ecx
jmp 0x1400014a0
movaps xmm0, xmmword [rsi + 0x2c0]
movaps xmmword [rsp + 0x20], xmm0
cmp r14, 0x11
jae 0x140001d96
cmp r14, 0x10
je 0x14000158f
lea rax, [rsp + r14]
add rax, 0x20
cmp rbx, 8
jae 0x1400013f5
xor ecx, ecx
jmp 0x140001570
cmp r8, 0x20
jae 0x140001406
xor ecx, ecx
jmp 0x140001466
cmp rbx, 0x20
jae 0x1400014d5
xor ecx, ecx
jmp 0x140001535
mov rcx, r8
and rcx, 0xffffffffffffffe0
lea rdx, [r14 + rsi]
add rdx, 0x2d0
xor r9d, r9d
nop dword [rax + rax]
movups xmm0, xmmword [rdi + r9]
movups xmm1, xmmword [rdi + r9 + 0x10]
movups xmm2, xmmword [rdx + r9 - 0x10]
movups xmm3, xmmword [rdx + r9]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [rdi + r9], xmm2
movups xmmword [rdi + r9 + 0x10], xmm3
movups xmmword [rdx + r9 - 0x10], xmm0
movups xmmword [rdx + r9], xmm1
add r9, 0x20
cmp rcx, r9
jne 0x140001420
cmp rcx, r8
je 0x1400014bf
test r8b, 0x18
je 0x1400014a0
mov rdx, rcx
mov rcx, r8
and rcx, 0xfffffffffffffff8
mov r9, qword [rdi + rdx]
mov r10, qword [rax + rdx]
xor r10, r9
mov qword [rdi + rdx], r10
mov qword [rax + rdx], r9
add rdx, 8
cmp rcx, rdx
jne 0x140001470
cmp rcx, r8
je 0x1400014bf
nop word cs:[rax + rax]
movzx edx, byte [rdi + rcx]
movzx r9d, byte [rax + rcx]
xor r9b, dl
mov byte [rdi + rcx], r9b
mov byte [rax + rcx], dl
lea rdx, [rcx + 1]
mov rcx, rdx
cmp r8, rdx
jne 0x1400014a0
add r8, qword [rsi + 0x2d0]
mov rax, r8
mov qword [rsi + 0x2d0], rax
jmp 0x140001d48
mov rcx, rbx
and rcx, 0xffffffffffffffe0
lea rdx, [rsp + 0x20]
add rdx, r14
add rdx, 0x10
xor r8d, r8d
nop dword [rax + rax]
movups xmm0, xmmword [rdi + r8]
movups xmm1, xmmword [rdi + r8 + 0x10]
movups xmm2, xmmword [rdx + r8 - 0x10]
movups xmm3, xmmword [rdx + r8]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [rdi + r8], xmm2
movups xmmword [rdi + r8 + 0x10], xmm3
movups xmmword [rdx + r8 - 0x10], xmm0
movups xmmword [rdx + r8], xmm1
add r8, 0x20
cmp rcx, r8
jne 0x1400014f0
cmp rbx, rcx
je 0x14000158f
test bl, 0x18
je 0x140001570
mov rdx, rcx
mov rcx, rbx
and rcx, 0xfffffffffffffff8
nop
mov r8, qword [rdi + rdx]
mov r9, qword [rax + rdx]
xor r9, r8
mov qword [rdi + rdx], r9
mov qword [rax + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140001540
cmp rbx, rcx
je 0x14000158f
nop word cs:[rax + rax]
movzx edx, byte [rdi + rcx]
movzx r8d, byte [rax + rcx]
xor r8b, dl
mov byte [rdi + rcx], r8b
mov byte [rax + rcx], dl
lea rdx, [rcx + 1]
mov rcx, rdx
cmp rbx, rdx
jne 0x140001570
mov rax, qword [0x140047008]
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 rbx, rdi
cmp r12, 0x7f
ja 0x140001625
jmp 0x140001ade
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.14001d1d0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x20], xmm0
add rbx, rdi
cmp r12, 0x7f
jbe 0x140001ade
lea rcx, [rsp + 0x50]
mov rdx, rbx
call fcn.140001db0
mov rax, qword [0x140047008]
movzx eax, byte [rax]
cmp al, 1
jne 0x140001744
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 0x140001770
lea r15, [rsp + 0x90]
lea rdx, [rsp + 0x50]
mov r8d, 4
mov rcx, rsi
call fcn.14001d1d0
mov r8d, 4
mov rcx, rsi
mov rdx, r15
call fcn.14001d1d0
movups xmm0, xmmword [rbx]
xorps xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
add r12, 0xfffffffffffffff0
cmp r12, 0xf0
jb 0x140001a10
lea rbx, [rsp + 0x1a0]
sub rdi, r14
add rdi, 0x90
lea r14, [rsp + 0x160]
lea r15, [rsp + 0xd0]
jmp 0x1400018e3
mov r8d, 4
mov rcx, rsi
mov rdx, r14
call fcn.14001d1d0
mov r8d, 4
mov rcx, rsi
mov rdx, rbx
call fcn.14001d1d0
add r12, 0xffffffffffffff80
movups xmm0, xmmword [rdi - 0x70]
movups xmm1, xmmword [rdi - 0x60]
movups xmm2, xmmword [rdi - 0x50]
movups xmm3, xmmword [rdi - 0x40]
xorps xmm0, xmmword [rsp + 0x50]
xorps xmm1, xmmword [rsp + 0x60]
movups xmmword [rdi - 0x70], xmm0
movups xmmword [rdi - 0x60], xmm1
xorps xmm2, xmmword [rsp + 0x70]
xorps xmm3, xmmword [rsp + 0x80]
movups xmmword [rdi - 0x50], xmm2
movups xmmword [rdi - 0x40], xmm3
movups xmm0, xmmword [rdi - 0x30]
movups xmm1, xmmword [rdi - 0x20]
xorps xmm0, xmmword [rsp + 0x90]
xorps xmm1, xmmword [rsp + 0xa0]
movups xmmword [rdi - 0x30], xmm0
movups xmmword [rdi - 0x20], xmm1
movups xmm0, xmmword [rdi - 0x10]
movups xmm1, xmmword [rdi]
xorps xmm0, xmmword [rsp + 0xb0]
xorps xmm1, xmmword [rsp + 0xc0]
movups xmmword [rdi - 0x10], xmm0
movups xmmword [rdi], xmm1
movaps xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmm0, xmmword [rsp + 0x1c0]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [rsp + 0x1a0]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x160]
movaps xmm1, xmmword [rsp + 0x170]
movaps xmm2, xmmword [rsp + 0x180]
movaps xmm3, xmmword [rsp + 0x190]
movaps xmmword [rsp + 0x80], xmm3
movaps xmmword [rsp + 0x70], xmm2
movaps xmmword [rsp + 0x60], xmm1
movaps xmmword [rsp + 0x50], xmm0
sub rdi, 0xffffffffffffff80
cmp r12, 0xef
jbe 0x140001a16
mov rcx, r14
mov rdx, rdi
call fcn.140001db0
mov rax, qword [0x140047008]
movzx eax, byte [rax]
cmp al, 1
jne 0x1400017c0
movaps xmm0, xmmword [rsp + 0x160]
movaps xmm1, xmmword [rsp + 0x170]
movaps xmm2, xmmword [rsp + 0x180]
movaps xmm3, xmmword [rsp + 0x190]
movaps xmm4, xmmword [rsp + 0x1a0]
movaps xmm5, xmmword [rsp + 0x1b0]
movaps xmm6, xmmword [rsp + 0x1c0]
movaps xmm7, xmmword [rsp + 0x1d0]
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, r15
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 + 0x160], xmm0
movaps xmmword [rsp + 0x170], xmm1
movaps xmmword [rsp + 0x180], xmm2
movaps xmmword [rsp + 0x190], xmm3
movaps xmmword [rsp + 0x1a0], xmm4
movaps xmmword [rsp + 0x1b0], xmm5
movaps xmmword [rsp + 0x1c0], xmm6
movaps xmmword [rsp + 0x1d0], xmm7
jmp 0x1400017e2
add rbx, 0x10
jmp 0x140001a1d
add rdi, 0xffffffffffffff90
mov rbx, rdi
add r12, 0xffffffffffffff90
mov eax, 0xf
nop word cs:[rax + rax]
movzx ecx, byte [rsp + rax + 0x41]
xor byte [rbx + rax - 0xf], cl
movzx ecx, byte [rsp + rax + 0x42]
xor byte [rbx + rax - 0xe], cl
movzx ecx, byte [rsp + rax + 0x43]
xor byte [rbx + rax - 0xd], cl
movzx ecx, byte [rsp + rax + 0x44]
xor byte [rbx + rax - 0xc], cl
movzx ecx, byte [rsp + rax + 0x45]
xor byte [rbx + rax - 0xb], cl
movzx ecx, byte [rsp + rax + 0x46]
xor byte [rbx + rax - 0xa], cl
movzx ecx, byte [rsp + rax + 0x47]
xor byte [rbx + rax - 9], cl
movzx ecx, byte [rsp + rax + 0x48]
xor byte [rbx + rax - 8], cl
movzx ecx, byte [rsp + rax + 0x49]
xor byte [rbx + rax - 7], cl
movzx ecx, byte [rsp + rax + 0x4a]
xor byte [rbx + rax - 6], cl
movzx ecx, byte [rsp + rax + 0x4b]
xor byte [rbx + rax - 5], cl
movzx ecx, byte [rsp + rax + 0x4c]
xor byte [rbx + rax - 4], cl
movzx ecx, byte [rsp + rax + 0x4d]
xor byte [rbx + rax - 3], cl
movzx ecx, byte [rsp + rax + 0x4e]
xor byte [rbx + rax - 2], cl
movzx ecx, byte [rsp + rax + 0x4f]
xor byte [rbx + rax - 1], cl
movzx ecx, byte [rsp + rax + 0x50]
xor byte [rbx + rax], cl
add rax, 0x10
cmp rax, 0x7f
jne 0x140001a30
add rbx, 0x70
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x20], xmm0
mov eax, r12d
and eax, 0xf
mov qword [rsp + 0x158], rax
mov rbp, r12
and rbp, 0xfffffffffffffff0
je 0x140001ca0
lea r15, [rsp + 0xe0]
xor r13d, r13d
lea rdi, [rsp + 0x20]
lea r14, [rsp + 0xd0]
xorps xmm6, xmm6
jmp 0x140001b66
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.14001d1d0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x20], xmm0
add r13, 0x10
cmp rbp, r13
je 0x140001ca0
movzx eax, byte [rsp + 0x20]
movsd xmm0, qword [rbx + r13]
movaps xmmword [rsp + 0x30], xmm0
xor al, byte [rsp + 0x30]
movups xmm0, xmmword [rbx + r13]
mov byte [rbx + r13], al
movzx eax, byte [rsp + 0x21]
xor al, byte [rsp + 0x31]
mov byte [rbx + r13 + 1], al
movzx eax, byte [rsp + 0x22]
xor al, byte [rsp + 0x32]
mov byte [rbx + r13 + 2], al
movzx eax, byte [rsp + 0x23]
xor al, byte [rsp + 0x33]
mov byte [rbx + r13 + 3], al
movzx eax, byte [rsp + 0x24]
xor al, byte [rsp + 0x34]
mov byte [rbx + r13 + 4], al
movzx eax, byte [rsp + 0x25]
xor al, byte [rsp + 0x35]
mov byte [rbx + r13 + 5], al
movzx eax, byte [rsp + 0x26]
xor al, byte [rsp + 0x36]
mov byte [rbx + r13 + 6], al
movzx eax, byte [rsp + 0x27]
xor al, byte [rsp + 0x37]
mov byte [rbx + r13 + 7], al
movzx eax, byte [rsp + 0x28]
movsd xmm1, qword [rbx + r13 + 8]
movaps xmmword [rsp + 0x40], xmm1
xor al, byte [rsp + 0x40]
mov byte [rbx + r13 + 8], al
movzx eax, byte [rsp + 0x29]
xor al, byte [rsp + 0x41]
mov byte [rbx + r13 + 9], al
movzx eax, byte [rsp + 0x2a]
xor al, byte [rsp + 0x42]
mov byte [rbx + r13 + 0xa], al
movzx eax, byte [rsp + 0x2b]
xor al, byte [rsp + 0x43]
mov byte [rbx + r13 + 0xb], al
movzx eax, byte [rsp + 0x2c]
xor al, byte [rsp + 0x44]
mov byte [rbx + r13 + 0xc], al
movzx eax, byte [rsp + 0x2d]
xor al, byte [rsp + 0x45]
mov byte [rbx + r13 + 0xd], al
movzx eax, byte [rsp + 0x2e]
xor al, byte [rsp + 0x46]
mov byte [rbx + r13 + 0xe], al
movzx eax, byte [rsp + 0x2f]
xor al, byte [rsp + 0x47]
mov byte [rbx + r13 + 0xf], al
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [0x140047008]
movzx eax, byte [rax]
cmp al, 1
jne 0x140001b20
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0xd0], xmm0
mov rcx, rdi
mov rdx, rsi
mov r8, r14
call fcn.140001000
add r13, 0x10
cmp rbp, r13
jne 0x140001b66
lea rax, [rsi + 0x2c0]
mov rdi, qword [rsp + 0x158]
test rdi, rdi
je 0x140001d39
and r12d, 1
cmp edi, 1
jne 0x140001cc5
xor ecx, ecx
jmp 0x140001d1c
mov rdx, rdi
sub rdx, r12
lea r8, [rbx + 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 0x140001ce0
test r12, r12
je 0x140001d39
add rbx, rbp
movzx edx, byte [rbx + rcx]
movzx r8d, byte [rsp + rcx + 0x20]
xor r8b, dl
mov byte [rbx + rcx], r8b
mov byte [rsp + rcx + 0x20], dl
mov qword [rsi + 0x2d0], rdi
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:Usersppsldwun0731.cargo_registry_srcindex.crates.io_6f17d22bba15001fcfb_mode_0.7.1_srclib.rs
mov rcx, r14
mov rdx, rax
call fcn.14003b230
ud2
lea r8, str.C:Usersppsldwun0731.cargo_registry_srcindex.crates.io_6f17d22bba15001fcfb_mode_0.7.1_srclib.rs
mov edx, 0x10
mov rcx, rax
call fcn.14003b1c0
ud2
lea r8, str.C:Usersppsldwun0731.cargo_registry_srcindex.crates.io_6f17d22bba15001fcfb_mode_0.7.1_srclib.rs
mov edx, 0x10
mov rcx, r14
call fcn.14003b150
ud2