Function at 0x180077780
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 r13
push r14
push r15
mov r9d, dword [rcx]
lea r13, str.cwko0
mov dword [rdx], r9d
mov r12, rdx
mov r10d, dword [rcx + 4]
mov dword [rdx + 4], r10d
mov r11d, dword [rcx + 8]
mov dword [rdx + 8], r11d
mov esi, dword [rcx + 0xc]
mov dword [rdx + 0xc], esi
mov ebp, dword [rcx + 0x10]
mov dword [rdx + 0x10], ebp
mov r8d, dword [rcx + 0x14]
mov dword [rdx + 0x14], r8d
mov eax, r8d
shr eax, 0x10
mov edx, r8d
movzx ecx, al
mov ebx, r8d
shr rdx, 0x18
mov eax, r8d
shr eax, 8
mov edi, dword [r13 + rdx*4 + 0x800]
xor edi, dword [r13 + rcx*4 + 0x400]
movzx ecx, al
movzx eax, r8b
xor edi, dword [r13 + rcx*4]
xor edi, dword [r13 + rax*4 + 0xc00]
xor edi, r9d
xor edi, dword [0x180097a00]
mov dword [r12 + 0x18], edi
mov r14d, edi
xor r14d, r10d
mov dword [r12 + 0x1c], r14d
mov r9d, r14d
xor r9d, r11d
mov dword [r12 + 0x20], r9d
xor esi, r9d
mov dword [r12 + 0x24], esi
xor ebp, esi
xor ebx, ebp
mov dword [r12 + 0x28], ebp
movzx ecx, bl
mov edx, ebx
mov dword [r12 + 0x2c], edx
mov eax, ebx
mov r11d, dword [r13 + rcx*4 + 0xc00]
shr rax, 0x18
xor r11d, dword [r13 + rax*4 + 0x800]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
xor r11d, dword [r13 + rcx*4 + 0x400]
movzx ecx, al
xor r11d, dword [r13 + rcx*4]
xor r11d, edi
xor r11d, dword [0x180097a04]
xor r14d, r11d
mov dword [r12 + 0x30], r11d
mov dword [r12 + 0x34], r14d
mov r8d, r14d
xor r8d, r9d
mov dword [r12 + 0x38], r8d
mov r9d, r8d
xor r9d, esi
mov dword [r12 + 0x3c], r9d
mov r10d, r9d
xor r10d, ebp
xor edx, r10d
mov dword [r12 + 0x40], r10d
movzx ecx, dl
mov dword [r12 + 0x44], edx
mov eax, edx
shr rax, 0x18
mov ebx, dword [r13 + rcx*4 + 0xc00]
xor ebx, dword [r13 + rax*4 + 0x800]
mov eax, edx
shr eax, 0x10
movzx ecx, al
xor ebx, dword [r13 + rcx*4 + 0x400]
mov eax, edx
shr eax, 8
movzx ecx, al
xor ebx, dword [r13 + rcx*4]
xor ebx, r11d
xor ebx, dword [0x180097a08]
mov dword [r12 + 0x48], ebx
mov r15d, ebx
xor r15d, r14d
mov dword [r12 + 0x4c], r15d
mov r11d, r15d
xor r11d, r8d
mov dword [r12 + 0x50], r11d
mov ebp, r11d
xor ebp, r9d
mov dword [r12 + 0x54], ebp
mov edi, ebp
xor edi, r10d
mov dword [r12 + 0x58], edi
mov eax, edi
xor eax, edx
mov esi, eax
movzx edx, al
shr eax, 0x18
movzx ecx, al
mov eax, esi
mov dword [r12 + 0x5c], esi
mov r10d, dword [r13 + rdx*4 + 0xc00]
shr eax, 0x10
xor r10d, dword [r13 + rcx*4 + 0x800]
movzx ecx, al
mov eax, esi
shr eax, 8
xor r10d, dword [r13 + rcx*4 + 0x400]
movzx ecx, al
xor r10d, dword [r13 + rcx*4]
xor r10d, ebx
xor r10d, dword [0x180097a0c]
mov dword [r12 + 0x60], r10d
xor r15d, r10d
mov dword [r12 + 0x64], r15d
mov r9d, r15d
xor r9d, r11d
mov dword [r12 + 0x68], r9d
xor ebp, r9d
mov dword [r12 + 0x6c], ebp
xor edi, ebp
xor esi, edi
mov dword [r12 + 0x70], edi
mov dword [r12 + 0x74], esi
mov eax, esi
shr eax, 0x18
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx edx, sil
mov r8d, dword [r13 + rdx*4 + 0xc00]
xor r8d, dword [r13 + rcx*4 + 0x800]
movzx ecx, al
mov eax, esi
shr eax, 8
xor r8d, dword [r13 + rcx*4 + 0x400]
movzx ecx, al
xor r8d, dword [r13 + rcx*4]
xor r8d, dword [0x180097a10]
xor r10d, r8d
xor r15d, r10d
mov dword [r12 + 0x78], r10d
xor r9d, r15d
mov dword [r12 + 0x7c], r15d
xor ebp, r9d
mov dword [r12 + 0x80], r9d
xor edi, ebp
mov dword [r12 + 0x84], ebp
xor esi, edi
mov dword [r12 + 0x88], edi
mov eax, esi
mov dword [r12 + 0x8c], esi
shr eax, 0x18
movzx edx, sil
mov r8d, dword [r13 + rdx*4 + 0xc00]
mov rbx, qword [rsp + 0x28]
movzx ecx, al
mov eax, esi
shr eax, 0x10
xor r8d, dword [r13 + rcx*4 + 0x800]
movzx ecx, al
mov eax, esi
shr eax, 8
xor r8d, dword [r13 + rcx*4 + 0x400]
movzx ecx, al
xor r8d, dword [r13 + rcx*4]
xor r8d, dword [0x180097a14]
xor r10d, r8d
mov dword [r12 + 0x90], r10d
xor r15d, r10d
mov dword [r12 + 0x94], r15d
xor r9d, r15d
mov dword [r12 + 0x98], r9d
xor ebp, r9d
mov dword [r12 + 0x9c], ebp
xor edi, ebp
mov dword [r12 + 0xa0], edi
xor esi, edi
mov dword [r12 + 0xa4], esi
mov eax, esi
shr eax, 0x18
movzx ecx, al
mov eax, esi
shr eax, 0x10
movzx edx, sil
mov r8d, dword [r13 + rdx*4 + 0xc00]
xor r8d, dword [r13 + rcx*4 + 0x800]
movzx ecx, al
mov eax, esi
shr eax, 8
xor r8d, dword [r13 + rcx*4 + 0x400]
movzx ecx, al
xor r8d, dword [r13 + rcx*4]
xor r8d, dword [0x180097a18]
xor r10d, r8d
mov dword [r12 + 0xa8], r10d
xor r15d, r10d
mov dword [r12 + 0xac], r15d
xor r9d, r15d
xor ebp, r9d
mov dword [r12 + 0xb0], r9d
mov dword [r12 + 0xb4], ebp
xor edi, ebp
xor esi, edi
mov dword [r12 + 0xb8], edi
mov rdi, qword [rsp + 0x40]
mov eax, esi
mov dword [r12 + 0xbc], esi
shr eax, 0x18
movzx ecx, al
mov eax, esi
movzx edx, sil
shr eax, 0x10
shr esi, 8
mov r8d, dword [r13 + rdx*4 + 0xc00]
xor r8d, dword [r13 + rcx*4 + 0x800]
movzx ecx, al
movzx eax, sil
mov rsi, qword [rsp + 0x38]
xor r8d, dword [r13 + rcx*4 + 0x400]
xor r8d, dword [r13 + rax*4]
xor r8d, dword [0x180097a1c]
xor r10d, r8d
mov dword [r12 + 0xf0], 0
xor r15d, r10d
mov dword [r12 + 0xc0], r10d
xor r9d, r15d
mov dword [r12 + 0xc4], r15d
xor ebp, r9d
mov dword [r12 + 0xc8], r9d
mov dword [r12 + 0xcc], ebp
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov byte [r12 + 0xf0], 0xc0
pop r15
pop r14
pop r13
pop r12
ret
sub rsp, 0x38
mov r9, rcx
mov r8, rdx
mov ecx, dword [0x1800a6010]
test ecx, ecx
jns 0x180078885
xor ecx, ecx
mov qword [rsp + 0x30], rbx
mov eax, 1
cpuid
mov rbx, qword [rsp + 0x30]
and ecx, 0x2000000
mov dword [0x1800a6010], ecx
test ecx, ecx
jne 0x180078896
mov rdx, r8
mov rcx, r9
add rsp, 0x38
jmp 0x180077780
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