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

Disassembly:
mov r11, rsp
sub rsp, 0xe8
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 8], rax
je 0x180044633
mov rax, qword [rcx + 8]
movaps xmmword [r11 - 0x18], xmm6
movaps xmmword [r11 - 0x28], xmm7
movaps xmmword [r11 - 0x38], xmm8
movaps xmmword [r11 - 0x48], xmm9
movaps xmmword [r11 - 0x58], xmm10
movaps xmmword [r11 - 0x68], xmm11
movaps xmmword [r11 - 0x78], xmm12
movaps xmmword [rsp + 0x60], xmm13
movaps xmmword [rsp + 0x50], xmm14
movaps xmmword [rsp + 0x40], xmm15
movdqu xmm0, xmmword [rax + 0xc0]
movdqu xmm15, xmmword [rax + 0xb0]
movdqa xmmword [rsp + 0x30], xmm0
movdqu xmm4, xmmword [rax]
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm6, xmmword [rax + 0x20]
movdqu xmm7, xmmword [rax + 0x30]
movdqu xmm8, xmmword [rax + 0x40]
movdqu xmm9, xmmword [rax + 0x50]
movdqu xmm10, xmmword [rax + 0x60]
movdqu xmm11, xmmword [rax + 0x70]
movdqu xmm12, xmmword [rax + 0x80]
movdqu xmm13, xmmword [rax + 0x90]
movdqu xmm14, xmmword [rax + 0xa0]
cmp r9, 4
jb 0x180044574
mov r10, r9
mov rcx, r8
shr r10, 2
sub rcx, rdx
imul rax, r10, 0xfffffffffffffffc
add r9, rax
jmp 0x180044416
movdqa xmm0, xmmword [rsp + 0x30]
movdqu xmm3, xmmword [rdx + 0x10]
movdqu xmm2, xmmword [rdx + 0x20]
movdqu xmm1, xmmword [rdx + 0x30]
pxor xmm3, xmm4
pxor xmm2, xmm4
pxor xmm1, xmm4
aesenc xmm3, xmm5
aesenc xmm2, xmm5
aesenc xmm1, xmm5
aesenc xmm3, xmm6
aesenc xmm2, xmm6
aesenc xmm1, xmm6
aesenc xmm3, xmm7
aesenc xmm2, xmm7
aesenc xmm1, xmm7
aesenc xmm3, xmm8
aesenc xmm2, xmm8
aesenc xmm1, xmm8
aesenc xmm3, xmm9
aesenc xmm2, xmm9
aesenc xmm1, xmm9
aesenc xmm3, xmm10
aesenc xmm2, xmm10
aesenc xmm1, xmm10
aesenc xmm3, xmm11
aesenc xmm2, xmm11
aesenc xmm1, xmm11
aesenc xmm3, xmm12
aesenc xmm2, xmm12
aesenc xmm1, xmm12
aesenc xmm3, xmm13
aesenc xmm2, xmm13
aesenc xmm1, xmm13
aesenc xmm3, xmm14
aesenc xmm2, xmm14
aesenc xmm1, xmm14
aesenc xmm3, xmm15
aesenclast xmm3, xmm0
aesenc xmm2, xmm15
aesenclast xmm2, xmm0
aesenc xmm1, xmm15
aesenclast xmm1, xmm0
movdqu xmm0, xmmword [rdx]
pxor xmm0, xmm4
aesenc xmm0, xmm5
aesenc xmm0, xmm6
aesenc xmm0, xmm7
aesenc xmm0, xmm8
aesenc xmm0, xmm9
aesenc xmm0, xmm10
aesenc xmm0, xmm11
aesenc xmm0, xmm12
aesenc xmm0, xmm13
aesenc xmm0, xmm14
aesenc xmm0, xmm15
aesenclast xmm0, xmmword [rsp + 0x30]
movdqu xmmword [r8], xmm0
add r8, 0x40
movdqu xmmword [rcx + rdx + 0x10], xmm3
movdqu xmmword [rcx + rdx + 0x20], xmm2
movdqu xmmword [rcx + rdx + 0x30], xmm1
add rdx, 0x40
sub r10, 1
jne 0x180044410
test r9, r9
je 0x1800445df
movdqa xmm1, xmmword [rsp + 0x30]
sub r8, rdx
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
pxor xmm0, xmm4
aesenc xmm0, xmm5
aesenc xmm0, xmm6
aesenc xmm0, xmm7
aesenc xmm0, xmm8
aesenc xmm0, xmm9
aesenc xmm0, xmm10
aesenc xmm0, xmm11
aesenc xmm0, xmm12
aesenc xmm0, xmm13
aesenc xmm0, xmm14
aesenc xmm0, xmm15
aesenclast xmm0, xmm1
movdqu xmmword [r8 + rdx - 0x10], xmm0
sub r9, 1
jne 0x180044582
movaps xmm14, xmmword [rsp + 0x50]
movaps xmm13, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm15, xmmword [rsp + 0x40]
add rsp, 0xe8
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0x143
lea r8, str.aesni_encrypt_n
lea rdx, str.Key_was_set
lea rcx, str.m_EK.empty____false
call fcn.1800401f0
int3