Function at 0x1400017d0
Capabilities:
Execute command

Disassembly:
push rbp
push rbx
sub rsp, 0x3f8
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp + 0x24f]
mov rcx, rax
call fcn.140001f60
lea rdx, [rbp + 0x24f]
lea rax, [rbp + 0x220]
mov r8, rdx
lea rdx, str._n________WScript.Echo__hi__n
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_std.allocator_char____char_const__std::allocator_char__const_
lea rax, [rbp + 0x24f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
call sym.rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x10624dd3
shr rax, 0x20
sar eax, 6
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x3e8
mov eax, edx
sub eax, ecx
lea rcx, [rbp + 0x250]
mov edx, eax
call method.std::__cxx11.to_string_int_
lea rax, [rbp + 0x270]
mov r8d, 2
lea rdx, str.hallo
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_char__6___std::filesystem::__cxx11.path__char_const_____6___std::filesystem::__cxx11::path::format_
lea rdx, [rbp + 0x250]
lea rax, [rbp + 0x270]
mov rcx, rax
call sym._ZNSt10filesystem7__cxx114pathpLINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEERNSt9enable_ifIX13__is_path_srcIT_EES1_
mov rbx, rax
lea rax, [rbp + 0x2a0]
mov rcx, rax
call sym.std::filesystem::temp_directory_path_abi:cxx11___
lea rax, [rbp + 0x1f0]
lea rdx, [rbp + 0x2a0]
mov r8, rbx
mov rcx, rax
call method.std::filesystem::__cxx11.operator__std::filesystem::__cxx11::path_const__std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x2a0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0x270]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0x250]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1f0]
mov rcx, rax
call sym.std::filesystem::create_directory_std::filesystem::__cxx11::path_const_
xor eax, 1
test al, al
je 0x140001930
lea rax, str.Error_creating_temporary_directory
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140007510]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ebx, 1
jmp 0x140001ba5
lea rax, str.Temporary_directory:
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp + 0x1f0]
mov rdx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::filesystem::__cxx11::operator____char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____std::filesystem::__cxx11::path_const_
mov rcx, rax
mov rax, qword [0x140007510]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
call sym.rand
mov edx, eax
movsxd rax, edx
imul rax, rax, 0x10624dd3
shr rax, 0x20
sar eax, 6
mov ecx, edx
sar ecx, 0x1f
sub eax, ecx
imul ecx, eax, 0x3e8
mov eax, edx
sub eax, ecx
lea rcx, [rbp + 0x2f0]
mov edx, eax
call method.std::__cxx11.to_string_int_
lea rax, [rbp + 0x2d0]
lea rdx, [rbp + 0x2f0]
mov r8, rdx
lea rdx, str.leute
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x1d0]
lea rdx, [rbp + 0x2d0]
lea r8, str..vbs
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_const_
lea rax, [rbp + 0x2d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x2f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rdx, [rbp + 0x1d0]
lea rax, [rbp + 0x310]
mov r8d, 2
mov rcx, rax
call method.std::filesystem::__cxx11::path::path_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____std::filesystem::__cxx11.path__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::filesy
lea rax, [rbp + 0x1a0]
lea rcx, [rbp + 0x310]
lea rdx, [rbp + 0x1f0]
mov r8, rcx
mov rcx, rax
call method.std::filesystem::__cxx11.operator__std::filesystem::__cxx11::path_const__std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x310]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rdx, [rbp + 0x1a0]
lea rax, [rbp - 0x60]
mov r8d, 0x10
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___::basic_ofstream_std::filesystem::__cxx11::path__std::filesystem::__cxx11.path__std::filesystem::__cxx11::path_const__std::_Ios_Openmode_
lea rdx, [rbp + 0x220]
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::basic_ofstream_char__std::char_traits_char___::basic_ofstream__
lea rax, [rbp + 0x340]
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.string___const
lea rax, [rbp + 0x180]
lea rdx, [rbp + 0x340]
mov r8, rdx
lea rdx, str.cscript___nologo
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____std::operator_char__std::char_traits_char___std.allocator_char____char_const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x340]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, str.Executing_command:
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cout]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
lea rax, [rbp + 0x180]
mov rdx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____char__std::char_traits_char___std::allocator_char____std::basic_ostream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov rcx, rax
mov rax, qword [0x140007510]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
lea rax, [rbp + 0x180]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rcx, rax
call sym.system
mov dword [rbp + 0x36c], eax
cmp dword [rbp + 0x36c], 0
je 0x140001b55
lea rax, str.Error_running_VBScript
mov rdx, rax
mov rax, qword [sym.imp.libstdc_6.dll_std::cerr]
mov rcx, rax
call sym.std::basic_ostream_char__std::char_traits_char____std::operator____std::char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [0x140007510]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
lea rax, [rbp + 0x1a0]
mov rcx, rax
call sym.std::filesystem::remove_std::filesystem::__cxx11::path_const_
lea rax, [rbp + 0x1f0]
mov rcx, rax
call sym.std::filesystem::remove_std::filesystem::__cxx11::path_const_
mov ebx, 0
lea rax, [rbp + 0x180]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1a0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0x1d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1f0]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0x220]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140001cef
add rsp, 0x3f8
pop rbx
pop rbp
ret