Function at 0x4a2800
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x24
push edi
mov edi, ecx
cmp eax, 7
ja case.default.0x4a2816
push esi
jmp dword [eax*4 + 0x4a2c64]
push 6
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x10ec]
test ecx, ecx
je case.0x4a2816.2
mov eax, dword [ecx]
push 0
call dword [eax + 0x90]
jmp case.0x4a2816.2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.0047aee0
mov ecx, dword [edi + 0x1114]
mov eax, dword [eax + 0x40]
add ecx, eax
mov dword [edi + 0x1114], ecx
cmp ecx, 0x2710
jg 0x4a28e9
mov esi, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [edi + 0x110c]
mov ecx, dword [ebp - 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4a2a28
mov eax, ecx
sub eax, dword [edi + 0x1110]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4a2a28
mov ecx, dword [edi + 0x10f0]
push dword [edi + 0x1104]
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
test eax, eax
je 0x4a28fe
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
push 1
push ecx
mov ecx, eax
call dword [edx + 0x1c]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
je 0x4a28fe
push 4
mov ecx, edi
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp case.0x4a2816.2
push 4
mov ecx, edi
mov dword [edi + 0x1114], 0
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x10f0]
add ecx, 0x560
push 1
push 0
push dword [edi + 0x1104]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp case.0x4a2816.2
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.0047aee0
mov ecx, dword [edi + 0x1114]
mov eax, dword [eax + 0x44]
add ecx, eax
mov dword [edi + 0x1114], ecx
cmp ecx, 0x2710
jg 0x4a29d9
mov esi, dword [ebp - 0x14]
mov eax, esi
sub eax, dword [edi + 0x110c]
mov ecx, dword [ebp - 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4a2a28
mov eax, ecx
sub eax, dword [edi + 0x1110]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x4a2a28
mov ecx, dword [edi + 0x10f4]
push dword [edi + 0x1108]
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
test eax, eax
je 0x4a29ee
mov edx, dword [eax]
lea ecx, [ebp - 0x24]
push 1
push ecx
mov ecx, eax
call dword [edx + 0x1c]
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
je 0x4a29ee
push 5
mov ecx, edi
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
jmp case.0x4a2816.2
push 5
mov ecx, edi
mov dword [edi + 0x1114], 0
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x10f4]
add ecx, 0x560
push 1
push 0
push dword [edi + 0x1108]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp case.0x4a2816.2
mov dword [edi + 0x110c], esi
mov dword [edi + 0x1110], ecx
jmp case.0x4a2816.2
push 0
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [edi + 0x284], 0
jmp case.0x4a2816.2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 8]
mov esi, dword [sym.imp.USER32.dll_PtInRect]
lea eax, [ebp - 0x24]
push dword [ebp - 0xc]
push eax
call esi
test eax, eax
je 0x4a2ae4
cmp dword [edi + 0x288], 0
jne case.0x4a2816.2
call fcn.0047aee0
cmp dword [eax + 0x28], 0
jle 0x4a2ad5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 0x270], 0
mov esi, eax
jne 0x4a2ab7
mov dword [edi + 0x270], esi
call fcn.0047aee0
sub esi, dword [edi + 0x270]
cmp esi, dword [eax + 0x28]
jb case.0x4a2816.2
mov dword [edi + 0x270], 0
mov dword [edi + 0x274], 0
jmp case.0x4a2816.2
mov eax, dword [edi + 0xb4]
mov dword [edi + 0x270], 0
test eax, eax
je 0x4a2b15
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a2b15
push 0
push 0
push 0x18
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
push 0xa
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push dword [ebp - 8]
lea eax, [ebp - 0x24]
push dword [ebp - 0xc]
push eax
call esi
test eax, eax
jne case.0x4a2816.2
cmp byte [edi + 0x1144], al
jne case.0x4a2816.2
cmp dword [edi + 0x284], eax
jne case.0x4a2816.2
mov dword [edi + 0x274], 1
jmp case.0x4a2816.2
push ebx
push 3
call fcn.004237c0
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call esi
push 1
mov dword [ebp - 4], eax
call esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x20]
xor esi, esi
mov eax, dword [ebp - 0x24]
test edx, edx
mov ecx, dword [ebp - 4]
cmovns esi, edx
xor ebx, ebx
test eax, eax
cmovns ebx, eax
cmp dword [ebp - 0x1c], ecx
jle 0x4a2bcd
mov ebx, eax
sub ebx, dword [ebp - 0x1c]
add ebx, ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
cmp eax, ecx
jle 0x4a2bdd
mov esi, edx
sub esi, eax
add esi, ecx
call fcn.0047aee0
mov dword [eax + 0x5c], ebx
call fcn.0047aee0
mov dword [eax + 0x60], esi
mov esi, dword [ebp - 0x1c]
sub esi, dword [ebp - 0x24]
call fcn.0047aee0
mov dword [eax + 0x54], esi
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x20]
call fcn.0047aee0
mov dword [eax + 0x58], esi
call fcn.0047aee0
lea ecx, [eax + 0x48]
mov eax, dword [edi + 0x1540]
mov dword [ecx], eax
call fcn.0047aee0
lea ecx, [eax + 0x4c]
mov eax, dword [edi + 0x1544]
mov dword [ecx], eax
call fcn.0047aee0
mov ecx, eax
call fcn.004a5150
pop ebx
jmp case.0x4a2816.2
push 0
call fcn.004a7f50
pop esi
mov eax, dword [ebp + 0x14]
mov ecx, edi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov dword [eax], 0
push dword [ebp + 8]
call fcn.00438a00
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10