Function at 0x1401dfd5c
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x578
movaps xmmword [rsp + 0x560], xmm6
mov rbx, r9
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x58], rdx
mov dword [rsp + 0x2c], ecx
mov r15, qword [rsp + 0x5e8]
mov r12, qword [rsp + 0x5e0]
lea r14, [rsp + 0x430]
mov rcx, r14
call fcn.1401e0570
lea rcx, [rsp + 0xf0]
call fcn.1401e0570
lea rdi, [rsp + 0xa0]
mov ecx, 0xa
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
movaps xmm0, xmmword [0x14039afb0]
movaps xmmword [r14 + 0x70], xmm0
movaps xmmword [r14 + 0x60], xmm0
movaps xmmword [r14 + 0x50], xmm0
movaps xmmword [r14 + 0x40], xmm0
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
xor eax, eax
mov cl, byte [rbx + rax]
xor byte [rsp + rax + 0x430], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp rcx, 0x14
jne 0x1401dfdf8
mov r9, qword [rsp + 0xe8]
mov rcx, qword [r9 + 0x50]
test rcx, rcx
je 0x1401e02fb
mov eax, 0x40
xor edx, edx
div rcx
mov rsi, rax
imul rax, rcx
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x1d0], 0x40
cmp rax, 0x40
jne 0x1401e0315
cmp rcx, 0x41
jae 0x1401dfe85
lea rdi, [rsp + 0xa0]
lea rdx, [rsp + 0x430]
mov rcx, rdi
mov r8, rsi
call qword [r9 + 0x60]
add rsi, qword [rdi + 0x40]
jb 0x1401e035d
mov qword [rsp + 0xe0], rsi
xor eax, eax
xor byte [rsp + rax + 0x430], 0x6a
inc rax
cmp rax, 0x40
jne 0x1401dfe87
mov r9, qword [rsp + 0x138]
mov rcx, qword [r9 + 0x50]
test rcx, rcx
je 0x1401e02fb
mov eax, 0x40
xor edx, edx
div rcx
mov rsi, rax
imul rax, rcx
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x1d0], 0x40
cmp rax, 0x40
jne 0x1401e0315
cmp rcx, 0x40
ja 0x1401dff0f
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0xf0]
mov r8, rsi
call qword [r9 + 0x60]
add rsi, qword [rsp + 0x130]
jb 0x1401e035d
mov qword [rsp + 0x130], rsi
test r15, r15
je 0x1401e02af
xor esi, esi
mov rcx, r12
xor edx, edx
mov r8, r15
call fcn.14038afb0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x48], rax
mov ebp, 0xd0
lea rax, [rsp + 0x1d0]
add rax, rbp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x350]
lea rax, [rsp + 0x300]
add rbp, rax
xorps xmm6, xmm6
inc esi
je 0x1401e0343
cmp r15, 0x20
mov ebx, 0x20
cmovb rbx, r15
sub r15, rbx
mov qword [rsp + 0x78], r15
lea rax, [r12 + rbx]
mov qword [rsp + 0x68], rax
lea rdi, [rsp + 0x220]
movups xmmword [rdi + 0x70], xmm6
movups xmmword [rdi + 0x60], xmm6
movups xmmword [rdi + 0x50], xmm6
movups xmmword [rdi + 0x40], xmm6
movups xmmword [rdi + 0x30], xmm6
movups xmmword [rdi + 0x20], xmm6
movups xmmword [rdi + 0x10], xmm6
movups xmmword [rdi], xmm6
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movups xmm3, xmmword [rsp + 0xd0]
mov rax, qword [rsp + 0x40]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x2e8], rax
mov qword [rsp + 0x2f0], 0
lea rax, [rsp + 0xf0]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x200], xmm3
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x218], rax
mov rcx, rdi
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
call fcn.1401e081f
mov qword [rsp + 0x70], rsi
mov eax, esi
bswap eax
mov dword [rsp + 0x430], eax
mov r8d, 4
mov rcx, rdi
lea rsi, [rsp + 0x430]
mov rdx, rsi
call fcn.1401e081f
mov r8d, 0x128
mov rcx, rsi
lea rdx, [rsp + 0x1d0]
call fcn.14038a820
lea rcx, [rsp + 0x188]
mov rdx, rsi
call fcn.1401e0372
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x80], rax
mov r15d, dword [rsp + 0x2c]
mov rax, qword [rsp + 0x1c8]
mov r8, qword [rax + 0x40]
xor eax, eax
cmp r8, 0x41
jae 0x1401e02e2
cmp r8, rax
je 0x1401e02cb
mov cl, byte [rsp + rax + 0x188]
xor byte [r12 + rax], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp rbx, rcx
jne 0x1401e0132
cmp r15d, 1
je 0x1401e0297
dec r15d
movups xmmword [r14 + 0x70], xmm6
movups xmmword [r14 + 0x60], xmm6
movups xmmword [r14 + 0x50], xmm6
movups xmmword [r14 + 0x40], xmm6
movups xmmword [r14 + 0x30], xmm6
movups xmmword [r14 + 0x20], xmm6
movups xmmword [r14 + 0x10], xmm6
movups xmmword [r14], xmm6
movups xmm0, xmmword [rsp + 0xa0]
movups xmm1, xmmword [rsp + 0xb0]
movups xmm2, xmmword [rsp + 0xc0]
movups xmm3, xmmword [rsp + 0xd0]
movups xmmword [rbp + 0x30], xmm3
movups xmmword [rbp + 0x20], xmm2
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp], xmm0
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x410], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x418], rax
mov qword [rsp + 0x420], 0
lea rax, [rsp + 0xf0]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x300], xmm0
movaps xmmword [rsp + 0x310], xmm1
movaps xmmword [rsp + 0x320], xmm2
movaps xmmword [rsp + 0x330], xmm3
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x340], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x348], rax
mov rcx, r14
lea rdi, [rsp + 0x188]
mov rdx, rdi
call fcn.1401e081f
mov r8d, 0x128
lea rsi, [rsp + 0x430]
mov rcx, rsi
lea rdx, [rsp + 0x300]
call fcn.14038a820
lea r13, [rsp + 0x140]
mov rcx, r13
mov rdx, rsi
call fcn.1401e0372
mov ecx, 9
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
jmp 0x1401e0124
mov r12, qword [rsp + 0x68]
mov r15, qword [rsp + 0x78]
test r15, r15
mov rsi, qword [rsp + 0x70]
jne 0x1401dff86
movaps xmm6, xmmword [rsp + 0x560]
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_srcpbkdf2.rsderived_key_too_long
mov rcx, r8
mov rdx, r8
mov r8, rax
call fcn.14038e8b0
ud2
lea rax, [0x140494bc0]
mov edx, 0x40
mov rcx, r8
mov r8, rax
call fcn.14038e940
ud2
lea rcx, [0x140494ba0]
lea r8, [0x140494cf8]
mov edx, 0x19
call fcn.14038e950
ud2
lea r8, [rsp + 0x300]
mov qword [r8 + 0x10], 0
lea r9, [0x140494d10]
lea rcx, [rsp + 0x140]
lea rdx, [rsp + 0x1d0]
call fcn.140395d5f
ud2
lea rcx, [0x140494b4e]
lea r8, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.16.20_srcpbkdf2.rsderived_key_too_long
mov edx, 0x14
call fcn.14038ec80
ud2
lea rcx, [0x1404ccfb7]
lea r8, [0x140494d28]
mov edx, 0x2b
jmp 0x1401e030e