Function at 0x45d690
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xca4
push ebx
mov ebx, dword [0x5a56ec]
mov dword [esp + 4], edx
xor edx, edx
cmp ebx, edx
push esi
push edi
mov dword [esp + 0x20], ecx
je 0x45d6c5
cmp dword [ebx + 0xc8], ecx
je 0x45d6d0
mov ebx, dword [ebx + 0x1018]
cmp ebx, edx
jne 0x45d6b3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [ebx + 0x164], edx
jne 0x45d6c5
mov eax, dword [ebp + 0x14]
cmp eax, 1
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
je 0x45d6f6
cmp eax, 3
je 0x45d6f6
cmp eax, 4
jne 0x45d89a
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 0x45d832
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 0x45d824
mov eax, dword [esi + 0x118]
test eax, eax
je 0x45d824
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45d824
mov edx, edi
mov ecx, ebx
call fcn.004599c0
test eax, eax
je 0x45d824
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 0x45d807
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.004214d0
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 0x45d8f3
mov esi, dword [esi + 0x120]
test esi, esi
jne 0x45d715
mov eax, dword [ebx + 0xfe8]
test eax, eax
je 0x45d852
lea esp, [esp]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x45d8fb
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x45d840
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
je 0x45d6c5
test eax, eax
jne 0x45d89a
mov eax, ecx
cmp eax, 3
jne 0x45d89a
cmp dword [esp + 0xc], 0x200
jne 0x45d89a
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 0x45d89a
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp + 8], eax
mov eax, dword [0x5ae60c]
test eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
je 0x45df89
mov eax, dword [ebp + 0x14]
xor ecx, ecx
cmp eax, 6
jne 0x45d901
cmp dword [esp + 0xc], 6
jne 0x45df9f
mov ecx, dword [str.active]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x586460]
mov word [eax + 4], dx
mov cl, byte [0x586462]
mov byte [eax + 6], cl
jmp 0x45daad
mov ecx, dword [esi + 8]
mov dword [ebp + 8], ecx
jmp 0x45d89a
mov edx, dword [eax + 0xc]
push edx
jmp 0x45d891
cmp eax, 3
jne 0x45da4e
mov esi, dword [esp + 0xc]
cmp esi, 0x200
jne 0x45d933
mov eax, dword [str.mouse]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x586458]
mov word [edx + 4], cx
jmp 0x45daad
cmp esi, 0x201
jne 0x45d992
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 [0x586450]
mov word [ecx + 4], ax
mov dl, byte [0x586452]
mov byte [ecx + 6], dl
jmp 0x45daad
cmp esi, 0x203
jne 0x45d9f0
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 [0x586448]
mov word [edx + 4], cx
mov al, byte [0x58644a]
mov byte [edx + 6], al
jmp 0x45daad
cmp esi, 0x202
jne 0x45da1e
mov edx, dword [str.uclick]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x586440]
mov word [ecx + 4], ax
mov dl, byte [0x586442]
mov byte [ecx + 6], dl
jmp 0x45daad
cmp esi, 0x204
jne 0x45df93
mov ecx, dword [str.rclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x586438]
mov word [eax + 4], dx
mov cl, byte [0x58643a]
mov byte [eax + 6], cl
jmp 0x45daad
cmp eax, 4
jne 0x45dacb
cmp dword [esp + 0xc], 0x202
jne 0x45df9f
mov edx, dword [esp + 0x10]
cmp dword [ebx + 0xff4], edx
jne 0x45da79
mov eax, dword [esp + 0x14]
cmp dword [ebx + 0xff8], eax
je 0x45da94
mov edx, dword [str.drop]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov al, byte [0x5862c8]
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 0x45df9f
mov eax, dword [ebp + 8]
cmp eax, 0x1770
jl 0x45deeb
add eax, 0xffffe890
mov dword [ebx + 0x154], eax
jmp 0x45def5
cmp eax, 5
jne 0x45daea
mov edx, dword [str.close]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov ax, word [0x5857a8]
mov word [ecx + 4], ax
jmp 0x45daad
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 0x45dead
mov edx, 0x64
lea ecx, [esp + 0x58]
call fcn.0041ef30
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 0x45dcac
lea ecx, [esp + 0x58]
call fcn.00477e10
test eax, eax
je 0x45db46
mov esi, dword [esp + 0xc]
cmp esi, 0x300
jmp 0x45dcd6
lea edx, [esp + 0x58]
push str.ListBox
push edx
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x45dbba
mov esi, dword [esp + 0xc]
cmp esi, 2
jne 0x45db8c
mov ecx, dword [str.dclick]
lea eax, [ebx + 0xf0]
mov dword [eax], ecx
mov dx, word [0x586448]
mov word [eax + 4], dx
mov cl, byte [0x58644a]
mov byte [eax + 6], cl
jmp 0x45daad
cmp esi, 1
jne 0x45df8d
mov eax, dword [str.sclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x586450]
mov word [edx + 4], cx
mov al, byte [0x586452]
mov byte [edx + 6], al
jmp 0x45daad
lea ecx, [esp + 0x58]
push str.ComboBox
push ecx
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x45dcf7
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
mov ecx, eax
and ecx, 1
je 0x45dbf2
test al, 2
jne 0x45dbf2
mov eax, 1
jmp 0x45dc03
test ecx, ecx
jne 0x45dc01
test al, 2
je 0x45dc01
mov eax, 1
jmp 0x45dc03
xor eax, eax
mov esi, dword [esp + 0xc]
cmp esi, 2
jne 0x45dc31
mov eax, dword [str.dclick]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cx, word [0x586448]
mov word [edx + 4], cx
mov al, byte [0x58644a]
mov byte [edx + 6], al
jmp 0x45daad
cmp esi, 1
jne 0x45dcd3
test eax, eax
je 0x45dcac
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 0x45dcac
mov ecx, dword [ebx + 0x164]
mov dword [esp + 0x1c], ecx
mov edx, 0x3e7
lea ecx, [esp + 0xc0]
mov dword [ebx + 0x164], 1
call fcn.0041ef30
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 [0x586450]
mov word [eax + 4], dx
mov cl, byte [0x586452]
mov byte [eax + 6], cl
jmp 0x45daad
cmp esi, 5
jne 0x45df8d
mov eax, dword [str.edit]
lea edx, [ebx + 0xf0]
mov dword [edx], eax
mov cl, byte [0x586390]
mov byte [edx + 4], cl
jmp 0x45daad
lea edx, [esp + 0x58]
push 0x586284
push edx
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x45ddd1
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x45df8d
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
test al, 0x20
je 0x45dd30
and eax, 0xffffffdf
test ah, 0x10
je 0x45dd3a
and eax, 0xffffefff
test ah, 0x20
je 0x45dd44
and eax, 0xffffdfff
test ah, ah
jns 0x45dd4d
and eax, 0xffff7fff
cmp eax, 9
jle 0x45dd59
mov eax, 9
jmp 0x45dd5f
ja 0x45df8d
movzx eax, byte [eax + 0x45e080]
jmp dword [eax*4 + 0x45e074]
lea ecx, [esp + 0x58]
push 0x586330
push ecx
call fcn.005809c6
add esp, 8
test eax, eax
jne 0x45df89
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.0x45de16
jmp dword [edx*4 + 0x45e08c]
mov eax, 0xffff0600
jmp case.default.0x45de16
mov eax, 0xfa00
jmp case.default.0x45de16
or eax, 0xffffffff
jmp case.default.0x45de16
mov eax, 1
jmp case.default.0x45de16
mov eax, 0xfffffffb
jmp case.default.0x45de16
mov eax, 5
jmp case.default.0x45de16
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 0x45de5e
mov edx, ecx
mov ecx, esi
neg ecx
cmp ecx, edx
jg 0x45de6e
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jl 0x45de70
mov eax, ecx
test eax, eax
je 0x45df89
mov edx, dword [str.scroll]
push 1
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov dx, word [0x585674]
add eax, esi
push eax
mov word [ecx + 4], dx
mov dl, byte [0x585676]
push 2
push edi
mov byte [ecx + 6], dl
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x45daad
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 0x45df89
mov edx, dword [0x5863e8]
lea ecx, [ebx + 0xf0]
mov dword [ecx], edx
mov al, byte [0x5863ec]
mov byte [ecx + 4], al
jmp 0x45daad
mov dword [ebx + 0x154], 0
xor eax, eax
mov ecx, 0x201
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.0041ee40
lea esi, [ebx + 0xf0]
push esi
mov edx, 0x3e7
lea ecx, [esp + 0x8bf]
call fcn.0041ee40
lea ecx, [esp + 0x4a8]
push ecx
mov ecx, dword [ebx + 0x1004]
xor edi, edi
push edi
push edi
push 0x14
push str.DIALOG
push edi
xor edx, edx
call fcn.0050e610
test eax, eax
jne 0x45df5f
mov dword [esp + 0x24], edi
mov ecx, ebx
call fcn.00459920
test eax, eax
jne 0x45df78
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 0x45df9f
cmp esi, 0x200
je 0x45e065
mov eax, dword [ebp + 8]
test eax, eax
je 0x45e065
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x45e025
cmp eax, dword [ebx + 0xe0]
jne 0x45e025
mov ecx, dword [ebx + 0xe8]
test ecx, ecx
je 0x45dfe4
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x45dfe4
mov esi, dword [esp + 0x20]
push eax
push 0x3b5
push 0xd
push ecx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x45dfe8
mov esi, dword [esp + 0x20]
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x45e008
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 0x45e065
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x45e051
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