Function at 0x140002d20
Capabilities:
Change the wallpaper
Create http request
Download and write a file
Get common file path
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x718
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x6b0], rcx
lea rax, [rbp + 0x3f0]
mov rdx, rax
mov ecx, 0x104
mov rax, qword [sym.imp.KERNEL32.dll_GetTempPathW]
call rax
lea rax, [rbp + 0x62f]
mov qword [rbp + 0x668], rax
nop
nop
lea rcx, [rbp + 0x62f]
lea rdx, [rbp + 0x3f0]
lea rax, [rbp + 0x600]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp + 0x3d0]
lea rdx, [rbp + 0x600]
lea r8, str.wallpaper_temp.jpg
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::operator_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____wchar_t_const_
lea rax, [rbp + 0x600]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp + 0x62f]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
lea rax, str.User_Agent
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenW]
call rax
mov qword [rbp + 0x688], rax
cmp qword [rbp + 0x688], 0
je 0x140003074
lea rax, [rbp + 0x65f]
mov qword [rbp + 0x660], rax
nop
nop
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.end___const
mov rbx, rax
mov rax, qword [rbp + 0x6b0]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.begin___const
mov rdx, rax
lea rcx, [rbp + 0x65f]
lea rax, [rbp + 0x630]
mov r9, rcx
mov r8, rbx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string___gnu_cxx::__normal_iterator_char_const__std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char_______void____gnu_cxx::__no
lea rax, [rbp + 0x630]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov rdx, rax
mov rax, qword [rbp + 0x688]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80400100
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetOpenUrlW]
call rax
mov qword [rbp + 0x680], rax
lea rax, [rbp + 0x630]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp + 0x65f]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
cmp qword [rbp + 0x680], 0
je 0x140003061
lea rax, [rbp + 0x3d0]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
mov r9d, 0
mov r8d, 0
mov edx, 0x40000000
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileW]
call rax
mov qword [rbp + 0x678], rax
cmp qword [rbp + 0x678], 0xffffffffffffffff
je 0x14000304e
lea rcx, [rbp + 0x3cc]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x680]
mov r9, rcx
mov r8d, 0x400
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetReadFile]
call rax
mov dword [rbp + 0x674], eax
cmp dword [rbp + 0x674], 0
je 0x140002f90
mov eax, dword [rbp + 0x3cc]
test eax, eax
je 0x140002f90
mov ecx, dword [rbp + 0x3cc]
lea r8, [rbp + 0x3c8]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x678]
mov qword [rsp + 0x20], 0
mov r9, r8
mov r8d, ecx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
cmp dword [rbp + 0x674], 0
je 0x140002fa7
mov eax, dword [rbp + 0x3cc]
test eax, eax
jne 0x140002f1d
mov rax, qword [rbp + 0x678]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rax, [rbp + 0x3d0]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov r9d, 3
mov r8, rax
mov edx, 0
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_SystemParametersInfoW]
call rax
test eax, eax
setne al
test al, al
je 0x140003023
lea rax, str.Desktop_set_successfully.
mov rdx, rax
mov rax, qword [0x1400c3770]
mov rcx, rax
call method.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::operator____wchar_t__std.char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t_____wchar_t_const_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_wchar_t__std::char_traits_wchar_t____std::endl_wchar_t__std.char_traits_wchar_t____std::basic_ostream_wchar_t__std::char_traits_wchar_t____]
mov rdx, rax
call method.std::basic_ostream_wchar_t__std::char_traits_wchar_t___.operator___std::basic_ostream_wchar_t__std::char_traits_wchar_t_______std::basic_ostream_wchar_t__std::char_traits_wchar_t_____
mov ebx, 1
jmp 0x1400030a4
lea rax, str.Failed_to_set_wallpaper.
mov rdx, rax
mov rax, qword [0x1400c36f0]
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 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 rax, qword [rbp + 0x680]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
mov rax, qword [rbp + 0x688]
mov rcx, rax
mov rax, qword [sym.imp.WININET.dll_InternetCloseHandle]
call rax
lea rax, str.Failed_to_download_image.
mov rdx, rax
mov rax, qword [0x1400c36f0]
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 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
lea rax, [rbp + 0x3d0]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
mov eax, ebx
jmp 0x14000312f
add rsp, 0x718
pop rbx
pop rbp
ret