Function at 0x4277a0
Capabilities:
Check for unmoving mouse cursor
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472185
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
movzx eax, cx
mov dword [ebp - 0x88], eax
mov eax, ecx
mov dword [ebp - 0x18], 0
mov edi, dword [0x4d3310]
shr eax, 0x10
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x20], eax
cmp esi, 0xa0
je 0x427832
cmp esi, 0xa1
je 0x427832
cmp esi, 0xa2
jne 0x42786a
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x8c]
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x20], eax
cmp esi, 0x133
ja 0x427c6d
je 0x427b1e
cmp esi, 0x14
ja 0x427abf
je 0x427b14
mov eax, esi
sub eax, 2
je 0x427ab2
sub eax, 0xd
je 0x4278c2
sub eax, 1
jne 0x42826d
cmp dword [edi + 0x60], eax
jne 0x42828b
push ecx
push edx
push 0x10
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42828d
mov eax, dword [edi + 0x58]
lea esi, [edi + 0x58]
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x38], 1
test eax, eax
jne 0x4278ec
mov eax, 1
lock xadd dword [esi], eax
test eax, eax
jne 0x4278ec
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi + 4], eax
push 0xffffffffffffffff
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x80]
mov dword [ebp - 4], 2
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_BeginPaint]
push eax
mov dword [ebp - 0x94], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [edi + 8]
mov esi, eax
push dword [edi + 4]
mov dword [ebp - 0xa8], esi
push dword [ebp - 0x94]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [edi + 0x44]
or esi, 0xffffffff
mov edx, dword [edi + 0x40]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x90], edx
cmp edx, ecx
je 0x4279c6
nop
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x427974
lock inc dword [ecx + 4]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov eax, dword [edx]
cmp byte [eax + 0x37], 0
je 0x427984
movups xmm0, xmmword [eax + 0x1c]
movups xmmword [eax + 0x3c], xmm0
test ecx, ecx
je 0x4279ac
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x4279ac
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4279a6
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x90]
add edx, 8
mov dword [ebp - 0x90], edx
cmp edx, dword [ebp - 0x88]
jne 0x427960
mov ecx, dword [edi + 0x44]
mov dword [ebp - 0x88], ecx
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x90], eax
cmp eax, ecx
je 0x427a51
or edi, 0xffffffff
nop word [eax + eax]
mov esi, dword [eax + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
test esi, esi
je 0x4279f6
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
push dword [ebp - 0xa8]
call fcn.004263a0
mov byte [ebp - 4], 2
test esi, esi
je 0x427a34
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x427a34
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x427a34
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x90]
add eax, 8
mov dword [ebp - 0x90], eax
cmp eax, dword [ebp - 0x88]
jne 0x4279e0
mov edi, dword [ebp - 0x98]
mov esi, dword [ebp - 0xa8]
push 0xcc0020
push 0
push 0
push esi
push dword [edi + 8]
push dword [edi + 4]
push 0
push 0
push dword [ebp - 0x94]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xa0]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_EndPaint]
push dword [edi + 0x5c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x42828b
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x42828b
cmp esi, 0x84
je 0x427b14
cmp esi, 0x113
jne 0x42826d
cmp dword [edi + 0x80], 0
je 0x427af5
push 0
push 0
push 0x10
push dword [edi + 0x10]
mov dword [edi + 0x80], 0
call dword [sym.imp.USER32.dll_PostMessageW]
push dword [ebx + 0x10]
push dword [ebp - 0x90]
push 0x113
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42828d
mov eax, 1
jmp 0x42828d
mov edx, dword [edi + 0x40]
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x88], edx
cmp edx, eax
je 0x427ba5
mov dword [ebp - 0x88], edx
or ecx, 0xffffffff
mov edi, eax
nop dword [eax]
mov esi, dword [edx + 4]
test esi, esi
je 0x427b4e
lock inc dword [esi + 4]
mov esi, dword [edx + 4]
mov eax, dword [edx]
mov eax, dword [eax + 0xb0]
mov dword [ebp - 0x18], eax
test esi, esi
je 0x427b88
mov eax, ecx
lock xadd dword [esi + 4], eax
jne 0x427b88
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or ecx, 0xffffffff
mov eax, ecx
lock xadd dword [esi + 8], eax
jne 0x427b82
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x10]
cmp dword [ebp - 0x18], eax
je 0x427b9d
add edx, 8
mov dword [ebp - 0x88], edx
cmp edx, edi
jne 0x427b40
mov edi, dword [ebp - 0x98]
jmp 0x427ba8
mov eax, dword [ebx + 0x10]
cmp edx, dword [edi + 0x44]
je 0x427c53
mov edi, dword [ebp - 0x90]
push 2
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [ebp - 0x88]
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
and edx, 0xffffff
movzx ecx, dl
mov eax, edx
shl ecx, 0x10
and edx, 0xff00
shr eax, 0x10
or ecx, eax
or ecx, edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esi]
mov edx, dword [eax + 0x64]
and edx, 0xffffff
movzx ecx, dl
mov eax, edx
shl ecx, 0x10
and edx, 0xff00
shr eax, 0x10
or ecx, eax
or ecx, edx
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov esi, dword [esi]
mov eax, dword [esi + 0xbc]
test eax, eax
jne 0x42828d
mov edx, dword [esi + 0x54]
mov eax, edx
shr eax, 0x10
movzx ecx, al
movzx eax, dl
and edx, 0xff00
shl eax, 0x10
or ecx, eax
or ecx, edx
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esi + 0xbc], eax
jmp 0x42828d
push eax
push dword [ebp - 0x90]
push 0x133
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42828d
cmp esi, 0x202
ja 0x42825d
je 0x428015
mov eax, esi
sub eax, 0x200
je 0x427e96
sub eax, 1
jne 0x42826d
mov esi, dword [ebp - 0x8c]
push esi
call dword [sym.imp.USER32.dll_SetCapture]
cmp dword [edi + 0x60], 0
mov al, 1
mov byte [ebp - 0x81], al
jne 0x427e5c
or dword [edi + 0x4c], 1
lea eax, [ebp - 0x40]
push ecx
push dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push dword [ebp - 0x88]
mov ecx, edi
movq qword [ebp - 0x40], xmm0
push eax
call fcn.00427200
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
sub eax, ecx
test eax, 0xfffffff8
je 0x427d13
mov eax, dword [ecx + 4]
test eax, eax
je 0x427cf9
lock inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea edx, [ebp - 0x9c]
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x88], 1
jmp 0x427d2f
mov dword [ebp - 0xa0], 0
lea edx, [ebp - 0xa4]
mov dword [ebp - 0x88], 2
xor ecx, ecx
mov eax, dword [edx + 4]
or esi, 0xffffffff
mov dword [edi + 0x50], ecx
mov ecx, dword [edi + 0x54]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [ebp - 0x18], ecx
mov dword [edi + 0x54], eax
test ecx, ecx
je 0x427d70
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x427d70
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x427d70
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
test dl, 2
je 0x427db5
mov ecx, dword [ebp - 0xa0]
and edx, 0xfffffffd
mov dword [ebp - 0x88], edx
test ecx, ecx
je 0x427db5
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x427db5
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa0]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x427daf
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
test dl, 1
je 0x427de4
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x427de4
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x427de4
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x98]
lock xadd dword [ecx + 8], esi
dec esi
jne 0x427de4
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x50]
test eax, eax
je 0x427e0a
mov byte [eax + 0x4d], 1
mov eax, dword [edi + 0x50]
push 0
push 0
mov byte [ebp - 0x81], 0
mov byte [eax + 0x37], 1
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x427e50
mov edx, dword [ebp - 0x3c]
push ecx
call fcn.004134b0
mov ecx, dword [ebp - 0x38]
add esp, 4
mov edx, dword [ebp - 0x40]
sub ecx, edx
and ecx, 0xfffffff8
mov eax, edx
cmp ecx, 0x1000
jb 0x427e46
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4282ad
push ecx
push edx
call fcn.00451449
add esp, 8
mov esi, dword [ebp - 0x8c]
mov al, byte [ebp - 0x81]
mov byte [edi + 0x64], al
test al, al
je 0x42828b
lea eax, [edi + 0x68]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [edi + 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0x10]
push dword [ebp - 0x90]
push 0x201
push esi
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42828d
cmp byte [edi + 0x64], 0
je 0x427ed6
lea eax, [ebp - 0x1c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [edi + 0x74]
sub eax, dword [edi + 0x6c]
add eax, dword [ebp - 0x18]
push 0x15
push 0
push 0
push eax
mov eax, dword [edi + 0x70]
sub eax, dword [edi + 0x68]
add eax, dword [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x8c], eax
cmp eax, ecx
je 0x42828b
or edi, 0xffffffff
mov esi, dword [eax + 4]
test esi, esi
je 0x427efe
lock inc dword [esi + 4]
mov esi, dword [eax + 4]
mov ecx, dword [eax]
cmp byte [ecx + 0x36], 0
jne 0x427f8d
cmp byte [ecx + 0x4c], 0
je 0x427f4d
xor al, al
mov edi, dword [ecx + 0xb8]
xor edx, edx
movzx eax, al
cmp dword [edi + 0x60], edx
mov edi, 0xffffffff
cmove edx, eax
cmp byte [ecx + 0x4c], dl
je 0x427f47
mov eax, dword [ecx + 0xb8]
push 0
push 0
mov byte [ecx + 0x4c], dl
mov byte [ecx + 0x37], 1
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebp - 0x8c]
test esi, esi
je 0x427f76
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x427f70
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x427f70
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp - 0x8c]
add eax, 8
mov dword [ebp - 0x8c], eax
cmp eax, dword [ebp - 0x18]
jne 0x427ef0
jmp 0x42828b
cmp byte [ecx + 0x34], 0
je 0x427fbd
movups xmm0, xmmword [ecx + 0x3c]
mov edx, dword [ebp - 0x88]
movd eax, xmm0
movups xmmword [ebp - 0x34], xmm0
cmp edx, eax
jl 0x427fbd
cmp edx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
jge 0x427fc0
cmp edx, dword [ebp - 0x30]
jl 0x427fc0
cmp edx, dword [ebp - 0x28]
jl 0x42800e
jmp 0x427fc0
mov edx, dword [ebp - 0x20]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x427f10
cmp byte [eax + 0x34], 0
je 0x427f10
movups xmm0, xmmword [eax + 0x3c]
movd eax, xmm0
movups xmmword [ebp - 0x34], xmm0
cmp dword [ebp - 0x88], eax
jl 0x427f10
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x2c]
jge 0x427f10
cmp edx, dword [ebp - 0x30]
jl 0x427f10
cmp edx, dword [ebp - 0x28]
jge 0x427f10
mov al, 1
jmp 0x427f12
call dword [sym.imp.USER32.dll_ReleaseCapture]
cmp dword [edi + 0x60], 0
mov byte [ebp - 0x81], 1
jne 0x428241
push ecx
push dword [ebp - 0x20]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push dword [ebp - 0x88]
xorps xmm0, xmm0
mov ecx, edi
push eax
movq qword [ebp - 0x30], xmm0
call fcn.00427200
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
movlpd qword [ebp - 0x3c], xmm0
cmp eax, 8
jb 0x42808f
mov eax, dword [ecx + 4]
test eax, eax
je 0x42807a
lock inc dword [eax + 4]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xa8], eax
lea esi, [ebp - 0xac]
mov eax, dword [ecx]
mov edx, 4
jmp 0x4280a0
mov dword [ebp - 0x18], 0
lea esi, [ebp - 0x1c]
mov edx, 8
xor eax, eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x38], eax
mov dword [esi], 0
mov dword [esi + 4], 0
or esi, 0xffffffff
mov byte [ebp - 4], 1
test dl, 8
je 0x428102
mov ecx, dword [ebp - 0x18]
and edx, 0xfffffff7
mov dword [ebp - 0x98], edx
test ecx, ecx
je 0x428102
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x428102
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4280fc
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x98]
test dl, 4
je 0x428132
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x428132
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x428132
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa8]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x428132
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 0x50]
test eax, eax
je 0x428190
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 0x81], 0
cmp eax, ecx
jne 0x428178
lea eax, [edi + 0x60]
lock inc dword [eax]
mov eax, dword [ecx + 0xb8]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x42816f
push dword [ebp - 0x20]
push dword [ebp - 0x88]
push ecx
call eax
add esp, 0xc
lea eax, [edi + 0x60]
lock dec dword [eax]
mov eax, dword [edi + 0x50]
mov byte [eax + 0x4d], 0
mov eax, dword [edi + 0x50]
push 0
push 0
mov byte [eax + 0x37], 1
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi + 0x54]
mov dword [edi + 0x50], 0
mov dword [ebp - 0x18], ecx
mov dword [edi + 0x54], 0
test ecx, ecx
je 0x4281c6
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x4281c6
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x4281c6
mov eax, dword [ecx]
call dword [eax + 4]
and dword [edi + 0x4c], 0xfffffffe
mov edi, dword [ebp - 0xa0]
test edi, edi
je 0x4281f2
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4281f2
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4281f2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x428238
mov edx, dword [ebp - 0x2c]
push ecx
call fcn.004134b0
mov ecx, dword [ebp - 0x28]
add esp, 4
mov edx, dword [ebp - 0x30]
sub ecx, edx
and ecx, 0xfffffff8
mov eax, edx
cmp ecx, 0x1000
jb 0x42822e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4282b2
push ecx
push edx
call fcn.00451449
add esp, 8
cmp byte [ebp - 0x81], 0
je 0x42828b
push dword [ebx + 0x10]
push dword [ebp - 0x90]
push 0x202
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42828d
cmp esi, 0x215
je 0x428287
cmp esi, 0x1401
je 0x42827e
push ecx
push edx
push esi
push dword [ebp - 0x8c]
call dword [sym.imp.USER32.dll_DefWindowProcW]
jmp 0x42828d
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x42828b
mov byte [edi + 0x64], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.00460976
call fcn.00460976
int3