Function at 0x45ac20
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8ac
push ebx
mov ebx, dword [0x59427c]
mov dword [esp + 4], edx
xor edx, edx
cmp ebx, edx
push esi
push edi
mov dword [esp + 0x18], ecx
je 0x45ac55
cmp dword [ebx + 0xc8], ecx
je 0x45ac60
mov ebx, dword [ebx + 0x1018]
cmp ebx, edx
jne 0x45ac43
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x164], edx
jne 0x45ac55
mov eax, dword [ebp + 0x14]
cmp eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
je 0x45ac86
cmp eax, 3
je 0x45ac86
cmp eax, 4
jne 0x45ae2a
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 + 0x1000]
cmp esi, edx
je 0x45adc2
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x45adb4
mov eax, dword [esi + 0x118]
test eax, eax
je 0x45adb4
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45adb4
mov edx, edi
mov ecx, ebx
call fcn.00456ff0
test eax, eax
je 0x45adb4
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 0x45ad97
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 + 0x24], edx
lea edx, [esp + 0x40]
push edx
push 0x18
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0x11c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x54]
call fcn.004205d0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
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 0x45ae83
mov esi, dword [esi + 0x120]
test esi, esi
jne 0x45aca5
mov eax, dword [ebx + 0xfe8]
test eax, eax
je 0x45ade2
lea esp, [esp]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x45ae8b
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x45add0
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
je 0x45ac55
test eax, eax
jne 0x45ae2a
mov eax, ecx
cmp eax, 3
jne 0x45ae2a
cmp dword [esp + 0xc], 0x200
jne 0x45ae2a
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 0x45ae2a
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp + 8], eax
mov eax, dword [0x59ca60]
test eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 1
je 0x45b4d9
mov eax, dword [ebp + 0x14]
xor ecx, ecx
cmp eax, 6
jne 0x45ae91
cmp dword [esp + 0xc], 6
jne 0x45b4ef
mov ecx, dword [str.active]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x577304]
mov word [eax + 4], dx
mov cl, byte [0x577306]
mov byte [eax + 6], cl
jmp 0x45b03d
mov ecx, dword [esi + 8]
mov dword [ebp + 8], ecx
jmp 0x45ae2a
mov edx, dword [eax + 0xc]
push edx
jmp 0x45ae21
cmp eax, 3
jne 0x45afde
mov esi, dword [esp + 0xc]
cmp esi, 0x200
jne 0x45aec3
mov eax, dword [str.mouse]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5772fc]
mov word [edx + 4], cx
jmp 0x45b03d
cmp esi, 0x201
jne 0x45af22
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 + 0xff4], edx
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xff8], eax
mov edx, dword [str.sclick]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5772f4]
mov word [ecx + 4], ax
mov dl, byte [0x5772f6]
mov byte [ecx + 6], dl
jmp 0x45b03d
cmp esi, 0x203
jne 0x45af80
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 + 0xff4], eax
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0xff8], ecx
mov eax, dword [str.dclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5772ec]
mov word [edx + 4], cx
mov al, byte [0x5772ee]
mov byte [edx + 6], al
jmp 0x45b03d
cmp esi, 0x202
jne 0x45afae
mov edx, dword [str.uclick]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5772e4]
mov word [ecx + 4], ax
mov dl, byte [0x5772e6]
mov byte [ecx + 6], dl
jmp 0x45b03d
cmp esi, 0x204
jne 0x45b4e3
mov ecx, dword [str.rclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5772dc]
mov word [eax + 4], dx
mov cl, byte [0x5772de]
mov byte [eax + 6], cl
jmp 0x45b03d
cmp eax, 4
jne 0x45b05b
cmp dword [esp + 0xc], 0x202
jne 0x45b4ef
mov edx, dword [esp + 0x10]
cmp dword [ebx + 0xff4], edx
jne 0x45b009
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0xff8], eax
je 0x45b024
mov edx, dword [str.drop]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov al, byte [0x57716c]
mov byte [ecx + 4], al
mov ecx, 1
test ecx, ecx
mov eax, 0xffffffff
mov dword [ebx + 0xff4], eax
mov dword [ebx + 0xff8], eax
je 0x45b4ef
mov eax, dword [ebp + 8]
cmp eax, 0x1770
jl 0x45b461
add eax, 0xffffe890
mov dword [ebx + 0x154], eax
jmp 0x45b46b
cmp eax, 5
jne 0x45b07a
mov edx, dword [str.close]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5766b0]
mov word [ecx + 4], ax
jmp 0x45b03d
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x45b422
mov edx, 0x64
lea ecx, [esp + 0x58]
call fcn.0041e210
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 0x45b31f
lea ecx, [esp + 0x58]
call fcn.00474690
test eax, eax
je 0x45b0f2
mov esi, dword [esp + 0xc]
cmp esi, 0x300
jne 0x45b4dd
mov eax, dword [str.edit]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cl, byte [0x577234]
mov byte [edx + 4], cl
jmp 0x45b03d
lea edx, [esp + 0x58]
push str.ListBox
push edx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x45b166
mov esi, dword [esp + 0xc]
cmp esi, 2
jne 0x45b138
mov ecx, dword [str.dclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5772ec]
mov word [eax + 4], dx
mov cl, byte [0x5772ee]
mov byte [eax + 6], cl
jmp 0x45b03d
cmp esi, 1
jne 0x45b4dd
mov eax, dword [str.sclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5772f4]
mov word [edx + 4], cx
mov al, byte [0x5772f6]
mov byte [edx + 6], al
jmp 0x45b03d
lea ecx, [esp + 0x58]
push str.ComboBox
push ecx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x45b26b
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
mov ecx, eax
and ecx, 1
je 0x45b19e
test al, 2
jne 0x45b19e
mov eax, 1
jmp 0x45b1af
test ecx, ecx
jne 0x45b1ad
test al, 2
je 0x45b1ad
mov eax, 1
jmp 0x45b1af
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, 2
jne 0x45b1dd
mov eax, dword [str.dclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x5772ec]
mov word [edx + 4], cx
mov al, byte [0x5772ee]
mov byte [edx + 6], al
jmp 0x45b03d
cmp esi, 1
jne 0x45b246
test eax, eax
je 0x45b220
push 0
push 0
push 0x147
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x45b220
mov esi, dword [ebx + 0x164]
push 0
push eax
push 0x14e
push edi
mov dword [ebx + 0x164], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebx + 0x164], esi
mov edx, dword [str.sclick]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5772f4]
mov word [ecx + 4], ax
mov dl, byte [0x5772f6]
mov byte [ecx + 6], dl
jmp 0x45b03d
cmp esi, 5
jne 0x45b4dd
mov ecx, dword [str.edit]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dl, byte [0x577234]
mov byte [eax + 4], dl
jmp 0x45b03d
lea eax, [esp + 0x58]
push 0x577128
push eax
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x45b346
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x45b4dd
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
test al, 0x20
je 0x45b2a4
and eax, 0xffffffdf
test ah, 0x10
je 0x45b2ae
and eax, 0xffffefff
test ah, 0x20
je 0x45b2b8
and eax, 0xffffdfff
test ah, ah
jns 0x45b2c1
and eax, 0xffff7fff
cmp eax, 9
jle 0x45b2cd
mov eax, 9
jmp 0x45b2d3
ja 0x45b4dd
movzx ecx, byte [eax + 0x45b5d0]
jmp dword [ecx*4 + 0x45b5c4]
mov ecx, dword [str.sclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x5772f4]
mov word [eax + 4], dx
mov cl, byte [0x5772f6]
mov byte [eax + 6], cl
jmp 0x45b03d
lea edx, [esp + 0x58]
push str.ScrollBar
push edx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x45b4d9
push 2
push edi
call dword [sym.imp.USER32.dll_GetScrollPos]
mov esi, eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
push ecx
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.0x45b38b
jmp dword [edx*4 + 0x45b5dc]
mov eax, 0xffff0600
jmp case.default.0x45b38b
mov eax, 0xfa00
jmp case.default.0x45b38b
or eax, 0xffffffff
jmp case.default.0x45b38b
mov eax, 1
jmp case.default.0x45b38b
mov eax, 0xfffffffb
jmp case.default.0x45b38b
mov eax, 5
jmp case.default.0x45b38b
shr ecx, 0x10
sub ecx, esi
mov eax, ecx
mov ecx, dword [esp + 0x24]
sub ecx, esi
cmp eax, ecx
mov dword [esp + 0x28], ecx
mov edx, eax
jl 0x45b3d3
mov edx, ecx
mov ecx, esi
neg ecx
cmp ecx, edx
jg 0x45b3e3
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x45b3e5
mov eax, ecx
test eax, eax
je 0x45b4d9
mov ecx, dword [str.scroll]
push 1
lea edx, [ebx + 0xf0]
mov dword [edx], ecx
mov cx, word [0x57657c]
add eax, esi
push eax
mov word [edx + 4], cx
mov cl, byte [0x57657e]
push 2
push edi
mov byte [edx + 6], cl
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x45b03d
mov edx, dword [ebx + 0xc8]
push edx
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 0x45b4d9
mov ecx, dword [0x57728c]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dl, byte [0x577290]
mov byte [eax + 4], dl
jmp 0x45b03d
mov dword [ebx + 0x154], 0
xor eax, eax
mov ecx, 0x1fe
lea edi, [esp + 0xc0]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x1004]
lea eax, [esp + 0xc0]
push eax
xor esi, esi
push esi
push esi
push 0x14
push str.DIALOG
push esi
xor edx, edx
mov dword [esp + 0xec], ebx
call fcn.00506dd0
test eax, eax
jne 0x45b4ab
mov dword [esp + 0x1c], esi
mov ecx, ebx
call fcn.00456f50
test eax, eax
jne 0x45b4c4
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov byte [ebx + 0xf0], 0
mov dword [ebx + 0x154], esi
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0xc]
cmp dword [ebp + 0x14], 3
jne 0x45b4ef
cmp esi, 0x200
je 0x45b5b5
mov eax, dword [ebp + 8]
test eax, eax
je 0x45b5b5
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x45b575
cmp eax, dword [ebx + 0xe0]
jne 0x45b575
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x45b534
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x45b534
mov esi, dword [esp + 0x18]
push eax
push 0x3b5
push 0xd
push ecx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x45b538
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x45b558
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x20]
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 + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, dword [ebx + 0xe4]
jne 0x45b5b5
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x45b5a1
mov ecx, dword [esp + 0x18]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esp + 0x18]
push 0
push 0
push 0x8096
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10