Function at 0x12801000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r8d, dword [rcx]
lea r15, str.cwko0
mov r14, rdx
mov dword [rdx], r8d
mov ebp, dword [rcx + 4]
mov dword [rdx + 4], ebp
mov r13d, dword [rcx + 8]
mov dword [rdx + 8], r13d
mov r12d, dword [rcx + 0xc]
mov dword [rdx + 0xc], r12d
mov r11d, dword [rcx + 0x10]
mov dword [rdx + 0x10], r11d
mov ebx, dword [rcx + 0x14]
mov dword [rdx + 0x14], ebx
mov edi, dword [rcx + 0x18]
mov dword [rdx + 0x18], edi
mov esi, dword [rcx + 0x1c]
mov dword [rdx + 0x1c], esi
mov eax, esi
mov dword [rsp + 0x1c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
mov r9d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
mov eax, esi
xor r9d, dword [r15 + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r9d, dword [r15 + rcx*4]
xor r9d, dword [r15 + rax*4 + 0xc00]
xor r9d, r8d
xor r9d, 1
mov dword [r14 + 0x20], r9d
xor ebp, r9d
mov dword [r14 + 0x24], ebp
xor r13d, ebp
mov dword [r14 + 0x28], r13d
xor r12d, r13d
mov dword [r14 + 0x2c], r12d
mov eax, r12d
mov dword [rsp + 0xc], r12d
shr eax, 0x18
movzx edx, al
mov eax, r12d
mov r8d, dword [r15 + rdx*4 + 0xc00]
shr eax, 0x10
movzx ecx, al
mov eax, r12d
xor r8d, dword [r15 + rcx*4 + 0x800]
shr eax, 8
movzx ecx, al
movzx eax, r12b
xor r8d, dword [r15 + rcx*4 + 0x400]
xor r8d, dword [r15 + rax*4]
xor r11d, r8d
mov dword [r14 + 0x30], r11d
xor ebx, r11d
mov dword [r14 + 0x34], ebx
xor edi, ebx
xor esi, edi
mov dword [r14 + 0x38], edi
mov dword [r14 + 0x3c], esi
mov eax, esi
mov dword [rsp + 0x1c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
mov r10d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
mov eax, esi
xor r10d, dword [r15 + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r10d, dword [r15 + rcx*4]
xor r10d, dword [r15 + rax*4 + 0xc00]
xor r10d, r9d
xor r10d, 2
mov dword [r14 + 0x40], r10d
xor ebp, r10d
mov dword [r14 + 0x44], ebp
xor r13d, ebp
mov dword [r14 + 0x48], r13d
xor r12d, r13d
mov dword [r14 + 0x4c], r12d
mov eax, r12d
mov dword [rsp + 0xc], r12d
shr eax, 0x18
movzx edx, al
mov eax, r12d
mov r8d, dword [r15 + rdx*4 + 0xc00]
shr eax, 0x10
movzx ecx, al
mov eax, r12d
xor r8d, dword [r15 + rcx*4 + 0x800]
shr eax, 8
movzx ecx, al
movzx eax, r12b
xor r8d, dword [r15 + rcx*4 + 0x400]
xor r8d, dword [r15 + rax*4]
xor r11d, r8d
mov dword [r14 + 0x50], r11d
xor ebx, r11d
mov dword [r14 + 0x54], ebx
xor edi, ebx
xor esi, edi
mov dword [r14 + 0x58], edi
mov dword [r14 + 0x5c], esi
mov eax, esi
mov dword [rsp + 0x1c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
mov r9d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
mov eax, esi
xor r9d, dword [r15 + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r9d, dword [r15 + rcx*4]
xor r9d, dword [r15 + rax*4 + 0xc00]
xor r9d, r10d
xor r9d, 4
mov dword [r14 + 0x60], r9d
xor ebp, r9d
mov dword [r14 + 0x64], ebp
xor r13d, ebp
xor r12d, r13d
mov dword [r14 + 0x68], r13d
mov dword [r14 + 0x6c], r12d
mov eax, r12d
mov dword [rsp + 0xc], r12d
shr eax, 0x18
movzx edx, al
mov eax, r12d
mov r8d, dword [r15 + rdx*4 + 0xc00]
shr eax, 0x10
movzx ecx, al
mov eax, r12d
xor r8d, dword [r15 + rcx*4 + 0x800]
shr eax, 8
movzx ecx, al
movzx eax, r12b
xor r8d, dword [r15 + rcx*4 + 0x400]
xor r8d, dword [r15 + rax*4]
xor r11d, r8d
xor ebx, r11d
mov dword [r14 + 0x70], r11d
xor edi, ebx
mov dword [r14 + 0x74], ebx
xor esi, edi
mov dword [r14 + 0x78], edi
mov eax, esi
mov dword [rsp + 0x1c], esi
mov dword [r14 + 0x7c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
mov r10d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
mov eax, esi
xor r10d, dword [r15 + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r10d, dword [r15 + rcx*4]
xor r10d, dword [r15 + rax*4 + 0xc00]
xor r10d, r9d
xor r10d, 8
mov dword [r14 + 0x80], r10d
xor ebp, r10d
mov dword [r14 + 0x84], ebp
xor r13d, ebp
mov dword [r14 + 0x88], r13d
xor r12d, r13d
mov dword [r14 + 0x8c], r12d
mov eax, r12d
mov dword [rsp + 0xc], r12d
shr eax, 0x18
movzx edx, al
mov eax, r12d
mov r8d, dword [r15 + rdx*4 + 0xc00]
shr eax, 0x10
movzx ecx, al
mov eax, r12d
xor r8d, dword [r15 + rcx*4 + 0x800]
shr eax, 8
movzx ecx, al
movzx eax, r12b
xor r8d, dword [r15 + rcx*4 + 0x400]
xor r8d, dword [r15 + rax*4]
xor r11d, r8d
mov dword [r14 + 0x90], r11d
xor ebx, r11d
mov dword [r14 + 0x94], ebx
xor edi, ebx
xor esi, edi
mov dword [r14 + 0x98], edi
mov dword [r14 + 0x9c], esi
mov eax, esi
mov dword [rsp + 0x1c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
mov r9d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
mov eax, esi
xor r9d, dword [r15 + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r9d, dword [r15 + rcx*4]
xor r9d, dword [r15 + rax*4 + 0xc00]
xor r9d, r10d
xor r9d, 0x10
xor ebp, r9d
mov dword [r14 + 0xa0], r9d
xor r13d, ebp
mov dword [r14 + 0xa4], ebp
xor r12d, r13d
mov dword [r14 + 0xa8], r13d
mov dword [r14 + 0xac], r12d
mov eax, r12d
mov dword [rsp + 0xc], r12d
shr eax, 0x18
movzx edx, al
mov eax, r12d
mov r8d, dword [r15 + rdx*4 + 0xc00]
shr eax, 0x10
movzx ecx, al
mov eax, r12d
xor r8d, dword [r15 + rcx*4 + 0x800]
shr eax, 8
movzx ecx, al
xor r8d, dword [r15 + rcx*4 + 0x400]
movzx eax, r12b
xor r8d, dword [r15 + rax*4]
xor r11d, r8d
mov dword [r14 + 0xb0], r11d
xor ebx, r11d
mov dword [r14 + 0xb4], ebx
xor edi, ebx
mov dword [r14 + 0xb8], edi
xor esi, edi
mov dword [r14 + 0xbc], esi
mov eax, esi
mov dword [rsp + 0x1c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
mov r10d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
mov eax, esi
xor r10d, dword [r15 + rcx*4 + 0x400]
shr eax, 8
movzx ecx, al
movzx eax, sil
xor r10d, dword [r15 + rcx*4]
xor r10d, dword [r15 + rax*4 + 0xc00]
xor r10d, r9d
xor r10d, 0x20
mov dword [r14 + 0xc0], r10d
xor ebp, r10d
mov dword [r14 + 0xc4], ebp
xor r13d, ebp
mov dword [r14 + 0xc8], r13d
xor r12d, r13d
mov dword [r14 + 0xcc], r12d
mov eax, r12d
mov dword [rsp + 0xc], r12d
shr eax, 0x18
movzx edx, al
mov eax, r12d
mov r8d, dword [r15 + rdx*4 + 0xc00]
shr eax, 0x10
movzx ecx, al
mov eax, r12d
xor r8d, dword [r15 + rcx*4 + 0x800]
shr eax, 8
movzx ecx, al
movzx eax, r12b
xor r8d, dword [r15 + rcx*4 + 0x400]
xor r8d, dword [r15 + rax*4]
xor r11d, r8d
mov dword [r14 + 0xd0], r11d
xor ebx, r11d
mov dword [r14 + 0xd4], ebx
xor edi, ebx
xor esi, edi
mov dword [r14 + 0xd8], edi
mov dword [r14 + 0xdc], esi
mov eax, esi
mov dword [rsp + 0x1c], esi
shr eax, 0x18
movzx edx, al
mov eax, esi
shr esi, 8
mov r8d, dword [r15 + rdx*4 + 0x800]
shr eax, 0x10
movzx ecx, al
movzx eax, sil
xor r8d, dword [r15 + rcx*4 + 0x400]
xor r8d, dword [r15 + rax*4]
movzx eax, byte [rsp + 0x1c]
xor r8d, dword [r15 + rax*4 + 0xc00]
mov dword [r14 + 0xf0], 0
xor r8d, r10d
xor r8d, 0x40
xor ebp, r8d
mov dword [r14 + 0xe0], r8d
xor r13d, ebp
mov dword [r14 + 0xe4], ebp
xor r12d, r13d
mov dword [r14 + 0xe8], r13d
mov dword [r14 + 0xec], r12d
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov byte [r14 + 0xf0], 0xe0
xor eax, eax
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret