Function at 0x18001aa60
Capabilities:
Encrypt data using aes via x86 extensions
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
mov r9d, dword [rcx]
lea rbp, str.cwko0
mov r14, rdx
mov dword [rdx], r9d
mov r10d, dword [rcx + 4]
mov dword [rdx + 4], r10d
mov edi, dword [rcx + 8]
mov dword [rdx + 8], edi
mov r8d, dword [rcx + 0xc]
mov dword [rdx + 0xc], r8d
mov eax, r8d
shr eax, 0x10
mov edx, r8d
movzx ecx, al
mov r11d, r8d
shr rdx, 0x18
mov eax, r8d
shr eax, 8
mov ebx, dword [rbp + rdx*4 + 0x800]
xor ebx, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
movzx eax, r8b
xor ebx, dword [rbp + rcx*4]
xor ebx, dword [rbp + rax*4 + 0xc00]
xor ebx, r9d
xor ebx, 1
mov r9d, ebx
mov dword [r14 + 0x10], ebx
xor r9d, r10d
xor edi, r9d
mov dword [r14 + 0x14], r9d
xor r11d, edi
mov dword [r14 + 0x18], edi
movzx ecx, r11b
mov eax, r11d
shr rax, 0x18
mov edx, r11d
mov r10d, dword [rbp + rcx*4 + 0xc00]
mov dword [r14 + 0x1c], edx
xor r10d, dword [rbp + rax*4 + 0x800]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r10d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r10d, dword [rbp + rcx*4]
xor r10d, ebx
xor r10d, 2
mov r8d, r10d
mov dword [r14 + 0x20], r10d
xor r8d, r9d
mov r9d, r8d
mov dword [r14 + 0x24], r8d
xor r9d, edi
xor edx, r9d
mov dword [r14 + 0x28], r9d
movzx ecx, dl
mov eax, edx
shr rax, 0x18
mov esi, edx
mov edi, dword [rbp + rcx*4 + 0xc00]
mov dword [r14 + 0x2c], esi
xor edi, dword [rbp + rax*4 + 0x800]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
xor edi, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor edi, dword [rbp + rcx*4]
xor edi, r10d
xor edi, 4
mov r10d, edi
mov dword [r14 + 0x30], edi
xor r10d, r8d
mov r11d, r10d
mov dword [r14 + 0x34], r10d
xor r11d, r9d
xor esi, r11d
mov dword [r14 + 0x38], r11d
mov eax, esi
movzx edx, sil
shr eax, 0x18
movzx ecx, al
mov eax, esi
shr eax, 0x10
mov ebx, dword [rbp + rdx*4 + 0xc00]
mov r8d, esi
xor ebx, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov dword [r14 + 0x3c], esi
shr esi, 8
movzx eax, sil
xor ebx, dword [rbp + rcx*4 + 0x400]
xor ebx, dword [rbp + rax*4]
xor ebx, edi
xor ebx, 8
mov edi, ebx
mov dword [r14 + 0x40], ebx
xor edi, r10d
mov r9d, edi
mov dword [r14 + 0x44], edi
xor r9d, r11d
xor r8d, r9d
mov dword [r14 + 0x48], r9d
movzx edx, r8b
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r8d
shr eax, 0x10
mov r10d, dword [rbp + rdx*4 + 0xc00]
mov dword [r14 + 0x4c], r8d
xor r10d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r8d
shr eax, 8
xor r10d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r10d, dword [rbp + rcx*4]
xor r10d, ebx
xor r10d, 0x10
xor edi, r10d
mov dword [r14 + 0x50], r10d
mov ebx, edi
mov dword [r14 + 0x54], edi
xor ebx, r9d
xor r8d, ebx
mov dword [r14 + 0x58], ebx
mov r11d, r8d
mov eax, r8d
shr eax, 0x18
movzx ecx, al
mov eax, r11d
movzx edx, r8b
shr eax, 0x10
mov dword [r14 + 0x5c], r11d
mov r8d, dword [rbp + rdx*4 + 0xc00]
xor r8d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r8d, dword [rbp + rcx*4]
xor r8d, r10d
xor r8d, 0x20
xor edi, r8d
mov dword [r14 + 0x60], r8d
xor ebx, edi
mov dword [r14 + 0x64], edi
xor r11d, ebx
mov dword [r14 + 0x68], ebx
movzx edx, r11b
mov eax, r11d
shr eax, 0x18
mov dword [r14 + 0x6c], r11d
movzx ecx, al
mov r9d, dword [rbp + rdx*4 + 0xc00]
xor r9d, dword [rbp + rcx*4 + 0x800]
mov eax, r11d
shr eax, 0x10
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r9d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r9d, dword [rbp + rcx*4]
xor r9d, r8d
xor r9d, 0x40
xor edi, r9d
mov dword [r14 + 0x70], r9d
xor ebx, edi
mov dword [r14 + 0x74], edi
xor r11d, ebx
mov dword [r14 + 0x78], ebx
movzx edx, r11b
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 0x10
mov r8d, dword [rbp + rdx*4 + 0xc00]
mov dword [r14 + 0x7c], r11d
xor r8d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r8d, dword [rbp + rcx*4]
xor r8d, r9d
btc r8d, 7
xor edi, r8d
mov dword [r14 + 0x80], r8d
xor ebx, edi
mov dword [r14 + 0x84], edi
xor r11d, ebx
mov dword [r14 + 0x88], ebx
movzx edx, r11b
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 0x10
mov r9d, dword [rbp + rdx*4 + 0xc00]
mov dword [r14 + 0x8c], r11d
xor r9d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r9d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r9d, dword [rbp + rcx*4]
xor r9d, r8d
xor r9d, 0x1b
xor edi, r9d
mov dword [r14 + 0x90], r9d
xor ebx, edi
mov dword [r14 + 0x94], edi
xor r11d, ebx
mov dword [r14 + 0x98], ebx
mov eax, r11d
movzx edx, r11b
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 0x10
mov r8d, dword [rbp + rdx*4 + 0xc00]
mov dword [r14 + 0x9c], r11d
xor r8d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
shr eax, 8
xor r8d, dword [rbp + rcx*4 + 0x400]
movzx ecx, al
xor r8d, dword [rbp + rcx*4]
xor r8d, r9d
xor r8d, 0x36
mov dword [r14 + 0xa0], r8d
mov rbp, qword [rsp + 0x18]
xor edi, r8d
mov rsi, qword [rsp + 0x20]
xor ebx, edi
xor r11d, ebx
mov dword [r14 + 0xa4], edi
mov rdi, qword [rsp + 0x28]
xor eax, eax
mov dword [r14 + 0xa8], ebx
mov rbx, qword [rsp + 0x10]
mov dword [r14 + 0xf0], 0
mov dword [r14 + 0xac], r11d
mov byte [r14 + 0xf0], 0xa0
pop r14
ret
sub rsp, 0x38
mov r9, rcx
mov r8, rdx
mov ecx, dword [0x180067990]
test ecx, ecx
jns 0x18001aa95
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov eax, 1
cpuid
mov rbx, qword [rsp + 0x30]
and ecx, 0x2000000
mov dword [0x180067990], ecx
test ecx, ecx
jne 0x18001aaa6
mov rdx, r8
mov rcx, r9
add rsp, 0x38
jmp 0x180017900
movdqu xmm2, xmmword [r9]
movdqa xmm1, xmm2
movdqu xmmword [r8], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm3, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 1
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm3
movdqu xmmword [r8 + 0x10], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm2, xmm1
pxor xmm0, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 2
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm1, xmm2
movdqu xmmword [r8 + 0x20], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm3, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 4
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm3
movdqu xmmword [r8 + 0x30], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm2, xmm1
pxor xmm0, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 8
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm1, xmm2
movdqu xmmword [r8 + 0x40], xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm3, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x10
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqa xmm1, xmm3
movdqu xmmword [r8 + 0x50], xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm2, xmm1
pxor xmm0, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x20
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqu xmmword [r8 + 0x60], xmm2
movdqa xmm1, xmm2
pslldq xmm1, 4
xor eax, eax
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x40
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqu xmmword [r8 + 0x70], xmm3
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm2, xmm1
pxor xmm0, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqu xmmword [r8 + 0x80], xmm2
movdqa xmm1, xmm2
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
pxor xmm0, xmm2
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm0
pxor xmm3, xmm1
aeskeygenassist xmm0, xmm2, 0x1b
pshufd xmm1, xmm0, 0xff
pxor xmm3, xmm1
movdqu xmmword [r8 + 0x90], xmm3
movdqa xmm1, xmm3
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm2, xmm1
pxor xmm0, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x36
pshufd xmm1, xmm0, 0xff
pxor xmm2, xmm1
movdqu xmmword [r8 + 0xa0], xmm2
mov dword [r8 + 0xf0], 0
mov byte [r8 + 0xf0], 0xa0
add rsp, 0x38
ret