Function at 0x433040
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
sub esp, 0x40
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0x10
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x170]
cmp al, 0
je 0x4332f9
mov eax, dword [ebp - 0x48]
movzx edx, byte [eax + 0xc46]
mov eax, dword [ebp - 0x48]
mov byte [eax + 0xc78], dl
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xc46], 0
je 0x4331c7
mov eax, dword [ebp - 0x48]
mov byte [eax + 0xc78], 1
mov eax, dword [ebp - 0x48]
mov dword [eax + 0xc7c], 0xffffffff
push 0x14
call fcn.00487050
pop ecx
cmp eax, 0
je 0x4330d0
mov ecx, eax
call fcn.00401000
mov eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0xc80], eax
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x48]
call fcn.0040af70
mov dword [ebp - 0x30], eax
jmp 0x4331bd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp dword [eax + 4], ecx
jle 0x43312d
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
jmp 0x43311a
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc80]
call fcn.00401370
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x30]
add edx, dword [eax + 8]
cmp dword [ebp - 0x34], edx
jl 0x433106
jmp 0x4331a1
mov dword [ebp - 0x38], 0
jmp 0x433158
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc80]
call fcn.00401150
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
cmp dword [ebp - 0x3c], ecx
jg 0x43316b
inc dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc80]
call fcn.00401080
cmp dword [ebp - 0x38], eax
jl 0x433136
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x30]
add edx, dword [eax + 8]
add edx, 0xffffffff
mov dword [ebp - 0x40], edx
jmp 0x433196
push dword [ebp - 0x40]
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0xc80]
call fcn.00401230
dec dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
cmp dword [ebp - 0x40], ecx
jge 0x43317f
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp dword [eax + 4], ecx
jle 0x4331b5
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
jne 0x4330f0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xc44], 0
je 0x433234
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push dword [ebp + 8]
mov ecx, dword [ebp - 0x48]
call fcn.00409fd0
cmp al, 0
je 0x433234
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
movsx ecx, word [ebp - 0x20]
movsx edx, word [ebp - 0x1c]
sub edx, ecx
push edx
movsx ecx, word [ebp - 0x1e]
movsx edx, word [ebp - 0x1a]
sub edx, ecx
push edx
movsx edx, word [ebp - 0x20]
add edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0xc]
push edx
movsx edx, word [ebp - 0x1e]
add edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x10]
push edx
call fcn.00454830
add esp, 0x10
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x43324d
push 0
push 0
push 0
push 0
call fcn.00454830
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x48]
movzx edx, byte [eax + 0xc46]
mov eax, dword [ebp - 0x44]
mov byte [eax + 0x1c], dl
push dword [ebp + 8]
push dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x2e8]
cmp al, 0
je 0x433281
push dword [ebp - 0x44]
call fcn.00454510
pop ecx
jmp 0x433296
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xc46], 0
je 0x433296
push dword [ebp - 0x44]
call fcn.00454510
pop ecx
mov eax, dword [ebp - 0x48]
cmp byte [eax + 0xc78], 0
je 0x4332c8
mov eax, dword [ebp - 0x48]
mov ebx, dword [eax + 0xc80]
cmp ebx, 0
je 0x4332be
mov ecx, ebx
call fcn.00401050
push ebx
call fcn.00487090
pop ecx
mov eax, dword [ebp - 0x48]
mov byte [eax + 0xc78], 0
push dword [ebp - 0x44]
call sym.X86RunHoudini.exe_RuntimeUnlockObject
pop ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
mov edx, dword [ebp - 0x48]
mov ecx, edx
mov esi, dword [ecx]
mov ecx, edx
call dword [esi + 0x1b8]
mov eax, dword [ebp - 0x48]
mov byte [eax + 0xc29], 1
mov al, 1
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret 4
mov al, 0
lea esp, [ebp - 8]
pop esi
pop ebx
pop ebp
ret 4