Function at 0x421234
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
push 0x20
call fcn.005162fc
mov esi, eax
add esi, esi
push 0x1e
call fcn.005162fc
add esi, eax
push 0x20
call fcn.005162fc
sar eax, 1
jns 0x421262
adc eax, 0
add esi, eax
inc esi
mov dword [ebp - 8], esi
push 0x21
call fcn.005162fc
mov esi, eax
push 4
call fcn.005162fc
add esi, eax
push 0xf
call fcn.005162fc
add esi, eax
push 0x21
call fcn.005162fc
add esi, eax
push 0x21
call fcn.005162fc
sar eax, 1
jns 0x42129a
adc eax, 0
add esi, eax
inc esi
mov dword [ebp - 0xc], esi
push dword [ebp + 8]
call sub.USER32.dll_GetParent
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4212b9
mov eax, dword [0x54afe0]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4212c8
mov edx, dword [0x54fbbc]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4212db
push 0xfffffffffffffff8
push dword [ebp + 8]
call sub.USER32.dll_GetWindowLongA
mov dword [ebp - 0x10], eax
cmp ebx, 0x10
je 0x4212ea
cmp ebx, 0x11
je 0x4212ea
cmp ebx, 0x1e
jne 0x4212ef
mov esi, dword [ebp - 0x10]
jmp 0x421335
cmp ebx, 3
jle 0x42132f
cmp ebx, 0x12
jge 0x42132f
cmp dword [0x55b3d4], 0
je 0x421328
push dword [0x55b3d4]
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x421328
push dword [0x55b3d4]
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x421328
mov esi, dword [0x55b3d4]
jmp 0x421335
xor ebx, ebx
mov esi, dword [ebp - 0x10]
jmp 0x421335
mov esi, dword [0x55b3c8]
mov eax, dword [0x54eaf4]
test eax, eax
je 0x42135b
mov edx, dword [eax + 0xc8]
cmp edx, dword [ebp + 8]
jne 0x421351
mov esi, dword [eax + 0xcc]
xor ebx, ebx
mov eax, dword [eax + 0x1004]
test eax, eax
jne 0x42133e
mov eax, dword [0x5573c4]
test eax, eax
je 0x421381
cmp eax, dword [ebp - 0x10]
jne 0x421381
xor ebx, ebx
push 0x69
push eax
call sub.USER32.dll_GetDlgItem
mov esi, eax
test esi, esi
jne 0x4213a2
mov esi, dword [0x5573c4]
jmp 0x4213a2
test esi, esi
je 0x421399
push esi
call sub.USER32.dll_IsIconic
test eax, eax
jne 0x421399
push esi
call sub.USER32.dll_IsWindowVisible
test eax, eax
jne 0x4213a2
xor ebx, ebx
call sub.USER32.dll_GetDesktopWindow
mov esi, eax
call sub.USER32.dll_GetDesktopWindow
cmp esi, eax
jne 0x4213c0
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push dword [0x55b3c8]
call fcn.004c6b38
jmp 0x4213ca
lea edx, [ebp - 0x28]
push edx
push esi
call sub.USER32.dll_GetWindowRect
lea ecx, [ebp - 0x38]
push ecx
push dword [ebp + 8]
call sub.USER32.dll_GetWindowRect
test ebx, ebx
je 0x4213e9
cmp ebx, 4
je 0x4213e9
cmp ebx, 5
je 0x4213e9
cmp ebx, 0x1e
jne 0x42144b
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
sub edi, eax
sar edi, 1
jns 0x4213f8
adc edi, 0
add edi, eax
mov edx, dword [ebp - 0x30]
sub edx, dword [ebp - 0x38]
sar edx, 1
jns 0x421407
adc edx, 0
sub edi, edx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
sub ecx, eax
sar ecx, 1
jns 0x421418
adc ecx, 0
add ecx, eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x34]
sar edx, 1
jns 0x421427
adc edx, 0
sub ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [0x5573c4]
test eax, eax
je 0x4214d8
cmp eax, dword [ebp - 0x10]
jne 0x4214d8
sub dword [ebp - 4], 0xa
jmp 0x4214d8
mov edi, dword [ebp - 0x28]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x18]
push edx
call sub.USER32.dll_GetCursorPos
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x38]
sar ecx, 1
jns 0x421470
adc ecx, 0
mov eax, dword [ebp - 0x18]
sub eax, ecx
cmp edi, eax
jle 0x42147b
mov eax, edi
cmp ebx, 7
jne 0x42149b
mov edx, dword [ebp - 8]
sar edx, 1
jns 0x42148a
adc edx, 0
sub edi, edx
mov ecx, dword [ebp - 0xc]
sar ecx, 1
jns 0x421496
adc ecx, 0
sub dword [ebp - 4], ecx
jmp 0x4214d8
cmp ebx, 0x12
jne 0x4214a4
mov edi, eax
jmp 0x4214d8
cmp ebx, 0x13
jne 0x4214ad
mov edi, eax
jmp 0x4214d8
cmp ebx, 0x14
jne 0x4214b6
mov edi, eax
jmp 0x4214d8
cmp ebx, 0x15
jne 0x4214bf
mov edi, eax
jmp 0x4214d8
cmp ebx, 0x16
jne 0x4214c8
mov edi, eax
jmp 0x4214d8
cmp ebx, 0x17
jne 0x4214d1
mov edi, eax
jmp 0x4214d8
cmp ebx, 0x18
jne 0x4214d8
mov edi, eax
cmp dword [0x55ad8c], 0
je 0x421565
cmp dword [0x556158], 3
jne 0x421565
lea eax, [ebp - 0x18]
push eax
call sub.USER32.dll_GetCursorPos
push 0
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
push ecx
push 0
call fcn.004c6b38
lea eax, [ebp - 0x18]
push eax
call sub.USER32.dll_GetCursorPos
push 1
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x18]
push ecx
push 0
call fcn.004c6b38
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x44]
jle 0x421534
mov edi, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x421591
mov edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 0x48]
jle 0x421546
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
jmp 0x421591
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x3c]
jge 0x421556
mov edi, dword [ebp - 0x20]
mov dword [ebp - 4], eax
jmp 0x421591
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x40]
jge 0x421591
mov edi, edx
mov dword [ebp - 4], eax
jmp 0x421591
call sub.USER32.dll_GetDesktopWindow
cmp esi, eax
jne 0x421583
push 0
lea eax, [ebp - 0x28]
push eax
push 0
push dword [0x55b3c8]
call fcn.004c6b38
jmp 0x421591
push 0
lea edx, [ebp - 0x28]
push edx
push 0
push esi
call fcn.004c6b38
cmp dword [0x556158], 3
jne 0x4215a2
xor ecx, ecx
mov dword [0x556158], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffffe
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x38]
add eax, edi
cmp edx, eax
jge 0x4215b8
sub eax, edx
sub edi, eax
mov eax, dword [ebp - 0x28]
add eax, 2
cmp edi, eax
jge 0x4215c4
mov edi, eax
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffffe
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
add eax, dword [ebp - 4]
cmp edx, eax
jge 0x4215dc
sub eax, edx
sub dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add eax, 2
cmp eax, dword [ebp - 4]
jle 0x4215ea
mov dword [ebp - 4], eax
push 0x15
push 0
push 0
push dword [ebp - 4]
push edi
push 0
push dword [ebp + 8]
call sub.USER32.dll_SetWindowPos
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8