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

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
mov rcx, r9
mov r8, qword [rsp + 0x28]
lea rsp, [rsp - 0x58]
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x30], xmm9
and rdx, 0xfffffffffffffff0
je 0x1402ffe84
mov eax, dword [rcx + 0xf0]
movups xmm0, xmmword [rcx]
mov r11, rcx
mov r10d, eax
test r8d, r8d
je 0x1402ffba0
cmp rdx, 0x80
jb 0x1402ffa47
movdqu xmm2, xmmword [rdi]
movdqu xmm3, xmmword [rdi + 0x10]
movdqu xmm4, xmmword [rdi + 0x20]
movdqu xmm5, xmmword [rdi + 0x30]
movdqu xmm6, xmmword [rdi + 0x40]
movdqu xmm7, xmmword [rdi + 0x50]
movdqu xmm8, xmmword [rdi + 0x60]
movdqu xmm9, xmmword [rdi + 0x70]
lea rdi, [rdi + 0x80]
sub rdx, 0x80
jmp 0x1402ff9fe
movups xmmword [rsi], xmm2
mov rcx, r11
movdqu xmm2, xmmword [rdi]
mov eax, r10d
movups xmmword [rsi + 0x10], xmm3
movdqu xmm3, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm4
movdqu xmm4, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x30], xmm5
movdqu xmm5, xmmword [rdi + 0x30]
movups xmmword [rsi + 0x40], xmm6
movdqu xmm6, xmmword [rdi + 0x40]
movups xmmword [rsi + 0x50], xmm7
movdqu xmm7, xmmword [rdi + 0x50]
movups xmmword [rsi + 0x60], xmm8
movdqu xmm8, xmmword [rdi + 0x60]
movups xmmword [rsi + 0x70], xmm9
lea rsi, [rsi + 0x80]
movdqu xmm9, xmmword [rdi + 0x70]
lea rdi, [rdi + 0x80]
call fcn.1402ff6e0
sub rdx, 0x80
jae 0x1402ff9a0
movups xmmword [rsi], xmm2
mov rcx, r11
movups xmmword [rsi + 0x10], xmm3
mov eax, r10d
movups xmmword [rsi + 0x20], xmm4
movups xmmword [rsi + 0x30], xmm5
movups xmmword [rsi + 0x40], xmm6
movups xmmword [rsi + 0x50], xmm7
movups xmmword [rsi + 0x60], xmm8
movups xmmword [rsi + 0x70], xmm9
lea rsi, [rsi + 0x80]
add rdx, 0x80
je 0x1402ffe84
movups xmm2, xmmword [rdi]
cmp rdx, 0x20
jb 0x1402ffac0
movups xmm3, xmmword [rdi + 0x10]
je 0x1402ffaf0
movups xmm4, xmmword [rdi + 0x20]
cmp rdx, 0x40
jb 0x1402ffb10
movups xmm5, xmmword [rdi + 0x30]
je 0x1402ffb30
movups xmm6, xmmword [rdi + 0x40]
cmp rdx, 0x60
jb 0x1402ffb50
movups xmm7, xmmword [rdi + 0x50]
je 0x1402ffb70
movdqu xmm8, xmmword [rdi + 0x60]
xorps xmm9, xmm9
call fcn.1402ff6e0
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
movups xmmword [rsi + 0x20], xmm4
movups xmmword [rsi + 0x30], xmm5
movups xmmword [rsi + 0x40], xmm6
movups xmmword [rsi + 0x50], xmm7
movups xmmword [rsi + 0x60], xmm8
jmp 0x1402ffe84
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x20]
xorps xmm2, xmm0
aesenc xmm2, xmm1
dec eax
movups xmm1, xmmword [rcx]
lea rcx, [rcx + 0x10]
jne 0x1402fface
aesenclast xmm2, xmm1
movups xmmword [rsi], xmm2
jmp 0x1402ffe84
call fcn.1402ff260
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
jmp 0x1402ffe84
call fcn.1402ff320
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
movups xmmword [rsi + 0x20], xmm4
jmp 0x1402ffe84
call fcn.1402ff400
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
movups xmmword [rsi + 0x20], xmm4
movups xmmword [rsi + 0x30], xmm5
jmp 0x1402ffe84
xorps xmm7, xmm7
call fcn.1402ff520
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
movups xmmword [rsi + 0x20], xmm4
movups xmmword [rsi + 0x30], xmm5
movups xmmword [rsi + 0x40], xmm6
jmp 0x1402ffe84
call fcn.1402ff520
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
movups xmmword [rsi + 0x20], xmm4
movups xmmword [rsi + 0x30], xmm5
movups xmmword [rsi + 0x40], xmm6
movups xmmword [rsi + 0x50], xmm7
jmp 0x1402ffe84
cmp rdx, 0x80
jb 0x1402ffcbd
movdqu xmm2, xmmword [rdi]
movdqu xmm3, xmmword [rdi + 0x10]
movdqu xmm4, xmmword [rdi + 0x20]
movdqu xmm5, xmmword [rdi + 0x30]
movdqu xmm6, xmmword [rdi + 0x40]
movdqu xmm7, xmmword [rdi + 0x50]
movdqu xmm8, xmmword [rdi + 0x60]
movdqu xmm9, xmmword [rdi + 0x70]
lea rdi, [rdi + 0x80]
sub rdx, 0x80
jmp 0x1402ffc4e
movups xmmword [rsi], xmm2
mov rcx, r11
movdqu xmm2, xmmword [rdi]
mov eax, r10d
movups xmmword [rsi + 0x10], xmm3
movdqu xmm3, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x20], xmm4
movdqu xmm4, xmmword [rdi + 0x20]
movups xmmword [rsi + 0x30], xmm5
movdqu xmm5, xmmword [rdi + 0x30]
movups xmmword [rsi + 0x40], xmm6
movdqu xmm6, xmmword [rdi + 0x40]
movups xmmword [rsi + 0x50], xmm7
movdqu xmm7, xmmword [rdi + 0x50]
movups xmmword [rsi + 0x60], xmm8
movdqu xmm8, xmmword [rdi + 0x60]
movups xmmword [rsi + 0x70], xmm9
lea rsi, [rsi + 0x80]
movdqu xmm9, xmmword [rdi + 0x70]
lea rdi, [rdi + 0x80]
call fcn.1402ff7f0
movups xmm0, xmmword [r11]
sub rdx, 0x80
jae 0x1402ffbf0
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
mov rcx, r11
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
mov eax, r10d
movups xmmword [rsi + 0x20], xmm4
pxor xmm4, xmm4
movups xmmword [rsi + 0x30], xmm5
pxor xmm5, xmm5
movups xmmword [rsi + 0x40], xmm6
pxor xmm6, xmm6
movups xmmword [rsi + 0x50], xmm7
pxor xmm7, xmm7
movups xmmword [rsi + 0x60], xmm8
pxor xmm8, xmm8
movups xmmword [rsi + 0x70], xmm9
pxor xmm9, xmm9
lea rsi, [rsi + 0x80]
add rdx, 0x80
je 0x1402ffe84
movups xmm2, xmmword [rdi]
cmp rdx, 0x20
jb 0x1402ffd60
movups xmm3, xmmword [rdi + 0x10]
je 0x1402ffd90
movups xmm4, xmmword [rdi + 0x20]
cmp rdx, 0x40
jb 0x1402ffdb0
movups xmm5, xmmword [rdi + 0x30]
je 0x1402ffde0
movups xmm6, xmmword [rdi + 0x40]
cmp rdx, 0x60
jb 0x1402ffe10
movups xmm7, xmmword [rdi + 0x50]
je 0x1402ffe50
movups xmm8, xmmword [rdi + 0x60]
movups xmm0, xmmword [rcx]
xorps xmm9, xmm9
call fcn.1402ff7f0
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
movups xmmword [rsi + 0x20], xmm4
pxor xmm4, xmm4
movups xmmword [rsi + 0x30], xmm5
pxor xmm5, xmm5
movups xmmword [rsi + 0x40], xmm6
pxor xmm6, xmm6
movups xmmword [rsi + 0x50], xmm7
pxor xmm7, xmm7
movups xmmword [rsi + 0x60], xmm8
pxor xmm8, xmm8
pxor xmm9, xmm9
jmp 0x1402ffe84
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x20]
xorps xmm2, xmm0
aesdec xmm2, xmm1
dec eax
movups xmm1, xmmword [rcx]
lea rcx, [rcx + 0x10]
jne 0x1402ffd6e
aesdeclast xmm2, xmm1
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
jmp 0x1402ffe84
call fcn.1402ff2c0
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
jmp 0x1402ffe84
call fcn.1402ff390
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
movups xmmword [rsi + 0x20], xmm4
pxor xmm4, xmm4
jmp 0x1402ffe84
call fcn.1402ff490
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
movups xmmword [rsi + 0x20], xmm4
pxor xmm4, xmm4
movups xmmword [rsi + 0x30], xmm5
pxor xmm5, xmm5
jmp 0x1402ffe84
xorps xmm7, xmm7
call fcn.1402ff600
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
movups xmmword [rsi + 0x20], xmm4
pxor xmm4, xmm4
movups xmmword [rsi + 0x30], xmm5
pxor xmm5, xmm5
movups xmmword [rsi + 0x40], xmm6
pxor xmm6, xmm6
pxor xmm7, xmm7
jmp 0x1402ffe84
call fcn.1402ff600
movups xmmword [rsi], xmm2
pxor xmm2, xmm2
movups xmmword [rsi + 0x10], xmm3
pxor xmm3, xmm3
movups xmmword [rsi + 0x20], xmm4
pxor xmm4, xmm4
movups xmmword [rsi + 0x30], xmm5
pxor xmm5, xmm5
movups xmmword [rsi + 0x40], xmm6
pxor xmm6, xmm6
movups xmmword [rsi + 0x50], xmm7
pxor xmm7, xmm7
xorps xmm0, xmm0
pxor xmm1, xmm1
movaps xmm6, xmmword [rsp]
movaps xmmword [rsp], xmm0
movaps xmm7, xmmword [rsp + 0x10]
movaps xmmword [rsp + 0x10], xmm0
movaps xmm8, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm9, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
lea rsp, [rsp + 0x58]
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret