Function at 0x461550
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xca4
push ebx
mov ebx, dword [0x5c9f3c]
mov dword [esp + 4], edx
xor edx, edx
cmp ebx, edx
push esi
push edi
mov dword [esp + 0x20], ecx
je 0x461585
cmp dword [ebx + 0xc8], ecx
je 0x461590
mov ebx, dword [ebx + 0x13b0]
cmp ebx, edx
jne 0x461573
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x164], edx
jne 0x461585
mov eax, dword [ebp + 0x14]
cmp eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
je 0x4615b6
cmp eax, 3
je 0x4615b6
cmp eax, 4
jne 0x46175a
mov eax, dword [ebp + 0x10]
movzx ecx, ax
shr eax, 0x10
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 0x1398]
cmp esi, edx
je 0x4616f2
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x4616e4
mov eax, dword [esi + 0x118]
test eax, eax
je 0x4616e4
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4616e4
mov edx, edi
mov ecx, ebx
call fcn.0045d790
test eax, eax
je 0x4616e4
lea ecx, [esp + 0x2c]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0xc8]
push 2
lea edx, [esp + 0x30]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x4616c7
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
sub edi, ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x38]
sub ecx, edx
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x40]
push edx
push 0x18
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0x11c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x54]
call fcn.00423860
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
add eax, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x4617b3
mov esi, dword [esi + 0x124]
test esi, esi
jne 0x4615d5
mov eax, dword [ebx + 0x1380]
test eax, eax
je 0x461712
lea esp, [esp]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4617bb
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x461700
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
je 0x461585
test eax, eax
jne 0x46175a
mov eax, ecx
cmp eax, 3
jne 0x46175a
cmp dword [esp + 0xc], 0x200
jne 0x46175a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc8]
push 1
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
test eax, eax
je 0x46175a
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp + 8], eax
mov eax, dword [0x5f35d0]
test eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
je 0x461e49
mov eax, dword [ebp + 0x14]
xor ecx, ecx
cmp eax, 6
jne 0x4617c1
cmp dword [esp + 0xc], 6
jne 0x461e5f
mov ecx, dword [str.active]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5a79e4]
mov word [eax + 4], dx
mov cl, byte [0x5a79e6]
mov byte [eax + 6], cl
jmp 0x46196d
mov ecx, dword [esi + 8]
mov dword [ebp + 8], ecx
jmp 0x46175a
mov edx, dword [eax + 0xc]
push edx
jmp 0x461751
cmp eax, 3
jne 0x46190e
mov esi, dword [esp + 0xc]
cmp esi, 0x200
jne 0x4617f3
mov eax, dword [str.mouse]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5a79dc]
mov word [edx + 4], cx
jmp 0x46196d
cmp esi, 0x201
jne 0x461852
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebx + 0xc8]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x10]
mov dword [ebx + 0x138c], edx
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x1390], eax
mov edx, dword [str.sclick]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5a79d4]
mov word [ecx + 4], ax
mov dl, byte [0x5a79d6]
mov byte [ecx + 6], dl
jmp 0x46196d
cmp esi, 0x203
jne 0x4618b0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0xc8]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x138c], eax
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x1390], ecx
mov eax, dword [str.dclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5a79cc]
mov word [edx + 4], cx
mov al, byte [0x5a79ce]
mov byte [edx + 6], al
jmp 0x46196d
cmp esi, 0x202
jne 0x4618de
mov edx, dword [str.uclick]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5a79c4]
mov word [ecx + 4], ax
mov dl, byte [0x5a79c6]
mov byte [ecx + 6], dl
jmp 0x46196d
cmp esi, 0x204
jne 0x461e53
mov ecx, dword [str.rclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5a79bc]
mov word [eax + 4], dx
mov cl, byte [0x5a79be]
mov byte [eax + 6], cl
jmp 0x46196d
cmp eax, 4
jne 0x46198b
cmp dword [esp + 0xc], 0x202
jne 0x461e5f
mov edx, dword [esp + 0x10]
cmp dword [ebx + 0x138c], edx
jne 0x461939
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0x1390], eax
je 0x461954
mov edx, dword [str.drop]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov al, byte [0x5a7830]
mov byte [ecx + 4], al
mov ecx, 1
test ecx, ecx
mov eax, 0xffffffff
mov dword [ebx + 0x138c], eax
mov dword [ebx + 0x1390], eax
je 0x461e5f
mov eax, dword [ebp + 8]
cmp eax, 0x1770
jl 0x461dab
add eax, 0xffffe890
mov dword [ebx + 0x154], eax
jmp 0x461db5
cmp eax, 5
jne 0x4619aa
mov edx, dword [str.close]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5a6c9c]
mov word [ecx + 4], ax
jmp 0x46196d
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x461d6d
mov edx, 0x64
lea ecx, [esp + 0x58]
call fcn.00420e60
push 0x63
lea edx, [esp + 0x5c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov eax, dword [ebp + 0x14]
test eax, eax
jg 0x461b6c
lea ecx, [esp + 0x58]
call fcn.0047e810
test eax, eax
je 0x461a06
mov esi, dword [esp + 0xc]
cmp esi, 0x300
jmp 0x461b96
lea edx, [esp + 0x58]
push str.ListBox
push edx
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x461a7a
mov esi, dword [esp + 0xc]
cmp esi, 2
jne 0x461a4c
mov ecx, dword [str.dclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5a79cc]
mov word [eax + 4], dx
mov cl, byte [0x5a79ce]
mov byte [eax + 6], cl
jmp 0x46196d
cmp esi, 1
jne 0x461e4d
mov eax, dword [str.sclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5a79d4]
mov word [edx + 4], cx
mov al, byte [0x5a79d6]
mov byte [edx + 6], al
jmp 0x46196d
lea ecx, [esp + 0x58]
push str.ComboBox
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x461bb7
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
mov ecx, eax
and ecx, 1
je 0x461ab2
test al, 2
jne 0x461ab2
mov eax, 1
jmp 0x461ac3
test ecx, ecx
jne 0x461ac1
test al, 2
je 0x461ac1
mov eax, 1
jmp 0x461ac3
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, 2
jne 0x461af1
mov eax, dword [str.dclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5a79cc]
mov word [edx + 4], cx
mov al, byte [0x5a79ce]
mov byte [edx + 6], al
jmp 0x46196d
cmp esi, 1
jne 0x461b93
test eax, eax
je 0x461b6c
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x461b6c
mov ecx, dword [ebx + 0x164]
mov dword [esp + 0x1c], ecx
mov edx, 0x3e7
lea ecx, [esp + 0xc0]
mov dword [ebx + 0x164], 1
call fcn.00420e60
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc0]
push edx
push eax
push 0x148
push edi
call esi
lea ecx, [esp + 0xc0]
push ecx
push 0
push 0xc
push edi
call esi
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x164], edx
mov ecx, dword [str.sclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5a79d4]
mov word [eax + 4], dx
mov cl, byte [0x5a79d6]
mov byte [eax + 6], cl
jmp 0x46196d
cmp esi, 5
jne 0x461e4d
mov eax, dword [str.edit]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cl, byte [0x5a7900]
mov byte [edx + 4], cl
jmp 0x46196d
lea edx, [esp + 0x58]
push str.Button
push edx
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x461c91
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x461e4d
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
test al, 0x20
je 0x461bf0
and eax, 0xffffffdf
test ah, 0x10
je 0x461bfa
and eax, 0xffffefff
test ah, 0x20
je 0x461c04
and eax, 0xffffdfff
test ah, ah
jns 0x461c0d
and eax, 0xffff7fff
cmp eax, 9
jle 0x461c19
mov eax, 9
jmp 0x461c1f
ja 0x461e4d
movzx eax, byte [eax + 0x461f40]
jmp dword [eax*4 + 0x461f34]
lea ecx, [esp + 0x58]
push 0x5a7890
push ecx
call fcn.005a299c
add esp, 8
test eax, eax
jne 0x461e49
push 2
push edi
call dword [sym.imp.USER32.dll_GetScrollPos]
lea edx, [esp + 0x1c]
push edx
mov esi, eax
lea eax, [esp + 0x40]
push eax
push 2
push edi
call dword [sym.imp.USER32.dll_GetScrollRange]
mov ecx, dword [ebp + 0xc]
movzx edx, cx
xor eax, eax
cmp edx, 7
ja case.default.0x461cd6
jmp dword [edx*4 + 0x461f4c]
mov eax, 0xffff0600
jmp case.default.0x461cd6
mov eax, 0xfa00
jmp case.default.0x461cd6
or eax, 0xffffffff
jmp case.default.0x461cd6
mov eax, 1
jmp case.default.0x461cd6
mov eax, 0xfffffffb
jmp case.default.0x461cd6
mov eax, 5
jmp case.default.0x461cd6
shr ecx, 0x10
sub ecx, esi
mov eax, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, esi
cmp eax, ecx
mov dword [esp + 0x28], ecx
mov edx, eax
jl 0x461d1e
mov edx, ecx
mov ecx, esi
neg ecx
cmp ecx, edx
jg 0x461d2e
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x461d30
mov eax, ecx
test eax, eax
je 0x461e49
mov edx, dword [str.scroll]
push 1
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov dx, word [0x5a6b68]
add eax, esi
push eax
mov word [ecx + 4], dx
mov dl, byte [0x5a6b6a]
push 2
push edi
mov byte [ecx + 6], dl
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x46196d
mov eax, dword [ebx + 0xc8]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.USER32.dll_GetMenuStringA]
test eax, eax
jle 0x461e49
mov edx, dword [0x5a7958]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov al, byte [0x5a795c]
mov byte [ecx + 4], al
jmp 0x46196d
mov dword [ebx + 0x154], 0
xor eax, eax
mov ecx, 0x202
lea edi, [esp + 0x4a8]
rep stosd dword es:[edi], eax
push ebx
mov edx, 0x3e7
lea ecx, [esp + 0x4d8]
mov dword [esp + 0x4c4], ebx
call fcn.00420d70
lea esi, [ebx + 0xf0]
push esi
mov edx, 0x3e7
lea ecx, [esp + 0x8bf]
call fcn.00420d70
lea ecx, [esp + 0x4a8]
push ecx
mov ecx, dword [ebx + 0x139c]
xor edi, edi
push edi
push edi
push 0x14
push str.DIALOG
push edi
xor edx, edx
call fcn.0051fbb0
test eax, eax
jne 0x461e1f
mov dword [esp + 0x24], edi
mov ecx, ebx
call fcn.0045d6f0
test eax, eax
jne 0x461e38
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [esi], 0
mov dword [ebx + 0x154], edi
mov dword [esp + 0x18], 1
mov esi, dword [esp + 0xc]
cmp dword [ebp + 0x14], 3
jne 0x461e5f
cmp esi, 0x200
je 0x461f25
mov eax, dword [ebp + 8]
test eax, eax
je 0x461f25
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x461ee5
cmp eax, dword [ebx + 0xe0]
jne 0x461ee5
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x461ea4
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x461ea4
mov esi, dword [esp + 0x20]
push eax
push 0x3b5
push 0xd
push ecx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x461ea8
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x461ec8
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0
push 0
push 0x8096
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [ebx + 0xe4]
jne 0x461f25
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x461f11
mov edx, dword [esp + 0x20]
push 1
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x20]
push 0
push 0
push 0x8096
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10