Function at 0x403180
Capabilities:
Encode data using base64 via winapi

Disassembly:
sub rsp, 0x108
mov rax, rcx
mov r8, rcx
mov qword [rsp + 0x100], r8
mov qword [rsp + 0xf8], rdx
mov dword [rsp + 0xf4], 0
mov rdx, qword [rsp + 0xf8]
mov qword [rsp + 0x88], rcx
mov rcx, rdx
mov qword [rsp + 0x80], rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data___const
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x78], rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
xor r9d, r9d
mov rcx, qword [rsp + 0x78]
mov edx, eax
mov r8d, 0x40000001
lea r10, [rsp + 0xf4]
mov qword [rsp + 0x20], r10
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
cmp eax, 0
jne 0x40326c
lea rax, [rsp + 0xf0]
mov rcx, rax
mov qword [rsp + 0x70], rax
call fcn.0046b610
lea rdx, [0x004c6142]
mov rcx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x70]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
jmp 0x403239
lea rcx, [rsp + 0xf0]
call sym.std::allocator_wchar_t_::allocator__
jmp 0x4034be
mov eax, dword [rsp + 0xf4]
mov ecx, 2
mul rcx
seto r8b
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
mov byte [rsp + 0x6f], r8b
call sym.operator_new___unsigned_long_long_
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xf8]
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.data___const
mov rcx, qword [rsp + 0xf8]
mov qword [rsp + 0x60], rax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
mov r9, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x60]
mov edx, eax
mov r8d, 0x40000001
lea r10, [rsp + 0xf4]
mov qword [rsp + 0x20], r10
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
cmp eax, 0
jne 0x403379
mov rax, qword [rsp + 0xd8]
cmp rax, 0
mov qword [rsp + 0x58], rax
je 0x403313
mov rax, qword [rsp + 0x58]
mov rcx, rax
call sym.operator_delete___void_
lea rax, [rsp + 0xd0]
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.0046b610
lea rdx, [0x004c6142]
mov rcx, qword [rsp + 0x88]
mov r8, qword [rsp + 0x50]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
jmp 0x403346
lea rcx, [rsp + 0xd0]
call sym.std::allocator_wchar_t_::allocator__
jmp 0x4034be
mov rdx, qword [rsp + 0xd8]
lea rax, [rsp + 0xa8]
mov rcx, rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
call fcn.0046b610
lea rcx, [rsp + 0xb0]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x40]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_wchar_t_const__std::allocator_wchar_t__const_
jmp 0x4033b7
lea rcx, [rsp + 0xa8]
call sym.std::allocator_wchar_t_::allocator__
mov rax, qword [rsp + 0xd8]
cmp rax, 0
mov qword [rsp + 0x38], rax
je 0x4033e8
mov rax, qword [rsp + 0x38]
mov rcx, rax
call sym.operator_delete___void_
lea rax, [rsp + 0xb0]
mov rcx, rax
mov qword [rsp + 0x30], rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.begin__
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0x30]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.end__
mov qword [rsp + 0x98], rax
mov word [rsp + 0x96], 0x3d
mov word [rsp + 0x94], 0x2d
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
lea r8, [rsp + 0x96]
lea r9, [rsp + 0x94]
call method.void_std::replace___gnu_cxx::__normal_iterator_wchar_t__std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std.allocator_wchar_t_______wchar_t____gnu_cxx::__normal_iterator_wchar_t__std::__cxx11::basic_string_wchar_t__std::char_traits
jmp 0x403455
mov rcx, qword [rsp + 0x88]
lea rdx, [rsp + 0xb0]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.basic_string_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____
lea rcx, [rsp + 0xb0]
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
jmp 0x4034be
mov rax, qword [rsp + 0x80]
add rsp, 0x108
ret