Function at 0x418583
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
push esi
mov dword [eax], 1
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push edi
movzx ecx, ax
shr eax, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
xor edi, edi
push eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edi
call esi
lea eax, [ebp - 0x34]
push eax
call esi
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
push eax
push edi
push 0x130d
push dword [ebx + 0x4c]
call esi
mov ecx, dword [ebp - 0x28]
cmp eax, edi
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x1c], ecx
jl 0x41861a
lea ecx, [ebp - 0x44]
push ecx
push eax
push 0x130a
push dword [ebx + 0x4c]
call esi
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], ecx
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [sym.imp.USER32.dll_CreatePopupMenu]
call esi
mov dword [ebp + 0x14], eax
call esi
cmp dword [ebp + 0x10], edi
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
mov dword [ebp - 8], eax
jl 0x41868b
lea eax, [ebp - 4]
push 0xc806
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafc9
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 4]
call fcn.004038fb
lea eax, [ebp - 4]
push 0x120
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafca
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 4]
call fcn.004038fb
push edi
push edi
push 0x800
push dword [ebp + 0x14]
call esi
lea eax, [ebp - 4]
push 0xc808
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafcb
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 4]
call fcn.004038fb
push 0x4b0df8
lea ecx, [ebp - 4]
call fcn.00403927
lea eax, [ebp - 0x18]
push 0xc800
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push 0x1637a
push eax
call fcn.00461770
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
push dword [eax]
push 0xb25f
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea eax, [ebp - 0x18]
push 0x4e24
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafcc
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea eax, [ebp - 0x18]
push 0xc807
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafcd
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 0x18]
call fcn.004038fb
push str.New_.qdr_Workplace__Betta_
push 0xafd1
push edi
push dword [ebp + 0x14]
call esi
cmp dword [0x4c42ac], edi
je 0x4187e3
push edi
push edi
push 0x800
push dword [ebp + 0x14]
call esi
lea eax, [ebp - 0x18]
push 0xc817
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafcf
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea eax, [ebp - 0x18]
push 0xc818
push eax
call fcn.00461770
pop ecx
pop ecx
push dword [eax]
push 0xafd0
push edi
push dword [ebp + 0x14]
call esi
lea ecx, [ebp - 0x18]
call fcn.004038fb
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00416df7
cmp eax, edi
mov dword [ebp - 4], eax
je 0x418834
cmp dword [0x4b4120], edi
je 0x418834
push edi
push edi
push 0x800
push dword [ebp + 0x14]
call esi
push dword [ebp + 0x14]
mov eax, dword [ebp - 4]
add eax, 0x28
push dword [ebx + 4]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ecx
push ecx
mov ecx, esp
push eax
call fcn.004171b4
call fcn.00432602
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0x18
jmp 0x418862
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0x130b
push dword [ebx + 0x4c]
call esi
push edi
mov dword [ebp + 0x10], eax
push dword [ebx + 4]
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0x102
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, 0xafc9
jne 0x418878
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.00418103
jmp 0x41894b
cmp eax, 0xafca
jne 0x4188b2
push edi
push edi
push 0x130b
push dword [ebx + 0x4c]
call esi
cmp dword [ebp + 0x10], eax
je 0x4188a5
push edi
push dword [ebp + 0x10]
push 0x130c
push dword [ebx + 0x4c]
call esi
mov ecx, ebx
call fcn.004181e4
mov ecx, dword [ebx + 0x34]
call fcn.00478702
jmp 0x41894b
cmp eax, 0xafcb
jne 0x4188ca
push 0xffffffffffffffff
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.00418998
jmp 0x41894b
cmp eax, 0xafcc
jne 0x4188f4
mov ecx, dword [ebx + 0x34]
push edi
call fcn.004704fe
mov eax, dword [ebp + 0x10]
inc eax
push eax
push ecx
push ecx
mov ecx, dword [ebx + 0x34]
push esp
call fcn.0046e156
mov ecx, dword [ebx + 0x34]
call fcn.0047808d
jmp 0x41894b
cmp eax, 0xafcd
jne 0x41891d
cmp dword [ebp - 4], edi
jne 0x418917
push edi
push edi
push 0x1304
push dword [ebx + 0x4c]
call esi
mov ecx, dword [ebx + 0x34]
push eax
call fcn.00477eaf
jmp 0x41894b
mov eax, dword [ebp + 0x10]
inc eax
jmp 0x41890c
cmp eax, 0xafce
je 0x41894b
cmp eax, 0xafcf
je 0x41894b
cmp eax, 0xafd1
jne 0x41893c
mov ecx, dword [ebx + 0x34]
call fcn.00474236
jmp 0x41894b
cmp eax, 0xb25f
jne 0x41894b
mov ecx, dword [ebx + 0x34]
call fcn.00479427
cmp dword [ebp - 8], edi
mov esi, dword [sym.imp.USER32.dll_DestroyMenu]
je 0x41895b
push dword [ebp - 8]
call esi
cmp dword [ebp + 0x14], edi
je 0x418965
push dword [ebp + 0x14]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10