Function at 0x1001aff0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 0xc]
add eax, 2
xor edx, edx
mov ecx, 3
div ecx
shl eax, 2
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
add edx, 1
mov eax, dword [ebp + 0x14]
cmp dword [eax], edx
jae 0x1001b02d
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
xor al, al
jmp 0x1001b1e3
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ecx, 3
div ecx
imul eax, eax, 3
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
jmp 0x1001b057
mov edx, dword [ebp - 8]
add edx, 3
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jae 0x1001b10c
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
sar edx, 2
and edx, 0x3f
mov eax, dword [ebp - 4]
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
and ecx, 3
shl ecx, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
sar eax, 4
add ecx, eax
and ecx, 0x3f
mov edx, dword [ebp - 4]
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
and eax, 0xf
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 2]
sar edx, 6
lea eax, [edx + eax*4]
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 2]
and edx, 0x3f
mov eax, dword [ebp - 4]
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 3
mov dword [ebp + 8], eax
jmp 0x1001b04e
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0xc]
jae 0x1001b1d0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 1
cmp ecx, dword [ebp + 0xc]
jae 0x1001b138
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 1]
mov dword [ebp - 0x20], eax
jmp 0x1001b13f
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
shr edx, 2
and edx, 0x3f
mov eax, dword [ebp - 4]
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
and eax, 3
shl eax, 4
mov ecx, dword [ebp - 0x18]
shr ecx, 4
add eax, ecx
and eax, 0x3f
mov edx, dword [ebp - 4]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 1
cmp edx, dword [ebp + 0xc]
jae 0x1001b1ac
mov eax, dword [ebp - 0x18]
and eax, 0xf
shl eax, 2
and eax, 0x3f
mov cl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..SmtpSendEmail.cpp]
mov byte [ebp - 0x21], cl
jmp 0x1001b1b0
mov byte [ebp - 0x21], 0x3d
mov edx, dword [ebp - 4]
mov al, byte [ebp - 0x21]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov byte [edx], 0x3d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov al, 1
mov esp, ebp
pop ebp
ret 0x10