Function at 0x405a5a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov dword [ebp - 0x124], ecx
and dword [ebp - 0x10], 0
mov dword [ebp - 4], 3
mov dword [ebp - 0xc], 1
call sym.NPROTECT.EXE__NPSystemGetWindowsType_0
cmp eax, 2
jne 0x405aa0
mov eax, dword [ebp - 0x124]
mov al, byte [eax]
push eax
call fcn.00409ca8
pop ecx
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x22c], eax
mov ecx, dword [ebp - 0x124]
call fcn.0040613b
test eax, eax
jne 0x405ab6
xor eax, eax
jmp 0x405d99
push 0x820
mov ecx, dword [ebp - 0x124]
call fcn.00407f79
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1dc], 0xc
jne 0x405b75
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x224], 1
call sym.NPROTECT.EXE__NPSystemGetWindowsType_0
cmp eax, 2
jne 0x405b01
mov eax, dword [ebp - 0x124]
mov word [eax + 0x29], 0x5dc
jmp 0x405b73
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 1
je 0x405b58
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 2
je 0x405b58
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 3
je 0x405b58
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 4
je 0x405b58
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 5
je 0x405b58
mov dword [ebp - 0x128], 0x5dc
jmp 0x405b62
mov dword [ebp - 0x128], 0x64
mov eax, dword [ebp - 0x124]
mov cx, word [ebp - 0x128]
mov word [eax + 0x29], cx
jmp 0x405b91
mov eax, dword [ebp - 0x124]
mov dword [eax + 0x224], 0x64
mov eax, dword [ebp - 0x124]
mov word [eax + 0x29], 0x5dc
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SoftwareSymantecNorton_UtilitiesNorton_Protection
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405be1
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push 0x41ccf8
lea eax, [ebp - 4]
push eax
push 0
push str.MaxUsed
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
mov eax, dword [eax + 0x196]
inc eax
xor edx, edx
push 0x64
pop ecx
div ecx
imul eax, dword [0x41ccf8]
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x35], eax
push str.Switches
mov eax, dword [ebp - 0x124]
movsx eax, byte [eax]
push eax
push str.SoftwareSymantecNorton_UtilitiesNorton_Protection
push str._sDrive__c:_s
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
push 1
push 0
lea eax, [ebp - 0x120]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405d96
mov dword [ebp - 0xc], 2
mov dword [ebp - 4], 3
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.DaysToKeep
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405c8c
mov eax, dword [ebp - 0x124]
mov cx, word [ebp - 8]
mov word [eax + 0x2b], cx
mov dword [ebp - 0xc], 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.MaxFleSaved
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405d56
mov eax, dword [ebp - 0x124]
mov cx, word [ebp - 8]
mov word [eax + 0x29], cx
mov eax, dword [ebp - 0x124]
movzx eax, word [eax + 0x29]
test eax, eax
je 0x405ce4
mov eax, dword [ebp - 0x124]
movzx eax, word [eax + 0x29]
cmp eax, 0xffff
jne 0x405d56
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 1
je 0x405d3b
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 2
je 0x405d3b
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 3
je 0x405d3b
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 4
je 0x405d3b
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x1e0], 5
je 0x405d3b
mov dword [ebp - 0x12c], 0x5dc
jmp 0x405d45
mov dword [ebp - 0x12c], 0x64
mov eax, dword [ebp - 0x124]
mov cx, word [ebp - 0x12c]
mov word [eax + 0x29], cx
mov dword [ebp - 0xc], 2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push str.UpdateInterval
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x405d8d
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0x124]
mov dword [ecx + 0x224], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
leave
ret