Function at 0x4ec510
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xd0]
mov esi, ecx
xor ebp, ebp
mov dword [edi], ebp
mov eax, dword [esi + 0x4ac]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4ec56e
cmp dword [0x54e8b4], ebp
je 0x4ec56e
cmp esi, ebp
je 0x4ec549
lea eax, [esi + 0x1c]
jmp 0x4ec54b
xor eax, eax
push eax
lea ecx, [esi + 0x4a8]
call fcn.00422a90
cmp eax, ebp
je 0x4ec56e
mov dword [edi], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret 0x10
mov edi, dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [esp + 0x20]
push ecx
call edi
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x270]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x30], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
lea edx, [esp + 0xb4]
push ecx
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4ec61f
mov ecx, dword [esi + 0x22c]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi + 0x22c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x2c]
push edx
push ebp
push 0x445
push eax
call ebx
mov edi, eax
cmp edi, ebp
jl 0x4ec60d
mov ecx, dword [esi + 4]
push ebp
push ebp
push 0x1f
push ecx
call ebx
push edi
mov ecx, esi
call fcn.004ebc30
mov edx, dword [esp + 0xd0]
mov dword [edx], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xb0
ret 0x10
mov eax, dword [0x546560]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x54], 0x5413a8
push eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x78], ebp
mov dword [0x55e45c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x88], 1
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x74], ebp
call edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x2bc]
lea eax, [esp + 0x14]
mov dword [esp + 0x24], edx
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x2bc]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push 9
push 0x110a
push edx
call edi
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x2bc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
push eax
push ebp
push 0x1111
push ecx
call edi
mov ebx, eax
cmp ebx, ebp
jne 0x4ec775
mov edx, dword [esi + 0x2bc]
push ebp
push 9
push 0x110a
push edx
call edi
mov ebx, eax
cmp ebx, ebp
jne 0x4ec747
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0x5413a8
cmp eax, ebp
je 0x4ec714
lea ecx, [esp + 0x54]
call fcn.00509cc0
lea ecx, [esp + 0x7c]
call fcn.00405700
lea ecx, [esp + 0x78]
call fcn.00405700
mov eax, dword [esp + 0x58]
cmp eax, ebp
je 0x4ecc26
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x10
xor eax, eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x2bc]
xor ecx, ecx
push edx
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x2bc]
lea eax, [esp + 0x88]
push eax
push ebp
push 0x113e
push ecx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], 4
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0xac]
neg eax
sbb eax, eax
and eax, ecx
mov ebx, eax
jne 0x4ec7d5
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0x5413a8
cmp eax, ebp
je 0x4ec809
jmp 0x4ec800
mov eax, dword [ebx]
cmp eax, ebp
jne 0x4ec7e7
mov edx, dword [esi + 0x3b4]
mov dword [esp + 0x2c], edx
jmp 0x4ec7eb
mov dword [esp + 0x2c], eax
cmp dword [ebx + 8], ebp
jne 0x4ec833
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0x5413a8
cmp eax, ebp
je 0x4ec809
lea ecx, [esp + 0x54]
call fcn.00509cc0
lea ecx, [esp + 0x7c]
call fcn.00405700
lea ecx, [esp + 0x78]
call fcn.00405700
lea ecx, [esp + 0x58]
call fcn.0045f6e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x10
mov dword [esp + 0x50], ebp
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov edi, eax
mov eax, dword [ebx + 8]
push eax
push ecx
lea ecx, [esp + 0x5c]
call fcn.00509b60
test eax, eax
je 0x4ecc14
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x270]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 4]
mov dword [esp + 0x80], ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], eax
call fcn.00509be0
push 0x14
push 0x7fff
push 1
push ebp
push edi
lea ecx, [esp + 0x68]
call fcn.00509190
mov eax, dword [esi + 0x270]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x18]
push ebp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x18]
push ecx
push ebp
push edx
push eax
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ecx, dword [esi + 4]
push ecx
push eax
lea ecx, [esp + 0x5c]
call fcn.00509100
mov ecx, dword [esp + 0x78]
mov edi, eax
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebp
jl 0x4ec8ef
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4ec915
mov edx, dword [0x546560]
cmp ecx, ebp
mov dword [esp + 0x10], edx
mov ebx, ecx
jne 0x4ec903
xor eax, eax
jmp 0x4ec90a
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [esp + 0x18]
call fcn.00405870
lea ecx, [esp + 0x10]
call fcn.004055c0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
cmp edi, ebp
je 0x4ec955
push ebp
push str.delete
lea ecx, [esp + 0x18]
call fcn.00405c70
test eax, eax
jne 0x4ec955
mov ecx, dword [esi + 4]
push ebp
push 0x1f4
push 0x3e8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push ebp
push str.rename
lea ecx, [esp + 0x18]
call fcn.00405c70
test eax, eax
jne 0x4ec97d
mov edx, dword [esi + 0x2bc]
push ebp
push 0x71
push 0x100
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x546560]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x547fa4
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4ec9cb
push ecx
call ebx
mov edi, eax
cmp edi, ebp
je 0x4ec9cb
push edi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4ec9cb
mov edx, dword [esp + 0x1c]
inc edi
push edi
push 0x547fa4
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x546560]
mov ecx, 0x54efe4
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x4eca13
push ecx
call ebx
mov edi, eax
cmp edi, ebp
je 0x4eca13
push edi
lea ecx, [esp + 0x2c]
call fcn.00405530
test eax, eax
je 0x4eca13
mov edx, dword [esp + 0x28]
inc edi
push edi
push 0x54efe4
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x28]
push 0xffffffffffffffff
call fcn.00405bb0
lea eax, [esp + 0x20]
push 0x12
push eax
call fcn.004bc8d0
mov ecx, dword [0x546560]
mov eax, dword [eax]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x30]
add esp, 8
mov edx, dword [ecx - 8]
push ecx
push edx
push eax
mov eax, dword [eax - 8]
push eax
lea ecx, [esp + 0x5c]
call fcn.004059f0
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00405440
lea ecx, [esp + 0x4c]
call fcn.00405700
mov edx, dword [0x546560]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x40], edx
push eax
mov eax, dword [eax - 8]
push eax
mov eax, dword [esp + 0x44]
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [esp + 0x50]
call fcn.004059f0
lea edx, [esp + 0x40]
lea ecx, [esp + 0x48]
push edx
call fcn.00405440
lea ecx, [esp + 0x40]
call fcn.00405700
mov eax, dword [0x546560]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0x4c]
push ecx
push eax
mov edx, dword [eax - 8]
lea ecx, [esp + 0x50]
push edx
call fcn.004059f0
lea eax, [esp + 0x44]
lea ecx, [esp + 0x2c]
push eax
call fcn.00405440
lea ecx, [esp + 0x44]
call fcn.00405700
mov eax, dword [esp + 0x48]
mov edx, dword [0x546564]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ecb04
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ecb04
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ecb2f
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ecb2f
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ecb5a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ecb5a
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ecb85
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ecb85
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ecbb0
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ecbb0
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
mov eax, dword [esi + 0x270]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push ebp
push 0x409
push eax
call ebx
mov esi, dword [esi + 0x270]
push ebp
lea ecx, [esp + 0x30]
call fcn.00413620
push eax
push ebp
push 0x40b
push esi
call ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [0x546564]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ecc0b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ecc0b
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00531732
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x50]
call fcn.00411d20
lea ecx, [esp + 0x54]
call fcn.0045e870
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x10