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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rsi, r9
call sym.libaes::aes_set_encrypt_key::hd6e13cac97a0fca1
movzx ecx, byte [rsi + 0xf0]
test rcx, rcx
je 0x14000632a
shl rcx, 2
xor edx, edx
nop word [rax + rax]
cmp rdx, 0x3b
ja 0x140006337
cmp rcx, 0x3c
jae 0x140006340
mov eax, dword [rsi + rdx*4]
mov ebx, dword [rsi + rcx*4]
mov dword [rsi + rdx*4], ebx
mov dword [rsi + rcx*4], eax
lea rax, [rcx + 1]
cmp rax, 0x3c
jae 0x140006349
mov eax, dword [rsi + rdx*4 + 4]
mov ebx, dword [rsi + rcx*4 + 4]
mov dword [rsi + rdx*4 + 4], ebx
mov dword [rsi + rcx*4 + 4], eax
lea rax, [rcx + 2]
cmp rax, 0x3c
jae 0x140006361
mov eax, dword [rsi + rdx*4 + 8]
mov ebx, dword [rsi + rcx*4 + 8]
mov dword [rsi + rdx*4 + 8], ebx
mov dword [rsi + rcx*4 + 8], eax
lea rax, [rcx + 3]
cmp rax, 0x3b
ja 0x14000636a
mov eax, dword [rsi + rdx*4 + 0xc]
mov ebx, dword [rsi + rcx*4 + 0xc]
mov dword [rsi + rdx*4 + 0xc], ebx
mov dword [rsi + rcx*4 + 0xc], eax
add rdx, 4
add rcx, 0xfffffffffffffffc
cmp rdx, rcx
jb 0x140006130
movzx r14d, byte [rsi + 0xf0]
cmp r14b, 2
jb 0x14000632a
dec r14b
mov ecx, 7
lea r15, [0x14013a2a8]
lea r8, [0x14013a748]
lea r9, [0x14013ab60]
lea r10, [0x14013af60]
lea r11, [0x14013b360]
nop dword [rax + rax]
cmp rcx, 0x3f
je 0x140006380
mov eax, dword [rsi + rcx*4 - 0xc]
mov rdi, rax
mov rbx, rax
shr rbx, 0x18
movzx ebx, byte [r15 + rbx*4]
shr rdi, 0xe
and edi, 0x3fc
movzx edi, byte [rdi + r15]
mov edi, dword [r9 + rdi*4]
xor edi, dword [r8 + rbx*4]
movzx ebx, ah
movzx ebx, byte [r15 + rbx*4]
xor edi, dword [r10 + rbx*4]
movzx eax, al
movzx eax, byte [r15 + rax*4]
xor edi, dword [r11 + rax*4]
mov edx, dword [rsi + rcx*4 - 8]
mov rax, rdx
movzx ebp, dh
mov rbx, rdx
shr rbx, 0x18
movzx ebx, byte [r15 + rbx*4]
shr rax, 0xe
and eax, 0x3fc
movzx eax, byte [rax + r15]
mov eax, dword [r9 + rax*4]
xor eax, dword [r8 + rbx*4]
movzx edx, dl
movzx ebx, byte [r15 + rbp*4]
xor eax, dword [r10 + rbx*4]
mov dword [rsi + rcx*4 - 0xc], edi
movzx edx, byte [r15 + rdx*4]
xor eax, dword [r11 + rdx*4]
mov dword [rsi + rcx*4 - 8], eax
mov ebx, dword [rsi + rcx*4 - 4]
mov rax, rbx
mov rdx, rbx
shr rdx, 0x18
movzx edx, byte [r15 + rdx*4]
shr rax, 0xe
and eax, 0x3fc
movzx eax, byte [rax + r15]
mov eax, dword [r9 + rax*4]
xor eax, dword [r8 + rdx*4]
movzx edx, bh
movzx edx, byte [r15 + rdx*4]
xor eax, dword [r10 + rdx*4]
movzx edx, bl
movzx edx, byte [r15 + rdx*4]
xor eax, dword [r11 + rdx*4]
mov dword [rsi + rcx*4 - 4], eax
mov ebx, dword [rsi + rcx*4]
mov rax, rbx
mov rdx, rbx
shr rdx, 0x18
movzx edx, byte [r15 + rdx*4]
shr rax, 0xe
and eax, 0x3fc
movzx eax, byte [rax + r15]
mov eax, dword [r9 + rax*4]
xor eax, dword [r8 + rdx*4]
movzx edx, bh
movzx edx, byte [r15 + rdx*4]
xor eax, dword [r10 + rdx*4]
movzx edx, bl
movzx edx, byte [r15 + rdx*4]
xor eax, dword [r11 + rdx*4]
mov dword [rsi + rcx*4], eax
add rcx, 4
dec r14b
jne 0x140006200
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
jmp 0x140006350
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
jmp 0x140006355
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
mov ecx, 0x3c
mov edx, 0x3c
call dbg.panic_bounds_check
ud2
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
jmp 0x140006371
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
mov edx, 0x3c
mov rcx, rax
call dbg.panic_bounds_check
ud2
lea r8, str._home_kali_.cargo_registry_src_github.com_1ecc6299db9ec823_libaes_0.6.5_src_lib.rs
xor ecx, ecx
xor edx, edx
call dbg.panic_bounds_check
ud2