Function at 0x180043ce0
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0x108
mov rax, qword [rcx + 0x28]
cmp qword [rcx + 0x20], rax
je 0x180044051
mov rax, qword [rcx + 0x20]
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 [r11 - 0x88], xmm13
movaps xmmword [rsp + 0x70], xmm14
movaps xmmword [rsp + 0x60], xmm15
movdqu xmm0, xmmword [rax + 0xc0]
movdqu xmm1, xmmword [rax + 0xd0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm1
movdqu xmm2, xmmword [rax + 0xe0]
movdqu xmm15, xmmword [rax + 0xb0]
movdqa xmmword [rsp + 0x30], xmm2
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 0x180043f72
mov r10, r9
mov rcx, r8
shr r10, 2
sub rcx, rdx
imul rax, r10, 0xfffffffffffffffc
add r9, rax
jmp 0x180043de2
movdqa xmm0, xmmword [rsp + 0x50]
movdqa xmm1, xmmword [rsp + 0x40]
movdqa xmm2, xmmword [rsp + 0x30]
movdqu xmm3, xmmword [rdx + 0x10]
pxor xmm3, xmm4
aesdec xmm3, xmm5
aesdec xmm3, xmm6
aesdec xmm3, xmm7
aesdec xmm3, xmm8
aesdec xmm3, xmm9
aesdec xmm3, xmm10
aesdec xmm3, xmm11
aesdec xmm3, xmm12
aesdec xmm3, xmm13
aesdec xmm3, xmm14
aesdec xmm3, xmm15
aesdec xmm3, xmm0
aesdec xmm3, xmm1
aesdeclast xmm3, xmm2
movdqu xmm2, xmmword [rdx + 0x20]
pxor xmm2, xmm4
aesdec xmm2, xmm5
aesdec xmm2, xmm6
aesdec xmm2, xmm7
aesdec xmm2, xmm8
aesdec xmm2, xmm9
aesdec xmm2, xmm10
aesdec xmm2, xmm11
aesdec xmm2, xmm12
aesdec xmm2, xmm13
aesdec xmm2, xmm14
aesdec xmm2, xmm15
aesdec xmm2, xmm0
aesdec xmm2, xmm1
movdqu xmm1, xmmword [rdx + 0x30]
aesdeclast xmm2, xmmword [rsp + 0x30]
pxor xmm1, xmm4
aesdec xmm1, xmm5
aesdec xmm1, xmm6
aesdec xmm1, xmm7
aesdec xmm1, xmm8
aesdec xmm1, xmm9
aesdec xmm1, xmm10
aesdec xmm1, xmm11
aesdec xmm1, xmm12
aesdec xmm1, xmm13
aesdec xmm1, xmm14
aesdec xmm1, xmm15
aesdec xmm1, xmm0
movdqu xmm0, xmmword [rdx]
aesdec xmm1, xmmword [rsp + 0x40]
aesdeclast xmm1, xmmword [rsp + 0x30]
pxor xmm0, xmm4
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmm8
aesdec xmm0, xmm9
aesdec xmm0, xmm10
aesdec xmm0, xmm11
aesdec xmm0, xmm12
aesdec xmm0, xmm13
aesdec xmm0, xmm14
aesdec xmm0, xmm15
aesdec xmm0, xmmword [rsp + 0x50]
aesdec xmm0, xmmword [rsp + 0x40]
aesdeclast 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 0x180043dd0
test r9, r9
je 0x180043ff7
movdqa xmm1, xmmword [rsp + 0x50]
sub r8, rdx
movdqa xmm2, xmmword [rsp + 0x40]
movdqa xmm3, xmmword [rsp + 0x30]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
pxor xmm0, xmm4
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmm8
aesdec xmm0, xmm9
aesdec xmm0, xmm10
aesdec xmm0, xmm11
aesdec xmm0, xmm12
aesdec xmm0, xmm13
aesdec xmm0, xmm14
aesdec xmm0, xmm15
aesdec xmm0, xmm1
aesdec xmm0, xmm2
aesdeclast xmm0, xmm3
movdqu xmmword [r8 + rdx - 0x10], xmm0
sub r9, 1
jne 0x180043f90
movaps xmm14, xmmword [rsp + 0x70]
movaps xmm13, xmmword [rsp + 0x80]
movaps xmm12, xmmword [rsp + 0x90]
movaps xmm11, xmmword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm15, xmmword [rsp + 0x60]
add rsp, 0x108
ret
lea r9, str.gold
mov dword [rsp + 0x20], 0x27a
lea r8, str.aesni_decrypt_n
lea rdx, str.Key_was_set
lea rcx, str.m_DK.empty____false
call fcn.1800401f0
int3