Function at 0x4060e0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov eax, dword [0x43c040]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0xc], esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
cmp eax, 0x111
ja 0x4063ce
je 0x4063ab
cmp eax, 0x4e
ja 0x406335
je 0x40626d
sub eax, 2
je 0x40624e
sub eax, 3
je 0x406223
sub eax, 0xa
jne 0x406527
mov eax, dword [edi + 8]
lea ecx, [esp + 0x38]
push ecx
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov esi, eax
test esi, esi
je 0x406527
mov eax, dword [edi + 0x84]
test al, 4
je 0x406175
mov dword [esp + 0xc], 6
jmp 0x406181
test al, 1
je 0x4061f1
mov dword [esp + 0xc], 2
lea eax, [esp + 0x24]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4061ce
push dword [esp + 0xc]
push 1
push eax
call dword [sym.imp.UxTheme.dll_IsThemeBackgroundPartiallyTransparent]
test eax, eax
je 0x4061b7
lea eax, [esp + 0x24]
push eax
push esi
push dword [esp + 0x18]
call dword [sym.imp.UxTheme.dll_DrawThemeParentBackground]
push 0
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x14]
push 1
push esi
push dword [edi + 0x4c]
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
lea eax, [esp + 0x38]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 0x54]
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x38]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
mov eax, esi
shr eax, 0x10
cwde
push eax
movsx eax, si
push eax
push ecx
push dword [edi + 8]
mov ecx, edi
call fcn.00404700
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
push dword [edi + 8]
mov ecx, edi
call fcn.00404a10
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 8]
cmp eax, 0xfffffd3a
je 0x4062b5
cmp eax, 0xfffffff4
jne 0x406527
cmp ecx, 2
jne 0x406527
push esi
mov ecx, edi
call fcn.00403c10
push eax
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0xc]
cmp eax, 0x640
jne 0x406527
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x433
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea eax, [esp + 0x14]
push eax
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_MapWindowPoints]
movups xmm0, xmmword [esp + 0x10]
push 0
push dword [edi + 0x1734]
mov dword [esp + 0x2c], 0x14
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.USER32.dll_GetSubMenu]
lea ecx, [esp + 0x24]
push ecx
push dword [edi + 8]
push dword [esp + 0x24]
push dword [esp + 0x1c]
push 0x40
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x7b
je 0x406365
cmp eax, 0x110
jne 0x406527
sub esp, 8
mov ecx, edi
push dword [edi + 8]
call fcn.00403df0
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push dword [edi + 0x1730]
call dword [sym.imp.USER32.dll_GetSubMenu]
push 0
push dword [edi + 8]
push 0
push dword [esp + 0x20]
push dword [esp + 0x20]
push 0x40
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
push ecx
push esi
movzx eax, cx
push eax
push ecx
mov ecx, edi
call fcn.00404f80
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x204
ja 0x406495
je 0x40650d
sub eax, 0x135
je 0x406430
sub eax, 3
je 0x40640b
sub eax, 0xc9
je 0x40650d
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x321
jne 0x406428
push 0x6c6c6c
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [esp + 0x10]
jmp 0x406433
push 1
push ecx
mov esi, dword [edi + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x28]
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov esi, dword [esp + 0xc]
push 4
push esi
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov eax, dword [esp + 0x28]
push 0
neg eax
push eax
mov eax, dword [esp + 0x2c]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
mov eax, dword [edi + 0x50]
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x210
je 0x4064c4
cmp eax, 0x8008
jne 0x406527
push ecx
mov ecx, edi
call fcn.00402f80
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc
cmp ecx, 0x201
je 0x4064d4
cmp ecx, 0x204
jne 0x406527
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x24]
push eax
push 2
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x406527
push 0
push dword [edi + 0x68]
push 0x8002
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x7c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041bbdc
mov esp, ebp
pop ebp
ret 0xc