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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
mov r10, rdx
mov rdx, r9
mov rax, r8
mov r8, qword [rcx]
mov r9, qword [r10]
mov r11, qword [r10 + 0x18]
movdqu xmm7, xmmword [r9]
pxor xmm7, xmmword [rdx]
pxor xmm7, xmmword [r8]
pxor xmm7, xmmword [rax]
mov r9, qword [r10 + 8]
aesenc xmm7, xmmword [rax + 0x10]
movdqu xmm4, xmmword [r11]
mov r11, qword [r10 + 0x20]
movdqu xmm6, xmmword [r9]
pxor xmm6, xmmword [rdx + 0x10]
mov r9, qword [rcx + 8]
movdqu xmm3, xmmword [r11]
pxor xmm6, xmmword [r9]
mov r9, qword [r10 + 0x10]
pxor xmm6, xmmword [rax + 0x100]
aesenc xmm6, xmmword [rax + 0x110]
movdqu xmm5, xmmword [r9]
pxor xmm5, xmmword [rdx + 0x20]
mov r9, qword [rcx + 0x10]
pxor xmm5, xmmword [r9]
mov r9, qword [rcx + 0x18]
pxor xmm5, xmmword [rax + 0x200]
aesenc xmm5, xmmword [rax + 0x210]
pxor xmm4, xmmword [r9]
mov r9, qword [rcx + 0x20]
pxor xmm4, xmmword [rdx + 0x30]
pxor xmm4, xmmword [rax + 0x300]
aesenc xmm4, xmmword [rax + 0x310]
pxor xmm3, xmmword [r9]
pxor xmm3, xmmword [rdx + 0x40]
mov r11, qword [r10 + 0x28]
pxor xmm3, xmmword [rax + 0x400]
mov r9, qword [rcx + 0x28]
aesenc xmm7, xmmword [rax + 0x20]
aesenc xmm3, xmmword [rax + 0x410]
aesenc xmm6, xmmword [rax + 0x120]
aesenc xmm5, xmmword [rax + 0x220]
aesenc xmm4, xmmword [rax + 0x320]
aesenc xmm3, xmmword [rax + 0x420]
movdqu xmm2, xmmword [r11]
mov r11, qword [r10 + 0x30]
pxor xmm2, xmmword [r9]
pxor xmm2, xmmword [rdx + 0x50]
pxor xmm2, xmmword [rax + 0x500]
aesenc xmm2, xmmword [rax + 0x510]
mov r9, qword [rcx + 0x30]
aesenc xmm2, xmmword [rax + 0x520]
movdqu xmm1, xmmword [r11]
mov r11, qword [rcx + 0x38]
pxor xmm1, xmmword [r9]
pxor xmm1, xmmword [rdx + 0x60]
pxor xmm1, xmmword [rax + 0x600]
aesenc xmm1, xmmword [rax + 0x610]
mov r9, qword [r10 + 0x38]
aesenc xmm1, xmmword [rax + 0x620]
movdqu xmm0, xmmword [r11]
pxor xmm0, xmmword [r9]
pxor xmm0, xmmword [rdx + 0x70]
pxor xmm0, xmmword [rax + 0x700]
aesenc xmm0, xmmword [rax + 0x710]
aesenc xmm0, xmmword [rax + 0x720]
aesenc xmm7, xmmword [rax + 0x30]
aesenc xmm6, xmmword [rax + 0x130]
aesenc xmm5, xmmword [rax + 0x230]
aesenc xmm4, xmmword [rax + 0x330]
aesenc xmm7, xmmword [rax + 0x40]
aesenc xmm3, xmmword [rax + 0x430]
aesenc xmm2, xmmword [rax + 0x530]
aesenc xmm1, xmmword [rax + 0x630]
aesenc xmm7, xmmword [rax + 0x50]
aesenc xmm0, xmmword [rax + 0x730]
aesenc xmm6, xmmword [rax + 0x140]
aesenc xmm5, xmmword [rax + 0x240]
aesenc xmm7, xmmword [rax + 0x60]
aesenc xmm4, xmmword [rax + 0x340]
aesenc xmm3, xmmword [rax + 0x440]
aesenc xmm2, xmmword [rax + 0x540]
aesenc xmm1, xmmword [rax + 0x640]
aesenc xmm0, xmmword [rax + 0x740]
aesenc xmm6, xmmword [rax + 0x150]
aesenc xmm5, xmmword [rax + 0x250]
aesenc xmm4, xmmword [rax + 0x350]
aesenc xmm3, xmmword [rax + 0x450]
aesenc xmm2, xmmword [rax + 0x550]
aesenc xmm1, xmmword [rax + 0x650]
aesenc xmm0, xmmword [rax + 0x750]
aesenc xmm6, xmmword [rax + 0x160]
aesenc xmm5, xmmword [rax + 0x260]
aesenc xmm4, xmmword [rax + 0x360]
aesenc xmm3, xmmword [rax + 0x460]
aesenc xmm2, xmmword [rax + 0x560]
aesenc xmm1, xmmword [rax + 0x660]
aesenc xmm0, xmmword [rax + 0x760]
aesenc xmm7, xmmword [rax + 0x70]
aesenc xmm6, xmmword [rax + 0x170]
aesenc xmm5, xmmword [rax + 0x270]
aesenc xmm4, xmmword [rax + 0x370]
aesenc xmm3, xmmword [rax + 0x470]
aesenc xmm2, xmmword [rax + 0x570]
aesenc xmm1, xmmword [rax + 0x670]
aesenc xmm0, xmmword [rax + 0x770]
aesenc xmm7, xmmword [rax + 0x80]
aesenc xmm6, xmmword [rax + 0x180]
aesenc xmm5, xmmword [rax + 0x280]
aesenc xmm4, xmmword [rax + 0x380]
aesenc xmm3, xmmword [rax + 0x480]
aesenc xmm2, xmmword [rax + 0x580]
aesenc xmm1, xmmword [rax + 0x680]
aesenc xmm0, xmmword [rax + 0x780]
aesenc xmm7, xmmword [rax + 0x90]
aesenc xmm6, xmmword [rax + 0x190]
aesenc xmm5, xmmword [rax + 0x290]
aesenc xmm4, xmmword [rax + 0x390]
aesenc xmm3, xmmword [rax + 0x490]
aesenc xmm2, xmmword [rax + 0x590]
aesenc xmm1, xmmword [rax + 0x690]
aesenc xmm0, xmmword [rax + 0x790]
aesenc xmm6, xmmword [rax + 0x1a0]
aesenc xmm5, xmmword [rax + 0x2a0]
aesenc xmm4, xmmword [rax + 0x3a0]
aesenc xmm3, xmmword [rax + 0x4a0]
aesenc xmm2, xmmword [rax + 0x5a0]
aesenc xmm1, xmmword [rax + 0x6a0]
aesenc xmm0, xmmword [rax + 0x7a0]
aesenc xmm7, xmmword [rax + 0xa0]
aesenc xmm7, xmmword [rax + 0xb0]
aesenc xmm6, xmmword [rax + 0x1b0]
aesenc xmm5, xmmword [rax + 0x2b0]
aesenc xmm4, xmmword [rax + 0x3b0]
aesenc xmm3, xmmword [rax + 0x4b0]
aesenc xmm2, xmmword [rax + 0x5b0]
aesenc xmm1, xmmword [rax + 0x6b0]
aesenc xmm0, xmmword [rax + 0x7b0]
aesenc xmm7, xmmword [rax + 0xc0]
aesenc xmm6, xmmword [rax + 0x1c0]
aesenc xmm5, xmmword [rax + 0x2c0]
aesenc xmm4, xmmword [rax + 0x3c0]
aesenc xmm3, xmmword [rax + 0x4c0]
aesenc xmm2, xmmword [rax + 0x5c0]
aesenc xmm1, xmmword [rax + 0x6c0]
aesenc xmm0, xmmword [rax + 0x7c0]
aesenc xmm7, xmmword [rax + 0xd0]
aesenc xmm6, xmmword [rax + 0x1d0]
aesenc xmm5, xmmword [rax + 0x2d0]
aesenc xmm4, xmmword [rax + 0x3d0]
aesenc xmm3, xmmword [rax + 0x4d0]
aesenc xmm2, xmmword [rax + 0x5d0]
aesenc xmm1, xmmword [rax + 0x6d0]
aesenc xmm0, xmmword [rax + 0x7d0]
aesenclast xmm6, xmmword [rax + 0x1e0]
aesenclast xmm5, xmmword [rax + 0x2e0]
aesenclast xmm4, xmmword [rax + 0x3e0]
aesenclast xmm3, xmmword [rax + 0x4e0]
aesenclast xmm2, xmmword [rax + 0x5e0]
aesenclast xmm1, xmmword [rax + 0x6e0]
aesenclast xmm0, xmmword [rax + 0x7e0]
aesenclast xmm7, xmmword [rax + 0xe0]
movups xmmword [r8], xmm7
mov rdx, qword [rcx + 8]
movups xmmword [rdx], xmm6
mov rdx, qword [rcx + 0x10]
movups xmmword [rdx], xmm5
mov rdx, qword [rcx + 0x18]
movups xmmword [rdx], xmm4
mov rdx, qword [rcx + 0x20]
movups xmmword [rdx], xmm3
mov rdx, qword [rcx + 0x28]
movups xmmword [rdx], xmm2
mov rdx, qword [rcx + 0x30]
movups xmmword [rdx], xmm1
mov rdx, qword [rcx + 0x38]
movups xmmword [rdx], xmm0
xor edx, edx
nop dword [rax + rax]
mov r14, qword [rcx]
mov r8, rdx
add rdx, 0x10
mov r13, qword [rcx + 8]
mov r15, qword [r10]
mov r12, qword [rcx + 0x10]
movdqu xmm0, xmmword [r14 + r8]
lea r9, [r14 + rdx]
pxor xmm0, xmmword [rax]
mov r14, qword [r10 + 8]
movdqu xmm7, xmmword [r15 + rdx]
pxor xmm7, xmmword [r9]
pxor xmm7, xmm0
aesenc xmm7, xmmword [rax + 0x10]
movdqu xmm0, xmmword [r13 + r8]
pxor xmm0, xmmword [rax + 0x100]
mov rbp, qword [rcx + 0x18]
movdqu xmm6, xmmword [r14 + rdx]
pxor xmm6, xmmword [r13 + rdx]
pxor xmm6, xmm0
aesenc xmm6, xmmword [rax + 0x110]
mov r13, qword [r10 + 0x10]
movdqu xmm0, xmmword [r12 + r8]
pxor xmm0, xmmword [rax + 0x200]
mov rdi, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x28]
movdqu xmm5, xmmword [r13 + rdx]
pxor xmm5, xmmword [r12 + rdx]
pxor xmm5, xmm0
aesenc xmm5, xmmword [rax + 0x210]
mov r12, qword [r10 + 0x18]
mov rbx, qword [rcx + 0x30]
mov r11, qword [rcx + 0x38]
movdqu xmm0, xmmword [rbp + r8]
pxor xmm0, xmmword [rax + 0x300]
movdqu xmm4, xmmword [r12 + rdx]
pxor xmm4, xmmword [rbp + rdx]
pxor xmm4, xmm0
aesenc xmm4, xmmword [rax + 0x310]
mov rbp, qword [r10 + 0x20]
aesenc xmm7, xmmword [rax + 0x20]
aesenc xmm6, xmmword [rax + 0x120]
aesenc xmm5, xmmword [rax + 0x220]
aesenc xmm4, xmmword [rax + 0x320]
movdqu xmm0, xmmword [rdi + r8]
pxor xmm0, xmmword [rax + 0x400]
movdqu xmm8, xmmword [r11 + r8]
pxor xmm8, xmmword [rax + 0x700]
movdqu xmm3, xmmword [rbp + rdx]
pxor xmm3, xmmword [rdi + rdx]
pxor xmm3, xmm0
aesenc xmm3, xmmword [rax + 0x410]
aesenc xmm3, xmmword [rax + 0x420]
mov rdi, qword [r10 + 0x28]
movdqu xmm0, xmmword [rsi + r8]
pxor xmm0, xmmword [rax + 0x500]
movdqu xmm2, xmmword [rdi + rdx]
pxor xmm2, xmmword [rsi + rdx]
pxor xmm2, xmm0
aesenc xmm2, xmmword [rax + 0x510]
aesenc xmm2, xmmword [rax + 0x520]
mov rsi, qword [r10 + 0x30]
movdqu xmm0, xmmword [rbx + r8]
pxor xmm0, xmmword [rax + 0x600]
movdqu xmm1, xmmword [rsi + rdx]
pxor xmm1, xmmword [rbx + rdx]
pxor xmm1, xmm0
aesenc xmm1, xmmword [rax + 0x610]
aesenc xmm1, xmmword [rax + 0x620]
mov rbx, qword [r10 + 0x38]
movdqu xmm0, xmmword [rbx + rdx]
pxor xmm0, xmmword [r11 + rdx]
pxor xmm0, xmm8
aesenc xmm0, xmmword [rax + 0x710]
aesenc xmm0, xmmword [rax + 0x720]
aesenc xmm7, xmmword [rax + 0x30]
aesenc xmm6, xmmword [rax + 0x130]
aesenc xmm5, xmmword [rax + 0x230]
aesenc xmm4, xmmword [rax + 0x330]
aesenc xmm7, xmmword [rax + 0x40]
aesenc xmm3, xmmword [rax + 0x430]
aesenc xmm2, xmmword [rax + 0x530]
aesenc xmm1, xmmword [rax + 0x630]
aesenc xmm7, xmmword [rax + 0x50]
aesenc xmm0, xmmword [rax + 0x730]
aesenc xmm6, xmmword [rax + 0x140]
aesenc xmm5, xmmword [rax + 0x240]
aesenc xmm7, xmmword [rax + 0x60]
aesenc xmm4, xmmword [rax + 0x340]
aesenc xmm3, xmmword [rax + 0x440]
aesenc xmm2, xmmword [rax + 0x540]
aesenc xmm1, xmmword [rax + 0x640]
aesenc xmm0, xmmword [rax + 0x740]
aesenc xmm6, xmmword [rax + 0x150]
aesenc xmm5, xmmword [rax + 0x250]
aesenc xmm4, xmmword [rax + 0x350]
aesenc xmm3, xmmword [rax + 0x450]
aesenc xmm2, xmmword [rax + 0x550]
aesenc xmm1, xmmword [rax + 0x650]
aesenc xmm0, xmmword [rax + 0x750]
aesenc xmm6, xmmword [rax + 0x160]
aesenc xmm5, xmmword [rax + 0x260]
aesenc xmm4, xmmword [rax + 0x360]
aesenc xmm3, xmmword [rax + 0x460]
aesenc xmm2, xmmword [rax + 0x560]
aesenc xmm1, xmmword [rax + 0x660]
aesenc xmm0, xmmword [rax + 0x760]
aesenc xmm7, xmmword [rax + 0x70]
aesenc xmm6, xmmword [rax + 0x170]
aesenc xmm5, xmmword [rax + 0x270]
aesenc xmm4, xmmword [rax + 0x370]
aesenc xmm3, xmmword [rax + 0x470]
aesenc xmm2, xmmword [rax + 0x570]
aesenc xmm1, xmmword [rax + 0x670]
aesenc xmm0, xmmword [rax + 0x770]
aesenc xmm7, xmmword [rax + 0x80]
aesenc xmm6, xmmword [rax + 0x180]
aesenc xmm5, xmmword [rax + 0x280]
aesenc xmm4, xmmword [rax + 0x380]
aesenc xmm3, xmmword [rax + 0x480]
aesenc xmm2, xmmword [rax + 0x580]
aesenc xmm1, xmmword [rax + 0x680]
aesenc xmm0, xmmword [rax + 0x780]
aesenc xmm7, xmmword [rax + 0x90]
aesenc xmm6, xmmword [rax + 0x190]
aesenc xmm5, xmmword [rax + 0x290]
aesenc xmm4, xmmword [rax + 0x390]
aesenc xmm3, xmmword [rax + 0x490]
aesenc xmm2, xmmword [rax + 0x590]
aesenc xmm1, xmmword [rax + 0x690]
aesenc xmm0, xmmword [rax + 0x790]
aesenc xmm6, xmmword [rax + 0x1a0]
aesenc xmm5, xmmword [rax + 0x2a0]
aesenc xmm4, xmmword [rax + 0x3a0]
aesenc xmm3, xmmword [rax + 0x4a0]
aesenc xmm2, xmmword [rax + 0x5a0]
aesenc xmm1, xmmword [rax + 0x6a0]
aesenc xmm0, xmmword [rax + 0x7a0]
aesenc xmm7, xmmword [rax + 0xa0]
aesenc xmm7, xmmword [rax + 0xb0]
aesenc xmm6, xmmword [rax + 0x1b0]
aesenc xmm5, xmmword [rax + 0x2b0]
aesenc xmm4, xmmword [rax + 0x3b0]
aesenc xmm3, xmmword [rax + 0x4b0]
aesenc xmm2, xmmword [rax + 0x5b0]
aesenc xmm1, xmmword [rax + 0x6b0]
aesenc xmm0, xmmword [rax + 0x7b0]
aesenc xmm7, xmmword [rax + 0xc0]
aesenc xmm6, xmmword [rax + 0x1c0]
aesenc xmm5, xmmword [rax + 0x2c0]
aesenc xmm4, xmmword [rax + 0x3c0]
aesenc xmm3, xmmword [rax + 0x4c0]
aesenc xmm2, xmmword [rax + 0x5c0]
aesenc xmm1, xmmword [rax + 0x6c0]
aesenc xmm0, xmmword [rax + 0x7c0]
aesenc xmm7, xmmword [rax + 0xd0]
aesenc xmm6, xmmword [rax + 0x1d0]
aesenc xmm5, xmmword [rax + 0x2d0]
aesenc xmm4, xmmword [rax + 0x3d0]
aesenc xmm3, xmmword [rax + 0x4d0]
aesenc xmm2, xmmword [rax + 0x5d0]
aesenc xmm1, xmmword [rax + 0x6d0]
aesenc xmm0, xmmword [rax + 0x7d0]
aesenclast xmm6, xmmword [rax + 0x1e0]
aesenclast xmm5, xmmword [rax + 0x2e0]
aesenclast xmm4, xmmword [rax + 0x3e0]
aesenclast xmm3, xmmword [rax + 0x4e0]
aesenclast xmm2, xmmword [rax + 0x5e0]
aesenclast xmm1, xmmword [rax + 0x6e0]
aesenclast xmm0, xmmword [rax + 0x7e0]
aesenclast xmm7, xmmword [rax + 0xe0]
movups xmmword [r9], xmm7
mov r8, qword [rcx + 8]
movups xmmword [r8 + rdx], xmm6
mov r8, qword [rcx + 0x10]
movups xmmword [r8 + rdx], xmm5
mov r8, qword [rcx + 0x18]
movups xmmword [r8 + rdx], xmm4
mov r8, qword [rcx + 0x20]
movups xmmword [r8 + rdx], xmm3
mov r8, qword [rcx + 0x28]
movups xmmword [r8 + rdx], xmm2
mov r8, qword [rcx + 0x30]
movups xmmword [r8 + rdx], xmm1
mov r8, qword [rcx + 0x38]
movups xmmword [r8 + rdx], xmm0
cmp rdx, 0xff0
jne 0x4b00c0
movups xmm6, xmmword [rsp]
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret