Function at 0x40246c
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 - 0x18], 0
mov eax, dword [ebp + 0x10]
lea edx, [eax - 1]
mov dword [ebp + 0x10], edx
test eax, eax
setne al
test al, al
je 0x402559
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 0xc]
lea ecx, [edx + 1]
mov dword [ebp + 0xc], ecx
movzx edx, byte [edx]
mov byte [ebp + eax - 0x1b], dl
cmp dword [ebp - 0xc], 3
jne 0x402489
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
jg 0x40254d
lea edx, [ebp - 0x1f]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [esp], eax
mov ecx, 0x417024
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator___unsigned_int__const
sub esp, 4
movzx eax, byte [eax]
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 0x40250f
mov dword [ebp - 0xc], 0
jmp 0x402489
cmp dword [ebp - 0xc], 0
je 0x40264f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x402580
lea edx, [ebp - 0x1b]
mov eax, dword [ebp - 0x10]
add eax, edx
mov byte [eax], 0
add dword [ebp - 0x10], 1
jmp 0x402569
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 - 0x14], 0
mov eax, dword [ebp - 0xc]
add eax, 1
cmp eax, dword [ebp - 0x14]
jle 0x402614
lea edx, [ebp - 0x1f]
mov eax, dword [ebp - 0x14]
add eax, edx
movzx eax, byte [eax]
movzx eax, al
mov dword [esp], eax
mov ecx, 0x417024
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::operator___unsigned_int__const
sub esp, 4
movzx eax, byte [eax]
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 - 0x14], 1
jmp 0x4025d1
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
cmp eax, 2
setle al
test al, al
je 0x40264f
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 0x402614
nop
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 4]
leave
ret