Function at 0x416d5b
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
movsx ecx, ax
shr eax, 0x10
push edi
mov dword [ebp - 8], ecx
movsx ebx, ax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x416f9f
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
call fcn.00410c36
mov edi, eax
test edi, edi
je 0x416f9f
mov eax, ebx
sub eax, 0x201
je 0x416ece
sub eax, 3
je 0x416df5
movzx ecx, word [ebp - 0x10]
movzx eax, word [ebp - 0x14]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x14]
push ebx
push eax
call fcn.00416faf
jmp 0x416f9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x10], edi
jne 0x416ea0
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, ebx
sub ecx, dword [esi + 0x14]
cmp ecx, eax
ja 0x416e87
mov ebx, dword [esi + 0x20]
sub ebx, dword [ebp - 0x14]
test ebx, ebx
jg 0x416e28
mov ebx, dword [ebp - 0x14]
sub ebx, dword [esi + 0x20]
push 0x24
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebx, eax
jg 0x416e84
mov ebx, dword [esi + 0x24]
sub ebx, dword [ebp - 0x10]
test ebx, ebx
jg 0x416e44
mov ebx, dword [ebp - 0x10]
sub ebx, dword [esi + 0x24]
push 0x25
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebx, eax
jg 0x416e84
push 0xffffffffffffffe6
push edi
call dword [sym.imp.USER32.dll_GetClassLongW]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
test al, 8
je 0x416e6e
push 0x206
jmp 0x416e73
push 0x204
push dword [ebp - 8]
call fcn.00416faf
and dword [esi + 0x14], 0
jmp 0x416f9f
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x14]
push 0x204
push dword [ebp - 8]
call fcn.00416faf
jmp 0x416eba
push dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x14]
push 0x204
push dword [ebp - 8]
call fcn.00416faf
mov dword [esi + 0x10], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], eax
jmp 0x416f9f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp dword [esi + 8], edi
jne 0x416f76
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
mov ecx, ebx
sub ecx, dword [esi + 0xc]
cmp ecx, eax
ja 0x416f5d
mov ebx, dword [esi + 0x18]
sub ebx, dword [ebp - 0x14]
test ebx, ebx
jg 0x416f01
mov ebx, dword [ebp - 0x14]
sub ebx, dword [esi + 0x18]
push 0x24
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebx, eax
jg 0x416f5a
mov ebx, dword [esi + 0x1c]
sub ebx, dword [ebp - 0x10]
test ebx, ebx
jg 0x416f1d
mov ebx, dword [ebp - 0x10]
sub ebx, dword [esi + 0x1c]
push 0x25
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp ebx, eax
jg 0x416f5a
push 0xffffffffffffffe6
push edi
call dword [sym.imp.USER32.dll_GetClassLongW]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x10]
push dword [ebp - 0x14]
test al, 8
je 0x416f47
push 0x203
jmp 0x416f4c
push 0x201
push dword [ebp - 8]
call fcn.00416faf
and dword [esi + 0xc], 0
jmp 0x416f9f
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x14]
push 0x201
push dword [ebp - 8]
call fcn.00416faf
jmp 0x416f90
push dword [ebp - 0x10]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x14]
push 0x201
push dword [ebp - 8]
call fcn.00416faf
mov dword [esi + 8], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x1c], eax
mov dword [esi + 0xc], ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc