Function at 0x140019787
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, 0x2f8
movaps xmmword [rsp + 0x2e0], xmm15
movaps xmmword [rsp + 0x2d0], xmm14
movaps xmmword [rsp + 0x2c0], xmm13
movaps xmmword [rsp + 0x2b0], xmm12
movaps xmmword [rsp + 0x2a0], xmm11
movaps xmmword [rsp + 0x290], xmm10
movaps xmmword [rsp + 0x280], xmm9
movaps xmmword [rsp + 0x270], xmm8
movaps xmmword [rsp + 0x260], xmm7
movaps xmmword [rsp + 0x250], xmm6
mov rbx, qword [rdx]
mov rax, qword [rdx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x20], rax
mov rbp, qword [rdx + 0x18]
mov rdi, rbp
shr rbp, 3
movaps xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x120], xmm0
movdqa xmm0, xmmword [rcx + 0x10]
movdqa xmm1, xmmword [rcx + 0x20]
movaps xmm2, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0xf0], xmm2
movaps xmm2, xmmword [rcx + 0x40]
movaps xmmword [rsp + 0xe0], xmm2
movdqa xmm11, xmmword [rcx + 0x50]
movdqa xmm12, xmmword [rcx + 0x60]
movdqa xmm13, xmmword [rcx + 0x70]
movdqa xmm14, xmmword [rcx + 0x80]
movdqa xmm15, xmmword [rcx + 0x90]
movdqa xmm6, xmmword [rcx + 0xa0]
movdqa xmm7, xmmword [rcx + 0xb0]
movdqa xmm8, xmmword [rcx + 0xc0]
movdqa xmm9, xmmword [rcx + 0xd0]
mov qword [rsp + 0xd8], rcx
movdqa xmm10, xmmword [rcx + 0xe0]
xor r14d, r14d
lea rsi, [rsp + 0x1d0]
lea r15, [rsp + 0x150]
lea r12, [rsp + 0x30]
movdqa xmmword [rsp + 0x110], xmm0
movdqa xmmword [rsp + 0x100], xmm1
cmp rbp, r14
je 0x140019cbb
mov r13, rsi
mov rcx, rsi
call fcn.1400192f5
mov rcx, r15
call fcn.1400192f5
xor esi, esi
cmp rsi, 0x80
je 0x140019907
mov rcx, r12
mov rdx, rbx
call fcn.1400196bb
movdqu xmm0, xmmword [rsp + 0x30]
movdqu xmmword [rsp + rsi + 0x150], xmm0
add rsi, 0x10
jmp 0x1400198de
movaps xmm0, xmmword [rsp + 0x150]
movaps xmm1, xmmword [rsp + 0x120]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rsp + 0x160]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rsp + 0x170]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x180]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x190]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x1a0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x80], xmm0
movaps xmm0, xmmword [rsp + 0x1b0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rsp + 0x1c0]
xorps xmm0, xmm1
movaps xmmword [rsp + 0xa0], xmm0
xor eax, eax
movdqa xmm1, xmmword [rsp + 0x110]
mov rsi, r13
cmp rax, 0x80
je 0x1400199c5
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x1400199a6
xor eax, eax
movdqa xmm1, xmmword [rsp + 0x100]
cmp rax, 0x80
je 0x1400199ef
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x1400199d0
xor eax, eax
movdqa xmm1, xmmword [rsp + 0xf0]
cmp rax, 0x80
je 0x140019a19
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x1400199fa
xor eax, eax
movdqa xmm1, xmmword [rsp + 0xe0]
cmp rax, 0x80
je 0x140019a43
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm1
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019a24
xor eax, eax
cmp rax, 0x80
je 0x140019a65
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm11
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019a45
xor eax, eax
cmp rax, 0x80
je 0x140019a87
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm12
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019a67
xor eax, eax
cmp rax, 0x80
je 0x140019aa9
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm13
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019a89
xor eax, eax
cmp rax, 0x80
je 0x140019acb
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm14
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019aab
xor eax, eax
cmp rax, 0x80
je 0x140019aed
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm15
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019acd
xor eax, eax
cmp rax, 0x80
je 0x140019b0e
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm6
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019aef
xor eax, eax
cmp rax, 0x80
je 0x140019b2f
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm7
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019b10
xor eax, eax
cmp rax, 0x80
je 0x140019b51
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm8
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019b31
xor eax, eax
cmp rax, 0x80
je 0x140019b73
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenc xmm0, xmm9
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019b53
xor eax, eax
cmp rax, 0x80
je 0x140019b95
movdqa xmm0, xmmword [rsp + rax + 0x30]
aesenclast xmm0, xmm10
movdqa xmmword [rsp + rax + 0x30], xmm0
add rax, 0x10
jmp 0x140019b75
mov r13, r14
shl r13, 7
mov rax, qword [rsp + 0x28]
lea rdx, [rax + r13]
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0xb0], xmm0
movdqa xmm1, xmmword [rsp + 0x40]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm3, xmmword [rsp + 0x60]
movaps xmm4, xmmword [rsp + 0x70]
movaps xmm5, xmmword [rsp + 0x80]
movaps xmm0, xmmword [rsp + 0x90]
movaps xmmword [rsp + 0xc0], xmm0
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x130], xmm0
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x1d0], xmm0
movdqa xmmword [rsp + 0x1e0], xmm1
movaps xmmword [rsp + 0x1f0], xmm2
movaps xmmword [rsp + 0x200], xmm3
movaps xmmword [rsp + 0x210], xmm4
movaps xmmword [rsp + 0x220], xmm5
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmmword [rsp + 0x230], xmm0
movdqa xmm0, xmmword [rsp + 0x130]
movdqa xmmword [rsp + 0x240], xmm0
mov r8d, 0x80
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r12
call fcn.1400192f5
mov rax, r12
mov rcx, rsi
mov rdx, r15
xor r8d, r8d
cmp r8, 8
je 0x140019c9d
xor r9d, r9d
cmp r9, 0x10
je 0x140019c8c
mov r10b, byte [rcx + r9]
xor r10b, byte [rdx + r9]
mov byte [rax + r9], r10b
inc r9
jmp 0x140019c75
inc r8
add rdx, 0x10
add rcx, 0x10
add rax, 0x10
jmp 0x140019c6c
add r13, qword [rsp + 0x20]
inc r14
mov r8d, 0x80
mov rcx, r13
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400198c0
mov rsi, rdi
mov rax, rdi
and rax, 0xfffffffffffffff8
mov qword [rsp + 0xb0], rax
and esi, 7
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1400192f5
mov edx, 8
mov rcx, r14
mov qword [rsp + 0xc0], rsi
mov r8, rsi
call fcn.140019693
mov r15, rax
mov rsi, rdx
mov r14, rdx
shl r14, 4
lea r12, [rsp + 0x150]
lea r13, [rsp + 0x140]
mov rbp, rax
test r14, r14
je 0x140019d57
lea rdi, [rbp + 0x10]
mov rcx, r12
mov rdx, rbx
call fcn.1400196bb
movdqa xmm0, xmmword [rsp + 0x150]
movdqa xmmword [rsp + 0x140], xmm0
mov rcx, qword [rsp + 0xd8]
mov rdx, r13
mov r8, rbp
call fcn.140019e6c
add r14, 0xfffffffffffffff0
mov rbp, rdi
jmp 0x140019d15
mov rax, qword [rsp + 0xb0]
shl rax, 4
mov r12, qword [rsp + 0x28]
add r12, rax
mov r13, qword [rsp + 0x20]
add r13, rax
xor eax, eax
lea rdi, [rsp + 0x150]
mov rbp, qword [rsp + 0xc0]
cmp rax, rbp
je 0x140019dec
cmp rax, rsi
je 0x140019e58
lea rbx, [rax + 1]
shl rax, 4
lea r14, [rax + r13]
movdqu xmm0, xmmword [r12 + rax]
movdqa xmmword [rsp + 0x1d0], xmm0
mov rcx, rdi
call fcn.140012858
xor eax, eax
cmp rax, 0x10
je 0x140019dd5
mov cl, byte [r15 + rax]
xor cl, byte [rsp + rax + 0x1d0]
mov byte [rsp + rax + 0x150], cl
inc rax
jmp 0x140019db8
movdqu xmm0, xmmword [rsp + 0x150]
movdqu xmmword [r14], xmm0
add r15, 0x10
mov rax, rbx
jmp 0x140019d85
movaps xmm6, xmmword [rsp + 0x250]
movaps xmm7, xmmword [rsp + 0x260]
movaps xmm8, xmmword [rsp + 0x270]
movaps xmm9, xmmword [rsp + 0x280]
movaps xmm10, xmmword [rsp + 0x290]
movaps xmm11, xmmword [rsp + 0x2a0]
movaps xmm12, xmmword [rsp + 0x2b0]
movaps xmm13, xmmword [rsp + 0x2c0]
movaps xmm14, xmmword [rsp + 0x2d0]
movaps xmm15, xmmword [rsp + 0x2e0]
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, str.C:Usersuser.cargo_registry_srcindex.crates.io_6f17d22bba15001fcipher_0.4.4_src_stream_core.rs
mov rcx, rsi
mov rdx, rsi
call fcn.14013f720
ud2