Function at 0x1400188c3
Capabilities:
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, 0x398
movaps xmmword [rsp + 0x380], xmm15
movaps xmmword [rsp + 0x370], xmm14
movaps xmmword [rsp + 0x360], xmm13
movaps xmmword [rsp + 0x350], xmm12
movaps xmmword [rsp + 0x340], xmm11
movaps xmmword [rsp + 0x330], xmm10
movaps xmmword [rsp + 0x320], xmm9
movaps xmmword [rsp + 0x310], xmm8
movaps xmmword [rsp + 0x300], xmm7
movaps xmmword [rsp + 0x2f0], xmm6
mov r8, rcx
mov r15, qword [rdx]
mov r9, qword [rdx + 8]
mov r10, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
movabs rax, 0xffffffffffffff8
and rax, rdx
mov ecx, edx
and ecx, 7
mov qword [rsp + 0xb8], rcx
shr rdx, 3
mov qword [rsp + 0xe0], rdx
shl rax, 4
mov qword [rsp + 0xd8], r9
lea rcx, [r9 + rax]
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xd0], r10
add rax, r10
mov qword [rsp + 0xb0], rax
movaps xmm0, xmmword [r8]
movaps xmmword [rsp + 0x160], xmm0
movdqa xmm11, xmmword [r8 + 0x10]
movdqa xmm12, xmmword [r8 + 0x20]
movdqa xmm13, xmmword [r8 + 0x30]
movdqa xmm14, xmmword [r8 + 0x40]
movdqa xmm6, xmmword [r8 + 0x50]
movdqa xmm15, xmmword [r8 + 0x60]
movdqa xmm0, xmmword [r8 + 0x70]
movdqa xmm1, xmmword [r8 + 0x80]
movaps xmm2, xmmword [r8 + 0x90]
movaps xmmword [rsp + 0x110], xmm2
movaps xmm2, xmmword [r8 + 0xa0]
movaps xmmword [rsp + 0x100], xmm2
movdqa xmm7, xmmword [r8 + 0xb0]
movdqa xmm8, xmmword [r8 + 0xc0]
movdqa xmm9, xmmword [r8 + 0xd0]
mov qword [rsp + 0xc8], r8
movdqa xmm10, xmmword [r8 + 0xe0]
xor ecx, ecx
mov r14d, pe_nt_image_headers64
lea rdi, [rsp + 0x1f0]
lea r13, [rsp + 0x20]
lea rbp, [rsp + 0x170]
lea rbx, [rsp + 0x270]
movdqa xmmword [rsp + 0x150], xmm6
movdqa xmmword [rsp + 0x140], xmm15
movdqa xmmword [rsp + 0x130], xmm0
movdqa xmmword [rsp + 0x120], xmm1
cmp qword [rsp + 0xe0], rcx
je 0x140018f77
lea r12, [rcx + 1]
shl rcx, 7
mov rax, qword [rsp + 0xd0]
add rax, rcx
mov qword [rsp + 0xf0], rax
add rcx, qword [rsp + 0xd8]
mov qword [rsp + 0xf8], rcx
xor esi, esi
xor eax, eax
mov qword [rsp + 0xa0], rax
cmp rsi, r14
je 0x140018ade
mov rcx, rbp
call fcn.140001a94
movdqu xmm0, xmmword [rsp + 0x170]
movdqu xmmword [rsp + rsi + 0x20], xmm0
mov rax, qword [rsp + 0xa0]
inc rax
je 0x140018fc7
add rsi, 0x10
jmp 0x140018aa3
mov qword [rsp + 0xe8], r12
mov r12, rbx
mov ecx, 0x10
mov rbx, rdi
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
xor esi, esi
xor eax, eax
mov qword [rsp + 0xa0], rax
cmp rsi, r14
je 0x140018b36
mov rcx, rbp
call fcn.140001a94
movdqu xmm0, xmmword [rsp + 0x170]
movdqu xmmword [rsp + rsi + 0x20], xmm0
mov rax, qword [rsp + 0xa0]
inc rax
je 0x140018fc7
add rsi, 0x10
jmp 0x140018afb
mov ecx, 0x10
mov rdi, rbp
mov rsi, r13
rep movsq qword [rdi], qword [rsi]
xor esi, esi
mov rdi, rbx
mov rbx, r12
mov r12, qword [rsp + 0xe8]
cmp rsi, 0x80
je 0x140018b7d
mov rcx, r13
mov rdx, r15
call fcn.140019146
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [rsp + rsi + 0x170], xmm0
add rsi, 0x10
jmp 0x140018b54
movaps xmm0, xmmword [rsp + 0x170]
movaps xmm1, xmmword [rsp + 0x160]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x180]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x190]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x1a0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x1c0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x1d0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x1e0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x90], xmm0
xor eax, eax
movdqa xmm1, xmmword [rsp + 0x130]
mov rdx, qword [rsp + 0xf8]
cmp rax, 0x80
je 0x140018c3e
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm11
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018c1e
xor eax, eax
cmp rax, 0x80
je 0x140018c60
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm12
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018c40
xor eax, eax
cmp rax, 0x80
je 0x140018c82
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm13
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018c62
xor eax, eax
cmp rax, 0x80
je 0x140018ca4
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm14
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018c84
xor eax, eax
cmp rax, 0x80
je 0x140018cc5
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm6
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018ca6
xor eax, eax
cmp rax, 0x80
je 0x140018ce7
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm15
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018cc7
xor eax, eax
cmp rax, 0x80
je 0x140018d08
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018ce9
xor eax, eax
movdqa xmm1, xmmword [rsp + 0x120]
cmp rax, 0x80
je 0x140018d32
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018d13
xor eax, eax
movdqa xmm1, xmmword [rsp + 0x110]
cmp rax, 0x80
je 0x140018d5c
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018d3d
xor eax, eax
movdqa xmm1, xmmword [rsp + 0x100]
cmp rax, 0x80
je 0x140018d86
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018d67
xor eax, eax
cmp rax, 0x80
je 0x140018da7
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm7
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018d88
xor eax, eax
cmp rax, 0x80
je 0x140018dc9
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm8
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018da9
xor eax, eax
cmp rax, 0x80
je 0x140018deb
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenc xmm0, xmm9
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018dcb
xor eax, eax
cmp rax, 0x80
je 0x140018e0d
movdqa xmm0, xmmword [rsp + rax + 0x20]
aesenclast xmm0, xmm10
movdqa xmmword [rsp + rax + 0x20], xmm0
add rax, 0x10
jmp 0x140018ded
movdqa xmm0, xmmword [rsp + 0x20]
movdqa xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movaps xmm4, xmmword [rsp + 0x60]
movaps xmm5, xmmword [rsp + 0x70]
movdqa xmm15, xmm13
movdqa xmm13, xmm11
movaps xmm11, xmmword [rsp + 0x80]
movdqa xmm6, xmm14
movdqa xmm14, xmm12
movaps xmm12, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x1f0], xmm0
movdqa xmmword [rsp + 0x200], xmm1
movaps xmmword [rsp + 0x210], xmm2
movaps xmmword [rsp + 0x220], xmm3
movaps xmmword [rsp + 0x230], xmm4
movaps xmmword [rsp + 0x240], xmm5
movaps xmmword [rsp + 0x250], xmm11
movdqa xmm11, xmm13
movdqa xmm13, xmm15
movdqa xmm15, xmmword [rsp + 0x140]
movaps xmmword [rsp + 0x260], xmm12
movdqa xmm12, xmm14
movdqa xmm14, xmm6
movdqa xmm6, xmmword [rsp + 0x150]
mov r8d, pe_nt_image_headers64
mov rcx, rbx
call sub.msvcrt.dll_memcpy
xor esi, esi
xor eax, eax
mov qword [rsp + 0xa0], rax
cmp rsi, r14
je 0x140018f0b
mov rcx, rbp
call fcn.140001a94
movdqu xmm0, xmmword [rsp + 0x170]
movdqu xmmword [rsp + rsi + 0x20], xmm0
mov rax, qword [rsp + 0xa0]
inc rax
je 0x140018fc7
add rsi, 0x10
jmp 0x140018ed0
mov r8d, pe_nt_image_headers64
mov rcx, rbp
mov rdx, r13
call sub.msvcrt.dll_memcpy
mov rax, rbp
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
cmp r8, 8
je 0x140018f59
xor r9d, r9d
cmp r9, 0x10
je 0x140018f48
mov r10b, byte [rcx + r9]
xor r10b, byte [rdx + r9]
mov byte [rax + r9], r10b
inc r9
jmp 0x140018f31
inc r8
add rdx, 0x10
add rcx, 0x10
add rax, 0x10
jmp 0x140018f28
mov r8d, pe_nt_image_headers64
mov rcx, qword [rsp + 0xf0]
mov rdx, rbp
call sub.msvcrt.dll_memcpy
mov rcx, r12
jmp 0x140018a66
xor edi, edi
mov ebx, pe_nt_image_headers64
lea rsi, [rsp + 0x170]
xor eax, eax
mov rbp, qword [rsp + 0xb8]
mov qword [rsp + 0xa0], rax
cmp rdi, rbx
je 0x140018fe1
mov rcx, rsi
call fcn.140001a94
movdqu xmm0, xmmword [rsp + 0x170]
movdqu xmmword [rsp + rdi + 0x20], xmm0
mov rax, qword [rsp + 0xa0]
inc rax
je 0x140018fc7
add rdi, 0x10
jmp 0x140018f90
lea rcx, [0x1401146a0]
lea r8, [0x1401146c0]
mov edx, 0x1c
call fcn.14000e4c0
ud2
lea rsi, [rsp + 0x170]
lea rbx, [rsp + 0x20]
mov r8d, pe_nt_image_headers64
mov rcx, rsi
mov rdx, rbx
call sub.msvcrt.dll_memcpy
mov edx, 8
mov rcx, rsi
mov r8, rbp
call fcn.140018455
mov rdi, rax
mov rsi, rdx
mov r14, rdx
shl r14, 4
mov r12, rax
test r14, r14
je 0x140019050
lea r13, [r12 + 0x10]
mov rcx, rbx
mov rdx, r15
call fcn.140019146
mov rcx, qword [rsp + 0xc8]
mov rdx, rbx
mov r8, r12
call fcn.140018051
add r14, 0xfffffffffffffff0
mov r12, r13
jmp 0x14001901f
xor eax, eax
lea rbx, [rsp + 0x20]
mov r12, qword [rsp + 0xb0]
cmp rax, rbp
je 0x1400190c6
cmp rax, rsi
je 0x140019132
lea r14, [rax + 1]
shl rax, 4
lea r15, [r12 + rax]
mov rcx, qword [rsp + 0xc0]
movdqu xmm0, xmmword [rcx + rax]
movdqa xmmword [rsp + 0x270], xmm0
mov rcx, rbx
call fcn.140001a94
xor eax, eax
cmp rax, 0x10
je 0x1400190b2
mov cl, byte [rdi + rax]
xor cl, byte [rsp + rax + 0x270]
mov byte [rsp + rax + 0x20], cl
inc rax
jmp 0x140019099
movdqu xmm0, xmmword [rsp + 0x20]
movdqu xmmword [r15], xmm0
add rdi, 0x10
mov rax, r14
jmp 0x14001905f
movaps xmm6, xmmword [rsp + 0x2f0]
movaps xmm7, xmmword [rsp + 0x300]
movaps xmm8, xmmword [rsp + 0x310]
movaps xmm9, xmmword [rsp + 0x320]
movaps xmm10, xmmword [rsp + 0x330]
movaps xmm11, xmmword [rsp + 0x340]
movaps xmm12, xmmword [rsp + 0x350]
movaps xmm13, xmmword [rsp + 0x360]
movaps xmm14, xmmword [rsp + 0x370]
movaps xmm15, xmmword [rsp + 0x380]
add rsp, 0x398
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str..cargo_registry_srcindex.crates.io_6f17d22bba15001fcipher_0.4.4_src_stream_core.rs
mov rcx, rsi
mov rdx, rsi
call fcn.14000e560
ud2