Function at 0x1400a8983
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, rdi
mov r11, rsi
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8d, dword [rsp + 0x28]
sub rsp, 0x48
movdqa xmmword [rsp], xmm9
movdqa xmmword [rsp + 0x10], xmm10
movdqa xmmword [rsp + 0x20], xmm11
movdqa xmmword [rsp + 0x30], xmm12
mov r10, rdx
shr rdx, 4
shl r10, 0x3c
je 0x1400a89ca
add rdx, 1
mov r10, rdx
shl r10, 0x3e
shr r10, 0x3e
shr rdx, 2
je 0x1400a8c12
sub rsi, 0x40
movdqu xmm1, xmmword [rdi]
movdqu xmm2, xmmword [rdi + 0x10]
movdqu xmm3, xmmword [rdi + 0x20]
movdqu xmm4, xmmword [rdi + 0x30]
movdqa xmm9, xmmword [rcx]
movdqa xmm10, xmmword [rcx + 0x10]
movdqa xmm11, xmmword [rcx + 0x20]
movdqa xmm12, xmmword [rcx + 0x30]
pxor xmm1, xmm9
pxor xmm2, xmm9
pxor xmm3, xmm9
pxor xmm4, xmm9
aesenc xmm1, xmm10
aesenc xmm2, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
aesenc xmm1, xmm11
aesenc xmm2, xmm11
aesenc xmm3, xmm11
aesenc xmm4, xmm11
aesenc xmm1, xmm12
aesenc xmm2, xmm12
aesenc xmm3, xmm12
aesenc xmm4, xmm12
movdqa xmm9, xmmword [rcx + 0x40]
movdqa xmm10, xmmword [rcx + 0x50]
movdqa xmm11, xmmword [rcx + 0x60]
movdqa xmm12, xmmword [rcx + 0x70]
aesenc xmm1, xmm9
aesenc xmm2, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm1, xmm10
aesenc xmm2, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
aesenc xmm1, xmm11
aesenc xmm2, xmm11
aesenc xmm3, xmm11
aesenc xmm4, xmm11
aesenc xmm1, xmm12
aesenc xmm2, xmm12
aesenc xmm3, xmm12
aesenc xmm4, xmm12
movdqa xmm9, xmmword [rcx + 0x80]
movdqa xmm10, xmmword [rcx + 0x90]
movdqa xmm11, xmmword [rcx + 0xa0]
cmp r8d, 0xc
aesenc xmm1, xmm9
aesenc xmm2, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm1, xmm10
aesenc xmm2, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
jb 0x1400a8bd2
movdqa xmm9, xmmword [rcx + 0xa0]
movdqa xmm10, xmmword [rcx + 0xb0]
movdqa xmm11, xmmword [rcx + 0xc0]
cmp r8d, 0xe
aesenc xmm1, xmm9
aesenc xmm2, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm1, xmm10
aesenc xmm2, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
jb 0x1400a8bd2
movdqa xmm9, xmmword [rcx + 0xc0]
movdqa xmm10, xmmword [rcx + 0xd0]
movdqa xmm11, xmmword [rcx + 0xe0]
aesenc xmm1, xmm9
aesenc xmm2, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm1, xmm10
aesenc xmm2, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
add rdi, 0x40
add rsi, 0x40
dec rdx
aesenclast xmm1, xmm11
aesenclast xmm2, xmm11
aesenclast xmm3, xmm11
aesenclast xmm4, xmm11
movdqu xmmword [rsi], xmm1
movdqu xmmword [rsi + 0x10], xmm2
movdqu xmmword [rsi + 0x20], xmm3
movdqu xmmword [rsi + 0x30], xmm4
jne 0x1400a89e3
add rsi, 0x40
cmp r10, 0
je 0x1400a8cc2
movdqu xmm1, xmmword [rdi]
add rdi, 0x10
pxor xmm1, xmmword [rcx]
movdqu xmm2, xmmword [rcx + 0xa0]
aesenc xmm1, xmmword [rcx + 0x10]
aesenc xmm1, xmmword [rcx + 0x20]
aesenc xmm1, xmmword [rcx + 0x30]
aesenc xmm1, xmmword [rcx + 0x40]
aesenc xmm1, xmmword [rcx + 0x50]
aesenc xmm1, xmmword [rcx + 0x60]
aesenc xmm1, xmmword [rcx + 0x70]
aesenc xmm1, xmmword [rcx + 0x80]
aesenc xmm1, xmmword [rcx + 0x90]
cmp r8d, 0xc
jb 0x1400a8cac
movdqu xmm2, xmmword [rcx + 0xc0]
aesenc xmm1, xmmword [rcx + 0xa0]
aesenc xmm1, xmmword [rcx + 0xb0]
cmp r8d, 0xe
jb 0x1400a8cac
movdqu xmm2, xmmword [rcx + 0xe0]
aesenc xmm1, xmmword [rcx + 0xc0]
aesenc xmm1, xmmword [rcx + 0xd0]
aesenclast xmm1, xmm2
movdqu xmmword [rsi], xmm1
add rsi, 0x10
dec r10
jne 0x1400a8c1c
mov rdi, rax
mov rsi, r11
movdqa xmm9, xmmword [rsp]
movdqa xmm10, xmmword [rsp + 0x10]
movdqa xmm11, xmmword [rsp + 0x20]
movdqa xmm12, xmmword [rsp + 0x30]
add rsp, 0x48
ret