Function at 0x4c3d50
Capabilities:
Delete registry key
Delete registry value
Disable system features via registry on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc420
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2198
call fcn.004f2630
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x21a8]
xor ebx, ebx
push eax
push ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call fcn.004c6c30
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 0x128], bl
cmp eax, ecx
jge 0x4c416c
shl eax, 7
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
lea edx, [ebp - 0x128]
lea eax, [ebp + eax - 0x21a8]
push eax
push str._s_s
push edx
mov dword [ebp - 0x20], eax
call fcn.004f175f
add esp, 0x10
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x128]
push eax
push 0xf003f
push ebx
push ecx
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c408a
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoFolderOptions
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoFolderOptions
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoDesktop
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoDesktop
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoSetTaskbar
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoSetTaskbar
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoControlPanel
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoControlPanel
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoRun
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoRun
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoDrives
push eax
mov dword [ebp - 0x18], ebx
call esi
push str.NoDrives
mov ecx, dword [ebp - 0x14]
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoFind
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoFind
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.HideClock
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.HideClock
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoShellSearchButton
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoShellSearchButton
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NonEnum
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NonEnum
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoViewContextMenu
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoViewContextMenu
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
mov dword [ebp - 0x18], ebx
push str.NoSetFolders
push eax
call esi
mov ecx, dword [ebp - 0x14]
push str.NoSetFolders
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoRecentDocsMenu
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoRecentDocsMenu
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoRealMode
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoRealMode
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoLogOff
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoLogOff
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoFileMenu
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoFileMenu
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoDriveTypeAutoRun
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoDriveTypeAutoRun
push ecx
call edi
lea edx, [ebp - 0x18]
push 4
push edx
mov dword [ebp - 0x18], ebx
push 4
mov eax, dword [ebp - 0x14]
push ebx
push str.NoClose
push eax
call esi
mov ecx, dword [ebp - 0x14]
push str.NoClose
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.NoViewOnDrive
push eax
mov dword [ebp - 0x18], ebx
call esi
mov ecx, dword [ebp - 0x14]
push str.NoViewOnDrive
push ecx
call edi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push eax
lea ecx, [ebp - 0x128]
push str._s_s
push ecx
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0x10
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x128]
push edx
push 0xf003f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c410d
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push ebx
push str.Hidden
push edx
mov dword [ebp - 0x18], 2
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push ebx
push str.SuperHidden
push ecx
mov dword [ebp - 0x18], 1
call esi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push eax
lea ecx, [ebp - 0x128]
push str._s_s
push ecx
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0x10
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x128]
push edx
push 0xf003f
push ebx
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x4c3da8
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt
lea edx, [ebp - 0x128]
push 0x50d39c
push edx
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x128]
push eax
push 0xf003f
push ebx
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c41d7
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.CheckedValue
push eax
mov dword [ebp - 0x18], 1
call esi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push ebx
push str.UncheckedValue
push edx
mov dword [ebp - 0x18], ebx
call esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenNOHIDDEN
lea ecx, [ebp - 0x128]
push 0x50d39c
push ecx
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x128]
push edx
push 0xf003f
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c424f
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push ebx
push str.CheckedValue
push edx
mov dword [ebp - 0x18], 2
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push ebx
push str.DefaultValue
push ecx
call esi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL
lea eax, [ebp - 0x128]
push 0x50d39c
push eax
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x128]
push ecx
push 0xf003f
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c42ce
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.CheckedValue
push ecx
mov dword [ebp - 0x1c], 1
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
push ebx
push str.DefaultValue
push eax
mov dword [ebp - 0x1c], 2
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderSuperHidden
lea edx, [ebp - 0x128]
push 0x50d39c
push edx
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x128]
push eax
push 0xf003f
push ebx
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c4368
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.CheckedValue
push eax
mov dword [ebp - 0x18], 1
call esi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push ebx
push str.DefaultValue
push edx
mov dword [ebp - 0x18], 2
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push ebx
push str.UncheckedValue
push ecx
mov dword [ebp - 0x18], 1
call esi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderSuperHiddenPolicy
lea eax, [ebp - 0x128]
push 0x50d39c
push eax
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x128]
push ecx
push 0xf003f
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c43c0
mov eax, dword [ebp - 0x14]
push str.DontShowSuperHidden
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorer
lea edx, [ebp - 0x128]
push 0x50d39c
push edx
mov byte [ebp - 0x128], bl
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x128]
push eax
push 0xf003f
push ebx
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c4527
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x1a8]
push edx
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
push ecx
push ebx
push str.NoClose
push edx
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c4461
cmp byte [ebp - 0x1a8], bl
je 0x4c4461
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.NoClose
push ecx
call esi
mov edx, dword [ebp - 0x14]
push str.NoClose
push edx
call edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.NoFind
push ecx
call esi
mov edx, dword [ebp - 0x14]
push str.NoFind
push edx
call edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push str.NoViewOnDrive
push ecx
call esi
mov edx, dword [ebp - 0x14]
push str.NoViewOnDrive
push edx
call edi
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1a8]
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push ecx
push edx
push ebx
push str.NoRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c44e9
cmp byte [ebp - 0x1a8], bl
je 0x4c44e9
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push ebx
push str.NoRun
push edx
call esi
mov eax, dword [ebp - 0x14]
push str.NoRun
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push ebx
push str.StartMenuLogOff
push edx
call esi
mov eax, dword [ebp - 0x14]
push str.StartMenuLogOff
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push ebx
push str.NoDrives
push edx
call esi
mov eax, dword [ebp - 0x14]
push str.NoDrives
push eax
call edi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret