Function at 0x14000795e
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r9
call fcn.140007221
movzx ecx, byte [rsi + 0xf0]
shl rcx, 2
lea rdx, [rsi + 0xc]
xor r8d, r8d
cmp r8, rcx
jae 0x140007a24
cmp r8, 0x3c
jae 0x140007bfb
cmp rcx, 0x3c
jae 0x140007c04
mov eax, dword [rdx + r8*4 - 0xc]
mov r9d, dword [rdx + rcx*4 - 0xc]
mov dword [rdx + r8*4 - 0xc], r9d
mov dword [rdx + rcx*4 - 0xc], eax
lea rax, [rcx + 1]
cmp rax, 0x3c
jae 0x140007c0d
mov eax, dword [rdx + r8*4 - 8]
mov r9d, dword [rdx + rcx*4 - 8]
mov dword [rdx + r8*4 - 8], r9d
mov dword [rdx + rcx*4 - 8], eax
lea rax, [rcx + 2]
cmp rax, 0x3c
jae 0x140007c20
mov eax, dword [rdx + r8*4 - 4]
mov r9d, dword [rdx + rcx*4 - 4]
mov dword [rdx + r8*4 - 4], r9d
mov dword [rdx + rcx*4 - 4], eax
lea rax, [rcx + 3]
cmp rax, 0x3b
ja 0x140007c29
mov eax, dword [rdx + r8*4]
mov r9d, dword [rdx + rcx*4]
mov dword [rdx + r8*4], r9d
mov dword [rdx + rcx*4], eax
add r8, 4
add rcx, 0xfffffffffffffffc
jmp 0x140007988
mov al, byte [rsi + 0xf0]
mov byte [rsp + 0x27], al
mov edx, 0x3c
mov bpl, 1
lea r14, [0x14002f8a8]
lea r12, [0x14002ffb0]
lea rbx, [0x1400303c8]
mov r13d, 0xff
lea rdi, [0x1400307c8]
lea r15, [0x140030bc8]
mov eax, ebp
mov cl, byte [rsp + 0x27]
cmp bpl, cl
adc bpl, 0
cmp al, cl
jae 0x140007bea
mov r8d, 4
mov rcx, rsi
lea r9, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
call fcn.1400068ce
test rdx, rdx
je 0x140007c3a
mov rsi, rax
mov eax, dword [rax]
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [r14 + rcx*4]
mov r8, rax
shr r8, 0xe
and r8d, 0x3fc
movzx r8d, byte [r8 + r14]
mov r8d, dword [rbx + r8*4]
xor r8d, dword [r12 + rcx*4]
mov rcx, rax
shr rcx, 8
and rcx, r13
movzx ecx, byte [r14 + rcx*4]
xor r8d, dword [rdi + rcx*4]
and rax, r13
movzx eax, byte [r14 + rax*4]
xor r8d, dword [r15 + rax*4]
mov dword [rsi], r8d
cmp rdx, 1
je 0x140007c47
mov eax, dword [rsi + 4]
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [r14 + rcx*4]
mov r8, rax
shr r8, 0xe
and r8d, 0x3fc
movzx r8d, byte [r8 + r14]
mov r8d, dword [rbx + r8*4]
xor r8d, dword [r12 + rcx*4]
mov rcx, rax
shr rcx, 8
and rcx, r13
movzx ecx, byte [r14 + rcx*4]
xor r8d, dword [rdi + rcx*4]
and rax, r13
movzx eax, byte [r14 + rax*4]
xor r8d, dword [r15 + rax*4]
mov dword [rsi + 4], r8d
cmp rdx, 2
jbe 0x140007c5a
mov eax, dword [rsi + 8]
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [r14 + rcx*4]
mov r8, rax
shr r8, 0xe
and r8d, 0x3fc
movzx r8d, byte [r8 + r14]
mov r8d, dword [rbx + r8*4]
xor r8d, dword [r12 + rcx*4]
mov rcx, rax
shr rcx, 8
and rcx, r13
movzx ecx, byte [r14 + rcx*4]
xor r8d, dword [rdi + rcx*4]
and rax, r13
movzx eax, byte [r14 + rax*4]
xor r8d, dword [r15 + rax*4]
mov dword [rsi + 8], r8d
cmp rdx, 3
je 0x140007c6d
mov eax, dword [rsi + 0xc]
mov rcx, rax
shr rcx, 0x18
movzx ecx, byte [r14 + rcx*4]
mov r8, rax
shr r8, 0xe
and r8d, 0x3fc
movzx r8d, byte [r8 + r14]
mov r8d, dword [rbx + r8*4]
xor r8d, dword [r12 + rcx*4]
mov rcx, rax
shr rcx, 8
and rcx, r13
movzx ecx, byte [r14 + rcx*4]
xor r8d, dword [rdi + rcx*4]
and rax, r13
movzx eax, byte [r14 + rax*4]
xor r8d, dword [r15 + rax*4]
mov dword [rsi + 0xc], r8d
jmp 0x140007a5f
add rsp, 0x28
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
jmp 0x140007c14
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x140007c19
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 0x3c
mov edx, 0x3c
jmp 0x140007c7e
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
jmp 0x140007c30
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov edx, 0x3c
mov rcx, rax
jmp 0x140007c7e
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
xor ecx, ecx
xor edx, edx
jmp 0x140007c7e
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 1
mov edx, 1
jmp 0x140007c7e
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 2
mov edx, 2
jmp 0x140007c7e
lea r8, str.C:Users16632.cargo_registry_srcindex.crates.io_6f17d22bba15001flibaes_0.7.0_srclib.rs
mov ecx, 3
mov edx, 3
call fcn.140029ce0
ud2