Function at 0x4088a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0x14
jne 0x4089a1
mov esi, esp
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
movzx ecx, byte [eax + 0x28]
and ecx, 0x40
jne 0x4089a1
mov esi, esp
push 0xffffffffffffffeb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
or ecx, 0x40
mov edx, dword [ebp - 4]
mov byte [edx], cl
mov esi, esp
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx]
and edx, 0xfffffff7
mov eax, dword [ebp - 8]
mov byte [eax], dl
mov esi, esp
push 0xffffffffffffffeb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx]
and eax, 0xffffffdf
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov esi, esp
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp esi, esp
call fcn.0040a650
mov esi, esp
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp esi, esp
call fcn.0040a650
mov edx, 1
test edx, edx
jne 0x408b86
cmp dword [ebp + 0x10], 1
jne 0x408aad
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
cmp esi, esp
call fcn.0040a650
test eax, eax
je 0x408aad
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409ee0
add esp, 4
movzx edx, al
test edx, edx
je 0x408aad
mov esi, esp
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
movzx ecx, byte [eax + 0x28]
and ecx, 0x20
jne 0x408aad
mov esi, esp
push 0xffffffffffffffeb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
or ecx, 0x20
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov esi, esp
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
and edx, 0xfffffff7
mov eax, dword [ebp - 0x14]
mov byte [eax], dl
mov esi, esp
push 0xffffffffffffffeb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx]
and eax, 0xffffffbf
mov ecx, dword [ebp - 0x18]
mov byte [ecx], al
mov esi, esp
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp esi, esp
call fcn.0040a650
mov esi, esp
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp esi, esp
call fcn.0040a650
mov edx, 1
test edx, edx
jne 0x408b86
cmp dword [ebp + 0x10], 0x14
je 0x408b86
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x408b86
mov esi, esp
push 0xffffffffffffffeb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
movzx edx, byte [eax + 0x28]
and edx, 8
jne 0x408b86
mov esi, esp
push 0xffffffffffffffeb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx]
or edx, 8
mov eax, dword [ebp - 0x1c]
mov byte [eax], dl
mov esi, esp
push 0xffffffffffffffeb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx]
and eax, 0xffffffbf
mov ecx, dword [ebp - 0x20]
mov byte [ecx], al
mov esi, esp
push 0xffffffffffffffeb
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.0040a650
add eax, 0x28
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx ecx, byte [eax]
and ecx, 0xffffffdf
mov edx, dword [ebp - 0x24]
mov byte [edx], cl
mov esi, esp
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp esi, esp
call fcn.0040a650
mov esi, esp
push eax
call dword [sym.imp.USER32.dll_SetCursor]
cmp esi, esp
call fcn.0040a650
cmp dword [ebp + 0x10], 1
jne 0x408ba8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x408ba8
mov esi, esp
push 0x4018c4
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.0040a650
mov eax, 1
pop esi
add esp, 0x24
cmp ebp, esp
call fcn.0040a650
mov esp, ebp
pop ebp
ret 0x10