Function at 0x1005d3b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x2c]
test edi, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
cmove edi, dword [0x10177404]
test byte [ebp + 0x28], 1
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x2c], eax
je 0x1005d448
call fcn.1013aefb
sub eax, dword [0x1017756c]
cmp eax, 0x12c
jge 0x1005d448
cmp edi, dword [0x10177568]
jne 0x1005d448
mov eax, dword [0x10177564]
mov dword [0x10177568], 0
test eax, eax
je 0x1005dd30
push eax
call sym.ExuiKrnln_X32.dll_Close_DownlistEx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.1012d671
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [0x10177564]
test eax, eax
je 0x1005d457
push eax
call sym.ExuiKrnln_X32.dll_Close_DownlistEx
cmp dword [esi + 0x19c], 0
jne 0x1005dd30
mov eax, dword [esi + 0x18c]
push esi
push eax
push eax
mov eax, dword [esi + 0x188]
push esi
push 0x284
push esi
mov dword [0x10177568], edi
mov dword [0x10177564], esi
mov dword [esi + 0x10c], 0x3f800000
call eax
cmp eax, 1
jne 0x1005d543
movss xmm1, dword [esi + 0x10c]
movss xmm0, dword [0x10161668]
mov ecx, dword [esi + 0x50]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005d4c1
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x1005d4f1
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm0, dword [0x10161668]
add esp, 8
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
mov ecx, dword [esi + 0x54]
cvttsd2si eax, xmm1
movss xmm1, dword [esi + 0x10c]
ucomiss xmm1, xmm0
mov dword [esp + 0x18], eax
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x1005d517
cvtdq2pd xmm0, xmm0
jmp 0x1005d53b
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvttsd2si eax, xmm0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x28
push eax
push 2
push 0x5f5e100
push 0x5f5e100
call dword [sym.imp.USER32.dll_MonitorFromPoint]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x1c]
cmovg ecx, dword [esp + 0x60]
cmp edx, dword [esp + 0x64]
mov dword [esp + 0x18], ecx
cmovg edx, dword [esp + 0x64]
cmp dword [ebp + 0x28], 0
mov dword [esp + 0x1c], edx
je 0x1005da14
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push dword [edi + 0x28]
movaps xmmword [esp + 0x38], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x28
push eax
push 2
push 0x5f5e100
push 0x5f5e100
call dword [sym.imp.USER32.dll_MonitorFromPoint]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test byte [ebp + 0x28], 4
jne 0x1005d73b
movss xmm1, dword [edi + 0x10c]
movss xmm0, dword [0x10161668]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005d600
movd xmm1, dword [esp + 0x14]
cvtdq2pd xmm1, xmm1
jmp 0x1005d632
movd xmm0, dword [esp + 0x14]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm0, dword [0x10161668]
add esp, 8
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvttsd2si eax, xmm1
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
mov dword [esp + 0x14], eax
lahf
test ah, 0x44
jp 0x1005d657
movd xmm1, dword [esp + 0x10]
cvtdq2pd xmm1, xmm1
jmp 0x1005d689
movd xmm0, dword [esp + 0x10]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm0, dword [0x10161668]
add esp, 8
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvttsd2si eax, xmm1
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
mov dword [esp + 0x10], eax
lahf
test ah, 0x44
jp 0x1005d6ae
movd xmm1, dword [esp + 0x18]
cvtdq2pd xmm1, xmm1
jmp 0x1005d6e0
movd xmm0, dword [esp + 0x18]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm0, dword [0x10161668]
add esp, 8
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvttsd2si eax, xmm1
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
mov dword [esp + 0x18], eax
movd xmm0, dword [esp + 0x1c]
lahf
test ah, 0x44
jp 0x1005d70d
cvtdq2pd xmm0, xmm0
cvttsd2si eax, xmm0
mov dword [esp + 0x1c], eax
jmp 0x1005d73f
cvtdq2ps xmm0, xmm0
sub esp, 8
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvttsd2si eax, xmm0
mov dword [esp + 0x1c], eax
jmp 0x1005d73f
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x28]
test ecx, 0x4000
je 0x1005d755
mov edx, dword [esp + 0x18]
add edx, dword [edi + 0x50]
mov dword [esp + 0x18], edx
test ecx, 0x8000
je 0x1005d764
add eax, dword [edi + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.USER32.dll_GetCursorPos]
test cl, 0x10
je 0x1005d7bf
lea ecx, [esp + 0x20]
xorps xmm0, xmm0
push ecx
movlpd qword [esp + 0x24], xmm0
call eax
test byte [ebp + 0x28], 8
je 0x1005d7ab
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx]
add eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x60]
jle 0x1005d7a1
mov eax, dword [esp + 0x20]
sub eax, edx
jmp 0x1005d7b3
add ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
jmp 0x1005d7b7
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [sym.imp.USER32.dll_GetCursorPos]
test cl, 0x20
je 0x1005d80a
lea ecx, [esp + 0x20]
xorps xmm0, xmm0
push ecx
movlpd qword [esp + 0x24], xmm0
call eax
test byte [ebp + 0x28], 8
mov ecx, dword [esp + 0x10]
je 0x1005d800
mov edx, dword [esp + 0x1c]
mov eax, ecx
add eax, edx
add eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x64]
jle 0x1005d800
mov eax, dword [esp + 0x24]
sub eax, edx
sub eax, ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1005d80e
add ecx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
jmp 0x1005d80e
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x28]
mov edx, dword [esp + 0x14]
test al, 0x40
je 0x1005d829
mov eax, dword [edi + 0x74]
add eax, dword [esp + 0x30]
add edx, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], edx
test al, al
jns 0x1005d83d
mov eax, dword [edi + 0x78]
add eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x10], ecx
test eax, 0x100
je 0x1005d85b
mov eax, dword [edi + 0x74]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x30]
add eax, dword [edi + 0x50]
add edx, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], edx
test eax, 0x200
je 0x1005d879
mov eax, dword [edi + 0x54]
sub eax, dword [esp + 0x1c]
add eax, dword [edi + 0x78]
add eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x10], ecx
test eax, 0x400
je 0x1005d8ed
mov ecx, dword [esp + 0x10]
test al, 8
je 0x1005d8d8
mov eax, edx
sub eax, dword [esp + 0x18]
add eax, dword [edi + 0x74]
add eax, dword [esp + 0x30]
jns 0x1005d8c6
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x74]
add eax, edx
add ecx, eax
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x14], ecx
add eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x60]
jge 0x1005d8c6
mov edx, dword [esp + 0x14]
add edx, dword [esp + 0x30]
mov eax, dword [ebp + 0x28]
jmp 0x1005d8e9
mov eax, dword [edi + 0x74]
sub eax, dword [esp + 0x18]
add eax, dword [esp + 0x30]
add edx, eax
mov eax, dword [ebp + 0x28]
jmp 0x1005d8e9
mov ecx, dword [edi + 0x74]
sub ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x30]
add edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], edx
test eax, 0x800
je 0x1005d961
mov edx, dword [esp + 0x14]
test al, 8
je 0x1005d94c
mov eax, ecx
sub eax, dword [esp + 0x1c]
add eax, dword [edi + 0x78]
add eax, dword [esp + 0x34]
jns 0x1005d93a
mov edx, dword [edi + 0x78]
add edx, dword [edi + 0x54]
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
add eax, ecx
add eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x64]
jge 0x1005d93a
mov eax, dword [esp + 0x34]
add eax, dword [esp + 0x10]
add ecx, eax
mov eax, dword [ebp + 0x28]
jmp 0x1005d959
mov eax, dword [edi + 0x78]
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x34]
add ecx, eax
mov eax, dword [ebp + 0x28]
jmp 0x1005d95d
mov edx, dword [edi + 0x78]
sub edx, dword [esp + 0x1c]
add edx, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
test eax, 0x1000
je 0x1005d9b0
mov ecx, dword [esp + 0x10]
test al, 8
je 0x1005d9a0
mov eax, edx
sub eax, dword [esp + 0x18]
add eax, dword [edi + 0x74]
add eax, dword [esp + 0x30]
test eax, eax
jle 0x1005d9a0
mov eax, dword [edi + 0x50]
add eax, edx
add eax, dword [esp + 0x18]
add eax, dword [edi + 0x74]
add eax, dword [esp + 0x30]
cmp eax, dword [esp + 0x60]
jle 0x1005d9a0
mov eax, dword [edi + 0x74]
sub eax, dword [esp + 0x18]
jmp 0x1005d9a6
mov eax, dword [edi + 0x50]
add eax, dword [edi + 0x74]
add eax, dword [esp + 0x30]
add edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x28]
test edx, 0x2000
je 0x1005db05
test dl, 8
je 0x1005d9ff
mov edx, dword [esp + 0x1c]
mov eax, ecx
sub eax, edx
add eax, dword [edi + 0x78]
add eax, dword [esp + 0x34]
test eax, eax
jle 0x1005d9ff
mov eax, dword [edi + 0x54]
add eax, edx
add eax, ecx
add eax, dword [edi + 0x78]
add eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x64]
jle 0x1005d9ff
mov eax, dword [edi + 0x78]
sub eax, edx
add eax, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1005db05
mov eax, dword [edi + 0x54]
add eax, dword [edi + 0x78]
add eax, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x1005db05
cmp dword [esp + 0x14], 0
jl 0x1005da2c
cmp dword [esp + 0x10], 0
jl 0x1005da2c
test edi, edi
je 0x1005db05
jmp 0x1005da61
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x14]
test edx, edx
mov eax, dword [esp + 0x10]
cmovs edx, dword [esp + 0x20]
test eax, eax
mov dword [esp + 0x14], edx
cmovs eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
test edi, edi
je 0x1005db05
mov ecx, dword [esp + 0x18]
movss xmm1, dword [edi + 0x10c]
movss xmm0, dword [0x10161668]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x1005da84
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
jmp 0x1005dab4
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
movss xmm0, dword [0x10161668]
add esp, 8
fstp qword [esp + 0x20]
movsd xmm1, qword [esp + 0x20]
cvttsd2si eax, xmm1
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
mov dword [esp + 0x18], eax
movd xmm0, dword [esp + 0x1c]
lahf
test ah, 0x44
jp 0x1005dad9
cvtdq2pd xmm0, xmm0
jmp 0x1005dafd
cvtdq2ps xmm0, xmm0
sub esp, 8
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.10130e30
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
add esp, 8
cvttsd2si eax, xmm0
mov dword [esp + 0x1c], eax
cmp dword [0x10177ed0], 0
jne 0x1005db8c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.ICON_1
push eax
mov dword [0x10177ed0], eax
mov dword [esp + 0x4c], 3
mov dword [esp + 0x50], 0x1005b8c0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x60], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], str.DownlistEx
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x1005dd30
mov eax, dword [esi + 0x18c]
push esi
push eax
push eax
mov eax, dword [esi + 0x188]
push esi
push 0x286
push esi
call eax
cmp eax, 1
je 0x1005dd30
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1005dbc4
test edi, edi
je 0x1005dbcf
mov eax, dword [edi + 0x28]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1005dbcf
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x2c]
push 0
push dword [0x10177ed0]
push 0
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x30]
push 0xc0400000
push str.DownlistEx
push str.DownlistEx
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x19c], eax
test eax, eax
je 0x1005dd30
push 0x90
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0x384
push 0
push dword [esi + 0x184]
mov dword [esi + 0x1d8], 0xffffffff
push 0
push 0x384
push 0x1005b8e0
push fcn.1005bdf0
push dword [esi + 0x180]
mov dword [esi + 0x1dc], 0xffffffff
push 0
push 1
push 0
push 0
push 0
push 0
push dword [esi + 0x19c]
mov dword [esi + 0x1d4], 0xffffffff
push 0
push esi
mov dword [esi + 0x40], 0x1005b8e0
call sym.ExuiKrnln_X32.dll_ControlCreate
test byte [ebp + 0x28], 2
jne 0x1005dcb5
test edi, edi
je 0x1005dcb5
movss xmm0, dword [edi + 0x10c]
mulss xmm0, dword [0x10161858]
cvttss2si ecx, xmm0
jmp 0x1005dcba
mov ecx, 0x64
mov eax, esi
push ecx
push eax
call sym.ExuiKrnln_X32.dll_ControlSetWinScale
push 0x50
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push 0xffffffffffffffff
push dword [esi + 0x19c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x18c]
push esi
push eax
push eax
mov eax, dword [esi + 0x188]
push esi
push 0x287
push esi
call eax
cmp eax, 1
je 0x1005dd30
push 0x10
call fcn.1012d6c2
mov ecx, dword [ebp + 0x24]
add esp, 4
mov dword [eax], 0xd3
push eax
push esi
push 0x3fa
mov dword [eax + 4], esi
mov dword [eax + 8], 0
mov dword [eax + 0xc], ecx
push dword [esi + 0x28]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
xor ecx, esp
call fcn.1012d671
mov esp, ebp
pop ebp
ret 0x28