Function at 0x410530
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 0x34]
push edi
xor ebx, ebx
xor edi, edi
cmp eax, ebx
je 0x410609
cmp ecx, 0x84
jne 0x4105aa
mov eax, dword [esp + 0x40]
movzx ecx, ax
shr eax, 0x10
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x14]
push edx
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
add esi, 0x48
push esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4108ea
mov eax, dword [esp + 0x44]
mov edi, 1
mov dword [eax], 0x11
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp eax, ebx
je 0x410609
cmp ecx, 0xf
jne 0x410609
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 8]
push edx
push 0xf
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov edx, dword [esp + 0x44]
mov dword [edx], eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push 8
push 3
lea ecx, [esi + 0x48]
mov edi, eax
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov edx, dword [esi + 0x14]
push edi
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp ecx, 2
jne 0x410621
push ebx
mov ecx, esi
call fcn.00410290
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp ecx, 5
jne 0x410685
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 8]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov edx, edi
shr edx, 0x10
movzx eax, di
push edx
push eax
mov ecx, esi
call fcn.004103c0
cmp dword [esi + 0x58], ebx
je 0x410675
mov ecx, dword [esi + 0x14]
push 1
lea edi, [esi + 0x48]
push edi
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push edi
mov ecx, esi
call fcn.0040ff50
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp ecx, 0x24
jne 0x410700
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x14]
push edi
push edx
push ecx
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov edx, dword [esp + 0x44]
mov dword [edx], eax
or eax, 0xffffffff
cmp dword [esi + 0x2c], eax
jne 0x4106b7
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x2c], ecx
cmp dword [esi + 0x30], eax
jne 0x4106c2
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x30], edx
cmp dword [esi + 0x24], eax
jne 0x4106cd
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x24], ecx
cmp dword [esi + 0x28], eax
jne 0x4106d8
mov edx, dword [edi + 0x24]
mov dword [esi + 0x28], edx
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x30]
mov dword [edi + 0x1c], ecx
mov edx, dword [esi + 0x24]
mov dword [edi + 0x20], edx
mov eax, dword [esi + 0x28]
mov dword [edi + 0x24], eax
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp dword [esi + 4], ebx
jne 0x4108ea
cmp ecx, 0x200
jne 0x410815
cmp dword [esi + 0x38], ebx
je 0x4108ea
cmp dword [esi + 0x44], ebx
jne 0x4108ea
lea ecx, [esp + 0xc]
push ecx
mov dword [esi + 0x44], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x3c]
add dword [esp + 0xc], edx
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x40]
add dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x38]
add eax, 0xfffffff6
cmp eax, 7
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
ja case.default.0x410781
jmp dword [eax*4 + 0x4108f8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], edx
jmp case.default.0x410781
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
jmp case.default.0x410781
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
jmp case.default.0x410781
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
jne 0x410807
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0x14
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x14]
push ecx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, edi
pop edi
mov dword [esi + 0x44], ebx
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp ecx, 0xa1
jne 0x4108d4
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x38], eax
add eax, 0xfffffff6
cmp eax, 7
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
ja case.default.0x410850
jmp dword [eax*4 + 0x410918]
mov ecx, dword [esp + 0x14]
sub ecx, dword [esp + 0xc]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x18]
sub edx, dword [esp + 0x10]
mov dword [esi + 0x40], edx
jmp 0x4108ba
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0xc]
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x10]
mov dword [esi + 0x40], ecx
jmp 0x4108ba
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x10]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0xc]
mov dword [esi + 0x3c], eax
jmp 0x4108ba
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov dword [esi + 0x40], ecx
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0xc]
mov dword [esi + 0x3c], edx
jmp 0x4108ba
mov dword [esi + 0x38], ebx
cmp dword [esi + 0x38], ebx
je 0x4108ea
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10
cmp ecx, 0x202
jne 0x4108ea
cmp dword [esi + 0x38], ebx
je 0x4108ea
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [esi + 0x38], ebx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0x28
ret 0x10