Function at 0x4d5900
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
push edi
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
xor bl, bl
call fcn.004d6940
mov edi, dword [ebp + 0x18]
xor ecx, ecx
add esp, 8
mov esi, eax
mov dword [ebp - 0x10], edi
cmp ecx, str.software360TotalSecurity
je 0x4d59d6
xor edx, edx
cmp edx, str.ActiveProtection
je 0x4d59d6
xor eax, eax
cmp eax, str.CloseType
je 0x4d59d6
mov edx, dword [0x599458]
mov eax, dword [edx + 0xc]
mov ecx, 0x599458
call eax
push str.ActiveProtection
push str.software360TotalSecurity
lea ecx, [ebp - 0xc]
add eax, 0x10
push str._s_s
push ecx
mov dword [ebp - 0xc], eax
call fcn.004a19c0
add esp, 0x10
lea edx, [ebp + 0x18]
push edx
push str.software360TotalSecurity
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4d59b2
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x18], 0
mov edx, dword [ebp - 0xc]
push 4
lea ecx, [ebp - 0x10]
push ecx
push 4
push str.CloseType
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea ecx, [ebp - 0xc]
call fcn.00443d90
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4d5cdd
cmp edi, 3
jne 0x4d5a09
push reloc.OLEAUT32.dll_SysReAllocString
push str.software360TotalSecurity
call fcn.004cd810
push edx
push eax
push str.LastCloseTime
push str.ActiveProtection
call fcn.004ce460
add esp, 0x18
test esi, esi
je 0x4d5ac4
xor eax, eax
mov dword [ebp - 0x10], esi
cmp eax, str.software360TotalSecurity
je 0x4d5ac2
xor ecx, ecx
cmp ecx, str.ActiveProtection
je 0x4d5ac2
xor edx, edx
cmp edx, str.PreMode
je 0x4d5ac2
mov eax, dword [0x599458]
mov edx, dword [eax + 0xc]
mov ecx, 0x599458
call edx
push str.ActiveProtection
add eax, 0x10
push str.software360TotalSecurity
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push str._s_s
push eax
call fcn.004a19c0
add esp, 0x10
lea ecx, [ebp + 0x18]
push ecx
push str.software360TotalSecurity
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4d5a97
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x18], esi
mov ecx, dword [ebp - 0xc]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push str.PreMode
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
lea ecx, [ebp - 0xc]
sete bl
call fcn.00443d90
jmp 0x4d5ac4
xor bl, bl
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d5b77
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x10], edx
cmp eax, str.software360TotalSecurity
je 0x4d5b77
xor ecx, ecx
cmp ecx, str.ActiveProtection
je 0x4d5b77
xor edx, edx
cmp edx, str.CustomFlags
je 0x4d5b77
mov eax, dword [0x599458]
mov edx, dword [eax + 0xc]
mov ecx, 0x599458
call edx
push str.ActiveProtection
add eax, 0x10
push str.software360TotalSecurity
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push str._s_s
push eax
call fcn.004a19c0
add esp, 0x10
lea ecx, [ebp + 0x18]
push ecx
push str.software360TotalSecurity
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4d5b53
mov edx, dword [ebp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x18], esi
mov ecx, dword [ebp - 0xc]
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push str.CustomFlags
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea ecx, [ebp - 0xc]
call fcn.00443d90
test bl, bl
je 0x4d5ee1
mov eax, dword [ebp + 8]
cmp eax, 0xff
je 0x4d5c57
xor edx, edx
mov dword [ebp - 0x14], eax
cmp edx, str.software360TotalSecurity
je 0x4d5eb9
xor eax, eax
cmp eax, str.ActiveProtection
je 0x4d5eb9
xor ecx, ecx
cmp ecx, 0x56c0e8
je 0x4d5eb9
mov edx, dword [0x599458]
mov eax, dword [edx + 0xc]
mov ecx, 0x599458
call eax
push str.ActiveProtection
push str.software360TotalSecurity
lea ecx, [ebp - 0xc]
add eax, 0x10
push str._s_s
push ecx
mov dword [ebp - 0xc], eax
call fcn.004a19c0
add esp, 0x10
lea edx, [ebp + 0x18]
push edx
push str.software360TotalSecurity
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x4d5c14
mov eax, dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp + 0x18], esi
mov edx, dword [ebp - 0xc]
push 4
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0x56c0e8
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
lea ecx, [ebp - 0xc]
sete bl
call fcn.00443d90
test bl, bl
je 0x4d5ee1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push eax
push ecx
call fcn.004d4040
add esp, 8
mov bl, al
test bl, bl
je 0x4d5ee1
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4d5ee1
mov ecx, str.Q360SafeMonClass
cmp eax, 1
je 0x4d5c79
mov ecx, str.Q360InternationSafeClass
mov edx, dword [ebp - 8]
or edx, dword [ebp - 4]
push 0
push 0
dec eax
push 0
neg eax
push 0x3e8
sbb eax, eax
mov dword [ebp + 0x18], edx
push 4
lea edx, [ebp + 0x18]
and eax, 0xc000000
push edx
add eax, 0x41505343
push eax
push ecx
call fcn.004b1cf0
mov eax, dword [ebp + 0x14]
add esp, 0x20
push 0
push 0
test eax, eax
je 0x4d5ec2
push 0x3e8
push 4
lea ecx, [ebp + 0x18]
push ecx
push 0x4f505343
push eax
call fcn.004b1c60
add esp, 0x1c
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0xff
jne 0x4d5d8e
xor edx, edx
mov dword [ebp - 0xc], 2
cmp edx, str.software360TotalSecurity
je 0x4d5d73
xor eax, eax
cmp eax, str.ActiveProtection
je 0x4d5d73
xor ecx, ecx
cmp ecx, str.PreMode
je 0x4d5d73
mov edx, dword [0x599458]
mov eax, dword [edx + 0xc]
mov ecx, 0x599458
call eax
push str.ActiveProtection
push str.software360TotalSecurity
lea ecx, [ebp + 0x18]
add eax, 0x10
push str._s_s
push ecx
mov dword [ebp + 0x18], eax
call fcn.004a19c0
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp + 0x18]
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x14]
push ecx
push str.PreMode
push edx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
lea ecx, [ebp + 0x18]
call fcn.00443d90
mov eax, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
push eax
call fcn.004d5900
add esp, 0x14
mov bl, al
jmp 0x4d5b77
cmp eax, 0xfe
jge 0x4d5dc4
cmp eax, 1
jge 0x4d5dcd
mov dword [ebp + 8], 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.004d0f50
add esp, 4
cmp dword [ebp + 8], 2
mov dword [ebp - 4], eax
jne 0x4d5dbd
or dword [ebp - 8], 0x500000
mov bl, 1
jmp 0x4d5b7f
mov dword [ebp + 8], 0xfe
jmp 0x4d5dd4
cmp eax, 0xfe
jne 0x4d5da1
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d5de7
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov bl, 1
jmp 0x4d5b7f
xor edx, edx
mov dword [ebp - 4], 0
cmp edx, str.software360TotalSecurity
je 0x4d5e9d
xor eax, eax
cmp eax, str.ActiveProtection
je 0x4d5e9d
xor ecx, ecx
cmp ecx, str.CustomFlags
je 0x4d5e9d
mov edx, dword [0x599458]
mov eax, dword [edx + 0xc]
mov ecx, 0x599458
call eax
push str.ActiveProtection
push str.software360TotalSecurity
lea ecx, [ebp + 0x18]
add eax, 0x10
push str._s_s
push ecx
mov dword [ebp + 0x18], eax
call fcn.004a19c0
add esp, 0x10
lea edx, [ebp - 0x14]
push edx
mov edx, dword [ebp + 0x18]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xc]
push ecx
push str.CustomFlags
push edx
mov esi, 4
push reloc.OLEAUT32.dll_SysReAllocString
mov bl, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4d5e82
cmp dword [ebp - 0xc], esi
je 0x4d5e84
xor bl, bl
lea ecx, [ebp + 0x18]
call fcn.00443d90
test bl, bl
je 0x4d5e9d
mov eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov bl, 1
jmp 0x4d5b7f
push 0
push 0
call fcn.004d6940
push eax
call fcn.004d0f50
add esp, 0xc
mov dword [ebp - 4], eax
mov bl, 1
jmp 0x4d5b7f
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0x3e8
push 4
lea edx, [ebp + 0x18]
push edx
push 0x4f505343
push str.Q360SafeMonClass
call fcn.004b1cf0
add esp, 0x20
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret