Function at 0x4dfbe0
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x586d92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x460
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, 1
mov eax, dword [esi + 0x1bc]
mov ebx, dword [esi + 0x1c4]
cmp eax, edi
mov dword [esp + 0x28], ebx
jne 0x4e0153
cmp ebx, 7
je 0x4dfd87
cmp ebx, 0x10
jne 0x4e0153
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
lea edi, [esi + 0x19c]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x40], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x48], edx
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4e011f
push esi
lea ecx, [esp + 0x60]
call fcn.00572dba
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x480], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x38]
lea edx, [esi + 0x104]
sub ecx, ebp
mov dword [esp + 0x10], eax
test edx, edx
mov dword [esp + 0x14], ecx
je 0x4dfcd7
mov edx, dword [edx + 4]
push 0xcc0020
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
push 0
push 0
push edx
mov edx, dword [esp + 0x70]
push ecx
push eax
push 0
push 0
push edx
call ebx
mov ecx, esi
call fcn.004de650
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov ebp, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
mov edi, dword [edi]
lea edx, [esi + 0x174]
sub ecx, ebp
mov ebp, dword [esi + 0x1a0]
test edx, edx
je 0x4dfd1f
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 0x108]
push ecx
push ebp
push edi
push eax
call ebx
lea eax, [esi + 0x104]
test eax, eax
je 0x4dfd43
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esp + 0x70]
push ecx
push edx
push 0
push 0
push eax
call ebx
mov ecx, dword [esi + 0x1cc]
or eax, 0xffffffff
mov dword [esi + 0x1c4], ecx
mov dword [esi + 0x1bc], eax
mov dword [esp + 0x478], eax
lea ecx, [esp + 0x5c]
jmp 0x4e0116
push esi
lea ecx, [esp + 0x60]
call fcn.00572dba
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x2c]
push edx
push eax
mov dword [esp + 0x480], edi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
sub ecx, ebx
lea ebx, [esi + 0x104]
sub edx, edi
mov dword [esp + 0x50], ecx
test ebx, ebx
mov dword [esp + 0x58], edx
jne 0x4dfdd1
xor eax, eax
jmp 0x4dfdd4
mov eax, dword [ebx + 4]
push 0xcc0020
push 0
push 0
push eax
push edx
push ecx
mov ecx, dword [esp + 0x78]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0x5f3788
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x60]
mov byte [esp + 0x478], 2
test eax, eax
je 0x4dfe19
lea edx, [esp + 0x10]
lea ecx, [esi + 0x40]
push edx
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esp + 0x10]
push 0x5f3788
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4dfe37
mov ecx, esi
call fcn.004de650
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea ebp, [esi + 0x18c]
mov ecx, ebp
mov edx, dword [ecx]
mov dword [esp + 0x3c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x40], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esi + 0x8c]
mov dword [esp + 0x50], eax
call sub.MFC42.DLL_CRectTracker::HitTest
cmp eax, 0xffffffff
je 0x4dfe9e
cmp eax, 8
je 0x4dfe9e
mov dword [esi + 0x1c0], eax
jmp 0x4e00f6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4e00f6
mov ecx, dword [esi + 0xfc]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
cmp dword [esi + 0x1f0], 1
jne 0x4dfedd
push 1
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
jmp 0x4dfef4
push 2
mov ecx, ebx
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esi + 0x100]
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x34]
cmp dword [esi + 0x1f0], 2
jne 0x4dff23
mov edx, dword [ebx]
push 8
mov ecx, ebx
call dword [edx + 0x2c]
mov edi, eax
mov eax, dword [esi + 0x100]
push eax
push ebp
mov ecx, ebx
call sub.MFC42.DLL_CDC::FillSolidRect_1
test edi, edi
je 0x4dff23
push edi
mov ecx, ebx
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4e0095
push 0x5f3788
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push 0x5f3788
lea ecx, [esp + 0x28]
mov byte [esp + 0x47c], 3
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x24]
mov byte [esp + 0x478], 4
push ecx
lea ecx, [esi + 0x40]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0x24]
push 0x5f3788
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4e0073
mov eax, dword [ebx]
lea ecx, [esi + 0x23c]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [esi + 0x60]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xba
push edx
mov dword [esp + 0x5c], eax
call ebp
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x4e004e
mov eax, dword [esi + 0x60]
push 0
push edi
push 0xbb
push eax
call ebp
mov ecx, dword [esi + 0x60]
push 0
push eax
push 0xc1
push ecx
call ebp
test eax, eax
je 0x4e0028
mov eax, dword [esi + 0x60]
lea edx, [esp + 0x70]
push edx
push edi
push 0xc4
push eax
mov word [esp + 0x80], 0x3ff
call ebp
lea ecx, [esp + 0x70]
mov byte [esp + eax + 0x70], 0
push ecx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_3
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x47c], 5
call fcn.00572d2a
lea ecx, [esp + 0x54]
mov byte [esp + 0x478], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea eax, [edx - 1]
cmp edi, eax
je 0x4e0041
push 0x5e1dc0
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x4dffb7
mov ecx, dword [esp + 0x18]
mov edi, dword [ebx]
lea eax, [esi + 0x18c]
push 0x10
mov edx, dword [ecx - 8]
push eax
push edx
push ecx
mov ecx, ebx
call dword [edi + 0x70]
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x30]
lea ecx, [esp + 0x24]
mov byte [esp + 0x478], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x478], 2
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x40]
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0x5f3788
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowTextA
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esi + 0x94]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_SetRect]
test ebx, ebx
je 0x4e00c9
mov ebx, dword [ebx + 4]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x60]
push 0xcc0020
push 0
push 0
push ebx
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esi + 0x1bc], 0xffffffff
lea ecx, [esp + 0x10]
mov byte [esp + 0x478], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x478], 0xffffffff
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CClientDC::CClientDC
mov ebx, dword [esp + 0x28]
mov edi, dword [esi + 0x1c4]
xor ecx, ecx
xor eax, eax
push ecx
push eax
push 1
mov ecx, esi
mov dword [esi + 0x1c4], ebx
call fcn.004dc100
cmp edi, 7
mov dword [esi + 0x1c4], edi
jne 0x4e0153
cmp ebx, edi
jne 0x4e0153
mov dword [esi + 0x1bc], 0xffffffff
mov ecx, dword [esp + 0x470]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x46c
ret