Function at 0x4014b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x4ed3dc]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp eax, 0x202
push edi
mov edi, dword [ebp + 8]
ja 0x401767
je 0x401729
cmp eax, 0x200
ja 0x4016c6
je 0x401682
cmp eax, 0x1a
je 0x40164e
cmp eax, 0x138
jne 0x40177e
push 0x206
lea ecx, [esp + 0x36]
push ebx
push ecx
mov word [esp + 0x3c], bx
call fcn.00470e10
add esp, 0xc
push 0x104
lea edx, [esp + 0x34]
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
mov ecx, str.Button
lea eax, [esp + 0x30]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401576
cmp dx, bx
je 0x401572
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401576
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x401550
xor eax, eax
jmp 0x40157b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x401597
mov eax, dword [esp + 0xc]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [0x4f20cc]
jmp 0x4017d4
mov ecx, str.Edit
lea eax, [esp + 0x30]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4015c6
cmp dx, bx
je 0x4015c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4015c6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4015a0
xor eax, eax
jmp 0x4015cb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x401603
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x4f4
jne 0x4015f5
mov ecx, dword [esp + 0xc]
push 1
push ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ebx, dword [0x4f20cc]
jmp 0x4017d4
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebx, eax
jmp 0x4017d4
mov edi, dword [esp + 0xc]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push esi
push edi
push 0x138
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x3f1
je 0x401633
cmp eax, 0x3fc
jne 0x40163f
push 0x60fe
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ebx, eax
jmp 0x4017d4
xor eax, eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
push edx
push eax
mov dword [esp + 0x18], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edi
call fcn.00401ad0
jmp 0x4017d4
cmp byte [edi + 0x120c], bl
je 0x4017d4
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 0x24]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0xc]
push edx
push esi
mov esi, edi
call fcn.00401ba0
jmp 0x4017d4
cmp eax, 0x201
jne 0x40177e
mov eax, dword [edi + 0x24]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
lea ecx, [esp + 0x10]
push ecx
mov byte [edi + 0x120c], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
mov dword [edi + 0x1210], edx
mov edx, dword [edi + 0x24]
push ecx
push edx
mov dword [edi + 0x1214], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x1218], eax
mov dword [edi + 0x121c], ecx
jmp 0x4017d4
cmp byte [edi + 0x120c], bl
je 0x4017d4
lea edx, [esp + 0x10]
push edx
mov byte [edi + 0x120c], bl
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esp + 0xc]
push ecx
push esi
mov esi, edi
call fcn.00401ba0
jmp 0x4017d4
mov ecx, eax
sub ecx, 0x7e9
je 0x4017c5
sub ecx, 1
je 0x4017a2
sub ecx, 0x7cf
je 0x401790
mov ecx, dword [esp + 0xc]
push esi
push ecx
push eax
push edx
push edi
call fcn.004034a0
mov ebx, eax
jmp 0x4017d4
cmp dword [edi + 0x30], 1
jne 0x4017d4
mov edx, dword [esp + 0xc]
mov dword [0x4f20d8], edx
jmp 0x4017d4
mov eax, dword [esp + 0xc]
cmp eax, dword [edi + 0x109c]
jne 0x4017cf
lea esi, [edi + 0x10a0]
call fcn.0040baf0
mov dword [edi + 0x109c], 0xffffffff
jmp 0x4017cf
mov edx, dword [esp + 0xc]
push esi
call fcn.00401a10
mov ebx, 1
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.0046ec29
mov esp, ebp
pop ebp
ret 0x14