Function at 0x46b000
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x32ec
call fcn.005d9990
push ebx
mov ebx, dword [0x63ce34]
xor ecx, ecx
cmp ebx, ecx
push esi
push edi
je 0x46b034
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x264], eax
je 0x46b03d
mov ebx, dword [ebx + 0x4818]
cmp ebx, ecx
jne 0x46b022
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x3d0], ecx
jne 0x46b034
mov eax, dword [ebp + 0x1c]
cmp eax, 1
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ecx
je 0x46b063
cmp eax, 3
je 0x46b063
cmp eax, 4
jne 0x46b209
mov eax, dword [ebp + 0x18]
movzx edx, ax
shr eax, 0x10
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov esi, dword [ebx + 0x4800]
cmp esi, ecx
je 0x46b1a4
mov eax, dword [esi + 8]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x46b196
mov eax, dword [esi + 0x448]
test eax, eax
je 0x46b196
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x46b196
push edi
push ebx
call fcn.00466df0
add esp, 8
test eax, eax
je 0x46b196
lea edx, [esp + 0x24]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0x264]
push 2
lea eax, [esp + 0x28]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 4]
test eax, eax
je 0x46b179
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
sub edi, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
sub ecx, edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0x38]
push edx
push 0x18
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esi + 0x44c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00428b60
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
add esp, 0x1c
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x46b261
mov esi, dword [esi + 0x454]
test esi, esi
jne 0x46b082
mov eax, dword [ebx + 0x47e8]
test eax, eax
je 0x46b1c2
mov edi, edi
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x46b269
mov eax, dword [eax + 0x40]
test eax, eax
jne 0x46b1b0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 1
je 0x46b034
test eax, eax
jne 0x46b209
mov eax, ecx
cmp eax, 3
jne 0x46b209
cmp dword [ebp + 0xc], 0x200
jne 0x46b209
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [ebx + 0x264]
push 1
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
test eax, eax
je 0x46b209
push eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov dword [ebp + 0x10], eax
mov eax, dword [0x68758c]
test eax, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 1
je 0x46b949
mov eax, dword [ebp + 0x1c]
xor ecx, ecx
cmp eax, 6
jne 0x46b26f
cmp dword [ebp + 0xc], 6
jne 0x46b95e
mov ecx, dword [str.active]
lea eax, [ebx + 0x28c]
mov dword [eax], ecx
mov dx, word [0x5f81b0]
mov word [eax + 4], dx
mov cl, byte [0x5f81b2]
mov byte [eax + 6], cl
jmp 0x46b419
mov ecx, dword [esi + 8]
mov dword [ebp + 0x10], ecx
jmp 0x46b209
mov edx, dword [eax + 0xc]
push edx
jmp 0x46b200
cmp eax, 3
jne 0x46b3bb
mov esi, dword [ebp + 0xc]
cmp esi, 0x200
jne 0x46b2a0
mov eax, dword [str.mouse]
lea edx, [ebx + 0x28c]
mov dword [edx], eax
mov cx, word [0x5f81a8]
mov word [edx + 4], cx
jmp 0x46b419
cmp esi, 0x201
jne 0x46b2ff
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebx + 0x264]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0xc]
mov dword [ebx + 0x47f4], edx
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x47f8], eax
mov edx, dword [str.sclick]
lea ecx, [ebx + 0x28c]
mov dword [ecx], edx
mov ax, word [0x5f81a0]
mov word [ecx + 4], ax
mov dl, byte [0x5f81a2]
mov byte [ecx + 6], dl
jmp 0x46b419
cmp esi, 0x203
jne 0x46b35d
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0x264]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x47f4], eax
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x47f8], ecx
mov eax, dword [str.dclick]
lea edx, [ebx + 0x28c]
mov dword [edx], eax
mov cx, word [0x5f8198]
mov word [edx + 4], cx
mov al, byte [0x5f819a]
mov byte [edx + 6], al
jmp 0x46b419
cmp esi, 0x202
jne 0x46b38b
mov edx, dword [str.uclick]
lea ecx, [ebx + 0x28c]
mov dword [ecx], edx
mov ax, word [0x5f8190]
mov word [ecx + 4], ax
mov dl, byte [0x5f8192]
mov byte [ecx + 6], dl
jmp 0x46b419
cmp esi, 0x204
jne 0x46b952
mov ecx, dword [str.rclick]
lea eax, [ebx + 0x28c]
mov dword [eax], ecx
mov dx, word [0x5f8188]
mov word [eax + 4], dx
mov cl, byte [0x5f818a]
mov byte [eax + 6], cl
jmp 0x46b419
cmp eax, 4
jne 0x46b437
cmp dword [ebp + 0xc], 0x202
jne 0x46b95e
mov edx, dword [esp + 0xc]
cmp dword [ebx + 0x47f4], edx
jne 0x46b3e5
mov eax, dword [esp + 0x10]
cmp dword [ebx + 0x47f8], eax
je 0x46b400
mov edx, dword [str.drop]
lea ecx, [ebx + 0x28c]
mov dword [ecx], edx
mov al, byte [0x5f7ff8]
mov byte [ecx + 4], al
mov ecx, 1
test ecx, ecx
mov eax, 0xffffffff
mov dword [ebx + 0x47f4], eax
mov dword [ebx + 0x47f8], eax
je 0x46b95e
mov eax, dword [ebp + 0x10]
cmp eax, 0x1770
jl 0x46b8a6
add eax, 0xffffe890
mov dword [ebx + 0x3c0], eax
jmp 0x46b8b0
cmp eax, 5
jne 0x46b456
mov edx, dword [str.close]
lea ecx, [ebx + 0x28c]
mov dword [ecx], edx
mov ax, word [0x5f744c]
mov word [ecx + 4], ax
jmp 0x46b419
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push esi
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x46b867
lea edx, [esp + 0x50]
push 0x132
push edx
call fcn.004232e0
lea eax, [esp + 0x58]
push 0x132
push eax
call fcn.00423310
add esp, 0x10
push eax
lea ecx, [esp + 0x54]
push ecx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov eax, dword [ebp + 0x1c]
test eax, eax
jle 0x46b4c8
mov eax, dword [str.sclick]
lea edx, [ebx + 0x28c]
mov dword [edx], eax
mov cx, word [0x5f81a0]
mov word [edx + 4], cx
mov al, byte [0x5f81a2]
mov byte [edx + 6], al
jmp 0x46b419
lea ecx, [esp + 0x50]
push ecx
call fcn.0048a430
add esp, 4
test eax, eax
je 0x46b503
mov esi, dword [ebp + 0xc]
cmp esi, 0x300
jne 0x46b94c
mov eax, dword [str.edit]
lea edx, [ebx + 0x28c]
mov dword [edx], eax
mov cl, byte [0x5f80d4]
mov byte [edx + 4], cl
jmp 0x46b419
lea edx, [esp + 0x50]
push str.ListBox
push edx
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x46b576
mov esi, dword [ebp + 0xc]
cmp esi, 2
jne 0x46b548
mov ecx, dword [str.dclick]
lea eax, [ebx + 0x28c]
mov dword [eax], ecx
mov dx, word [0x5f8198]
mov word [eax + 4], dx
mov cl, byte [0x5f819a]
mov byte [eax + 6], cl
jmp 0x46b419
cmp esi, 1
jne 0x46b94c
mov eax, dword [str.sclick]
lea edx, [ebx + 0x28c]
mov dword [edx], eax
mov cx, word [0x5f81a0]
mov word [edx + 4], cx
mov al, byte [0x5f81a2]
mov byte [edx + 6], al
jmp 0x46b419
lea ecx, [esp + 0x50]
push ecx
call fcn.0048a480
add esp, 4
test eax, eax
je 0x46b6b1
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
mov ecx, eax
and ecx, 1
je 0x46b5a9
test al, 2
jne 0x46b5a9
mov eax, 1
jmp 0x46b5ba
test ecx, ecx
jne 0x46b5b8
test al, 2
je 0x46b5b8
mov eax, 1
jmp 0x46b5ba
xor eax, eax
mov esi, dword [ebp + 0xc]
cmp esi, 2
jne 0x46b5e7
mov eax, dword [str.dclick]
lea edx, [ebx + 0x28c]
mov dword [edx], eax
mov cx, word [0x5f8198]
mov word [edx + 4], cx
mov al, byte [0x5f819a]
mov byte [edx + 6], al
jmp 0x46b419
cmp esi, 1
jne 0x46b68c
test eax, eax
je 0x46b666
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x147
push edi
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x46b666
mov ecx, dword [ebx + 0x3d0]
lea edx, [esp + 0x188]
push 0x1068
push edx
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x3d0], 1
call fcn.004232e0
mov ecx, dword [esp + 0x1c]
add esp, 8
lea eax, [esp + 0x188]
push eax
push ecx
push 0x148
push edi
call esi
lea edx, [esp + 0x188]
push edx
push 0
push 0xc
push edi
call esi
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x3d0], eax
mov edx, dword [str.sclick]
lea ecx, [ebx + 0x28c]
mov dword [ecx], edx
mov ax, word [0x5f81a0]
mov word [ecx + 4], ax
mov dl, byte [0x5f81a2]
mov byte [ecx + 6], dl
jmp 0x46b419
cmp esi, 5
jne 0x46b94c
mov ecx, dword [str.edit]
lea eax, [ebx + 0x28c]
mov dword [eax], ecx
mov dl, byte [0x5f80d4]
mov byte [eax + 4], dl
jmp 0x46b419
lea eax, [esp + 0x50]
push str.Button
push eax
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x46b78b
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x46b94c
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
movzx eax, ax
test al, 0x20
je 0x46b6e9
and eax, 0xffffffdf
test ah, 0x10
je 0x46b6f3
and eax, 0xffffefff
test ah, 0x20
je 0x46b6fd
and eax, 0xffffdfff
test ah, ah
jns 0x46b706
and eax, 0xffff7fff
cmp eax, 9
jle 0x46b712
mov eax, 9
jmp 0x46b718
ja 0x46b94c
movzx ecx, byte [eax + 0x46ba34]
jmp dword [ecx*4 + 0x46ba28]
lea edx, [esp + 0x50]
push str.ScrollBar
push edx
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x46b949
push 2
push edi
call dword [sym.imp.USER32.dll_GetScrollPos]
mov esi, eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push 2
push edi
call dword [sym.imp.USER32.dll_GetScrollRange]
mov ecx, dword [ebp + 0x14]
movzx edx, cx
xor eax, eax
cmp edx, 7
ja case.default.0x46b7d0
jmp dword [edx*4 + 0x46ba40]
mov eax, 0xffff0600
jmp case.default.0x46b7d0
mov eax, 0xfa00
jmp case.default.0x46b7d0
or eax, 0xffffffff
jmp case.default.0x46b7d0
mov eax, 1
jmp case.default.0x46b7d0
mov eax, 0xfffffffb
jmp case.default.0x46b7d0
mov eax, 5
jmp case.default.0x46b7d0
shr ecx, 0x10
sub ecx, esi
mov eax, ecx
mov ecx, dword [esp + 0x18]
sub ecx, esi
cmp eax, ecx
mov dword [esp + 0x20], ecx
mov edx, eax
jl 0x46b818
mov edx, ecx
mov ecx, esi
neg ecx
cmp ecx, edx
jg 0x46b828
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jl 0x46b82a
mov eax, ecx
test eax, eax
je 0x46b949
mov ecx, dword [str.scroll]
push 1
lea edx, [ebx + 0x28c]
mov dword [edx], ecx
mov cx, word [0x5f7318]
add eax, esi
push eax
mov word [edx + 4], cx
mov cl, byte [0x5f731a]
push 2
push edi
mov byte [edx + 6], cl
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x46b419
mov edx, dword [ebx + 0x264]
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 0x46b949
mov ecx, dword [0x5f8124]
lea eax, [ebx + 0x28c]
mov dword [eax], ecx
mov dl, byte [0x5f8128]
mov byte [eax + 4], dl
jmp 0x46b419
mov dword [ebx + 0x3c0], 0
xor eax, eax
mov ecx, 0x842
lea edi, [esp + 0x11f0]
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x1220]
push 0x1068
push eax
mov dword [esp + 0x1214], ebx
call fcn.00425550
lea esi, [ebx + 0x28c]
push esi
lea ecx, [esp + 0x2294]
push 0x1068
push ecx
call fcn.00425550
mov eax, dword [ebx + 0x4804]
lea edx, [esp + 0x1208]
push edx
xor edi, edi
push edi
push edi
push 0x14
push str.DIALOG
push edi
push edi
push eax
call fcn.0053a710
add esp, 0x38
test eax, eax
jne 0x46b91f
mov dword [esp + 0x1c], edi
push ebx
call fcn.00466d50
add esp, 4
test eax, eax
jne 0x46b938
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi], 0
mov dword [ebx + 0x3c0], edi
mov dword [esp + 0x14], 1
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x1c], 3
jne 0x46b95e
cmp esi, 0x200
je 0x46ba1a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x46ba1a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x46b9de
cmp eax, dword [ebx + 0x27c]
jne 0x46b9de
mov ecx, dword [ebx + 0x284]
test ecx, ecx
je 0x46b9a2
mov eax, dword [ebx + 0x288]
test eax, eax
je 0x46b9a2
mov esi, dword [ebp + 8]
push eax
push 0x1036
push 0xd
push ecx
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
jmp 0x46b9a5
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 0x3c4]
test eax, eax
je 0x46b9c3
push 1
push esi
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0x8096
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [ebx + 0x280]
jne 0x46ba1a
mov eax, dword [ebx + 0x3c4]
test eax, eax
je 0x46ba07
mov ecx, dword [ebp + 8]
push 1
push ecx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
push 0
push 0
push 0x8096
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret