Function at 0x14013b180
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 + 0x20], rdi
mov qword [rax + 0x18], r8
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x3a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
movaps xmmword [rax - 0xb8], xmm14
movaps xmmword [rax - 0xc8], xmm15
lea rbp, [rax - 0x348]
and rbp, 0xffffffffffffffe0
mov rsi, rdx
movzx r13d, r9b
mov r14, rcx
lea r9, [rbp + 0x40]
mov rax, r8
xor edx, edx
shr rax, 4
lea r8, [rbp + 0x20]
mov rbx, qword [rsi + 0xe0]
lea rcx, [r13 + 1]
mov rdi, qword [r14 + 0xe0]
div rcx
mov qword [rbp], rcx
lea rdx, [rsi + 0x20]
mov r15, rax
lea rcx, [r14 + 0x20]
lea rax, [rbp + 0x100]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x160]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.14013a000
vmovups xmm0, xmmword [r14 + 0x40]
vinsertf128 ymm4, ymm0, xmmword [rsi + 0x40], 1
vmovups xmm0, xmmword [r14 + 0x50]
vinsertf128 ymm5, ymm0, xmmword [rsi + 0x50], 1
vmovups xmm0, xmmword [r14 + 0x60]
vinsertf128 ymm6, ymm0, xmmword [rsi + 0x60], 1
vmovups xmm0, xmmword [r14 + 0x70]
vinsertf128 ymm7, ymm0, xmmword [rsi + 0x70], 1
vmovups xmm0, xmmword [r14 + 0x80]
vinsertf128 ymm8, ymm0, xmmword [rsi + 0x80], 1
vmovups xmm0, xmmword [r14 + 0x90]
vinsertf128 ymm9, ymm0, xmmword [rsi + 0x90], 1
vmovups xmm0, xmmword [r14 + 0xa0]
vinsertf128 ymm10, ymm0, xmmword [rsi + 0xa0], 1
vmovups xmm0, xmmword [r14 + 0xb0]
mov rcx, qword [rbp]
xor r12d, r12d
mov qword [rbp + 0xe0], rbx
mov rax, rdi
mov qword [rbp + 0xe8], rax
mov rdx, rbx
vinsertf128 ymm2, ymm0, xmmword [rsi + 0xb0], 1
vmovdqu ymmword [rbp + 0x180], ymm2
vmovdqu ymmword [rbp + 0x260], ymm4
vmovdqu ymmword [rbp + 0x240], ymm5
vmovdqu ymmword [rbp + 0x220], ymm6
vmovdqu ymmword [rbp + 0x200], ymm7
vmovdqu ymmword [rbp + 0x1e0], ymm8
vmovdqu ymmword [rbp + 0x1c0], ymm9
vmovdqu ymmword [rbp + 0x1a0], ymm10
test rcx, rcx
je 0x14013b751
vmovdqu ymm12, ymmword [rbp + 0x100]
vmovdqu ymm13, ymmword [rbp + 0x120]
vmovdqu ymm14, ymmword [rbp + 0x140]
vmovdqu ymm15, ymmword [rbp + 0x160]
test r13b, r13b
je 0x14013b43f
cmp r12, 1
jne 0x14013b43f
mov r8, qword [rsp + 0x3e0]
mov rbx, rdx
mov byte [r14 + 0x1b0], 0
mov rdx, rsi
mov byte [rsi + 0x1b0], 0
mov rdi, rax
movzx r9d, r13b
mov rcx, r14
vzeroupper
call fcn.14013a7a0
vmovdqu ymm12, ymmword [rbp + 0x100]
vmovdqu ymm13, ymmword [rbp + 0x120]
vmovdqu ymm14, ymmword [rbp + 0x140]
vmovdqu ymm15, ymmword [rbp + 0x160]
vmovdqu ymm4, ymmword [rbp + 0x260]
vmovdqu ymm5, ymmword [rbp + 0x240]
vmovdqu ymm6, ymmword [rbp + 0x220]
vmovdqu ymm7, ymmword [rbp + 0x200]
vmovdqu ymm8, ymmword [rbp + 0x1e0]
vmovdqu ymm9, ymmword [rbp + 0x1c0]
vmovdqu ymm10, ymmword [rbp + 0x1a0]
vmovdqu ymm2, ymmword [rbp + 0x180]
mov rcx, qword [rbp]
mov rdx, qword [rbp + 0xe0]
xor eax, eax
test r15, r15
je 0x14013b73e
nop word [rax + rax]
vmovups xmm0, xmmword [rdi]
vinsertf128 ymm1, ymm0, xmmword [rbx], 1
vmovups xmm0, xmmword [rdi + 0x10]
vpxor ymm3, ymm1, ymm4
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x10], 1
vmovups xmm0, xmmword [rdi + 0x20]
vpxor ymm5, ymm1, ymm5
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x20], 1
vmovups xmm0, xmmword [rdi + 0x30]
vpxor ymm6, ymm1, ymm6
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x30], 1
vmovups xmm0, xmmword [rdi + 0x40]
vpxor ymm7, ymm1, ymm7
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x40], 1
vmovups xmm0, xmmword [rdi + 0x50]
vpxor ymm8, ymm1, ymm8
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x50], 1
vmovups xmm0, xmmword [rdi + 0x60]
vpxor ymm9, ymm1, ymm9
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x60], 1
vmovups xmm0, xmmword [rdi + 0x70]
vpxor ymm10, ymm1, ymm10
vinsertf128 ymm1, ymm0, xmmword [rbx + 0x70], 1
sub rbx, 0xffffffffffffff80
sub rdi, 0xffffffffffffff80
add rax, 8
vpxor ymm11, ymm1, ymm2
cmp rax, r15
jae 0x14013b4f0
prefetcht0 byte [rdi]
prefetcht0 byte [rdi + 0x40]
prefetcht0 byte [rbx]
prefetcht0 byte [rbx + 0x40]
vaesenc ymm0, ymm3, ymmword [rbp + 0x20]
vaesenc ymm1, ymm0, ymmword [rbp + 0x40]
vaesenc ymm2, ymm1, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm0, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm1, ymm0, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm5, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm4, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0x40]
vaesenc ymm2, ymm0, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm1, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm0, ymm1, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm0, ymm6, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm5, ymm1, ymm12
vaesenc ymm1, ymm0, ymmword [rbp + 0x40]
vaesenc ymm2, ymm1, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm0, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm1, ymm0, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm7, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm6, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0x40]
vaesenc ymm2, ymm0, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm1, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm0, ymm1, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm0, ymm8, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm7, ymm1, ymm12
vaesenc ymm1, ymm0, ymmword [rbp + 0x40]
vaesenc ymm2, ymm1, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm0, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm1, ymm0, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm9, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm8, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0x40]
vaesenc ymm2, ymm0, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm1, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm0, ymm1, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm0, ymm10, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm9, ymm1, ymm12
vaesenc ymm1, ymm0, ymmword [rbp + 0x40]
vaesenc ymm2, ymm1, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm0, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm1, ymm0, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm11, ymmword [rbp + 0x20]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm10, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0x40]
vaesenc ymm2, ymm0, ymmword [rbp + 0x60]
vaesenc ymm3, ymm2, ymmword [rbp + 0x80]
vaesenc ymm1, ymm3, ymmword [rbp + 0xa0]
vaesenc ymm0, ymm1, ymmword [rbp + 0xc0]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm2, ymm1, ymm12
jb 0x14013b450
vmovdqu ymmword [rbp + 0x180], ymm2
vmovdqu ymmword [rbp + 0x1a0], ymm10
vmovdqu ymmword [rbp + 0x1c0], ymm9
vmovdqu ymmword [rbp + 0x1e0], ymm8
vmovdqu ymmword [rbp + 0x200], ymm7
vmovdqu ymmword [rbp + 0x220], ymm6
vmovdqu ymmword [rbp + 0x240], ymm5
vmovdqu ymmword [rbp + 0x260], ymm4
mov rax, qword [rbp + 0xe8]
inc r12
cmp r12, rcx
jb 0x14013b392
vmovdqu xmmword [r14 + 0x40], xmm4
vextractf128 xmmword [rsi + 0x40], ymm4, 1
vmovdqu xmmword [r14 + 0x50], xmm5
vextractf128 xmmword [rsi + 0x50], ymm5, 1
vmovdqu xmmword [r14 + 0x60], xmm6
vextractf128 xmmword [rsi + 0x60], ymm6, 1
vmovdqu xmmword [r14 + 0x70], xmm7
vextractf128 xmmword [rsi + 0x70], ymm7, 1
vmovdqu xmmword [r14 + 0x80], xmm8
vextractf128 xmmword [rsi + 0x80], ymm8, 1
vmovdqu xmmword [r14 + 0x90], xmm9
vextractf128 xmmword [rsi + 0x90], ymm9, 1
vmovdqu xmmword [r14 + 0xa0], xmm10
vextractf128 xmmword [rsi + 0xa0], ymm10, 1
vmovdqu xmmword [r14 + 0xb0], xmm2
vextractf128 xmmword [rsi + 0xb0], ymm2, 1
vzeroupper
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
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 r13
pop r12
pop rbp
ret