Function at 0x1400082b0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm6
mov r11, qword [rcx]
movzx eax, byte [section..data]
cmp al, 1
jne 0x140007f4c
mov rcx, r11
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x1400082b0
mov r13, qword [rdx]
mov r15, qword [rdx + 8]
mov r14, qword [rdx + 0x10]
mov r12, qword [rdx + 0x18]
mov eax, r12d
and eax, 3
mov qword [rsp + 0x90], rax
cmp r12, 4
mov qword [rsp + 0x98], r11
jb 0x140008095
mov rsi, r12
shr rsi, 2
mov ebp, 0x30
lea rdi, [rsp + 0xe0]
lea rbx, [rsp + 0x20]
nop word cs:[rax + rax]
mov eax, dword [r13 + 0x10]
mov r9d, dword [r13 + 0xc]
mov ecx, dword [r13]
mov edx, dword [r13 + 4]
mov r8d, dword [r13 + 8]
lea r10d, [r9 + rax]
bswap r10d
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x24], edx
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x2c], r10d
lea r10d, [r9 + rax + 1]
bswap r10d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x3c], r10d
lea r10d, [r9 + rax + 2]
bswap r10d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x4c], r10d
add r9d, eax
add r9d, 3
bswap r9d
add eax, 4
mov dword [r13 + 0x10], eax
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x5c], r9d
mov rcx, rdi
mov rdx, r11
mov r8, rbx
call fcn.1400025a0
mov r11, qword [rsp + 0x98]
movups xmm0, xmmword [r15 + rbp - 0x30]
movups xmm1, xmmword [r15 + rbp - 0x20]
movups xmm2, xmmword [r15 + rbp - 0x10]
movups xmm3, xmmword [r15 + rbp]
xorps xmm0, xmmword [rsp + 0xe0]
xorps xmm1, xmmword [rsp + 0xf0]
xorps xmm2, xmmword [rsp + 0x100]
xorps xmm3, xmmword [rsp + 0x110]
movups xmmword [r14 + rbp - 0x30], xmm0
movups xmmword [r14 + rbp - 0x20], xmm1
movups xmmword [r14 + rbp - 0x10], xmm2
movups xmmword [r14 + rbp], xmm3
add rbp, 0x40
dec rsi
jne 0x140007fa0
xorps xmm6, xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rdi, qword [rsp + 0x90]
test rdi, rdi
je 0x140008291
movabs rax, 0xffffffffffffffc
and r12, rax
shl r12, 4
add r15, r12
add r14, r12
mov ebp, dword [r13 + 0x10]
mov eax, dword [r13]
mov ecx, dword [r13 + 4]
mov edx, dword [r13 + 8]
mov r8d, eax
shr r8d, 8
mov dword [rsp + 0x80], r8d
mov r8d, eax
shr r8d, 0x10
mov dword [rsp + 0x7c], r8d
mov dword [rsp + 0x8c], eax
shr eax, 0x18
mov dword [rsp + 0x78], eax
mov eax, ecx
shr eax, 8
mov dword [rsp + 0x74], eax
mov eax, ecx
shr eax, 0x10
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x88], ecx
shr ecx, 0x18
mov dword [rsp + 0x6c], ecx
mov eax, edx
shr eax, 8
mov dword [rsp + 0x68], eax
mov eax, edx
shr eax, 0x10
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x84], edx
shr edx, 0x18
mov dword [rsp + 0x60], edx
mov esi, dword [r13 + 0xc]
add esi, ebp
inc ebp
shl edi, 4
lea r12, [rsp + 0x30]
xor ebx, ebx
nop dword [rax + rax]
mov eax, esi
bswap eax
mov dword [r13 + 0x10], ebp
movups xmmword [r12 + 0x20], xmm6
movups xmmword [r12 + 0x10], xmm6
movups xmmword [r12], xmm6
mov ecx, dword [rsp + 0x8c]
mov byte [rsp + 0x20], cl
mov ecx, dword [rsp + 0x80]
mov byte [rsp + 0x21], cl
mov ecx, dword [rsp + 0x7c]
mov byte [rsp + 0x22], cl
mov ecx, dword [rsp + 0x78]
mov byte [rsp + 0x23], cl
mov ecx, dword [rsp + 0x88]
mov byte [rsp + 0x24], cl
mov ecx, dword [rsp + 0x74]
mov byte [rsp + 0x25], cl
mov ecx, dword [rsp + 0x70]
mov byte [rsp + 0x26], cl
mov ecx, dword [rsp + 0x6c]
mov byte [rsp + 0x27], cl
mov ecx, dword [rsp + 0x84]
mov byte [rsp + 0x28], cl
mov ecx, dword [rsp + 0x68]
mov byte [rsp + 0x29], cl
mov ecx, dword [rsp + 0x64]
mov byte [rsp + 0x2a], cl
mov ecx, dword [rsp + 0x60]
mov byte [rsp + 0x2b], cl
mov byte [rsp + 0x2c], al
mov byte [rsp + 0x2d], ah
mov ecx, eax
shr ecx, 0x10
mov byte [rsp + 0x2e], cl
shr eax, 0x18
mov byte [rsp + 0x2f], al
lea rcx, [rsp + 0xe0]
mov rdx, r11
lea r8, [rsp + 0x20]
call fcn.1400025a0
mov r11, qword [rsp + 0x98]
movups xmm0, xmmword [rsp + 0xe0]
movups xmmword [rsp + rbx + 0xa0], xmm0
inc esi
inc ebp
add rbx, 0x10
cmp rdi, rbx
jne 0x140008170
movups xmm0, xmmword [r15]
xorps xmm0, xmmword [rsp + 0xa0]
movups xmmword [r14], xmm0
mov rax, qword [rsp + 0x90]
cmp eax, 1
je 0x140008291
movups xmm0, xmmword [r15 + 0x10]
xorps xmm0, xmmword [rsp + 0xb0]
movups xmmword [r14 + 0x10], xmm0
cmp eax, 2
je 0x140008291
movups xmm0, xmmword [r15 + 0x20]
xorps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r14 + 0x20], xmm0
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x318
movdqa xmmword [rsp + 0x300], xmm15
movdqa xmmword [rsp + 0x2f0], xmm14
movdqa xmmword [rsp + 0x2e0], xmm13
movdqa xmmword [rsp + 0x2d0], xmm12
movaps xmmword [rsp + 0x2c0], xmm11
movdqa xmmword [rsp + 0x2b0], xmm10
movdqa xmmword [rsp + 0x2a0], xmm9
movdqa xmmword [rsp + 0x290], xmm8
movdqa xmmword [rsp + 0x280], xmm7
movdqa xmmword [rsp + 0x270], xmm6
mov r10, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x10]
mov r9, qword [rdx + 0x18]
mov edx, r9d
and edx, 7
cmp r9, 8
jb 0x140008a24
mov r11, r9
shr r11, 3
movaps xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x140], xmm0
movaps xmm0, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x130], xmm0
movaps xmm0, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [rcx + 0x40]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rcx + 0x50]
movaps xmmword [rsp + 0x10], xmm0
movaps xmm0, xmmword [rcx + 0x60]
movaps xmmword [rsp + 0x1e0], xmm0
movaps xmm0, xmmword [rcx + 0x70]
movaps xmmword [rsp + 0x1d0], xmm0
movaps xmm0, xmmword [rcx + 0x80]
movaps xmmword [rsp + 0x120], xmm0
movaps xmm0, xmmword [rcx + 0x90]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [rcx + 0xa0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rcx + 0xb0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rcx + 0xc0]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rcx + 0xd0]
movaps xmmword [rsp], xmm0
movaps xmm0, xmmword [rcx + 0xe0]
movaps xmmword [rsp + 0x30], xmm0
xor esi, esi
nop word cs:[rax + rax]
movsd xmm5, qword [r10 + 4]
mov ebx, dword [r10 + 0xc]
mov edi, dword [r10 + 0x10]
lea ebp, [rbx + rdi]
bswap ebp
movss xmm0, dword [r10]
movd xmm1, ebp
shufps xmm1, xmm5, 0xd4
lea ebp, [rbx + rdi + 1]
bswap ebp
movd xmm2, ebp
shufps xmm2, xmm5, 0xd4
lea ebp, [rbx + rdi + 2]
bswap ebp
movd xmm6, ebp
shufps xmm6, xmm5, 0xd4
lea ebp, [rbx + rdi + 3]
bswap ebp
movd xmm7, ebp
shufps xmm7, xmm5, 0xd4
lea ebp, [rbx + rdi + 4]
bswap ebp
movd xmm12, ebp
shufps xmm12, xmm5, 0xd4
lea ebp, [rbx + rdi + 5]
bswap ebp
movd xmm8, ebp
shufps xmm8, xmm5, 0xd4
lea ebp, [rbx + rdi + 6]
bswap ebp
movd xmm10, ebp
shufps xmm10, xmm5, 0xd4
lea ebx, [rbx + rdi + 7]
bswap ebx
movd xmm11, ebx
shufps xmm11, xmm5, 0xd4
unpcklps xmm5, xmm0
movaps xmm4, xmm5
shufps xmm4, xmm1, 0x21
movaps xmm3, xmm5
shufps xmm3, xmm2, 0x21
movaps xmm15, xmm5
shufps xmm15, xmm6, 0x21
movaps xmm6, xmm5
shufps xmm6, xmm7, 0x21
movaps xmm14, xmm5
shufps xmm14, xmm12, 0x21
movaps xmm13, xmm5
shufps xmm13, xmm8, 0x21
movaps xmm9, xmm5
shufps xmm9, xmm10, 0x21
shufps xmm5, xmm11, 0x21
add edi, 8
mov dword [r10 + 0x10], edi
xorps xmm4, xmmword [rsp + 0x90]
movdqa xmm7, xmmword [rsp + 0x140]
aesenc xmm4, xmm7
movdqa xmm10, xmm7
movdqa xmm7, xmmword [rsp + 0x130]
aesenc xmm4, xmm7
movdqa xmm12, xmm7
aesenc xmm4, xmmword [rsp + 0x80]
movdqa xmm1, xmmword [rsp + 0x70]
aesenc xmm4, xmm1
aesenc xmm4, xmmword [rsp + 0x10]
movdqa xmm11, xmmword [rsp + 0x1e0]
aesenc xmm4, xmm11
movdqa xmm2, xmmword [rsp + 0x1d0]
aesenc xmm4, xmm2
movdqa xmm8, xmmword [rsp + 0x120]
aesenc xmm4, xmm8
aesenc xmm4, xmmword [rsp + 0x20]
aesenc xmm4, xmmword [rsp + 0x60]
aesenc xmm4, xmmword [rsp + 0x50]
aesenc xmm4, xmmword [rsp + 0x40]
aesenc xmm4, xmmword [rsp]
aesenclast xmm4, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x1f0], xmm4
movaps xmm4, xmmword [rsp + 0x90]
xorps xmm3, xmm4
movdqa xmm7, xmm10
aesenc xmm3, xmm10
movdqa xmm10, xmm12
aesenc xmm3, xmm12
movdqa xmm12, xmmword [rsp + 0x80]
aesenc xmm3, xmm12
aesenc xmm3, xmm1
movdqa xmm0, xmmword [rsp + 0x10]
aesenc xmm3, xmm0
aesenc xmm3, xmm11
aesenc xmm3, xmm2
aesenc xmm3, xmm8
aesenc xmm3, xmmword [rsp + 0x20]
aesenc xmm3, xmmword [rsp + 0x60]
aesenc xmm3, xmmword [rsp + 0x50]
aesenc xmm3, xmmword [rsp + 0x40]
aesenc xmm3, xmmword [rsp]
aesenclast xmm3, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x200], xmm3
xorps xmm15, xmm4
movdqa xmm4, xmm7
aesenc xmm15, xmm7
aesenc xmm15, xmm10
aesenc xmm15, xmm12
aesenc xmm15, xmm1
aesenc xmm15, xmm0
movdqa xmm0, xmm11
aesenc xmm15, xmm11
movdqa xmm10, xmm2
aesenc xmm15, xmm2
movdqa xmm12, xmm8
aesenc xmm15, xmm8
movdqa xmm1, xmmword [rsp + 0x20]
aesenc xmm15, xmm1
movdqa xmm2, xmmword [rsp + 0x60]
aesenc xmm15, xmm2
movdqa xmm3, xmmword [rsp + 0x50]
aesenc xmm15, xmm3
movdqa xmm7, xmmword [rsp + 0x40]
aesenc xmm15, xmm7
aesenc xmm15, xmmword [rsp]
movdqa xmm8, xmmword [rsp + 0x30]
aesenclast xmm15, xmm8
movdqa xmmword [rsp + 0x210], xmm15
movaps xmm11, xmmword [rsp + 0x90]
xorps xmm6, xmm11
aesenc xmm6, xmm4
movdqa xmm15, xmmword [rsp + 0x130]
aesenc xmm6, xmm15
movdqa xmm4, xmmword [rsp + 0x80]
aesenc xmm6, xmm4
aesenc xmm6, xmmword [rsp + 0x70]
aesenc xmm6, xmmword [rsp + 0x10]
aesenc xmm6, xmm0
aesenc xmm6, xmm10
aesenc xmm6, xmm12
aesenc xmm6, xmm1
aesenc xmm6, xmm2
movdqa xmm1, xmm2
aesenc xmm6, xmm3
movdqa xmm2, xmm3
aesenc xmm6, xmm7
aesenc xmm6, xmmword [rsp]
aesenclast xmm6, xmm8
movdqa xmmword [rsp + 0x220], xmm6
mov rdi, rsi
xorps xmm14, xmm11
xorps xmm13, xmm11
xorps xmm9, xmm11
xorps xmm5, xmm11
movdqa xmm3, xmmword [rsp + 0x140]
aesenc xmm14, xmm3
aesenc xmm13, xmm3
aesenc xmm9, xmm3
aesenc xmm5, xmm3
movdqa xmm3, xmm15
aesenc xmm14, xmm15
aesenc xmm13, xmm15
aesenc xmm9, xmm15
aesenc xmm5, xmm15
aesenc xmm14, xmm4
aesenc xmm13, xmm4
aesenc xmm9, xmm4
aesenc xmm5, xmm4
movdqa xmm3, xmmword [rsp + 0x70]
aesenc xmm14, xmm3
aesenc xmm13, xmm3
aesenc xmm9, xmm3
aesenc xmm5, xmm3
movdqa xmm3, xmmword [rsp + 0x10]
aesenc xmm14, xmm3
aesenc xmm13, xmm3
aesenc xmm9, xmm3
aesenc xmm5, xmm3
aesenc xmm14, xmm0
aesenc xmm13, xmm0
aesenc xmm9, xmm0
aesenc xmm5, xmm0
aesenc xmm14, xmm10
aesenc xmm13, xmm10
aesenc xmm9, xmm10
aesenc xmm5, xmm10
movdqa xmm0, xmmword [rsp + 0x120]
aesenc xmm14, xmm0
aesenc xmm13, xmm0
aesenc xmm9, xmm0
aesenc xmm5, xmm0
movdqa xmm0, xmmword [rsp + 0x20]
aesenc xmm14, xmm0
aesenc xmm13, xmm0
aesenc xmm9, xmm0
aesenc xmm5, xmm0
movdqa xmm0, xmm1
aesenc xmm14, xmm1
aesenc xmm13, xmm1
aesenc xmm9, xmm1
aesenc xmm5, xmm1
movdqa xmm0, xmm2
aesenc xmm14, xmm2
aesenc xmm13, xmm2
aesenc xmm9, xmm2
aesenc xmm5, xmm2
aesenc xmm14, xmm7
aesenc xmm13, xmm7
aesenc xmm9, xmm7
aesenc xmm5, xmm7
movdqa xmm0, xmmword [rsp]
aesenc xmm14, xmm0
aesenc xmm13, xmm0
aesenc xmm9, xmm0
aesenc xmm5, xmm0
aesenclast xmm14, xmm8
aesenclast xmm13, xmm8
aesenclast xmm9, xmm8
shl rdi, 7
aesenclast xmm5, xmm8
movdqa xmmword [rsp + 0x230], xmm14
movdqa xmmword [rsp + 0x240], xmm13
movdqa xmmword [rsp + 0x250], xmm9
movdqa xmmword [rsp + 0x260], xmm5
movups xmm0, xmmword [rax + rdi + 0x70]
movaps xmmword [rsp + 0x110], xmm0
movups xmm0, xmmword [rax + rdi + 0x60]
movaps xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rax + rdi + 0x50]
movaps xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [rax + rdi + 0x40]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rax + rdi]
movups xmm1, xmmword [rax + rdi + 0x10]
movdqu xmm2, xmmword [rax + rdi + 0x20]
movdqu xmm3, xmmword [rax + rdi + 0x30]
movdqa xmmword [rsp + 0xd0], xmm3
movdqa xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xa0], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x150], xmm0
movaps xmmword [rsp + 0x160], xmm0
movaps xmmword [rsp + 0x170], xmm0
movaps xmmword [rsp + 0x180], xmm0
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x1a0], xmm0
movaps xmmword [rsp + 0x1b0], xmm0
movaps xmmword [rsp + 0x1c0], xmm0
xor ebx, ebx
nop
movups xmm0, xmmword [rsp + rbx + 0xa0]
xorps xmm0, xmmword [rsp + rbx + 0x1f0]
movups xmmword [rsp + rbx + 0x150], xmm0
add rbx, 0x10
cmp rbx, 0x80
jne 0x140008980
inc rsi
movaps xmm0, xmmword [rsp + 0x1c0]
movups xmmword [r8 + rdi + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
movups xmmword [r8 + rdi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x1a0]
movups xmmword [r8 + rdi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x190]
movups xmmword [r8 + rdi + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x150]
movaps xmm1, xmmword [rsp + 0x160]
movdqa xmm2, xmmword [rsp + 0x170]
movdqa xmm3, xmmword [rsp + 0x180]
movdqu xmmword [r8 + rdi + 0x30], xmm3
movdqu xmmword [r8 + rdi + 0x20], xmm2
movups xmmword [r8 + rdi + 0x10], xmm1
movups xmmword [r8 + rdi], xmm0
cmp r11, rsi
jne 0x140008400
xorps xmm0, xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
test rdx, rdx
je 0x140008eca
movaps xmm0, xmmword [rcx]
movdqa xmm12, xmmword [rcx + 0x10]
movdqa xmm11, xmmword [rcx + 0x20]
movdqa xmm10, xmmword [rcx + 0x30]
movdqa xmm9, xmmword [rcx + 0x40]
movdqa xmm8, xmmword [rcx + 0x50]
movdqa xmm7, xmmword [rcx + 0x60]
movdqa xmm6, xmmword [rcx + 0x70]
movdqa xmm5, xmmword [rcx + 0x80]
movdqa xmm4, xmmword [rcx + 0x90]
movdqa xmm3, xmmword [rcx + 0xa0]
movdqa xmm14, xmmword [rcx + 0xb0]
movdqa xmm2, xmmword [rcx + 0xc0]
mov esi, dword [r10 + 0xc]
mov r11d, dword [r10 + 0x10]
movsd xmm1, qword [r10 + 4]
movss xmm13, dword [r10]
unpcklps xmm1, xmm13
lea edi, [rsi + r11]
bswap edi
movd xmm13, edi
shufps xmm13, xmm1, 0xe4
movaps xmm15, xmm1
shufps xmm15, xmm13, 0x21
movdqa xmm13, xmmword [rcx + 0xd0]
xorps xmm15, xmm0
aesenc xmm15, xmm12
aesenc xmm15, xmm11
aesenc xmm15, xmm10
aesenc xmm15, xmm9
aesenc xmm15, xmm8
aesenc xmm15, xmm7
aesenc xmm15, xmm6
aesenc xmm15, xmm5
aesenc xmm15, xmm4
aesenc xmm15, xmm3
movdqa xmmword [rsp], xmm14
aesenc xmm15, xmm14
aesenc xmm15, xmm2
lea edi, [r11 + 1]
aesenc xmm15, xmm13
movdqa xmm14, xmmword [rcx + 0xe0]
mov dword [r10 + 0x10], edi
aesenclast xmm15, xmm14
movdqa xmmword [rsp + 0xa0], xmm15
movabs rcx, 0xffffffffffffff8
and r9, rcx
shl r9, 4
cmp edx, 1
je 0x140008ea0
pshufd xmm15, xmm1, 0xe1
add edi, esi
bswap edi
movdqa xmmword [rsp + 0x10], xmm2
movd xmm2, edi
shufps xmm2, xmm15, 0xe4
movdqa xmm1, xmm15
shufps xmm1, xmm2, 0x24
lea ecx, [r11 + 2]
mov dword [r10 + 0x10], ecx
xorps xmm1, xmm0
aesenc xmm1, xmm12
aesenc xmm1, xmm11
aesenc xmm1, xmm10
aesenc xmm1, xmm9
aesenc xmm1, xmm8
aesenc xmm1, xmm7
aesenc xmm1, xmm6
aesenc xmm1, xmm5
aesenc xmm1, xmm4
aesenc xmm1, xmm3
aesenc xmm1, xmmword [rsp]
aesenc xmm1, xmmword [rsp + 0x10]
aesenc xmm1, xmm13
aesenclast xmm1, xmm14
movdqa xmmword [rsp + 0xb0], xmm1
cmp edx, 2
je 0x140008ea0
add ecx, esi
bswap ecx
movd xmm2, ecx
shufps xmm2, xmm15, 0xe4
movdqa xmm1, xmm15
shufps xmm1, xmm2, 0x24
lea ecx, [r11 + 3]
mov dword [r10 + 0x10], ecx
xorps xmm1, xmm0
aesenc xmm1, xmm12
aesenc xmm1, xmm11
aesenc xmm1, xmm10
aesenc xmm1, xmm9
aesenc xmm1, xmm8
aesenc xmm1, xmm7
aesenc xmm1, xmm6
aesenc xmm1, xmm5
aesenc xmm1, xmm4
aesenc xmm1, xmm3
aesenc xmm1, xmmword [rsp]
aesenc xmm1, xmmword [rsp + 0x10]
aesenc xmm1, xmm13
aesenclast xmm1, xmm14
movdqa xmmword [rsp + 0xc0], xmm1
cmp edx, 3
je 0x140008ea0
add ecx, esi
bswap ecx
movd xmm2, ecx
shufps xmm2, xmm15, 0xe4
movdqa xmm1, xmm15
shufps xmm1, xmm2, 0x24
lea ecx, [r11 + 4]
mov dword [r10 + 0x10], ecx
xorps xmm1, xmm0
aesenc xmm1, xmm12
aesenc xmm1, xmm11
aesenc xmm1, xmm10
aesenc xmm1, xmm9
aesenc xmm1, xmm8
aesenc xmm1, xmm7
aesenc xmm1, xmm6
aesenc xmm1, xmm5
aesenc xmm1, xmm4
aesenc xmm1, xmm3
aesenc xmm1, xmmword [rsp]
aesenc xmm1, xmmword [rsp + 0x10]
aesenc xmm1, xmm13
aesenclast xmm1, xmm14
movdqa xmmword [rsp + 0xd0], xmm1
cmp edx, 4
je 0x140008ea0
add ecx, esi
bswap ecx
movd xmm2, ecx
shufps xmm2, xmm15, 0xe4
movdqa xmm1, xmm15
shufps xmm1, xmm2, 0x24
lea ecx, [r11 + 5]
mov dword [r10 + 0x10], ecx
xorps xmm1, xmm0
aesenc xmm1, xmm12
aesenc xmm1, xmm11
aesenc xmm1, xmm10
aesenc xmm1, xmm9
aesenc xmm1, xmm8
aesenc xmm1, xmm7
aesenc xmm1, xmm6
aesenc xmm1, xmm5
aesenc xmm1, xmm4
aesenc xmm1, xmm3
aesenc xmm1, xmmword [rsp]
aesenc xmm1, xmmword [rsp + 0x10]
aesenc xmm1, xmm13
aesenclast xmm1, xmm14
movdqa xmmword [rsp + 0xe0], xmm1
cmp edx, 5
je 0x140008ea0
add ecx, esi
bswap ecx
movd xmm2, ecx
shufps xmm2, xmm15, 0xe4
movdqa xmm1, xmm15
shufps xmm1, xmm2, 0x24
movdqa xmm2, xmmword [rsp + 0x10]
lea ecx, [r11 + 6]
mov dword [r10 + 0x10], ecx
xorps xmm1, xmm0
aesenc xmm1, xmm12
aesenc xmm1, xmm11
aesenc xmm1, xmm10
aesenc xmm1, xmm9
aesenc xmm1, xmm8
aesenc xmm1, xmm7
aesenc xmm1, xmm6
aesenc xmm1, xmm5
aesenc xmm1, xmm4
aesenc xmm1, xmm3
aesenc xmm1, xmmword [rsp]
aesenc xmm1, xmm2
aesenc xmm1, xmm13
aesenclast xmm1, xmm14
movdqa xmmword [rsp + 0xf0], xmm1
cmp edx, 6
je 0x140008ea0
add esi, ecx
bswap esi
movd xmm1, esi
shufps xmm1, xmm15, 0xe4
shufps xmm15, xmm1, 0x24
xorps xmm0, xmm15
aesenc xmm0, xmm12
aesenc xmm0, xmm11
aesenc xmm0, xmm10
aesenc xmm0, xmm9
aesenc xmm0, xmm8
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmmword [rsp]
aesenc xmm0, xmm2
aesenc xmm0, xmm13
aesenclast xmm0, xmm14
add r11d, 7
mov dword [r10 + 0x10], r11d
movdqa xmmword [rsp + 0x100], xmm0
add rax, r9
add r8, r9
xor ecx, ecx
nop dword [rax + rax]
movups xmm0, xmmword [rax + rcx]
xorps xmm0, xmmword [rsp + rcx + 0xa0]
movups xmmword [r8 + rcx], xmm0
add rcx, 0x10
dec rdx
jne 0x140008eb0
movaps xmm6, xmmword [rsp + 0x270]
movaps xmm7, xmmword [rsp + 0x280]
movaps xmm8, xmmword [rsp + 0x290]
movaps xmm9, xmmword [rsp + 0x2a0]
movaps xmm10, xmmword [rsp + 0x2b0]
movaps xmm11, xmmword [rsp + 0x2c0]
movaps xmm12, xmmword [rsp + 0x2d0]
movaps xmm13, xmmword [rsp + 0x2e0]
movaps xmm14, xmmword [rsp + 0x2f0]
movaps xmm15, xmmword [rsp + 0x300]
add rsp, 0x318
pop rbx
pop rbp
pop rdi
pop rsi
ret