Function at 0x4c33a0
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 0x4fc408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x42e8
call fcn.004f2630
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
xor esi, esi
push 1
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
call fcn.004f0653
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0x78]
push eax
push 1
push str.c:endpcacheuser_id.txt
mov byte [ebp - 4], 1
call fcn.004f0727
mov edi, dword [ebp - 0x74]
push 0xa
lea ecx, [ebp - 0x2f8]
push 0x100
inc edi
push ecx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x74], edi
call fcn.004f0ae9
lea edi, [ebp - 0x2f8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x4c34ca
lea edx, [ebp - 0x2f8]
push 0x51ed80
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4c348f
lea eax, [ebp - 0x2f8]
push 0x51ed84
push eax
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4c348f
lea ecx, [ebp - 0x2f8]
push 0x52609c
push ecx
call fcn.004f2d80
add esp, 8
test eax, eax
jne 0x4c348f
lea edx, [ebp - 0x2f8]
push 0x526098
push edx
call fcn.004f2d80
add esp, 8
test eax, eax
je 0x4c34ca
lea edi, [ebp - 0x2f8]
or ecx, 0xffffffff
xor eax, eax
shl esi, 7
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + esi - 0x42f8]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp - 0x1c]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
cmp eax, 0x40
mov dword [ebp - 0x1c], eax
mov esi, eax
je 0x4c34e7
mov eax, dword [ebp - 0x24]
inc eax
cmp eax, 0x64
mov dword [ebp - 0x24], eax
jg 0x4c34e7
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 4]
test byte [ebp + edx - 0x70], 1
je 0x4c33f9
lea ecx, [ebp - 0x78]
call fcn.004f076e
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x22f8]
push eax
push ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.004c6c30
mov eax, dword [ebp - 0x28]
add esp, 8
cmp esi, eax
jle 0x4c351c
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 1
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 0x178], bl
cmp eax, ecx
jge 0x4c38d6
cmp dword [ebp - 0x24], 1
jne 0x4c3565
shl eax, 7
mov dword [ebp - 0x20], eax
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
lea edx, [ebp + eax - 0x42f8]
lea eax, [ebp - 0x178]
push edx
push str._s_s
push eax
jmp 0x4c3584
shl eax, 7
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
lea edx, [ebp - 0x178]
lea ecx, [ebp + eax - 0x22f8]
mov dword [ebp - 0x20], eax
push ecx
push str._s_s
push edx
call fcn.004f175f
add esp, 0x10
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x178]
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 0x4c3836
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
lea edx, [ebp - 0x178]
mov byte [ebp - 0x178], bl
lea ecx, [ebp + eax - 0x22f8]
push ecx
push str._s_s
push edx
call fcn.004f175f
add esp, 0x10
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x178]
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 0x4c38c0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.Hidden
push eax
mov dword [ebp - 0x18], 2
call esi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push 4
push ecx
push 4
push ebx
push str.SuperHidden
push edx
mov dword [ebp - 0x18], 1
call esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
jmp 0x4c352d
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvancedHideFileExt
lea ecx, [ebp - 0x178]
push 0x50d39c
push ecx
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x178]
push edx
push 0xf003f
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c3941
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], 1
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], ebx
call esi
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenNOHIDDEN
lea eax, [ebp - 0x178]
push 0x50d39c
push eax
mov byte [ebp - 0x178], bl
call fcn.004f175f
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x178]
push ecx
push 0xf003f
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c39b9
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push ebx
push str.CheckedValue
push ecx
mov dword [ebp - 0x18], 2
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.DefaultValue
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderHiddenSHOWALL
lea edx, [ebp - 0x178]
push 0x50d39c
push edx
mov byte [ebp - 0x178], bl
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x178]
push eax
push 0xf003f
push ebx
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c3a38
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push 4
push edx
push 4
push ebx
push str.CheckedValue
push eax
mov dword [ebp - 0x1c], 1
call esi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push 4
push ecx
push 4
push ebx
push str.DefaultValue
push edx
mov dword [ebp - 0x1c], 2
call esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderSuperHidden
lea ecx, [ebp - 0x178]
push 0x50d39c
push ecx
mov byte [ebp - 0x178], bl
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x178]
push edx
push 0xf003f
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c3ad2
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], 1
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push 4
push eax
push 4
push ebx
push str.DefaultValue
push ecx
mov dword [ebp - 0x18], 2
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push 4
push edx
push 4
push ebx
push str.UncheckedValue
push eax
mov dword [ebp - 0x18], 1
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvancedFolderSuperHiddenPolicy
lea edx, [ebp - 0x178]
push 0x50d39c
push edx
mov byte [ebp - 0x178], bl
call fcn.004f175f
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x178]
push eax
push 0xf003f
push ebx
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c3b2a
mov edx, dword [ebp - 0x14]
push str.DontShowSuperHidden
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorer
lea ecx, [ebp - 0x178]
push 0x50d39c
push ecx
mov byte [ebp - 0x178], bl
call fcn.004f175f
add esp, 0xc
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x178]
push edx
push 0xf003f
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4c3ca3
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x1f8]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push edx
push eax
push ebx
push str.NoClose
push ecx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c3bd4
mov edx, dword [ebp - 0x1f8]
and edx, 0xff
mov dword [ebp - 0x24], edx
je 0x4c3bd4
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
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 - 0x20]
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 - 0x20]
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 - 0x30]
lea ecx, [ebp - 0x1f8]
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push ecx
push edx
push ebx
push str.NoRun
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4c3c65
mov ecx, dword [ebp - 0x1f8]
and ecx, 0xff
mov dword [ebp - 0x24], ecx
je 0x4c3c65
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push ebx
push str.NoRun
push eax
call esi
mov ecx, dword [ebp - 0x14]
push str.NoRun
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push ebx
push str.StartMenuLogOff
push eax
call esi
mov ecx, dword [ebp - 0x14]
push str.StartMenuLogOff
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push ebx
push str.NoDrives
push eax
call esi
mov ecx, dword [ebp - 0x14]
push str.NoDrives
push ecx
call edi
mov edx, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionpolicies_system
lea eax, [ebp - 0x178]
push 0x50d39c
push eax
mov byte [ebp - 0x178], bl
call fcn.004f175f
add esp, 0xc
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x178]
push ecx
push 0xf003f
push ebx
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4c3d04
mov eax, dword [ebp - 0x14]
push str.legalnoticecaption
push eax
call edi
mov ecx, dword [ebp - 0x14]
push str.legalnoticetext
push ecx
call edi
mov edx, dword [ebp - 0x14]
push edx
call esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], bl
call fcn.004f0714
lea ecx, [ebp - 0x64]
call fcn.004f05fb
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