Function at 0x40eab0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cc00
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x45d01c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 9
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.MinButton
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.004076f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push ecx
push 0
push eax
lea ecx, [esi + 0x24]
call fcn.0041a8c0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40eb71
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed2d
push edx
push ecx
call fcn.00428145
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
push 0xb
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], eax
push str.CloseButton
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
call fcn.004076f0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x58]
push ecx
push 0
push eax
lea ecx, [esi + 0x24]
call fcn.0041a8c0
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40ec01
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebf7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed32
push edx
push ecx
call fcn.00428145
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test ebx, ebx
je 0x40ec2d
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push ebx
call fcn.0040f660
test al, al
jne 0x40ed0d
test edi, edi
je 0x40ec45
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
push edi
call fcn.0040f660
test al, al
jne 0x40ed0d
mov edx, dword [esi + 4]
mov esi, dword [0x460cf8]
mov ecx, esi
mov dword [ebp - 0x24], edx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x40ec8b
nop dword [eax]
cmp dword [eax + 0x10], edx
jae 0x40ec6a
mov eax, dword [eax + 8]
jmp 0x40ec6e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40ec60
cmp ecx, esi
je 0x40ec8b
cmp edx, dword [ecx + 0x10]
jb 0x40ec8b
add ecx, 0x14
je 0x40ec8b
cmp byte [ecx], 0
jne 0x40ed0d
push edx
call dword [sym.imp.USER32.dll_SetCapture]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [0x460cf8]
mov esi, edx
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov byte [ebp - 0x34], 1
cmp byte [eax + 0xd], 0
jne 0x40ecdd
mov ecx, dword [ebp - 0x24]
nop dword [eax]
cmp dword [eax + 0x10], ecx
jae 0x40ecca
mov eax, dword [eax + 8]
jmp 0x40ecce
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x40ecc0
cmp esi, edx
je 0x40ecdd
cmp ecx, dword [esi + 0x10]
jae 0x40ed00
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push ecx
push eax
push ecx
call fcn.0041a1c0
push eax
add eax, 0x10
push eax
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.0041a240
mov esi, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x34]
movq qword [esi + 0x14], xmm0
mov dword [esi + 0x1c], edi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427d5e
mov esp, ebp
pop ebp
ret 0x10
call fcn.0042d453
call fcn.0042d453
int3