Function at 0x140024643
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x248
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
lea rbx, [rdx + 0x30]
movups xmm0, xmmword [rdx + 0x30]
movups xmm1, xmmword [rdx + 0x40]
movups xmm2, xmmword [rdx + 0x50]
movups xmm3, xmmword [rdx + 0x60]
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
mov al, byte [0x1406a72b0]
cmp al, 2
jne 0x1400248ea
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0xa0], xmm3
movaps xmmword [rsp + 0x90], xmm2
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x70], xmm0
mov al, byte [0x1406a72b0]
cmp al, 2
jne 0x1400248f4
mov qword [rsp + 0xb0], rdi
movaps xmm0, xmmword [rsp + 0x30]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movups xmmword [rsp + 0xb8], xmm0
movups xmmword [rsp + 0xc8], xmm1
movups xmmword [rsp + 0xd8], xmm2
movups xmmword [rsp + 0xe8], xmm3
xor eax, eax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
movaps xmm0, xmmword [rsp + 0x70]
movaps xmm1, xmmword [rsp + 0x80]
movaps xmm2, xmmword [rsp + 0x90]
movaps xmm3, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm1
movups xmmword [rsp + 0x128], xmm2
movups xmmword [rsp + 0x138], xmm3
mov qword [rsp + 0x148], rax
mov rbx, qword [rdi + 0x20]
cmp rbx, r14
jae 0x14002479e
lea r12, [rsp + 0x1d0]
mov rcx, r12
mov rdx, rdi
mov r8, r15
mov r9, r14
call fcn.1400229fb
mov rax, qword [r12]
mov r14, qword [rax + 0x10]
cmp r14, 0x41
jae 0x14002494f
lea r15, [rsp + 0x1d8]
movaps xmm0, xmmword [str.6666666666666666]
movaps xmmword [rsp + 0x1c0], xmm0
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x150], xmm0
cmp rbx, 0x81
jae 0x140024916
cmp rbx, r14
cmovb r14, rbx
test r14, r14
je 0x140024817
xor eax, eax
mov cl, byte [r15 + rax]
xor byte [rsp + rax + 0x150], cl
lea rcx, [rax + 1]
mov rax, rcx
cmp r14, rcx
jne 0x140024800
test rbx, rbx
je 0x1400248fe
lea r14, [rsp + 0xb8]
lea rdx, [rsp + 0x150]
mov r8d, 1
mov rcx, r14
call qword [rdi]
mov rax, qword [r14 + 0x40]
inc rax
je 0x14002490a
lea rcx, [rsp + 0x108]
mov qword [rcx - 0x10], rax
xor eax, eax
xor byte [rsp + rax + 0x150], 0x6a
inc rax
cmp rbx, rax
jne 0x140024856
mov r9, qword [rsp + 0x100]
mov r8, qword [r9 + 0x20]
test r8, r8
je 0x1400248fe
mov rax, rbx
xor edx, edx
div r8
mov rdi, rax
imul rax, r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
cmp rax, rbx
jne 0x14002492a
cmp r8, rbx
ja 0x1400248c2
lea rdx, [rsp + 0x150]
mov r8, rdi
call qword [r9]
add rdi, qword [rsp + 0x148]
jb 0x14002490a
mov qword [rsp + 0x148], rdi
lea rdx, [rsp + 0xb0]
mov r8d, 0xa0
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
nop
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400d6caf
jmp 0x140024695
call fcn.1400d6caf
jmp 0x1400246cf
lea rcx, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srcdigest.rs
call fcn.1400d64a0
lea rcx, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srcdigest.rs
call fcn.1400d6620
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srchmac.rs
mov edx, 0x80
mov rcx, rbx
call fcn.1400d6300
lea r8, [rsp + 0x218]
mov qword [r8], 0
lea r9, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srcdigest.rs
lea rcx, [rsp + 0x20]
lea rdx, [rsp + 0x28]
call fcn.1400d6c7b
lea r8, str.C:UsersDevelopUser.cargo_registry_srcindex.crates.io_6f17d22bba15001f_ring_0.17.7_srcdigest.rs
mov edx, 0x40
mov rcx, r14
call fcn.1400d6300
int3