Function at 0x1015d6e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 0xc]
add eax, 2
cdq
mov ecx, 3
idiv ecx
shl eax, 2
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jle 0x1015d720
xor al, al
jmp 0x1015d8d5
mov dword [ebp - 0x10], 0x47f1cb8
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1015d8b9
cmp dword [ebp - 4], 3
jl 0x1015d802
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
shl ecx, 0x10
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
shl ecx, 8
or ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
or ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x18]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
shr edx, 0xc
and edx, 0x3f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
shr ecx, 6
and ecx, 0x3f
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov cl, byte [eax + ecx]
mov byte [edx], cl
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x18]
and eax, 0x3f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 4]
sub edx, 3
mov dword [ebp - 4], edx
jmp 0x1015d8b4
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
shl ecx, 0x10
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 1
jle 0x1015d835
mov eax, dword [ebp - 8]
movzx ecx, byte [eax]
shl ecx, 8
or ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x18]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ecx], al
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
shr edx, 0xc
and edx, 0x3f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + edx]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 4], 1
jle 0x1015d889
mov ecx, dword [ebp - 0x18]
shr ecx, 6
and ecx, 0x3f
mov edx, dword [ebp - 0x10]
mov al, byte [edx + ecx]
mov byte [ebp - 0x19], al
jmp 0x1015d88d
mov byte [ebp - 0x19], 0x3d
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp - 0x19]
mov byte [ecx], dl
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0x3d
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x1015d72d
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov al, 1
mov esp, ebp
pop ebp
ret