Function at 0x4e6300
Capabilities:
Check for unmoving mouse cursor
Hide graphical window

Disassembly:
sub esp, 0x28
push esi
push edi
mov edi, edx
mov esi, ecx
call fcn.00542ed0
test eax, eax
je 0x4e6640
mov eax, dword [esi + 0x708]
cmp eax, 1
je 0x4e6337
cmp eax, 9
jne 0x4e6640
cmp dword [esi + 0x70c], 2
jne 0x4e6640
test edi, edi
jne 0x4e638b
mov ecx, dword [esi]
call fcn.004e5bc0
mov ecx, dword [esi]
xor edx, edx
call fcn.004e59f0
mov ecx, dword [esi + 0x774]
test ecx, ecx
mov dword [esi + 0x740], eax
jne 0x4e6535
cmp eax, 2
je 0x4e6535
mov eax, dword [esi + 0x874]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x874]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4e6553
mov eax, dword [esi + 0x774]
test eax, eax
je 0x4e6640
cmp dword [esi + 0x740], 2
je 0x4e6640
cmp edi, 1
jne 0x4e6501
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edi, dword [esi]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp edi, eax
jne 0x4e6640
lea ecx, [esp + 8]
push ecx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esi]
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x20]
push edx
push eax
call edi
mov edx, dword [esi + 0x874]
lea ecx, [esp + 0x10]
push ecx
push edx
call edi
mov eax, dword [esi + 0x740]
test eax, eax
jne 0x4e6442
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
sub ecx, eax
cmp dword [esp + 8], ecx
jl 0x4e6640
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
jmp 0x4e647f
cmp eax, 1
jne 0x4e6640
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 8]
lea eax, [eax + eax*2]
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp ecx, eax
jg 0x4e6640
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
sub ecx, edx
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp dword [esp + 0xc], edx
jg 0x4e6640
mov edx, dword [esi + 0x874]
push edx
mov dword [esi + 0x778], 0
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x4e6640
mov eax, dword [esi + 0x874]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x874]
push 8
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi]
mov edx, 0x80b8
call fcn.00544ed0
mov eax, dword [0x5aa630]
test eax, eax
jne 0x4e64f6
mov edx, dword [0x5b4314]
push 0
push 0x64
push 0x8b
push edx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x5aa630], eax
pop edi
mov eax, 1
pop esi
add esp, 0x28
ret
cmp edi, 2
jne 0x4e6640
mov eax, dword [esi + 0x778]
test eax, eax
je 0x4e656a
mov ecx, dword [esi]
cmp ecx, dword [0x5a56d8]
je 0x4e655f
add eax, 0xffffff9c
test eax, eax
mov dword [esi + 0x778], eax
jg 0x4e655f
mov dword [esi + 0x778], 0
mov edx, dword [esi + 0x874]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x874]
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi]
mov edx, 0x80b8
call fcn.00544ed0
pop edi
mov eax, 1
pop esi
add esp, 0x28
ret
mov ecx, dword [esi + 0x874]
push ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4e6640
mov eax, dword [0x5b431c]
test eax, eax
je 0x4e6635
mov edx, dword [esi]
cmp edx, dword [0x5b4320]
jne 0x4e6635
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x4e6635
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esi]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_ChildWindowFromPoint]
test eax, eax
je 0x4e6635
cmp eax, dword [esi + 0x86c]
je 0x4e662b
cmp eax, dword [esi + 0x870]
je 0x4e662b
mov ecx, dword [esi + 0x864]
cmp eax, ecx
jne 0x4e6635
push 1
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi + 0x864]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, 2
call fcn.00544880
mov ecx, dword [esp + 0x28]
sub ecx, eax
cmp dword [esp + 8], ecx
jge 0x4e6635
mov dword [esi + 0x778], 0x64
pop edi
mov eax, 1
pop esi
add esp, 0x28
ret
pop edi
xor eax, eax
pop esi
add esp, 0x28
ret