Function at 0x4ed0d0
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 0x4ed12e
cmp dword [0x54f924], ebp
je 0x4ed12e
cmp esi, ebp
je 0x4ed109
lea eax, [esi + 0x1c]
jmp 0x4ed10b
xor eax, eax
push eax
lea ecx, [esi + 0x4a8]
call fcn.00422960
cmp eax, ebp
je 0x4ed12e
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 0x4ed1df
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 0x4ed1cd
mov ecx, dword [esi + 4]
push ebp
push ebp
push 0x1f
push ecx
call ebx
push edi
mov ecx, esi
call fcn.004ec7f0
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 [0x547570]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x54], 0x5423a8
push eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x78], ebp
mov dword [0x55f514], 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 0x4ed335
mov edx, dword [esi + 0x2bc]
push ebp
push 9
push 0x110a
push edx
call edi
mov ebx, eax
cmp ebx, ebp
jne 0x4ed307
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0x5423a8
cmp eax, ebp
je 0x4ed2d4
lea ecx, [esp + 0x54]
call fcn.0050a820
lea ecx, [esp + 0x7c]
call fcn.00405700
lea ecx, [esp + 0x78]
call fcn.00405700
mov eax, dword [esp + 0x58]
cmp eax, ebp
je 0x4ed7e6
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 0x4ed395
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0x5423a8
cmp eax, ebp
je 0x4ed3c9
jmp 0x4ed3c0
mov eax, dword [ebx]
cmp eax, ebp
jne 0x4ed3a7
mov edx, dword [esi + 0x3b4]
mov dword [esp + 0x2c], edx
jmp 0x4ed3ab
mov dword [esp + 0x2c], eax
cmp dword [ebx + 8], ebp
jne 0x4ed3f3
mov eax, dword [esp + 0x64]
mov dword [esp + 0x54], 0x5423a8
cmp eax, ebp
je 0x4ed3c9
lea ecx, [esp + 0x54]
call fcn.0050a820
lea ecx, [esp + 0x7c]
call fcn.00405700
lea ecx, [esp + 0x78]
call fcn.00405700
lea ecx, [esp + 0x58]
call fcn.0045ffc0
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.0050a6c0
test eax, eax
je 0x4ed7d4
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.0050a740
push 0x14
push 0x7fff
push 1
push ebp
push edi
lea ecx, [esp + 0x68]
call fcn.00509cf0
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.00509c60
mov ecx, dword [esp + 0x78]
mov edi, eax
mov edx, dword [ecx - 0xc]
lea eax, [ecx - 0xc]
cmp edx, ebp
jl 0x4ed4af
push eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x4ed4d5
mov edx, dword [0x547570]
cmp ecx, ebp
mov dword [esp + 0x10], edx
mov ebx, ecx
jne 0x4ed4c3
xor eax, eax
jmp 0x4ed4ca
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 0x4ed515
push ebp
push str.delete
lea ecx, [esp + 0x18]
call fcn.00405c70
test eax, eax
jne 0x4ed515
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 0x4ed53d
mov edx, dword [esi + 0x2bc]
push ebp
push 0x71
push 0x100
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x547570]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, 0x548fc4
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x4ed58b
push ecx
call ebx
mov edi, eax
cmp edi, ebp
je 0x4ed58b
push edi
lea ecx, [esp + 0x20]
call fcn.00405530
test eax, eax
je 0x4ed58b
mov edx, dword [esp + 0x1c]
inc edi
push edi
push 0x548fc4
push edx
call fcn.00405400
add esp, 0xc
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
call fcn.00405bb0
mov eax, dword [0x547570]
mov ecx, 0x550054
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x4ed5d3
push ecx
call ebx
mov edi, eax
cmp edi, ebp
je 0x4ed5d3
push edi
lea ecx, [esp + 0x2c]
call fcn.00405530
test eax, eax
je 0x4ed5d3
mov edx, dword [esp + 0x28]
inc edi
push edi
push 0x550054
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.004bd990
mov ecx, dword [0x547570]
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 [0x547570]
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 [0x547570]
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 [0x547574]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ed6c4
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ed6c4
mov edx, dword [esp + 0x48]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x3c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ed6ef
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ed6ef
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ed71a
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ed71a
mov edx, dword [esp + 0x20]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ed745
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ed745
mov edx, dword [esp + 0x28]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [esp + 0x1c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ed770
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ed770
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff4
push edx
call fcn.00532222
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.00413470
push eax
push ebp
push 0x40b
push esi
call ebx
mov eax, dword [esp + 0x2c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4ed7cb
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x4ed7cb
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00405700
lea ecx, [esp + 0x50]
call fcn.00411b70
lea ecx, [esp + 0x54]
call fcn.0045f170
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb0
ret 0x10