Function at 0x42bf00
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov esi, ecx
cmp eax, 1
jne 0x42c05b
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
xor edi, edi
lea ecx, [esp + 0x18]
mov ebx, eax
push ecx
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call ebp
test eax, eax
je 0x42c15f
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42c15f
cmp dword [esi + 0x19c], edi
je 0x42bf9f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x42bf9f
mov eax, dword [esi + 0x58]
push 1
push eax
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x140]
cmp eax, edi
je 0x42c15f
mov ecx, dword [eax + 0x58]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c15f
mov edx, dword [esi + 0x58]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x1d0]
cmp eax, edi
je 0x42bffd
mov ecx, dword [esi + 0x140]
mov eax, dword [eax + 0xb4]
cmp eax, dword [ecx + 0x1ac]
je 0x42bffd
mov ecx, dword [ecx + 0x58]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x140]
mov ecx, dword [eax + 0x58]
lea edx, [esp + 0x18]
push edx
push ecx
call ebp
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x42c041
mov edx, dword [esi + 0x140]
mov eax, dword [edx + 0x58]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esi + 0x140]
mov edx, dword [ecx + 0x58]
push edx
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
cmp eax, 2
jne 0x42c15f
xor edi, edi
cmp dword [esi + 0x19c], edi
je 0x42c083
push eax
mov eax, dword [esi + 0x58]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esi + 0x58]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call ebx
test eax, eax
je 0x42c15f
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x42c15f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebp, dword [sym.imp.USER32.dll_PtInRect]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call ebp
test eax, eax
je 0x42c100
mov esi, dword [esi + 0x58]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, esi
je 0x42c15f
push esi
call dword [sym.imp.USER32.dll_SetCapture]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esi + 0x140]
cmp eax, edi
je 0x42c15f
mov ecx, dword [eax + 0x58]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c15f
mov eax, dword [esi + 0x140]
mov ecx, dword [eax + 0x58]
lea edx, [esp + 0x18]
push edx
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call ebp
test eax, eax
je 0x42c15f
mov edi, dword [esi + 0x140]
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [edi + 0x58]
je 0x42c15f
mov edx, dword [esi + 0x140]
mov eax, dword [edx + 0x58]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret