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

Disassembly:
sub esp, 0x814
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x43dbca
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoManageMyComputerVerb
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dba6
cmp word [esp + 0x20], 1
jne 0x43dbc4
push eax
push 1
push 0xf1
push 0x28a1
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dbc4
push 4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 4
push 0
push str.NoManageMyComputerVerb
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dc64
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.DisableTaskMgr
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dc40
cmp word [esp + 0x20], 1
jne 0x43dc5e
push eax
push 1
push 0xf1
push 0x28a9
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dc5e
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.DisableTaskMgr
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dcfe
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.DisableRegistryTools
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dcda
cmp word [esp + 0x20], 1
jne 0x43dcf8
push eax
push 1
push 0xf1
push 0x28a3
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dcf8
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.DisableRegistryTools
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesNetwork
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43dd98
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.DisablePwdCaching
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dd74
cmp word [esp + 0x20], 1
jne 0x43dd92
push eax
push 1
push 0xf1
push 0x28a4
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dd92
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.DisablePwdCaching
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43de32
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.NoLowDiskSpaceChecks
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43de0e
cmp word [esp + 0x20], 1
jne 0x43de2c
push eax
push 1
push 0xf1
push 0x28a5
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43de2c
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.NoLowDiskSpaceChecks
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SoftwarePoliciesMicrosoftWindowsInstaller
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43decc
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.DisableMSI
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dea8
cmp word [esp + 0x20], 2
jne 0x43dec6
push eax
push 1
push 0xf1
push 0x28a6
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dec6
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.DisableMSI
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43df66
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.SmoothScroll
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43df42
cmp word [esp + 0x20], 1
jne 0x43df60
push eax
push 1
push 0xf1
push 0x28a7
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43df60
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.SmoothScroll
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e000
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.AlwaysUnloadDLL
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43dfdc
cmp word [esp + 0x20], 1
jne 0x43dffa
push eax
push 1
push 0xf1
push 0x28a8
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43dffa
push 4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 4
push 0
push str.AlwaysUnloadDLL
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x10]
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43e092
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 1
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], 0x400
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.RegDone
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43e076
cmp word [esp + 0x20], 0x31
jne 0x43e08c
push eax
push 1
push 0xf1
push 0x28a2
push dword [0x4def88]
call ebp
push eax
call ebx
jmp 0x43e08c
push 4
push 0x4ad0e0
push 1
push 0
push str.RegDone
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
call esi
mov ecx, dword [esp + 0x820]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d925
add esp, 0x814
ret