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

Disassembly:
xor rbx, qword [0x0051af60]
movabs rdx, 0xa0761d6478bd642f
xor rbx, rdx
test rcx, rcx
je 0x408444
nop dword [rax]
cmp rcx, 4
jb 0x408414
je 0x40840c
cmp rcx, 8
jb 0x4083f2
je 0x4083e8
cmp rcx, 0x10
jbe 0x4083d2
cmp rcx, 0x30
jbe 0x4083ca
mov rdx, rcx
mov rsi, rbx
mov rdi, rsi
jmp 0x40856a
mov rdx, rcx
jmp 0x4084af
mov rdx, rax
lea rsi, [rcx + rax]
lea rsi, [rsi - 8]
nop
nop
nop
mov rdx, qword [rdx]
mov rsi, qword [rsi]
jmp 0x408448
nop
nop
mov rsi, qword [rax]
mov rdx, rsi
jmp 0x408448
mov rdx, rax
lea rdi, [rcx + rax]
lea rdi, [rdi - 4]
nop
nop
nop
mov esi, dword [rdx]
mov edx, dword [rdi]
mov eax, edx
mov edx, esi
mov esi, eax
jmp 0x408448
nop
nop
mov edx, dword [rax]
mov esi, edx
jmp 0x408448
mov rsi, rax
lea rdi, [rcx + rax]
lea rdi, [rdi - 1]
movzx edx, byte [rsi]
mov r8, rcx
shr rcx, 1
movzx ecx, byte [rsi + rcx]
shl rcx, 8
or rdx, rcx
movzx ecx, byte [rdi]
shl rcx, 0x10
or rdx, rcx
mov rcx, r8
xor esi, esi
jmp 0x408448
mov rax, rbx
ret
movabs rdi, 0xe7037ed1a0b428db
xor rdi, rdx
xor rsi, rbx
mov rax, rsi
mul rdi
movabs rbx, 0x1d8e4e27c47d124f
xor rbx, rcx
xor rax, rdx
mul rbx
xor rax, rdx
ret
mov rsi, qword [rax]
movabs rdi, 0xe7037ed1a0b428db
xor rsi, rdi
mov r8, qword [rax + 8]
xor r8, rbx
mov rbx, rax
mov rax, r8
mov r8, rdx
mul rsi
add rcx, 0xfffffffffffffff0
nop
nop
nop
xor rax, rdx
lea rsi, [rbx + 0x10]
mov rdx, r8
mov rbx, rax
mov rax, rsi
cmp rcx, 0x10
ja 0x408475
lea rdi, [rcx + rax]
lea rdi, [rdi - 0x10]
lea r8, [rax + rcx]
lea r8, [r8 - 8]
nop
nop
mov rdi, qword [rdi]
mov rsi, qword [r8]
mov rcx, rdx
mov rdx, rdi
jmp 0x408448
mov r8, qword [rax]
movabs r9, 0xe7037ed1a0b428db
xor r8, r9
mov r10, qword [rax + 8]
xor r10, rbx
mov rbx, rax
mov rax, r10
mov r10, rdx
mul r8
mov r8, qword [rbx + 0x10]
movabs r11, 0x8ebc6af09c88c6e3
xor r8, r11
mov r12, qword [rbx + 0x18]
xor r12, rsi
mov rsi, rax
mov rax, r12
mov r12, rdx
mul r8
mov r8, qword [rbx + 0x20]
movabs r13, 0x589965cc75374cc3
xor r8, r13
mov r15, qword [rbx + 0x28]
xor r15, rdi
mov rdi, rax
mov rax, r15
mov r15, rdx
mul r8
add rcx, 0xffffffffffffffd0
nop
nop
nop
xor rsi, r12
nop
nop
xor rdi, r15
nop
nop
xor rax, rdx
lea r8, [rbx + 0x30]
mov rdx, r10
mov rbx, rsi
mov rsi, rdi
mov rdi, rax
mov rax, r8
cmp rcx, 0x30
ja 0x4084d8
xor rsi, rdi
xor rbx, rsi
jmp 0x4084af
movq xmm0, rbx
pinsrw xmm0, ecx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x0051b2a0]
aesenc xmm0, xmm0
cmp rcx, 0x10
jb 0x454072
je 0x4540d1
cmp rcx, 0x20
jbe 0x4540d7
cmp rcx, 0x40
jbe 0x45411e
cmp rcx, 0x80
jbe 0x4541c0
jmp 0x45434c
test rcx, rcx
je 0x4540c6
add rax, 0x10
test ax, 0xff0
je 0x4540ae
movdqu xmm1, xmmword [rax - 0x10]
add rcx, rcx
lea rax, [0x00481ba0]
pand xmm1, xmmword [rax + rcx*8]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movq rax, xmm1
ret
movdqu xmm1, xmmword [rax + rcx - 0x20]
add rcx, rcx
lea rax, [0x00481ca0]
pshufb xmm1, xmmword [rax + rcx*8]
jmp 0x454095
aesenc xmm0, xmm0
movq rax, xmm0
ret
movdqu xmm1, xmmword [rax]
jmp 0x454095
pxor xmm1, xmmword [0x0051b2b0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [rax]
movdqu xmm3, xmmword [rax + rcx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movq rax, xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x0051b2b0]
pxor xmm2, xmmword [0x0051b2c0]
pxor xmm3, xmmword [0x0051b2d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [rax]
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm6, xmmword [rax + rcx - 0x20]
movdqu xmm7, xmmword [rax + rcx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movq rax, xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
movdqa xmm4, xmm1
movdqa xmm5, xmm1
movdqa xmm6, xmm1
movdqa xmm7, xmm1
pxor xmm1, xmmword [0x0051b2b0]
pxor xmm2, xmmword [0x0051b2c0]
pxor xmm3, xmmword [0x0051b2d0]
pxor xmm4, xmmword [0x0051b2e0]
pxor xmm5, xmmword [0x0051b2f0]
pxor xmm6, xmmword [0x0051b300]
pxor xmm7, xmmword [0x0051b310]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
movdqu xmm8, xmmword [rax]
movdqu xmm9, xmmword [rax + 0x10]
movdqu xmm10, xmmword [rax + 0x20]
movdqu xmm11, xmmword [rax + 0x30]
movdqu xmm12, xmmword [rax + rcx - 0x40]
movdqu xmm13, xmmword [rax + rcx - 0x30]
movdqu xmm14, xmmword [rax + rcx - 0x20]
movdqu xmm15, xmmword [rax + rcx - 0x10]
pxor xmm8, xmm0
pxor xmm9, xmm1
pxor xmm10, xmm2
pxor xmm11, xmm3
pxor xmm12, xmm4
pxor xmm13, xmm5
pxor xmm14, xmm6
pxor xmm15, xmm7
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
pxor xmm8, xmm12
pxor xmm9, xmm13
pxor xmm10, xmm14
pxor xmm11, xmm15
pxor xmm8, xmm10
pxor xmm9, xmm11
pxor xmm8, xmm9
pxor xmm15, xmm15
movq rax, xmm8
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
movdqa xmm4, xmm1
movdqa xmm5, xmm1
movdqa xmm6, xmm1
movdqa xmm7, xmm1
pxor xmm1, xmmword [0x0051b2b0]
pxor xmm2, xmmword [0x0051b2c0]
pxor xmm3, xmmword [0x0051b2d0]
pxor xmm4, xmmword [0x0051b2e0]
pxor xmm5, xmmword [0x0051b2f0]
pxor xmm6, xmmword [0x0051b300]
pxor xmm7, xmmword [0x0051b310]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
movdqu xmm8, xmmword [rax + rcx - 0x80]
movdqu xmm9, xmmword [rax + rcx - 0x70]
movdqu xmm10, xmmword [rax + rcx - 0x60]
movdqu xmm11, xmmword [rax + rcx - 0x50]
movdqu xmm12, xmmword [rax + rcx - 0x40]
movdqu xmm13, xmmword [rax + rcx - 0x30]
movdqu xmm14, xmmword [rax + rcx - 0x20]
movdqu xmm15, xmmword [rax + rcx - 0x10]
pxor xmm8, xmm0
pxor xmm9, xmm1
pxor xmm10, xmm2
pxor xmm11, xmm3
pxor xmm12, xmm4
pxor xmm13, xmm5
pxor xmm14, xmm6
pxor xmm15, xmm7
dec rcx
shr rcx, 7
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
movdqu xmm0, xmmword [rax]
movdqu xmm1, xmmword [rax + 0x10]
movdqu xmm2, xmmword [rax + 0x20]
movdqu xmm3, xmmword [rax + 0x30]
aesenc xmm8, xmm0
aesenc xmm9, xmm1
aesenc xmm10, xmm2
aesenc xmm11, xmm3
movdqu xmm4, xmmword [rax + 0x40]
movdqu xmm5, xmmword [rax + 0x50]
movdqu xmm6, xmmword [rax + 0x60]
movdqu xmm7, xmmword [rax + 0x70]
aesenc xmm12, xmm4
aesenc xmm13, xmm5
aesenc xmm14, xmm6
aesenc xmm15, xmm7
add rax, 0x80
dec rcx
jne 0x454426
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
aesenc xmm8, xmm8
aesenc xmm9, xmm9
aesenc xmm10, xmm10
aesenc xmm11, xmm11
aesenc xmm12, xmm12
aesenc xmm13, xmm13
aesenc xmm14, xmm14
aesenc xmm15, xmm15
pxor xmm8, xmm12
pxor xmm9, xmm13
pxor xmm10, xmm14
pxor xmm11, xmm15
pxor xmm8, xmm10
pxor xmm9, xmm11
pxor xmm8, xmm9
pxor xmm15, xmm15
movq rax, xmm8
ret
cmp byte [0x0051ad0d], 0
je 0x456fae
jmp 0x454020
jmp 0x408380