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

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
movdqa xmmword [rsp + 0x210], xmm15
movdqa xmmword [rsp + 0x200], xmm14
movdqa xmmword [rsp + 0x1f0], xmm13
movdqa xmmword [rsp + 0x1e0], xmm12
movdqa xmmword [rsp + 0x1d0], xmm11
movdqa xmmword [rsp + 0x1c0], xmm10
movdqa xmmword [rsp + 0x1b0], xmm9
movdqa xmmword [rsp + 0x1a0], xmm8
movdqa xmmword [rsp + 0x190], xmm7
movdqa xmmword [rsp + 0x180], xmm6
mov r10, qword [rdx]
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
mov r9d, edx
and r9d, 7
cmp rdx, 8
jb 0x1400b9ab8
mov r11, rdx
shr r11, 3
movaps xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmm0, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rcx + 0x40]
movaps xmmword [rsp + 0x10], xmm0
movaps xmm0, xmmword [rcx + 0x50]
movaps xmmword [rsp], xmm0
movaps xmm0, xmmword [rcx + 0x60]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm0, xmmword [rcx + 0x70]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [rcx + 0x80]
movaps xmmword [rsp + 0x20], xmm0
movaps xmm0, xmmword [rcx + 0x90]
movaps xmmword [rsp + 0x90], xmm0
movaps xmm0, xmmword [rcx + 0xa0]
movaps xmmword [rsp + 0x170], xmm0
movaps xmm0, xmmword [rcx + 0xb0]
movaps xmmword [rsp + 0x160], xmm0
movaps xmm0, xmmword [rcx + 0xc0]
movaps xmmword [rsp + 0x150], xmm0
movaps xmm0, xmmword [rcx + 0xd0]
movaps xmmword [rsp + 0x140], xmm0
movdqa xmm0, xmmword [rcx + 0xe0]
movdqa xmmword [rsp + 0x130], xmm0
mov esi, 0x70
nop word [rax + rax]
mov edi, dword [r10]
mov ebx, dword [r10 + 0x10]
lea ebp, [rbx + 8]
movq xmm1, qword [r10 + 8]
mov dword [r10 + 0x10], ebp
lea ebp, [rdi + rbx + 7]
movd xmm0, dword [r10 + 4]
movd xmm3, ebp
punpckldq xmm3, xmm0
lea ebp, [rdi + rbx + 6]
movd xmm15, ebp
punpckldq xmm15, xmm0
lea ebp, [rdi + rbx + 5]
movd xmm10, ebp
lea ebp, [rdi + rbx + 4]
punpckldq xmm10, xmm0
movd xmm5, ebp
lea ebp, [rdi + rbx + 3]
movd xmm4, ebp
punpckldq xmm5, xmm0
punpckldq xmm4, xmm0
lea ebp, [rdi + rbx + 2]
movd xmm6, ebp
punpckldq xmm6, xmm0
lea ebp, [rdi + rbx]
inc ebp
movd xmm7, ebp
add edi, ebx
punpckldq xmm7, xmm0
movd xmm8, edi
punpckldq xmm8, xmm0
movdqa xmm0, xmm1
punpcklqdq xmm3, xmm1
movdqa xmm11, xmmword [rsp + 0x70]
pxor xmm3, xmm11
punpcklqdq xmm15, xmm1
pxor xmm15, xmm11
movdqa xmm12, xmmword [rsp + 0xa0]
aesenc xmm3, xmm12
aesenc xmm15, xmm12
movdqa xmm13, xmmword [rsp + 0x60]
aesenc xmm3, xmm13
aesenc xmm15, xmm13
movdqa xmm2, xmmword [rsp + 0x50]
aesenc xmm3, xmm2
punpcklqdq xmm10, xmm1
pxor xmm10, xmm11
movdqa xmm14, xmm11
aesenc xmm15, xmm2
aesenc xmm10, xmm12
movdqa xmm1, xmmword [rsp + 0x10]
aesenc xmm3, xmm1
aesenc xmm10, xmm13
aesenc xmm15, xmm1
aesenc xmm10, xmm2
movdqa xmm11, xmm2
movdqa xmm2, xmmword [rsp]
aesenc xmm3, xmm2
aesenc xmm10, xmm1
movdqa xmm9, xmm1
aesenc xmm15, xmm2
punpcklqdq xmm5, xmm0
movdqa xmmword [rsp + 0x80], xmm0
pxor xmm5, xmm14
aesenc xmm10, xmm2
aesenc xmm5, xmm12
movdqa xmm1, xmmword [rsp + 0x40]
aesenc xmm3, xmm1
aesenc xmm5, xmm13
aesenc xmm15, xmm1
aesenc xmm5, xmm11
aesenc xmm10, xmm1
aesenc xmm5, xmm9
movdqa xmm14, xmmword [rsp + 0x30]
aesenc xmm3, xmm14
aesenc xmm5, xmm2
aesenc xmm15, xmm14
aesenc xmm5, xmm1
aesenc xmm10, xmm14
punpcklqdq xmm4, xmm0
movdqa xmm1, xmmword [rsp + 0x70]
pxor xmm4, xmm1
aesenc xmm5, xmm14
movdqa xmm2, xmm12
aesenc xmm4, xmm12
movdqa xmm0, xmmword [rsp + 0x20]
aesenc xmm3, xmm0
aesenc xmm4, xmm13
aesenc xmm15, xmm0
aesenc xmm4, xmm11
aesenc xmm10, xmm0
aesenc xmm4, xmm9
aesenc xmm5, xmm0
movdqa xmm11, xmm0
movdqa xmm12, xmmword [rsp]
aesenc xmm4, xmm12
movdqa xmm0, xmmword [rsp + 0x90]
aesenc xmm3, xmm0
movdqa xmm9, xmmword [rsp + 0x40]
aesenc xmm4, xmm9
aesenc xmm15, xmm0
aesenc xmm4, xmm14
aesenc xmm10, xmm0
aesenc xmm4, xmm11
aesenc xmm5, xmm0
punpcklqdq xmm6, xmmword [rsp + 0x80]
pxor xmm6, xmm1
aesenc xmm4, xmm0
aesenc xmm6, xmm2
movdqa xmm11, xmmword [rsp + 0x170]
aesenc xmm3, xmm11
aesenc xmm6, xmm13
aesenc xmm15, xmm11
movdqa xmm14, xmmword [rsp + 0x50]
aesenc xmm6, xmm14
aesenc xmm10, xmm11
movdqa xmm0, xmmword [rsp + 0x10]
aesenc xmm6, xmm0
aesenc xmm5, xmm11
aesenc xmm6, xmm12
aesenc xmm4, xmm11
aesenc xmm6, xmm9
movdqa xmm9, xmmword [rsp + 0x160]
aesenc xmm3, xmm9
movdqa xmm1, xmmword [rsp + 0x30]
aesenc xmm6, xmm1
aesenc xmm15, xmm9
movdqa xmm13, xmmword [rsp + 0x20]
aesenc xmm6, xmm13
aesenc xmm10, xmm9
movdqa xmm12, xmmword [rsp + 0x90]
aesenc xmm6, xmm12
aesenc xmm5, xmm9
aesenc xmm6, xmm11
aesenc xmm4, xmm9
punpcklqdq xmm7, xmmword [rsp + 0x80]
movdqa xmm0, xmmword [rsp + 0x70]
pxor xmm7, xmm0
aesenc xmm6, xmm9
aesenc xmm7, xmm2
movdqa xmm2, xmmword [rsp + 0x150]
aesenc xmm3, xmm2
aesenc xmm7, xmmword [rsp + 0x60]
aesenc xmm15, xmm2
aesenc xmm7, xmm14
aesenc xmm10, xmm2
aesenc xmm7, xmmword [rsp + 0x10]
aesenc xmm5, xmm2
aesenc xmm7, xmmword [rsp]
aesenc xmm4, xmm2
movdqa xmm14, xmmword [rsp + 0x40]
aesenc xmm7, xmm14
aesenc xmm6, xmm2
aesenc xmm7, xmm1
movdqa xmm1, xmmword [rsp + 0x140]
aesenc xmm3, xmm1
aesenc xmm7, xmm13
aesenc xmm15, xmm1
movdqa xmm13, xmm12
aesenc xmm7, xmm12
aesenc xmm10, xmm1
aesenc xmm7, xmm11
aesenc xmm5, xmm1
aesenc xmm7, xmm9
aesenc xmm4, xmm1
aesenc xmm7, xmm2
aesenc xmm6, xmm1
punpcklqdq xmm8, xmmword [rsp + 0x80]
pxor xmm8, xmm0
aesenc xmm7, xmm1
aesenc xmm8, xmmword [rsp + 0xa0]
movdqa xmm0, xmmword [rsp + 0x130]
aesenclast xmm3, xmm0
aesenc xmm8, xmmword [rsp + 0x60]
aesenclast xmm15, xmm0
aesenc xmm8, xmmword [rsp + 0x50]
aesenclast xmm10, xmm0
aesenc xmm8, xmmword [rsp + 0x10]
aesenclast xmm5, xmm0
aesenc xmm8, xmmword [rsp]
aesenclast xmm4, xmm0
aesenc xmm8, xmm14
aesenclast xmm6, xmm0
aesenc xmm8, xmmword [rsp + 0x30]
aesenclast xmm7, xmm0
movdqu xmm12, xmmword [r8 + rsi]
aesenc xmm8, xmmword [rsp + 0x20]
pxor xmm3, xmm12
movdqu xmm12, xmmword [r8 + rsi - 0x10]
aesenc xmm8, xmm13
pxor xmm15, xmm12
movdqu xmm12, xmmword [r8 + rsi - 0x20]
aesenc xmm8, xmm11
pxor xmm10, xmm12
movdqu xmm11, xmmword [r8 + rsi - 0x30]
aesenc xmm8, xmm9
pxor xmm5, xmm11
movdqu xmm9, xmmword [r8 + rsi - 0x40]
aesenc xmm8, xmm2
pxor xmm4, xmm9
movdqu xmm2, xmmword [r8 + rsi - 0x50]
aesenc xmm8, xmm1
pxor xmm6, xmm2
movdqu xmm1, xmmword [r8 + rsi - 0x60]
aesenclast xmm8, xmm0
pxor xmm7, xmm1
movdqu xmm1, xmmword [r8 + rsi - 0x70]
pxor xmm8, xmm1
movdqu xmmword [rax + rsi - 0x70], xmm8
movdqu xmmword [rax + rsi - 0x60], xmm7
movdqu xmmword [rax + rsi - 0x50], xmm6
movdqu xmmword [rax + rsi - 0x40], xmm4
movdqu xmmword [rax + rsi - 0x30], xmm5
movdqu xmmword [rax + rsi - 0x20], xmm10
movdqu xmmword [rax + rsi - 0x10], xmm15
movdqu xmmword [rax + rsi], xmm3
sub rsi, 0xffffffffffffff80
dec r11
jne 0x1400b95d0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x120], xmm0
movdqa xmmword [rsp + 0x110], xmm0
movdqa xmmword [rsp + 0x100], xmm0
movdqa xmmword [rsp + 0xf0], xmm0
movdqa xmmword [rsp + 0xe0], xmm0
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmmword [rsp + 0xc0], xmm0
movdqa xmmword [rsp + 0xb0], xmm0
test r9, r9
je 0x1400b9f85
movdqa 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 xmm15, xmmword [rcx + 0xb0]
movdqa xmm1, xmmword [rcx + 0xc0]
mov r11d, dword [r10 + 0x10]
mov esi, dword [r10]
movq xmm13, qword [r10 + 8]
lea edi, [rsi + r11]
movd xmm2, edi
movd xmm14, dword [r10 + 4]
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
lea edi, [r11 + 1]
pxor xmm2, xmm0
aesenc xmm2, xmm12
aesenc xmm2, xmm11
aesenc xmm2, xmm10
aesenc xmm2, xmm9
aesenc xmm2, xmm8
aesenc xmm2, xmm7
aesenc xmm2, xmm6
aesenc xmm2, xmm5
aesenc xmm2, xmm4
aesenc xmm2, xmm3
movdqa xmmword [rsp], xmm15
aesenc xmm2, xmm15
movdqa xmmword [rsp + 0x10], xmm1
aesenc xmm2, xmm1
movdqa xmm15, xmmword [rcx + 0xd0]
aesenc xmm2, xmm15
movdqa xmm1, xmmword [rcx + 0xe0]
mov dword [r10 + 0x10], edi
aesenclast xmm2, xmm1
movdqa xmmword [rsp + 0xb0], xmm2
movabs rcx, 0xffffffffffffff8
and rcx, rdx
shl rcx, 4
cmp r9d, 1
je 0x1400b9f07
add edi, esi
movd xmm2, edi
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
lea edi, [r11 + 2]
mov dword [r10 + 0x10], edi
pxor xmm2, xmm0
aesenc xmm2, xmm12
aesenc xmm2, xmm11
aesenc xmm2, xmm10
aesenc xmm2, xmm9
aesenc xmm2, xmm8
aesenc xmm2, xmm7
aesenc xmm2, xmm6
aesenc xmm2, xmm5
aesenc xmm2, xmm4
aesenc xmm2, xmm3
aesenc xmm2, xmmword [rsp]
aesenc xmm2, xmmword [rsp + 0x10]
aesenc xmm2, xmm15
aesenclast xmm2, xmm1
movdqa xmmword [rsp + 0xc0], xmm2
cmp r9d, 2
je 0x1400b9f07
add edi, esi
movd xmm2, edi
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
lea edi, [r11 + 3]
mov dword [r10 + 0x10], edi
pxor xmm2, xmm0
aesenc xmm2, xmm12
aesenc xmm2, xmm11
aesenc xmm2, xmm10
aesenc xmm2, xmm9
aesenc xmm2, xmm8
aesenc xmm2, xmm7
aesenc xmm2, xmm6
aesenc xmm2, xmm5
aesenc xmm2, xmm4
aesenc xmm2, xmm3
aesenc xmm2, xmmword [rsp]
aesenc xmm2, xmmword [rsp + 0x10]
aesenc xmm2, xmm15
aesenclast xmm2, xmm1
movdqa xmmword [rsp + 0xd0], xmm2
cmp r9d, 3
je 0x1400b9f07
add edi, esi
movd xmm2, edi
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
lea edi, [r11 + 4]
mov dword [r10 + 0x10], edi
pxor xmm2, xmm0
aesenc xmm2, xmm12
aesenc xmm2, xmm11
aesenc xmm2, xmm10
aesenc xmm2, xmm9
aesenc xmm2, xmm8
aesenc xmm2, xmm7
aesenc xmm2, xmm6
aesenc xmm2, xmm5
aesenc xmm2, xmm4
aesenc xmm2, xmm3
aesenc xmm2, xmmword [rsp]
aesenc xmm2, xmmword [rsp + 0x10]
aesenc xmm2, xmm15
aesenclast xmm2, xmm1
movdqa xmmword [rsp + 0xe0], xmm2
cmp r9d, 4
je 0x1400b9f07
add edi, esi
movd xmm2, edi
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
lea edi, [r11 + 5]
mov dword [r10 + 0x10], edi
pxor xmm2, xmm0
aesenc xmm2, xmm12
aesenc xmm2, xmm11
aesenc xmm2, xmm10
aesenc xmm2, xmm9
aesenc xmm2, xmm8
aesenc xmm2, xmm7
aesenc xmm2, xmm6
aesenc xmm2, xmm5
aesenc xmm2, xmm4
aesenc xmm2, xmm3
aesenc xmm2, xmmword [rsp]
aesenc xmm2, xmmword [rsp + 0x10]
aesenc xmm2, xmm15
aesenclast xmm2, xmm1
movdqa xmmword [rsp + 0xf0], xmm2
cmp r9d, 5
je 0x1400b9f07
add edi, esi
movd xmm2, edi
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
lea edi, [r11 + 6]
mov dword [r10 + 0x10], edi
pxor xmm2, xmm0
aesenc xmm2, xmm12
aesenc xmm2, xmm11
aesenc xmm2, xmm10
aesenc xmm2, xmm9
aesenc xmm2, xmm8
aesenc xmm2, xmm7
aesenc xmm2, xmm6
aesenc xmm2, xmm5
aesenc xmm2, xmm4
aesenc xmm2, xmm3
aesenc xmm2, xmmword [rsp]
aesenc xmm2, xmmword [rsp + 0x10]
aesenc xmm2, xmm15
aesenclast xmm2, xmm1
movdqa xmmword [rsp + 0x100], xmm2
cmp r9d, 6
je 0x1400b9f07
add esi, edi
movd xmm2, esi
punpckldq xmm2, xmm14
punpcklqdq xmm2, xmm13
pxor xmm0, xmm2
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, xmmword [rsp + 0x10]
aesenc xmm0, xmm15
aesenclast xmm0, xmm1
add r11d, 7
mov dword [r10 + 0x10], r11d
movdqa xmmword [rsp + 0x110], xmm0
add r8, rcx
add rax, rcx
and edx, 1
cmp r9d, 1
jne 0x1400b9f1a
xor ecx, ecx
jmp 0x1400b9f68
sub r9, rdx
mov r10d, 0x10
xor ecx, ecx
nop word cs:[rax + rax]
movups xmm0, xmmword [r8 + r10 - 0x10]
xorps xmm0, xmmword [rsp + r10 + 0xa0]
movups xmmword [rax + r10 - 0x10], xmm0
movdqu xmm0, xmmword [r8 + r10]
pxor xmm0, xmmword [rsp + r10 + 0xb0]
add rcx, 2
movdqu xmmword [rax + r10], xmm0
add r10, 0x20
cmp r9, rcx
jne 0x1400b9f30
test rdx, rdx
je 0x1400b9f85
shl rcx, 4
movdqu xmm0, xmmword [r8 + rcx]
pxor xmm0, xmmword [rsp + rcx + 0xb0]
movdqu xmmword [rax + rcx], xmm0
movaps xmm6, xmmword [rsp + 0x180]
movaps xmm7, xmmword [rsp + 0x190]
movaps xmm8, xmmword [rsp + 0x1a0]
movaps xmm9, xmmword [rsp + 0x1b0]
movaps xmm10, xmmword [rsp + 0x1c0]
movaps xmm11, xmmword [rsp + 0x1d0]
movaps xmm12, xmmword [rsp + 0x1e0]
movaps xmm13, xmmword [rsp + 0x1f0]
movaps xmm14, xmmword [rsp + 0x200]
movaps xmm15, xmmword [rsp + 0x210]
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
ret