Function at 0x4c59c4
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x44], ecx
cmp dword [ebp + 0xc], 0
jne 0x4c59ea
push 0x12f
push str.winfrmx.cpp
call fcn.004f5580
test eax, eax
je 0x4c59ea
int3
xor eax, eax
test eax, eax
jne 0x4c59d0
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x367
je 0x4c5a11
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x100
jne 0x4c5a34
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0x1b
jne 0x4c5a34
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
jmp 0x4c5da7
lea ecx, [ebp - 8]
call fcn.004febfe
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x200
jb 0x4c5a54
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x209
jbe 0x4c5a74
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0xa0
jb 0x4c5c2a
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0xa9
ja 0x4c5c2a
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [edx + 0x14]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004c5753
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4c5a9e
mov eax, 1
jmp 0x4c5da7
cmp dword [ebp - 0xc], 0
je 0x4c5bff
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x201
je 0x4c5ada
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
mov eax, 1
jmp 0x4c5da7
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 0x14]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx + 0x18]
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x84
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
je 0x4c5b12
cmp dword [ebp - 0x14], 3
jne 0x4c5b8a
call dword [sym.imp.USER32.dll_GetCapture]
mov ecx, dword [ebp - 0x44]
cmp eax, dword [ecx + 0x1c]
je 0x4c5b34
push 0x14d
push str.winfrmx.cpp
call fcn.004f5580
test eax, eax
je 0x4c5b34
int3
xor edx, edx
test edx, edx
jne 0x4c5b12
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xa1
push 0xa1
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea edx, [ebp - 8]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004c5753
jmp 0x4c5bfd
cmp dword [ebp - 0x14], 1
jne 0x4c5bcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ecx + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004c58b0
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
push 1
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
jmp 0x4c5da7
mov edx, dword [ebp - 0x14]
push edx
call fcn.004c597e
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
xor eax, eax
jmp 0x4c5da7
jmp 0x4c5c25
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_PeekMessageW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x4c5da2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x112
je 0x4c5c56
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x100
jb 0x4c5d78
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x108
ja 0x4c5d78
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
je 0x4c5c84
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 3
push 0x209
push 0x200
push 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4c5c84
jmp 0x4c5c66
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4c5d4e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x44]
call dword [edx + 0x98]
test eax, eax
jne 0x4c5d4e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x112
je 0x4c5d06
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x104
jb 0x4c5d4e
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x107
ja 0x4c5d4e
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 0x112
je 0x4c5d3e
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 0x104
jb 0x4c5d2a
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0x107
jbe 0x4c5d3e
push 0x183
push str.winfrmx.cpp
call fcn.004f5580
test eax, eax
je 0x4c5d3e
int3
xor ecx, ecx
test ecx, ecx
jne 0x4c5d06
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.004c5753
jmp 0x4c5da2
push 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4c5da2
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8