Function at 0x549850
Capabilities:
Check for unmoving mouse cursor
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x668348], 0
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
jne case.0x549a57.275
mov esi, dword [ebp + 0xc]
cmp esi, 0x104
ja 0x549a3f
je case.0x549a57.513
cmp esi, 0x1c
ja 0x549a0c
je 0x549a30
mov eax, esi
sub eax, 1
je 0x5498fd
sub eax, 5
je 0x549a30
sub eax, 0xa
jne case.0x549a57.275
mov eax, dword [0x668248]
test eax, eax
je 0x5498c6
cmp dword [eax + 0x344], edi
jne case.0x549a57.275
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x6682a0]
cmp eax, 0x3e8
jae 0x549b1e
cmp esi, 0x1c
ja 0x549b06
je case.0x549a57.275
cmp esi, 6
je case.0x549a57.275
cmp esi, 0x10
jmp 0x549b18
cmp byte [0x668338], 0
jne case.0x549a57.275
lea eax, [ebp - 0xa8]
mov byte [0x668338], 1
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xa8]
mov dword [0x668340], eax
mov eax, dword [ebp - 0xa4]
mov dword [0x668344], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 1
jne case.0x549a57.275
lea eax, [ebp - 0xa0]
push eax
push str.Control_PanelDesktop
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne case.0x549a57.275
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xac], 4
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push str.ScreenSaveUsePassword
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5499ee
cmp dword [ebp - 0x9c], eax
je 0x5499ee
push str.PASSWORD.CPL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x5499ee
push str.VerifyScreenSavePwd
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
mov dword [0x66834c], eax
lea eax, [ebp - 0xb0]
push eax
push 1
push 0x61
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push dword [ebp - 0xa0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
mov eax, esi
sub eax, 0x86
je 0x549a30
sub eax, 0x7a
je case.0x549a57.513
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x10], 0
jne case.0x549a57.275
jmp case.0x549a57.513
lea eax, [esi - 0x112]
cmp eax, 0xf5
ja case.0x549a57.275
movzx eax, byte [eax + 0x549c3c]
jmp dword [eax*4 + 0x549c2c]
mov eax, dword [ebp + 0x10]
cmp eax, 0xf060
ja 0x549a8c
je 0x549aee
sub eax, 0xf040
je 0x549aee
sub eax, 0x10
je 0x549aee
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
cmp eax, 0xf140
jne case.0x549a57.275
pop edi
mov dword [ecx], 0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
movzx edx, ax
shr eax, 0x10
cmp edx, dword [0x668340]
jne 0x549acf
cmp eax, dword [0x668344]
jne 0x549acf
mov eax, dword [0x66833c]
jmp 0x549ae5
mov dword [0x668344], eax
mov eax, dword [0x66833c]
inc eax
mov dword [0x668340], edx
mov dword [0x66833c], eax
cmp eax, 4
jge case.0x549a57.513
pop edi
mov dword [ecx], 0
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
cmp esi, 0x86
je case.0x549a57.275
cmp esi, 0x200
je case.0x549a57.275
mov ecx, dword [0x66834c]
test ecx, ecx
je 0x549c04
mov eax, dword [0x668248]
test eax, eax
je 0x549c04
cmp byte [eax + 0x33e], 0
je 0x549c04
mov edx, dword [eax + 0x35c]
test edx, edx
je 0x549b6f
mov edx, dword [edx + 0x58]
test edx, edx
je 0x549b6f
mov eax, dword [edx]
push edx
call dword [eax + 0x28]
mov eax, dword [0x668248]
mov ecx, dword [0x66834c]
mov byte [eax + 0x358], 1
push edi
mov byte [0x668348], 1
call ecx
mov ecx, dword [0x668248]
mov esi, eax
mov byte [0x668348], 0
test ecx, ecx
je 0x549ba0
mov byte [ecx + 0x358], 0
mov ecx, dword [0x668248]
push 0
call fcn.0053d310
test esi, esi
jne 0x549bdf
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0xa8]
mov dword [0x668340], eax
mov eax, dword [ebp - 0xa4]
pop edi
mov dword [0x668344], eax
xor al, al
mov dword [0x66833c], esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0059b734
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0xb0]
push eax
push 0
push 0x61
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x66834c], 0
push 0
push 0
push 0x10
push edi
mov byte [0x668348], 1
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.0059b734
mov esp, ebp
pop ebp
ret