Function at 0x14014d120
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
mov qword [rax + 0x20], r13
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 rsi, qword [rcx + 0xe0]
mov rbx, rdx
movzx r14d, r9b
xor edx, edx
shr r8, 4
lea r9, [rbp + 0xa0]
mov rax, r8
mov rdi, rcx
mov r15, qword [rbx + 0xe0]
lea r8, [rbp + 0x80]
lea r10, [r14 + 1]
div r10
mov rdx, rbx
mov r13, rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.14014e364
xor r9d, r9d
test r14b, r14b
je 0x14014d237
cmp byte [rdi + 0x1b0], r9b
jne 0x14014d237
mov al, 1
cmp byte [rbx + 0x1b0], r9b
je 0x14014d23a
mov al, r9b
neg al
lea rdx, [rsi + 0x800]
lea r8, [r15 + 0x800]
mov ecx, r9d
sbb rax, rax
mov r10d, 0x80
and eax, 0xf0
vmovups xmm0, xmmword [rax + rdi + 0x40]
vmovups xmm1, xmmword [rax + rdi + 0x50]
vinsertf128 ymm4, ymm0, xmmword [rax + rbx + 0x40], 1
vmovups xmm0, xmmword [rax + rdi + 0x60]
vinsertf128 ymm5, ymm1, xmmword [rax + rbx + 0x50], 1
vmovups xmm1, xmmword [rax + rdi + 0x70]
vinsertf128 ymm6, ymm0, xmmword [rax + rbx + 0x60], 1
vmovups xmm0, xmmword [rax + rdi + 0x80]
vinsertf128 ymm7, ymm1, xmmword [rax + rbx + 0x70], 1
vmovups xmm1, xmmword [rax + rdi + 0x90]
vinsertf128 ymm8, ymm0, xmmword [rax + rbx + 0x80], 1
vinsertf128 ymm9, ymm1, xmmword [rax + rbx + 0x90], 1
vmovups xmm0, xmmword [rax + rdi + 0xa0]
vmovups xmm1, xmmword [rax + rdi + 0xb0]
vinsertf128 ymm10, ymm0, xmmword [rax + rbx + 0xa0], 1
vinsertf128 ymm11, ymm1, xmmword [rax + rbx + 0xb0], 1
lea rax, [r13 - 0x80]
shl rax, 4
add rax, rsi
prefetcht0 byte [rdx]
prefetcht0 byte [rdx + 0x40]
prefetcht0 byte [r8]
prefetcht0 byte [r8 + 0x40]
vmovdqu ymm15, ymmword [rbp + 0xc0]
vmovdqu ymm14, ymmword [rbp + 0xe0]
vmovdqu ymm13, ymmword [rbp + 0x100]
vmovdqu ymm12, ymmword [rbp + 0x120]
vaesenc ymm0, ymm4, ymmword [rbp + 0x80]
vaesenc ymm1, ymm0, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm1, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm0, ymm3, ymmword [rbp + 0x40]
vaesenc ymm1, ymm0, ymmword [rbp + 0x60]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm5, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm4, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm0, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm1, ymm3, ymmword [rbp + 0x40]
vaesenc ymm0, ymm1, ymmword [rbp + 0x60]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm0, ymm6, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm5, ymm1, ymm12
vaesenc ymm1, ymm0, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm1, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm0, ymm3, ymmword [rbp + 0x40]
vaesenc ymm1, ymm0, ymmword [rbp + 0x60]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm7, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm6, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm0, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm1, ymm3, ymmword [rbp + 0x40]
vaesenc ymm0, ymm1, ymmword [rbp + 0x60]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm0, ymm8, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm7, ymm1, ymm12
vaesenc ymm1, ymm0, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm1, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm0, ymm3, ymmword [rbp + 0x40]
vaesenc ymm1, ymm0, ymmword [rbp + 0x60]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm9, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm8, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm0, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm1, ymm3, ymmword [rbp + 0x40]
vaesenc ymm0, ymm1, ymmword [rbp + 0x60]
vaesenc ymm2, ymm0, ymm15
vaesenc ymm0, ymm10, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm9, ymm1, ymm12
vaesenc ymm1, ymm0, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm1, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm0, ymm3, ymmword [rbp + 0x40]
vaesenc ymm1, ymm0, ymmword [rbp + 0x60]
vaesenc ymm2, ymm1, ymm15
vaesenc ymm1, ymm11, ymmword [rbp + 0x80]
vaesenc ymm3, ymm2, ymm14
vaesenc ymm0, ymm3, ymm13
vaesenc ymm10, ymm0, ymm12
vaesenc ymm0, ymm1, ymmword [rbp + 0xa0]
vaesenc ymm2, ymm0, ymmword [rbp]
vaesenc ymm3, ymm2, ymmword [rbp + 0x20]
vaesenc ymm1, ymm3, ymmword [rbp + 0x40]
vaesenc ymm0, ymm1, ymmword [rbp + 0x60]
vaesenc ymm2, ymm0, ymm15
vmovdqu xmmword [rsi], xmm4
vaesenc ymm3, ymm2, ymm14
vaesenc ymm1, ymm3, ymm13
vaesenc ymm11, ymm1, ymm12
vextractf128 xmm1, ymm4, 1
vmovdqu xmmword [r15], xmm1
vextractf128 xmm2, ymm5, 1
vmovdqu xmmword [rsi + 0x10], xmm5
vextractf128 xmm3, ymm6, 1
vmovdqu xmmword [r15 + 0x10], xmm2
vextractf128 xmm12, ymm7, 1
vmovdqu xmmword [rsi + 0x20], xmm6
vextractf128 xmm13, ymm8, 1
vmovdqu xmmword [r15 + 0x20], xmm3
vextractf128 xmm14, ymm9, 1
vmovdqu xmmword [rsi + 0x30], xmm7
vextractf128 xmm15, ymm10, 1
vmovdqu xmmword [r15 + 0x30], xmm12
add rdx, r10
add r8, r10
vmovdqu xmmword [rsi + 0x40], xmm8
vmovdqu xmmword [r15 + 0x40], xmm13
vmovdqu xmmword [rsi + 0x50], xmm9
vmovdqu xmmword [r15 + 0x50], xmm14
vmovdqu xmmword [rsi + 0x60], xmm10
vmovdqu xmmword [r15 + 0x60], xmm15
vmovdqu xmmword [rsi + 0x70], xmm11
vextractf128 xmmword [r15 + 0x70], ymm11, 1
add r15, r10
add rsi, r10
cmp rsi, rax
jb 0x14014d2ee
add rax, 0x800
inc ecx
mov rdx, rsi
mov r8, r15
cmp ecx, 2
jl 0x14014d2ee
vmovdqu ymmword [rbp], ymm11
vmovdqu ymmword [rbp + 0x20], ymm10
vmovdqu ymmword [rbp + 0x40], ymm9
vmovdqu ymmword [rbp + 0x60], ymm8
vmovdqu ymmword [rbp + 0xc0], ymm7
vmovdqu ymmword [rbp + 0xe0], ymm6
vmovdqu ymmword [rbp + 0x100], ymm5
vmovdqu ymmword [rbp + 0x120], ymm4
test r14b, r14b
vzeroupper
je 0x14014d6cb
cmp byte [rdi + 0x1b0], r9b
je 0x14014d6cb
cmp byte [rbx + 0x1b0], r9b
je 0x14014d6cb
vmovdqu ymm0, ymmword [rbp + 0x120]
vmovdqu xmmword [rdi + 0x130], xmm0
vmovdqu ymm0, ymmword [rbp + 0xe0]
vmovdqu xmmword [rbx + 0x130], xmm1
vmovdqu ymm1, ymmword [rbp + 0x100]
vmovdqu xmmword [rdi + 0x140], xmm1
vmovdqu ymm1, ymmword [rbp + 0xc0]
vmovdqu xmmword [rbx + 0x140], xmm2
vmovdqu xmmword [rdi + 0x150], xmm0
vmovdqu ymm0, ymmword [rbp + 0x60]
vmovdqu xmmword [rbx + 0x150], xmm3
vmovdqu xmmword [rdi + 0x160], xmm1
vmovdqu ymm1, ymmword [rbp + 0x40]
vmovdqu xmmword [rbx + 0x160], xmm12
vmovdqu xmmword [rdi + 0x170], xmm0
vmovdqu ymm0, ymmword [rbp + 0x20]
vmovdqu xmmword [rbx + 0x170], xmm13
vmovdqu xmmword [rdi + 0x180], xmm1
vmovdqu ymm1, ymmword [rbp]
vmovdqu xmmword [rbx + 0x180], xmm14
vmovdqu xmmword [rdi + 0x190], xmm0
vmovdqu xmmword [rbx + 0x190], xmm15
vmovdqu xmmword [rdi + 0x1a0], xmm1
vextractf128 xmmword [rbx + 0x1a0], ymm1, 1
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
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