Function at 0x402296
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x58], 0
je 0x40231d
cmp dword [ebp + 8], 0x84
jne 0x40231d
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
mov dword [ebp - 8], edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x48
call fcn.00402f60
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x402318
mov edx, dword [ebp + 0x14]
mov dword [edx], 0x11
mov dword [ebp - 4], 1
jmp 0x402748
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x58], 0
je 0x402393
cmp dword [ebp + 8], 0xf
jne 0x402393
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x10], eax
push 8
push 3
mov edx, dword [ebp - 0x48]
add edx, 0x48
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [ebp - 4], 1
jmp 0x402748
cmp dword [ebp + 8], 2
jne 0x4023a8
push 0
mov ecx, dword [ebp - 0x48]
call fcn.004019dc
jmp 0x402748
cmp dword [ebp + 8], 5
jne 0x40243b
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
push eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.00401f18
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x58], 0
je 0x40242f
push 1
mov ecx, dword [ebp - 0x48]
add ecx, 0x48
call fcn.00402f60
push eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
mov edx, dword [ebp - 0x48]
add edx, 0x48
push edx
mov ecx, dword [ebp - 0x48]
call fcn.00402856
mov dword [ebp - 4], 1
jmp 0x402748
cmp dword [ebp + 8], 0x24
jne 0x402500
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x2c], 0xffffffff
jne 0x402485
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 0x30], 0xffffffff
jne 0x40249a
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [edx + 0x30], ecx
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x24], 0xffffffff
jne 0x4024af
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x28], 0xffffffff
jne 0x4024c4
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x2c]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x30]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x24], eax
mov dword [ebp - 4], 1
jmp 0x402748
mov ecx, dword [ebp - 0x48]
cmp dword [ecx + 4], 0
jne 0x402748
cmp dword [ebp + 8], 0x200
jne 0x402635
mov edx, dword [ebp - 0x48]
cmp dword [edx + 0x38], 0
je 0x402630
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x44], 0
jne 0x402630
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x44], 1
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x2c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x28]
add eax, dword [edx + 0x40]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
sub ecx, 0xa
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x4c], 7
ja case.default.0x4025a4
mov edx, dword [ebp - 0x4c]
jmp dword [edx*4 + 0x402751]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
jmp case.default.0x4025a4
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
jmp case.default.0x4025a4
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
jmp case.default.0x4025a4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x402626
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x44], edx
push 0x14
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x44], 0
jmp 0x402748
cmp dword [ebp + 8], 0xa1
jne 0x402726
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x38], eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
sub edx, 0xa
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 7
ja case.default.0x402695
mov eax, dword [ebp - 0x50]
jmp dword [eax*4 + 0x402771]
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x3c], ecx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x40], eax
jmp 0x40270e
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x3c], edx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x40], ecx
jmp 0x40270e
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x40], eax
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x3c], edx
jmp 0x40270e
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x40], ecx
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x3c], eax
jmp 0x40270e
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x38], 0
je 0x402724
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x402748
cmp dword [ebp + 8], 0x202
jne 0x402748
mov eax, dword [ebp - 0x48]
cmp dword [eax + 0x38], 0
je 0x402748
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x38], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10