Function at 0x788b26ac
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
mov dword [ecx], edx
mov ecx, dword [ebp + 0x14]
cmp ecx, edx
push esi
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edx
je 0x788b26d6
mov esi, dword [ecx + 8]
mov dword [ebp - 8], esi
jmp 0x788b26db
mov dword [ebp - 8], edx
mov esi, edx
add eax, 3
push 0x36
cdq
pop ecx
idiv ecx
push 2
pop edi
lea ecx, [esi + 0x4a]
add eax, edi
imul eax, ecx
lea eax, [eax*4 + 4]
push eax
call fcn.78809af7
test esi, esi
mov edx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov ebx, edx
je 0x788b2718
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0xc], ecx
jmp 0x788b271c
and dword [ebp - 0xc], 0
and dword [ebp + 8], 0
test edx, edx
jne 0x788b2730
mov dword [ebp - 0x1c], 0x8007000e
jmp 0x788b290d
test esi, esi
je 0x788b2754
lea ebx, [esi + esi]
mov esi, dword [ebp - 0xc]
mov ecx, ebx
mov edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
push 2
add ebx, ecx
pop edi
mov ecx, dword [ebp + 0xc]
cmp ecx, 3
jl 0x788b2832
push 3
mov eax, ecx
xor edx, edx
pop esi
div esi
mov dword [ebp - 0x18], eax
lea eax, [eax + eax*2]
sub ecx, eax
mov dword [ebp - 4], ecx
mov esi, dword [ebp - 0x10]
mov cl, byte [esi + 1]
mov al, byte [esi]
and al, 3
mov dl, cl
shr dl, 4
shl al, 4
or al, dl
mov byte [ebp + 0xf], al
mov al, byte [esi + 2]
add dword [ebp + 8], 4
and cl, 0xf
mov dl, al
shr dl, 6
shl cl, 2
or cl, dl
movzx edx, byte [esi]
shr edx, 2
mov dx, word [edx*2 + 0x788b2918]
mov word [ebx], dx
movzx edx, byte [ebp + 0xf]
mov dx, word [edx*2 + 0x788b2918]
add ebx, edi
mov word [ebx], dx
and al, 0x3f
movzx ecx, cl
mov cx, word [ecx*2 + 0x788b2918]
add ebx, edi
mov word [ebx], cx
movzx eax, al
mov ax, word [eax*2 + 0x788b2918]
add ebx, edi
mov word [ebx], ax
add esi, 3
add ebx, edi
cmp dword [ebp + 8], 0x48
mov dword [ebp - 0x10], esi
jl 0x788b2826
mov eax, dword [ebp - 8]
and dword [ebp + 8], 0
mov word [ebx], 0xd
add ebx, edi
mov word [ebx], 0xa
add ebx, edi
test eax, eax
je 0x788b2826
mov esi, dword [ebp - 0xc]
add eax, eax
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 2
rep movsb byte es:[edi], byte [esi]
add ebx, eax
pop edi
dec dword [ebp - 0x18]
jne 0x788b2774
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, 4
cmp ecx, 0x48
jl 0x788b284b
mov word [ebx], 0xd
add ebx, edi
mov word [ebx], 0xa
add ebx, edi
cmp dword [ebp - 4], 0
je 0x788b28e8
cmp dword [ebp - 4], 1
jne 0x788b288e
mov cl, byte [eax]
mov al, cl
and al, 3
movzx ecx, cl
shl al, 4
shr ecx, 2
mov cx, word [ecx*2 + 0x788b2918]
mov word [ebx], cx
movzx eax, al
mov ax, word [eax*2 + 0x788b2918]
add ebx, edi
mov word [ebx], ax
add ebx, edi
mov word [ebx], 0x3d
jmp 0x788b28df
cmp dword [ebp - 4], edi
jne 0x788b28e8
mov cl, byte [eax + 1]
mov al, byte [eax]
mov byte [ebp + 0xf], al
and al, 3
shl al, 4
mov dl, cl
shr dl, 4
or al, dl
movzx edx, byte [ebp + 0xf]
shr edx, 2
mov dx, word [edx*2 + 0x788b2918]
mov word [ebx], dx
movzx eax, al
mov ax, word [eax*2 + 0x788b2918]
and cl, 0xf
add ebx, edi
mov word [ebx], ax
shl cl, 2
movzx eax, cl
mov ax, word [eax*2 + 0x788b2918]
add ebx, edi
mov word [ebx], ax
add ebx, edi
mov word [ebx], 0x3d
add ebx, edi
push dword [ebp - 0x14]
and word [ebx], 0
call fcn.78814fd4
mov ecx, dword [ebp + 0x10]
push dword [ebp - 0x14]
mov dword [ecx], eax
call fcn.7880992e
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x788b290d
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
pop ebx
leave
ret 0x10