Function at 0x14012c230
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0xe8
cmp byte [0x14049fac3], 0
je 0x14012c254
mov r8b, 1
mov edx, 0x40000
add rsp, 0xe8
jmp fcn.140137e20
movdqu xmm2, xmmword [rcx + 0x10]
movdqu xmm3, xmmword [rcx]
mov r8, qword [rcx + 0xe0]
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
mov qword [rsp + 0xf0], rbx
pslldq xmm1, 4
pxor xmm0, xmm3
mov qword [rsp + 0xf8], rsi
mov qword [rsp + 0xe0], rdi
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xb0], xmm8
movdqa xmm8, xmm1
pslldq xmm1, 4
pxor xmm8, xmm0
pxor xmm8, xmm1
movaps xmmword [rsp + 0xa0], xmm9
movaps xmmword [rsp + 0x90], xmm10
movaps xmmword [rsp + 0x80], xmm11
movaps xmmword [rsp + 0x70], xmm12
aeskeygenassist xmm0, xmm2, 1
pshufd xmm1, xmm0, 0xff
pxor xmm8, xmm1
movaps xmmword [rsp + 0x60], xmm13
movdqa xmm1, xmm2
movaps xmmword [rsp + 0x50], xmm14
pslldq xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x40], xmm15
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm9, xmm1
movdqa xmmword [rsp + 0x20], xmm3
pslldq xmm1, 4
pxor xmm9, xmm0
pxor xmm9, xmm1
movdqa xmmword [rsp + 0x30], xmm2
aeskeygenassist xmm0, xmm8, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm9, xmm1
movdqa xmm1, xmm8
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm10, xmm1
pxor xmm0, xmm8
pslldq xmm1, 4
pxor xmm10, xmm0
pxor xmm10, xmm1
aeskeygenassist xmm0, xmm9, 2
pshufd xmm1, xmm0, 0xff
pxor xmm10, xmm1
movdqa xmm1, xmm9
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm11, xmm1
pxor xmm0, xmm9
pslldq xmm1, 4
pxor xmm11, xmm0
pxor xmm11, xmm1
aeskeygenassist xmm0, xmm10, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm11, xmm1
movdqa xmm1, xmm10
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm12, xmm1
pxor xmm0, xmm10
pxor xmm12, xmm0
pslldq xmm1, 4
pxor xmm12, xmm1
aeskeygenassist xmm0, xmm11, 4
pshufd xmm1, xmm0, 0xff
pxor xmm12, xmm1
movdqa xmm1, xmm11
pslldq xmm1, 4
movdqa xmm0, xmm1
cmp byte [rcx + 0x1b0], 0
pxor xmm0, xmm11
pslldq xmm1, 4
movdqa xmm13, xmm1
pslldq xmm1, 4
pxor xmm13, xmm0
pxor xmm13, xmm1
aeskeygenassist xmm0, xmm12, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm13, xmm1
movdqa xmm1, xmm12
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm14, xmm1
pxor xmm0, xmm12
pslldq xmm1, 4
pxor xmm14, xmm0
pxor xmm14, xmm1
aeskeygenassist xmm0, xmm13, 8
pshufd xmm1, xmm0, 0xff
pxor xmm14, xmm1
movdqa xmm1, xmm13
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm15, xmm1
pxor xmm0, xmm13
pxor xmm15, xmm0
pslldq xmm1, 4
pxor xmm15, xmm1
aeskeygenassist xmm0, xmm14, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm15, xmm1
jne 0x14012c4df
mov eax, pe_nt_image_headers64
lea edx, [rax + 0x10]
lea ebx, [rax + 0x50]
lea edi, [rax + 0x70]
lea r9d, [rax + 0x20]
lea r10d, [rax + 0x30]
lea r11d, [rax + 0x40]
lea esi, [rax + 0x60]
jmp 0x14012c4fe
mov eax, 0x40
mov esi, 0xa0
lea edx, [rax + 0x10]
lea ebx, [rax + 0x50]
lea edi, [rax + 0x70]
lea r9d, [rax + 0x20]
lea r10d, [rax + 0x30]
lea r11d, [rax + 0x40]
movdqu xmm0, xmmword [rdi + rcx]
movdqu xmm1, xmmword [rsi + rcx]
movdqu xmm2, xmmword [rbx + rcx]
movdqu xmm5, xmmword [r9 + rcx]
lea r9, [r8 + 0x800]
movdqu xmm6, xmmword [rdx + rcx]
lea rdx, [r8 + 0x1f800]
movdqu xmm7, xmmword [rax + rcx]
xor eax, eax
mov rdi, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
movdqu xmm3, xmmword [r11 + rcx]
movdqu xmm4, xmmword [r10 + rcx]
nop dword [rax]
nop word [rax + rax]
prefetcht0 byte [r9]
prefetcht0 byte [r9 + 0x40]
aesenc xmm7, xmmword [rsp + 0x20]
aesenc xmm6, xmmword [rsp + 0x20]
aesenc xmm5, xmmword [rsp + 0x20]
aesenc xmm4, xmmword [rsp + 0x20]
aesenc xmm3, xmmword [rsp + 0x20]
aesenc xmm2, xmmword [rsp + 0x20]
aesenc xmm1, xmmword [rsp + 0x20]
aesenc xmm0, xmmword [rsp + 0x20]
aesenc xmm7, xmmword [rsp + 0x30]
aesenc xmm6, xmmword [rsp + 0x30]
aesenc xmm5, xmmword [rsp + 0x30]
aesenc xmm4, xmmword [rsp + 0x30]
aesenc xmm3, xmmword [rsp + 0x30]
aesenc xmm2, xmmword [rsp + 0x30]
aesenc xmm1, xmmword [rsp + 0x30]
aesenc xmm0, xmmword [rsp + 0x30]
aesenc xmm7, xmm8
aesenc xmm6, xmm8
aesenc xmm5, xmm8
aesenc xmm4, xmm8
aesenc xmm3, xmm8
aesenc xmm2, xmm8
aesenc xmm1, xmm8
aesenc xmm0, xmm8
aesenc xmm7, xmm9
aesenc xmm6, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm9
aesenc xmm3, xmm9
aesenc xmm2, xmm9
aesenc xmm1, xmm9
aesenc xmm0, xmm9
aesenc xmm7, xmm10
aesenc xmm6, xmm10
aesenc xmm5, xmm10
aesenc xmm4, xmm10
aesenc xmm3, xmm10
aesenc xmm2, xmm10
aesenc xmm1, xmm10
aesenc xmm0, xmm10
aesenc xmm7, xmm11
aesenc xmm6, xmm11
aesenc xmm5, xmm11
aesenc xmm4, xmm11
aesenc xmm3, xmm11
aesenc xmm2, xmm11
aesenc xmm1, xmm11
aesenc xmm0, xmm11
aesenc xmm7, xmm12
aesenc xmm6, xmm12
aesenc xmm5, xmm12
aesenc xmm4, xmm12
aesenc xmm3, xmm12
aesenc xmm2, xmm12
aesenc xmm1, xmm12
aesenc xmm0, xmm12
aesenc xmm7, xmm13
aesenc xmm6, xmm13
aesenc xmm5, xmm13
aesenc xmm4, xmm13
aesenc xmm3, xmm13
aesenc xmm2, xmm13
aesenc xmm1, xmm13
aesenc xmm0, xmm13
aesenc xmm7, xmm14
aesenc xmm7, xmm15
aesenc xmm6, xmm14
aesenc xmm5, xmm14
aesenc xmm4, xmm14
aesenc xmm3, xmm14
aesenc xmm2, xmm14
aesenc xmm1, xmm14
aesenc xmm0, xmm14
movdqu xmmword [r8], xmm7
aesenc xmm6, xmm15
aesenc xmm5, xmm15
aesenc xmm4, xmm15
aesenc xmm3, xmm15
aesenc xmm2, xmm15
aesenc xmm1, xmm15
aesenc xmm0, xmm15
movdqu xmmword [r8 + 0x10], xmm6
lea r9, [r9 + 0x80]
movdqu xmmword [r8 + 0x20], xmm5
movdqu xmmword [r8 + 0x30], xmm4
movdqu xmmword [r8 + 0x40], xmm3
movdqu xmmword [r8 + 0x50], xmm2
movdqu xmmword [r8 + 0x60], xmm1
movdqu xmmword [r8 + 0x70], xmm0
sub r8, 0xffffffffffffff80
cmp r8, rdx
jb 0x14012c560
add rdx, 0x800
inc eax
mov r9, r8
cmp eax, 2
jl 0x14012c560
cmp byte [rcx + 0x1b0], 0
movaps xmm15, xmmword [rsp + 0x40]
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]
je 0x14012c836
movdqu xmmword [rcx + 0x130], xmm7
movdqu xmmword [rcx + 0x140], xmm6
movdqu xmmword [rcx + 0x150], xmm5
movdqu xmmword [rcx + 0x160], xmm4
movdqu xmmword [rcx + 0x170], xmm3
movdqu xmmword [rcx + 0x180], xmm2
movdqu xmmword [rcx + 0x190], xmm1
movdqu xmmword [rcx + 0x1a0], xmm0
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm7, xmmword [rsp + 0xc0]
add rsp, 0xe8
ret