Function at 0x140007730
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov r14, r8
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x70]
call fcn.140009700
nop
lea rdx, str._echo_off_n
lea rcx, [rbp - 0x70]
call fcn.1400057a0
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400071e0
mov rbx, rax
lea rdx, str.icacls__
lea rcx, [rbp - 0x70]
call fcn.1400057a0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400077b8
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140006640
mov rcx, rax
lea rdx, str.___grant_administrators:F_n
call fcn.1400057a0
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140007814
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000780f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000780f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010f7c
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.1400071e0
mov rbx, rax
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1400071e0
mov rdi, rax
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400071e0
mov rsi, rax
lea rdx, str.start_____
lea rcx, [rbp - 0x70]
call fcn.1400057a0
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140007861
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.140006640
lea rdx, [0x140014d00]
mov rcx, rax
call fcn.1400057a0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140007889
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140006640
lea rdx, [0x140014848]
mov rcx, rax
call fcn.1400057a0
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1400078b1
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.140006640
mov rcx, rax
lea rdx, [0x140014cfc]
call fcn.1400057a0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000790d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007908
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007908
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010f7c
movdqa xmm0, xmmword [0x1400157f0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140007960
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000795b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000795b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010f7c
movdqa xmm0, xmmword [0x1400157f0]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x1400079b2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140010f7c
lea rdx, str.exit_n
lea rcx, [rbp - 0x70]
call fcn.1400057a0
lea rcx, [rbp - 0x68]
call fcn.14000a490
test rax, rax
jne 0x1400079ec
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rcx, str.change_volume_id.bat
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x70], rax
mov rax, qword [rbp - 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x74], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x68], rax
cmp qword [rbp + 0x18], 0
je 0x140007a59
mov rax, qword [rbp - 0x50]
lea rcx, [rbp + 8]
cmp qword [rax], rcx
jne 0x140007a59
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x30]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x18]
mov dword [rax], edx
cmp byte [rbp + 0x14], 0
je 0x140007a68
lea rcx, [rbp - 0x68]
call fcn.14000a490
lea rcx, [rbp - 0x68]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov al, 1
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.140010f20
add rsp, 0x1b0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret