Function at 0x10008729
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009d0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push esi
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], 1
mov byte [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov byte [ebp - 0x2f], cl
mov byte [ebp - 0x17c], 0
xor edx, edx
mov dword [ebp - 0x17b], edx
mov dword [ebp - 0x177], edx
mov dword [ebp - 0x173], edx
mov dword [ebp - 0x16f], edx
mov word [ebp - 0x16b], dx
mov byte [ebp - 0x169], dl
push 0x100fc61c
lea ecx, [ebp - 0x4c]
call fcn.10008b78
mov dword [ebp - 4], 0
push 0x100fc620
lea ecx, [ebp - 0x5c]
call fcn.10008b78
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
add eax, 0x34
push eax
lea ecx, [ebp - 0x54]
call fcn.10008b78
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ecx
call fcn.10008650
add esp, 4
push 0x100fc624
push 0x100f977c
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::Replace
cmp dword [0x100fc528], 0
je 0x10008982
push 0x100fc628
push 0x100f9780
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::Replace
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x188], esp
lea edx, [ebp - 0x54]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1a0], eax
call fcn.10002ebf
add esp, 8
lea ecx, [ebp - 0x180]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x54]
call fcn.10007970
mov esi, eax
push 0x5c
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::ReverseFind
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x180]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x180]
push eax
push 1
lea ecx, [ebp - 0x190]
push ecx
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [eax]
push ecx
push str._s__s
lea edx, [ebp - 0x184]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x190]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x184]
push eax
push str._sControl_PanelDesktop
lea ecx, [ebp - 0x168]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x60]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x168]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x184]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x180]
call sub.MFC42.DLL_CString::CString
jmp 0x100089b6
push str.Control_PanelDesktop
lea ecx, [ebp - 0x168]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x60]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x168]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x100089f7
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x194]
jmp 0x10008b68
mov dword [ebp - 0x58], 0xa
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push str.SCRNSAVE.EXE
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xea
je 0x10008a30
mov dword [ebp - 0x2c], 0
jmp 0x10008a37
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x58], 0xa
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
push str.ScreenSaverIsSecure
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x64], eax
push 0x100f97e4
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x10008a7b
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x58], 0x14
lea edx, [ebp - 0x58]
push edx
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x48]
push ecx
push 0
push str.ScreenSaveTimeOut
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x17c]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jbe 0x10008acf
lea ecx, [ebp - 0x17c]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100fc528], 0
je 0x10008b04
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x198], esp
lea eax, [ebp - 0x54]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1b4], eax
call fcn.1000338b
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 1
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
call dword [eax + 0x4c4]
mov dword [ebp - 0x19c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret