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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
sub rsp, 0x260
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rax - 0x88], xmm12
movaps xmmword [rax - 0x98], xmm13
movaps xmmword [rax - 0xa8], xmm14
movaps xmmword [rax - 0xb8], xmm15
lea rbp, [rax - 0x1f8]
and rbp, 0xffffffffffffffe0
mov rdi, qword [rcx + 0xe0]
mov rax, rdx
shr rax, 5
xor edx, edx
movzx esi, r8b
mov rbx, rcx
lea r8, [rbp + 0x20]
lea r9, [rsi + 1]
div r9
lea r9, [rbp + 0xa0]
mov r14, rax
lea rdx, [rbp]
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.7ff7ed4ce11c
mov r15d, 0x80
test sil, sil
je 0x7ff7ed4ccedc
cmp byte [rbx + 0x1b0], 0
jne 0x7ff7ed4ccedc
mov edx, pe_nt_image_headers64
lea r8d, [rdx + 0x40]
lea r9d, [rdx + 0x60]
lea r10d, [rdx + 0x20]
jmp 0x7ff7ed4cceec
mov edx, 0x40
mov r8, r15
lea r9d, [rdx + 0x60]
lea r10d, [rdx + 0x20]
vmovdqu ymm4, ymmword [rbx + r9]
vmovdqu ymm5, ymmword [rbx + r8]
vmovdqu ymm6, ymmword [rbx + r10]
vmovdqu ymm7, ymmword [rdx + rbx]
vmovdqu ymm8, ymmword [rbp + 0xc0]
vmovdqu ymm9, ymmword [rbp + 0xe0]
vmovdqu ymm10, ymmword [rbp + 0x100]
vmovdqu ymm11, ymmword [rbp + 0x120]
vmovdqu ymm12, ymmword [rbp + 0x40]
vmovdqu ymm13, ymmword [rbp + 0x60]
vmovdqu ymm14, ymmword [rbp + 0x80]
vmovdqu ymm15, ymmword [rbp + 0xa0]
lea rax, [r14 - 0x40]
shl rax, 5
lea r11, [rdi + 0x800]
add rax, rdi
xor ecx, ecx
prefetcht0 byte [r11]
prefetcht0 byte [r11 + 0x40]
vaesenc ymm0, ymm7, ymmword [rbp]
vaesenc ymm1, ymm0, ymmword [rbp + 0x20]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm1, ymm0, ymm12
vaesenc ymm2, ymm1, ymm11
vaesenc ymm1, ymm6, ymmword [rbp]
vaesenc ymm3, ymm2, ymm10
vaesenc ymm0, ymm3, ymm9
vaesenc ymm7, ymm0, ymm8
vaesenc ymm0, ymm1, ymmword [rbp + 0x20]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm0, ymm1, ymm12
vaesenc ymm2, ymm0, ymm11
vaesenc ymm0, ymm5, ymmword [rbp]
vaesenc ymm3, ymm2, ymm10
vaesenc ymm1, ymm3, ymm9
vaesenc ymm6, ymm1, ymm8
vaesenc ymm1, ymm0, ymmword [rbp + 0x20]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm1, ymm0, ymm12
vaesenc ymm2, ymm1, ymm11
vaesenc ymm1, ymm4, ymmword [rbp]
vaesenc ymm3, ymm2, ymm10
vaesenc ymm0, ymm3, ymm9
vmovdqu ymmword [rdi], ymm7
vaesenc ymm5, ymm0, ymm8
vaesenc ymm0, ymm1, ymmword [rbp + 0x20]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vmovdqu ymmword [rdi + 0x20], ymm6
vaesenc ymm0, ymm1, ymm12
vmovdqu ymmword [rdi + 0x40], ymm5
vaesenc ymm2, ymm0, ymm11
vaesenc ymm3, ymm2, ymm10
vaesenc ymm1, ymm3, ymm9
vaesenc ymm4, ymm1, ymm8
vmovdqu ymmword [rdi + 0x60], ymm4
add rdi, r15
add r11, r15
cmp rdi, rax
jb 0x7ff7ed4ccf51
add rax, 0x800
inc ecx
mov r11, rdi
cmp ecx, 2
jl 0x7ff7ed4ccf51
vmovdqu ymmword [rbp + 0xa0], ymm7
vmovdqu ymmword [rbp + 0x80], ymm6
vmovdqu ymmword [rbp + 0x60], ymm5
vmovdqu ymmword [rbp + 0x40], ymm4
test sil, sil
vzeroupper
je 0x7ff7ed4cd0c8
cmp byte [rbx + 0x1b0], 0
je 0x7ff7ed4cd0c8
vmovdqu ymm0, ymmword [rbp + 0xa0]
vmovdqu ymmword [rbx + 0x130], ymm0
vmovdqu ymm0, ymmword [rbp + 0x80]
vmovdqu ymmword [rbx + 0x150], ymm0
vmovdqu ymm0, ymmword [rbp + 0x60]
vmovdqu ymmword [rbx + 0x170], ymm0
vmovdqu ymm0, ymmword [rbp + 0x40]
vmovdqu ymmword [rbx + 0x190], ymm0
vzeroupper
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop rbp
ret