Function at 0x407ade
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42e4a0
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [eax + 4]
push edi
cmp ecx, 0x3f7
jne 0x407e34
mov eax, dword [eax + 8]
cmp eax, 0xfffffffb
je 0x407d11
cmp eax, 0xfffffffd
je 0x407b10
cmp eax, 0xfffffffe
je 0x407d11
jmp 0x407e34
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x78]
push edx
push 0
push 0x1012
push eax
mov dword [esp + 0x38], ecx
call ebp
test byte [esp + 0x2c], 0xe
je 0x407e34
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x30]
mov ecx, 0x41
mov dword [esp + 0x3c], eax
xor eax, eax
mov edi, 0x43ecc4
mov dword [esp + 0x38], 5
rep stosd dword es:[edi], eax
mov edx, dword [esi + 0x78]
lea ecx, [esp + 0x38]
push ecx
push eax
push 0x1005
push edx
mov dword [esp + 0x60], 0x104
mov dword [esp + 0x5c], 0x43ecc4
mov dword [esp + 0x50], eax
call ebp
test eax, eax
je 0x407e34
mov eax, dword [esp + 0x58]
test dword [eax + 0xc], 0x20000000
je 0x407cc4
mov ecx, dword [esi + 0xb4]
push 0
push 9
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
je 0x407e34
lea ebx, [esi + 0x98]
push edi
mov ecx, ebx
call fcn.0042146a
test eax, eax
je 0x407e34
mov edx, dword [esi + 0xb4]
push edi
push 2
push 0x1102
push edx
call ebp
mov eax, dword [esi + 0xb4]
push edi
push 4
push 0x110a
push eax
call ebp
mov ecx, dword [0x43cb80]
mov edi, eax
mov dword [esp + 0x78], ecx
test edi, edi
mov dword [esp + 0x68], 0
je 0x407c9d
lea edx, [esp + 0x10]
push edi
push edx
mov ecx, ebx
call fcn.004213ca
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x6c], 1
call fcn.004256fb
lea ecx, [esp + 0x10]
mov byte [esp + 0x68], 0
call fcn.004255c2
mov eax, dword [esp + 0x78]
push 0x43ecc4
push eax
call fcn.004130c5
add esp, 8
test eax, eax
push edi
je 0x407c8d
mov ecx, dword [esi + 0xb4]
push 1
push 0x110a
push ecx
call ebp
mov edi, eax
test edi, edi
jne 0x407c34
jmp 0x407c9d
mov edx, dword [esi + 0xb4]
push 2
push 0x1102
push edx
call ebp
mov eax, dword [esi + 0xb4]
push edi
push 9
push 0x110b
push eax
call ebp
lea ecx, [esp + 0x78]
mov dword [esp + 0x68], 0xffffffff
call fcn.004255c2
jmp 0x407e34
lea ebp, [esi + 0xec]
lea edi, [esi + 0xe0]
push ebp
mov ecx, edi
call fcn.004256fb
lea ecx, [esp + 0x14]
push 1
push ecx
mov ecx, ebp
call fcn.00420ac2
mov eax, dword [eax]
push 0x43c824
push eax
call fcn.00413016
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
setne bl
call fcn.004255c2
test bl, bl
je 0x407e12
jmp 0x407e06
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x78]
push ecx
push 0
push 0x1012
push edx
mov dword [esp + 0x38], eax
call ebx
test byte [esp + 0x2c], 0xe
je 0x407e34
mov ecx, dword [esi + 0x78]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x30]
mov ecx, 0x41
xor eax, eax
mov edi, 0x43ecc4
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 5
push eax
push 0
push 0x1005
push ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], 0x104
mov dword [esp + 0x5c], 0x43ecc4
call ebx
test eax, eax
je 0x407e34
mov edx, dword [esp + 0x58]
test dword [edx + 0xc], 0x20000000
jne 0x407e34
lea ebp, [esi + 0xec]
lea edi, [esi + 0xe0]
push ebp
mov ecx, edi
call fcn.004256fb
lea eax, [esp + 0x18]
push 1
push eax
mov ecx, ebp
call fcn.00420ac2
mov eax, dword [eax]
push 0x43c824
push eax
call fcn.00413016
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne bl
call fcn.004255c2
test bl, bl
je 0x407e12
push 0x43c824
mov ecx, edi
call fcn.00425850
push 0x43ecc4
mov ecx, edi
call fcn.00425850
mov edi, dword [edi]
mov ecx, esi
push edi
push 0x400
call fcn.00424ab2
mov ecx, eax
call fcn.00424bd1
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc