Function at 0x140005d50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov rsi, rcx
lea rdx, [rcx + 0x30]
lea rcx, [rbp + 0x18]
call fcn.140009100
mov rax, qword [rsi + 0x168]
mov qword [rsi + 0x168], 0
test rax, rax
je 0x140006033
mov qword [rbp + 0x30], rax
movups xmm0, xmmword [rsi + 0x170]
movups xmm1, xmmword [rsi + 0x180]
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm1
mov byte [rbp + 0x5f], 1
lea rcx, [rbp + 0x18]
call fcn.140008e40
mov byte [rbp + 0x5f], 1
lea rcx, [rbp + 0x18]
mov rdx, rax
call fcn.140008e60
mov rdi, rax
mov rbx, rdx
mov byte [rbp + 0x5f], 1
lea rcx, [rbp + 0x30]
call fcn.140008ef0
mov byte [rbp + 0x5f], 1
lea rcx, [rbp + 0x30]
mov rdx, rax
call fcn.1400090b0
mov r14, rax
mov r15, rdx
mov r12, qword [rsi]
mov r13, qword [rsi + 0x10]
lea rcx, [rsi + 0x70]
mov r9, qword [rsi + 0x58]
mov rax, qword [rsi + 0x68]
mov byte [rbp + 0x5f], 1
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov r8, rbx
call fcn.14000b950
mov rax, qword [rsi + 0x68]
cmp rax, r13
cmovb r13, rax
cmp r13, r15
cmovae r13, r15
test r13, r13
je 0x140005f05
mov rax, qword [rsi + 0x58]
cmp r13, 8
jae 0x140005e84
xor ecx, ecx
mov r8, rcx
not r8
add r8, r13
mov r9, r13
and r9, 3
je 0x140005eaf
nop
movzx r10d, byte [r12 + rcx]
xor r10b, byte [rax + rcx]
lea rdx, [rcx + 1]
mov byte [r14 + rcx], r10b
mov rcx, rdx
dec r9
jne 0x140005e60
cmp r8, 3
jae 0x140005ec0
jmp 0x140005f05
mov rdx, r14
sub rdx, rax
xor ecx, ecx
cmp rdx, 0x20
jb 0x140005e4c
mov rdx, r14
sub rdx, r12
cmp rdx, 0x20
jb 0x140005e4c
cmp r13, 0x20
jae 0x140005faf
xor ecx, ecx
jmp 0x140006001
mov rdx, rcx
cmp r8, 3
jb 0x140005f05
nop dword [rax + rax]
movzx ecx, byte [r12 + rdx]
xor cl, byte [rax + rdx]
mov byte [r14 + rdx], cl
movzx ecx, byte [r12 + rdx + 1]
xor cl, byte [rax + rdx + 1]
mov byte [r14 + rdx + 1], cl
movzx ecx, byte [r12 + rdx + 2]
xor cl, byte [rax + rdx + 2]
mov byte [r14 + rdx + 2], cl
movzx ecx, byte [r12 + rdx + 3]
xor cl, byte [rax + rdx + 3]
mov byte [r14 + rdx + 3], cl
lea rcx, [rdx + 4]
mov rdx, rcx
cmp r13, rcx
jne 0x140005ec0
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0x10]
mov r8, qword [rsi + 0x18]
mov r9, qword [rsi + 0x28]
mov byte [rbp + 0x5f], 1
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
call fcn.140009490
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 0x30]
movups xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp], xmm1
movaps xmmword [rbp - 0x10], xmm0
mov byte [rbp + 0x5f], 0
lea rcx, [rbp - 0x38]
lea rdx, [rbp - 0x10]
call fcn.140009080
lea rdi, [rsi + 0x190]
mov rcx, qword [rsi + 0x190]
test rcx, rcx
je 0x140005f84
mov rdx, qword [rsi + 0x198]
test rdx, rdx
je 0x140005f84
mov r8d, 1
call fcn.140008de0
mov rax, qword [rbp - 0x18]
mov qword [rdi + 0x20], rax
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, r13
and rcx, 0xffffffffffffffe0
xor edx, edx
nop dword [rax + rax]
movups xmm0, xmmword [rax + rdx]
movups xmm1, xmmword [rax + rdx + 0x10]
movups xmm2, xmmword [r12 + rdx]
xorps xmm2, xmm0
movups xmm0, xmmword [r12 + rdx + 0x10]
xorps xmm0, xmm1
movups xmmword [r14 + rdx], xmm2
movups xmmword [r14 + rdx + 0x10], xmm0
add rdx, 0x20
cmp rcx, rdx
jne 0x140005fc0
cmp r13, rcx
je 0x140005f05
test r13b, 0x18
je 0x140005e4c
mov rdx, rcx
mov rcx, r13
and rcx, 0xfffffffffffffff8
nop dword [rax + rax]
mov r8, qword [r12 + rdx]
xor r8, qword [rax + rdx]
mov qword [r14 + rdx], r8
add rdx, 8
cmp rcx, rdx
jne 0x140006010
cmp r13, rcx
jne 0x140005e4c
jmp 0x140005f05
lea rcx, [0x140029413]
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rust_crypto_0.2.36_src_blockmodes.rsassertion_failed:_mid___self.len__called__Option::unwrap____on_a__None__value
mov edx, 0x2b
call fcn.140027be0
ud2