Function at 0x401549
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x34
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.size___const
cmp eax, dword [ebp - 0x10]
seta al
test al, al
je 0x40163e
mov ebx, dword [ebp - 0xc]
lea eax, [ebx + 1]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
mov ecx, eax
call method.std::vector_unsigned_char__std::allocator_unsigned_char___.operator___unsigned_int__const
sub esp, 4
movzx eax, byte [eax]
mov byte [ebp + ebx - 0x1b], al
cmp dword [ebp - 0xc], 3
jne 0x401635
movzx eax, byte [ebp - 0x1b]
shr al, 2
mov byte [ebp - 0x1f], al
movzx eax, byte [ebp - 0x1b]
movzx eax, al
shl eax, 4
and eax, 0x30
mov edx, eax
movzx eax, byte [ebp - 0x1a]
shr al, 4
add eax, edx
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1a]
movzx eax, al
shl eax, 2
and eax, 0x3c
mov edx, eax
movzx eax, byte [ebp - 0x19]
shr al, 6
add eax, edx
mov byte [ebp - 0x1d], al
movzx eax, byte [ebp - 0x19]
and eax, 0x3f
mov byte [ebp - 0x1c], al
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 3
ja 0x40162e
lea edx, [ebp - 0x1f]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
movzx eax, byte [eax + 0x4080a0]
movsx eax, al
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_
sub esp, 4
add dword [ebp - 0xc], 1
jmp 0x4015fc
mov dword [ebp - 0xc], 0
add dword [ebp - 0x10], 1
jmp 0x401566
cmp dword [ebp - 0xc], 0
je 0x40171e
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
ja 0x401665
lea edx, [ebp - 0x1b]
mov eax, dword [ebp - 0x14]
add eax, edx
mov byte [eax], 0
add dword [ebp - 0x14], 1
jmp 0x40164e
movzx eax, byte [ebp - 0x1b]
shr al, 2
mov byte [ebp - 0x1f], al
movzx eax, byte [ebp - 0x1b]
movzx eax, al
shl eax, 4
and eax, 0x30
mov edx, eax
movzx eax, byte [ebp - 0x1a]
shr al, 4
add eax, edx
mov byte [ebp - 0x1e], al
movzx eax, byte [ebp - 0x1a]
movzx eax, al
shl eax, 2
and eax, 0x3c
mov edx, eax
movzx eax, byte [ebp - 0x19]
shr al, 6
add eax, edx
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, dword [ebp - 0x18]
jbe 0x4016e3
lea edx, [ebp - 0x1f]
mov eax, dword [ebp - 0x18]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
movzx eax, byte [eax + 0x4080a0]
movsx eax, al
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_
sub esp, 4
add dword [ebp - 0x18], 1
jmp 0x4016ac
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
cmp eax, 2
setbe al
test al, al
je 0x40171e
mov dword [esp], 0x3d
mov ecx, dword [ebp + 8]
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator_char_
sub esp, 4
jmp 0x4016e3
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret