Function at 0x180010550
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 r8d, dword [rcx]
lea rbp, str.cwko0
mov r14, rdx
mov dword [rdx], r8d
mov ebx, dword [rcx + 4]
mov dword [rdx + 4], ebx
mov esi, dword [rcx + 8]
mov dword [rdx + 8], esi
mov edi, dword [rcx + 0xc]
mov dword [rdx + 0xc], edi
mov r10d, dword [rcx + 0x10]
mov dword [rdx + 0x10], r10d
mov r11d, dword [rcx + 0x14]
mov dword [rdx + 0x14], r11d
mov eax, r11d
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 0x10
movzx edx, r11b
mov r9d, dword [rbp + rdx*4 + 0xc00]
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, 1
xor ebx, r9d
mov dword [r14 + 0x18], r9d
xor esi, ebx
mov dword [r14 + 0x1c], ebx
xor edi, esi
mov dword [r14 + 0x20], esi
xor r10d, edi
mov dword [r14 + 0x24], edi
xor r11d, r10d
mov dword [r14 + 0x28], r10d
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 + 0x2c], 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, 2
xor ebx, r8d
mov dword [r14 + 0x30], r8d
xor esi, ebx
mov dword [r14 + 0x34], ebx
xor edi, esi
mov dword [r14 + 0x38], esi
xor r10d, edi
mov dword [r14 + 0x3c], edi
xor r11d, r10d
mov dword [r14 + 0x40], r10d
mov eax, r11d
movzx edx, r11b
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 0x10
mov r9d, dword [rbp + rdx*4 + 0xc00]
mov dword [r14 + 0x44], r11d
xor r9d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
xor r9d, dword [rbp + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
xor r9d, dword [rbp + rcx*4]
xor r9d, r8d
xor r9d, 4
xor ebx, r9d
mov dword [r14 + 0x48], r9d
xor esi, ebx
mov dword [r14 + 0x4c], ebx
xor edi, esi
mov dword [r14 + 0x50], esi
xor r10d, edi
mov dword [r14 + 0x54], edi
xor r11d, r10d
mov dword [r14 + 0x58], r10d
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 + 0x5c], 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, 8
xor ebx, r8d
mov dword [r14 + 0x60], r8d
xor esi, ebx
mov dword [r14 + 0x64], ebx
xor edi, esi
mov dword [r14 + 0x68], esi
xor r10d, edi
mov dword [r14 + 0x6c], edi
xor r11d, r10d
mov dword [r14 + 0x70], r10d
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 + 0x74], 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, 0x10
xor ebx, r9d
mov dword [r14 + 0x78], r9d
xor esi, ebx
mov dword [r14 + 0x7c], ebx
xor edi, esi
mov dword [r14 + 0x80], esi
xor r10d, edi
mov dword [r14 + 0x84], edi
xor r11d, r10d
mov dword [r14 + 0x88], r10d
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 + 0x8c], r11d
xor r8d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
mov eax, r11d
xor r8d, dword [rbp + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
xor r8d, dword [rbp + rcx*4]
xor r8d, r9d
mov dword [r14 + 0xf0], 0
xor r8d, 0x20
mov byte [r14 + 0xf0], 0xc0
xor ebx, r8d
mov dword [r14 + 0x90], r8d
xor esi, ebx
mov dword [r14 + 0x94], ebx
xor edi, esi
mov dword [r14 + 0x98], esi
xor r10d, edi
mov dword [r14 + 0x9c], edi
xor r11d, r10d
mov dword [r14 + 0xa0], r10d
mov eax, r11d
movzx edx, r11b
shr eax, 0x18
movzx ecx, al
mov eax, r11d
shr eax, 0x10
mov r9d, dword [rbp + rdx*4 + 0xc00]
mov dword [r14 + 0xa4], 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, 0x40
xor ebx, r9d
mov dword [r14 + 0xa8], r9d
xor esi, ebx
mov dword [r14 + 0xac], ebx
xor edi, esi
mov dword [r14 + 0xb0], esi
xor r10d, edi
mov dword [r14 + 0xb4], edi
xor r11d, r10d
mov dword [r14 + 0xb8], r10d
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 + 0xbc], r11d
xor r8d, dword [rbp + rcx*4 + 0x800]
movzx ecx, al
shr r11d, 8
movzx eax, r11b
xor r8d, dword [rbp + rcx*4 + 0x400]
xor r8d, dword [rbp + rax*4]
mov rbp, qword [rsp + 0x18]
xor r8d, r9d
btc r8d, 7
xor ebx, r8d
mov dword [r14 + 0xc0], r8d
xor esi, ebx
mov dword [r14 + 0xc4], ebx
mov rbx, qword [rsp + 0x10]
xor edi, esi
mov dword [r14 + 0xcc], edi
xor eax, eax
mov rdi, qword [rsp + 0x28]
mov dword [r14 + 0xc8], esi
mov rsi, qword [rsp + 0x20]
pop r14
ret
sub rsp, 0x38
mov r9, rcx
mov r8, rdx
mov ecx, dword [0x180053954]
test ecx, ecx
jns 0x180010585
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov eax, 1
cpuid
mov rbx, qword [rsp + 0x30]
and ecx, 0x2000000
mov dword [0x180053954], ecx
test ecx, ecx
jne 0x180010596
mov rdx, r8
mov rcx, r9
add rsp, 0x38
jmp 0x18000d730
movdqu xmm3, xmmword [r9 + 0x10]
movdqu xmm1, xmmword [r9]
movdqa xmm5, xmm3
movdqa xmm2, xmm1
movdqa xmmword [r8], xmm1
pslldq xmm2, 4
movdqa xmm0, xmm2
pslldq xmm5, 4
pxor xmm0, xmm1
pslldq xmm2, 4
movdqa xmm4, xmm2
pxor xmm5, xmm3
pxor xmm4, xmm0
pslldq xmm2, 4
pxor xmm4, xmm2
aeskeygenassist xmm0, xmm3, 1
pshufd xmm1, xmm0, 0x55
pxor xmm4, xmm1
pshufd xmm0, xmm4, 0xff
movdqa xmm1, xmm4
pxor xmm5, xmm0
pslldq xmm1, 4
movaps xmm0, xmm3
movdqa xmm3, xmm5
shufpd xmm0, xmm4, 0
movaps xmmword [r8 + 0x10], xmm0
movaps xmm0, xmm4
shufpd xmm0, xmm5, 1
movdqa xmmword [r8 + 0x20], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm4
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pxor xmm3, xmm5
aeskeygenassist xmm0, xmm5, 2
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm3, xmm0
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [r8 + 0x30], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
movdqa xmm4, xmm3
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pslldq xmm4, 4
aeskeygenassist xmm0, xmm3, 4
pshufd xmm1, xmm0, 0x55
pxor xmm4, xmm3
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm4, xmm0
pslldq xmm1, 4
movaps xmm0, xmm3
movdqa xmm3, xmm4
shufpd xmm0, xmm2, 0
movaps xmmword [r8 + 0x40], xmm0
movaps xmm0, xmm2
shufpd xmm0, xmm4, 1
movdqa xmmword [r8 + 0x50], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm3, 4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm4, 8
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm3, xmm4
pxor xmm3, xmm0
movdqa xmmword [r8 + 0x60], xmm2
movdqa xmm0, xmm1
movdqa xmm5, xmm3
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm5, 4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pxor xmm5, xmm3
aeskeygenassist xmm0, xmm3, 0x10
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm5, xmm0
pslldq xmm1, 4
movaps xmm0, xmm3
movdqa xmm4, xmm5
shufpd xmm0, xmm2, 0
movaps xmmword [r8 + 0x70], xmm0
movaps xmm0, xmm2
shufpd xmm0, xmm5, 1
movdqa xmmword [r8 + 0x80], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm4, 4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pxor xmm4, xmm5
aeskeygenassist xmm0, xmm5, 0x20
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm4, xmm0
pslldq xmm1, 4
movdqa xmm0, xmm1
movdqa xmmword [r8 + 0x90], xmm2
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
movdqa xmm3, xmm4
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
pslldq xmm3, 4
aeskeygenassist xmm0, xmm4, 0x40
pshufd xmm1, xmm0, 0x55
pxor xmm3, xmm4
pxor xmm2, xmm1
pshufd xmm0, xmm2, 0xff
movdqa xmm1, xmm2
pxor xmm3, xmm0
pslldq xmm1, 4
movaps xmm0, xmm4
shufpd xmm0, xmm2, 0
movaps xmmword [r8 + 0xa0], xmm0
movaps xmm0, xmm2
shufpd xmm0, xmm3, 1
movdqa xmmword [r8 + 0xb0], xmm0
movdqa xmm0, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
movdqa xmm2, xmm1
pslldq xmm1, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm3, 0x80
pshufd xmm1, xmm0, 0x55
pxor xmm2, xmm1
movdqa xmmword [r8 + 0xc0], xmm2
mov dword [r8 + 0xf0], 0
xor eax, eax
mov byte [r8 + 0xf0], 0xc0
add rsp, 0x38
ret