Function at 0x40a0b0
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xc], eax
sub eax, dword [edi + 0xf4]
cmp eax, 0x12c
jb 0x40a2e8
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x10]
lea ecx, [eax - 2]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
lea edx, [ecx - 2]
add eax, 2
add ecx, 2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x20]
push eax
push ecx
mov dword [esp + 0x24], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.0046ca88
mov esi, eax
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x40a180
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push 0xf000
push ecx
call ebx
mov edx, dword [esi + 4]
push 3
push 0xf010
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push 0xf120
push eax
call ebx
mov ecx, dword [esi + 4]
push 0
push 0xf020
push ecx
call ebx
mov edx, dword [esi + 4]
push 3
push 0xf030
push edx
jmp 0x40a24a
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
je 0x40a1eb
push 3
push 0xf000
push ecx
call ebx
mov edx, dword [esi + 4]
push 3
push 0xf010
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push 0xf120
push eax
call ebx
mov ecx, dword [esi + 4]
push 3
push 0xf020
push ecx
call ebx
cmp dword [edi + 0xfc], 0
je 0x40a1de
mov edx, dword [esi + 4]
push 0
push 0xf030
push edx
jmp 0x40a24a
mov eax, dword [esi + 4]
push 3
push 0xf030
push eax
jmp 0x40a24a
push 0
push 0xf010
push ecx
call ebx
mov edx, dword [esi + 4]
push 3
push 0xf120
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push 0xf020
push eax
call ebx
cmp dword [edi + 0xfc], 0
je 0x40a232
mov ecx, dword [esi + 4]
push 0
push 0xf030
push ecx
call ebx
mov edx, dword [esi + 4]
push 0
push 0xf000
push edx
jmp 0x40a24a
mov eax, dword [esi + 4]
push 3
push 0xf030
push eax
call ebx
mov ecx, dword [esi + 4]
push 3
push 0xf000
push ecx
call ebx
mov edx, dword [esi + 4]
push 0
push 0xf060
push edx
call dword [sym.imp.USER32.dll_SetMenuDefaultItem]
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.0045d6f3
mov ecx, dword [edi + 0xac]
add ecx, dword [esp + 0x28]
push 0
push eax
mov eax, dword [edi + 0x80]
add eax, dword [esp + 0x34]
push eax
push ecx
push 0
mov ecx, esi
call fcn.0045c21c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x10]
mov esi, eax
push edx
mov dword [edi + 0xf4], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x170], 0
je 0x40a2e8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x40a2e8
sub esi, dword [esp + 0xc]
cmp esi, 0x12c
jae 0x40a2e8
mov eax, dword [edi + 0x20]
push 0
push 0xf060
push 0x112
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret