Function at 0x140007221
Capabilities:
Encrypt data using aes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r9
mov edi, r8d
mov rbx, rdx
mov r14, rcx
mov word [rsp + 0x36], r8w
cmp r8w, 0x80
je 0x140007264
movzx eax, di
cmp eax, 0xc0
je 0x140007268
cmp eax, 0x100
jne 0x140007913
mov al, 0xe
jmp 0x14000726a
mov al, 0xa
jmp 0x14000726a
mov al, 0xc
mov byte [rsi + 0xf0], al
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r9d, 4
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi], eax
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 4
mov r9d, 8
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 4], eax
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 8
mov r9d, 0xc
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 8], eax
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 0xc
mov r9d, 0x10
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 0xc], eax
cmp di, 0x80
jne 0x14000742c
mov edx, 0x3c
xor ebx, ebx
mov r15d, 0xff
lea r12, [0x14002f0a8]
lea r13, [0x14002f4a8]
lea rbp, [0x14002f8a8]
lea r14, [0x14002fca8]
lea rdi, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
cmp rdx, 3
jbe 0x1400077b2
cmp rdx, 4
je 0x1400077c3
mov eax, dword [rsi + 0xc]
mov rcx, rax
shr rcx, 0xe
and ecx, 0x3fc
lea r8, [0x14002eca8]
movzx r8d, byte [rcx + r8 + 3]
shl r8d, 0x18
xor r8d, dword [rsi]
mov rcx, rax
shr rcx, 8
and rcx, r15
movzx ecx, byte [r12 + rcx*4 + 2]
shl ecx, 0x10
mov r9, rax
and r9, r15
movzx r9d, byte [r13 + r9*4 + 1]
shl r9d, 8
xor r9d, ecx
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [rbp + rcx*4]
xor ecx, r9d
xor ecx, r8d
xor ecx, dword [rbx + r14]
mov dword [rsi + 0x10], ecx
cmp rdx, 5
jbe 0x1400077d9
xor ecx, dword [rsi + 4]
mov dword [rsi + 0x14], ecx
cmp rdx, 6
je 0x1400077ef
xor ecx, dword [rsi + 8]
mov dword [rsi + 0x18], ecx
cmp rdx, 7
jbe 0x1400077f8
xor ecx, eax
mov dword [rsi + 0x1c], ecx
cmp rbx, 0x24
je 0x1400077a1
mov r8d, 4
mov rcx, rsi
mov r9, rdi
call fcn.1400068ce
mov rsi, rax
add rbx, 4
jmp 0x14000735f
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 0x10
mov r9d, 0x14
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 0x10], eax
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 0x14
mov r9d, 0x18
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 0x14], eax
cmp di, 0xc0
jne 0x1400075b0
mov edx, 0x3c
xor ebx, ebx
mov r15d, 0xff
lea r12, [0x14002f0a8]
lea r13, [0x14002f4a8]
lea rbp, [0x14002f8a8]
lea r14, [0x14002fca8]
lea rdi, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
cmp rdx, 5
jbe 0x140007801
cmp rdx, 6
je 0x140007812
mov eax, dword [rsi + 0x14]
mov rcx, rax
shr rcx, 0xe
and ecx, 0x3fc
lea r8, [0x14002eca8]
movzx r8d, byte [rcx + r8 + 3]
shl r8d, 0x18
xor r8d, dword [rsi]
mov rcx, rax
shr rcx, 8
and rcx, r15
movzx ecx, byte [r12 + rcx*4 + 2]
shl ecx, 0x10
mov r9, rax
and r9, r15
movzx r9d, byte [r13 + r9*4 + 1]
shl r9d, 8
xor r9d, ecx
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [rbp + rcx*4]
xor ecx, r9d
xor ecx, r8d
xor ecx, dword [rbx + r14]
mov dword [rsi + 0x18], ecx
cmp rdx, 7
je 0x140007828
xor ecx, dword [rsi + 4]
mov dword [rsi + 0x1c], ecx
cmp rdx, 8
jbe 0x14000783e
xor ecx, dword [rsi + 8]
mov dword [rsi + 0x20], ecx
cmp rdx, 9
je 0x140007847
xor ecx, dword [rsi + 0xc]
mov dword [rsi + 0x24], ecx
cmp rbx, 0x1c
je 0x1400077a1
cmp rdx, 0xb
jb 0x140007850
xor ecx, dword [rsi + 0x10]
mov dword [rsi + 0x28], ecx
cmp rdx, 0xb
je 0x140007859
xor ecx, eax
mov dword [rsi + 0x2c], ecx
mov r8d, 6
mov rcx, rsi
mov r9, rdi
call fcn.1400068ce
mov rsi, rax
add rbx, 4
jmp 0x1400074c3
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 0x18
mov r9d, 0x1c
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 0x18], eax
lea rax, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov qword [rsp + 0x20], rax
mov r8d, 0x1c
mov r9d, 0x20
mov rcx, r14
mov rdx, rbx
call fcn.140006890
mov rcx, rax
call fcn.140007164
mov dword [rsi + 0x1c], eax
cmp di, 0x100
jne 0x1400077a1
mov edx, 0x3c
xor ebx, ebx
lea r14, [0x14002eca8]
mov r15d, 0xff
lea r12, [0x14002f0a8]
lea r13, [0x14002f4a8]
lea rbp, [0x14002f8a8]
lea rdi, [0x14002fca8]
cmp rdx, 7
jbe 0x140007862
cmp rdx, 8
je 0x140007873
mov eax, dword [rsi + 0x1c]
mov rcx, rax
shr rcx, 0xe
and ecx, 0x3fc
movzx r8d, byte [rcx + r14 + 3]
shl r8d, 0x18
xor r8d, dword [rsi]
mov rcx, rax
shr rcx, 8
and rcx, r15
movzx ecx, byte [r12 + rcx*4 + 2]
shl ecx, 0x10
mov r9, rax
and r9, r15
movzx r9d, byte [r13 + r9*4 + 1]
shl r9d, 8
xor r9d, ecx
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [rbp + rcx*4]
xor ecx, r9d
xor ecx, r8d
xor ecx, dword [rbx + rdi]
mov dword [rsi + 0x20], ecx
cmp rdx, 9
je 0x140007889
xor ecx, dword [rsi + 4]
mov dword [rsi + 0x24], ecx
cmp rdx, 0xa
jbe 0x14000789c
xor ecx, dword [rsi + 8]
mov dword [rsi + 0x28], ecx
cmp rdx, 0xb
je 0x1400078af
xor ecx, dword [rsi + 0xc]
mov dword [rsi + 0x2c], ecx
cmp rbx, 0x18
je 0x1400077a1
cmp rdx, 0xd
jb 0x1400078c2
mov ecx, ecx
mov r8, rcx
shr r8, 0x18
movzx r8d, byte [r14 + r8*4 + 3]
shl r8d, 0x18
xor r8d, dword [rsi + 0x10]
mov r9, rcx
shr r9, 0xe
and r9d, 0x3fc
movzx r9d, byte [r9 + r12 + 2]
shl r9d, 0x10
mov r10, rcx
shr r10, 8
and r10, r15
movzx r10d, byte [r13 + r10*4 + 1]
shl r10d, 8
xor r10d, r9d
and rcx, r15
movzx ecx, byte [rbp + rcx*4]
xor ecx, r10d
xor ecx, r8d
mov dword [rsi + 0x30], ecx
cmp rdx, 0xd
je 0x1400078d5
xor ecx, dword [rsi + 0x14]
mov dword [rsi + 0x34], ecx
cmp rdx, 0xe
jbe 0x1400078e8
xor ecx, dword [rsi + 0x18]
mov dword [rsi + 0x38], ecx
cmp rdx, 0xf
je 0x1400078fb
xor ecx, eax
mov dword [rsi + 0x3c], ecx
mov r8d, 8
mov rcx, rsi
lea r9, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
call fcn.1400068ce
mov rsi, rax
add rbx, 4
jmp 0x140007647
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 3
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 4
mov edx, 4
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 5
mov edx, 5
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x140007819
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x14000782f
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 5
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 6
mov edx, 6
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 7
mov edx, 7
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x14000787a
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x140007890
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x1400078a3
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x1400078b6
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 7
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 8
mov edx, 8
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 9
mov edx, 9
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0xa
mov edx, 0xa
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0xb
mov edx, 0xb
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0xc
mov edx, 0xc
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0xd
mov edx, 0xd
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0xe
mov edx, 0xe
jmp 0x14000790c
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0xf
mov edx, 0xf
call fcn.140029ce0
ud2
lea rax, [rsp + 0x36]
lea rdx, [rsp + 0x38]
mov qword [rdx], rax
lea rax, str.wrong_value_for_bits
lea rcx, [rsp + 0x48]
mov qword [rcx], rax
mov eax, 1
mov qword [rcx + 8], rax
and qword [rcx + 0x20], 0
lea r8, [0x1400271c0]
mov qword [rdx + 8], r8
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], rax
lea rdx, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
call fcn.140029ba0
ud2