Function at 0x140002700
Capabilities:
Delete file
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rbp + 0x160], rax
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x40], r14d
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r14
mov qword [rbp + 0x20], 0xf
mov byte [rbp + 8], dil
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], r14b
mov esi, r14d
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea r12, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
movabs r13, 0x7fffffffffffffff
nop dword [rax]
mov edx, esi
lea rcx, [rbp - 0x58]
call fcn.140005cb0
or edi, 4
lea r8, [rbp - 0x58]
lea rcx, [rsp + 0x68]
call fcn.140005fe0
nop
mov r8d, 4
lea rdx, str..txt
mov rcx, rax
call fcn.140005ac0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 8
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x14000282a
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000281b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d8f
call fcn.140007794
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm1
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14000286e
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002869
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d96
call fcn.140007794
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400028bb
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d9d
call fcn.140007794
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rbx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rbx, qword [rbp + 8]
lea rax, [0x1400099b8]
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0xf8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 0x10
mov dword [rsp + 0x40], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x50], r15
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
mov qword [rbp + 0x58], r12
mov byte [rbp + 0xd4], 0
mov byte [rbp + 0xc9], 0
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xd8], r14
mov rax, qword [0x14000eb68]
mov qword [rbp + 0xcc], rax
mov qword [rbp + 0xc0], r14
mov r8d, 2
mov rdx, rbx
lea rcx, [rbp + 0x58]
call fcn.140005b40
test rax, rax
jne 0x1400029a4
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
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]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x50], r15
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
lea rdx, str.select_volume
lea rcx, [rbp + 0x50]
call fcn.140006110
mov edx, esi
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___int____ptr64]
mov rcx, rax
lea rdx, [0x1400097a4]
call fcn.140006110
lea ebx, [rsi + 0x4a]
lea rdx, str.assign_letter
lea rcx, [rbp + 0x50]
call fcn.140006110
mov rcx, rax
movzx edx, bl
call fcn.1400062e0
mov rcx, rax
lea rdx, [0x1400097a4]
call fcn.140006110
lea rcx, [rbp + 0x58]
call fcn.1400059c0
test rax, rax
jne 0x140002a44
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x50]
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]
mov rax, r13
mov rcx, qword [rbp + 0x18]
sub rax, rcx
cmp rax, 0xd
jb 0x140002e4a
lea rax, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rax, qword [rbp + 8]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xd
lea r9, str.DISKPART__S__
lea rcx, [rbp - 0x38]
call fcn.140006e90
or edi, 0x20
mov r8d, 0xc
lea rdx, str.___NUL_2_NUL
lea rcx, [rbp - 0x38]
call fcn.140005ac0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 0x40
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x140002b0a
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002afb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002da4
call fcn.140007794
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm1
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140002b4d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dab
call fcn.140007794
lea rcx, [rbp + 0x28]
cmp qword [rbp + 0x40], 0xf
cmova rcx, qword [rbp + 0x28]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x50], r15
mov rax, qword [rbp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x4c], edx
mov qword [rbp + 0x58], r12
cmp qword [rbp + 0xd8], 0
je 0x140002bc5
mov rax, qword [rbp + 0x70]
lea rcx, [rbp + 0xc8]
cmp qword [rax], rcx
jne 0x140002bc5
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x90]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp + 0xa8]
mov dword [rax], edx
cmp byte [rbp + 0xd4], 0
je 0x140002bd7
lea rcx, [rbp + 0x58]
call fcn.1400059c0
lea rcx, [rbp + 0x58]
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 + 0xf8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
inc esi
cmp esi, 0xa
jle 0x140002790
mov ebx, r14d
nop word [rax + rax]
mov edx, ebx
lea rcx, [rbp - 0x18]
call fcn.140005cb0
or edi, 1
lea r8, [rbp - 0x18]
lea rcx, [rbp - 0x78]
call fcn.140005fe0
nop
mov r8d, 4
lea rdx, str..txt
mov rcx, rax
call fcn.140005ac0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or edi, 2
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140002ca9
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c9a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002db2
call fcn.140007794
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm1
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140002cec
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ce7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002db9
call fcn.140007794
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp]
cmp rdx, 0xf
jbe 0x140002d37
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dc0
call fcn.140007794
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0xf
cmova rcx, qword [rbp + 8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
inc ebx
cmp ebx, 0xa
jle 0x140002c10
mov rdx, qword [rbp + 0x40]
cmp rdx, 0xf
jbe 0x140002dcc
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dc7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002dc7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140007794
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x40], 0xf
mov byte [rbp + 0x28], 0
mov rdx, qword [rbp + 0x20]
cmp rdx, 0xf
jbe 0x140002e1a
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007794
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140007730
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001210
nop