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