Function at 0x10888d7
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x10888ee
cmp dword [ebp + 0x18], edi
jne 0x1088926
mov dword [ebp - 4], 0x80070057
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x108891c
test byte [eax + 0x3c], 2
je 0x108891c
push dword [ebp - 4]
push 0x1005690
push 0x12
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x14
lea eax, [ebp - 8]
push eax
push 2
push dword [ebp + 0xc]
call fcn.01043e7f
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x10888f5
mov eax, dword [ebp - 8]
push 3
xor edx, edx
pop ecx
div ecx
mov ebx, 0x100554c
mov esi, 0x80070216
test eax, eax
je 0x1088a4f
mov ecx, eax
shl ecx, 2
mov edx, ecx
shr edx, 2
cmp edx, eax
je 0x1088a47
mov edi, esi
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x108898c
test byte [eax + 0x3c], 2
je 0x108898c
push esi
push ebx
push 0xc
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
test edi, edi
mov dword [ebp - 4], edi
jl 0x10888f5
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x10], eax
je 0x1088a20
lea eax, [ebp - 0xc]
push eax
push 0x3f
push dword [ebp - 8]
call fcn.01043e7f
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x10888f5
mov eax, dword [ebp - 0xc]
shr eax, 6
je 0x1088a5e
lea ecx, [eax + eax]
mov edx, ecx
shr edx, 1
cmp edx, eax
je 0x1088a59
mov edi, esi
mov eax, dword [0x1426c54]
cmp eax, 0x1426c54
je 0x10889fb
test byte [eax + 0x3c], 2
je 0x10889fb
push esi
push ebx
push 0xc
push dword [eax + 0x34]
push dword [eax + 0x30]
call fcn.01043c41
test edi, edi
mov dword [ebp - 4], edi
jl 0x10888f5
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
call fcn.01043e7f
test eax, eax
mov dword [ebp - 4], eax
jl 0x10888f5
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x1088a63
push dword [ebp + 0x18]
push 1
push dword [ebp - 8]
call fcn.01043e7f
test eax, eax
mov dword [ebp - 4], eax
jl 0x10888f5
and dword [ebp - 4], esi
jmp 0x108891c
mov dword [ebp - 8], ecx
jmp 0x108898c
and dword [ebp - 8], edi
xor edi, edi
jmp 0x108898c
mov dword [ebp - 0xc], ecx
jmp 0x10889fb
mov dword [ebp - 0xc], edi
jmp 0x10889fb
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 8]
call fcn.01043e7f
test eax, eax
mov dword [ebp - 4], eax
jl 0x10888f5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x18]
cmp dword [ecx], eax
jae 0x1088a92
mov dword [ebp - 4], 0x8007007a
jmp 0x10888f5
and dword [ebp + 0x14], 0
cmp dword [ebp + 0xc], 0
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [ebp - 8], edx
jle 0x1088bb8
lea ebx, [esi + 6]
add esi, 2
cmp dword [ebp - 0x10], 0
je 0x1088ae3
cmp dword [ebp + 0x14], 0x10
jne 0x1088ae0
and dword [ebp + 0x14], 0
cmp esi, dword [ebp - 8]
jae 0x1088bd9
push 2
pop eax
mov word [ecx], 0xd
add ecx, eax
add esi, eax
add ebx, eax
mov word [ecx], 0xa
add ecx, eax
add esi, eax
add ebx, eax
inc dword [ebp + 0x14]
xor eax, eax
lea edi, [ebp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
inc dword [ebp + 8]
cmp dword [ebp + 0xc], 1
mov al, byte [eax]
jbe 0x1088b15
mov edx, dword [ebp + 8]
mov dl, byte [edx]
inc dword [ebp + 8]
cmp dword [ebp + 0xc], 2
mov byte [ebp + 0x11], dl
jbe 0x1088b15
mov edx, dword [ebp + 8]
mov dl, byte [edx]
inc dword [ebp + 8]
mov byte [ebp + 0x12], dl
cmp ebx, dword [ebp - 8]
jae 0x1088bd9
movzx eax, al
mov edx, eax
shr edx, 2
movzx dx, byte [edx + 0x1005f30]
mov word [ecx], dx
movzx edx, byte [ebp + 0x11]
inc ecx
mov edi, edx
shr edi, 4
shl eax, 4
inc ecx
or edi, eax
inc esi
and edi, 0x3f
movzx ax, byte [edi + 0x1005f30]
inc esi
inc ebx
push 2
pop edi
inc ebx
mov word [ecx], ax
add ecx, edi
add esi, edi
add ebx, edi
cmp dword [ebp + 0xc], 1
jbe 0x1088b7a
movzx eax, byte [ebp + 0x12]
shr eax, 6
shl edx, 2
or eax, edx
and eax, 0x3f
movzx eax, byte [eax + 0x1005f30]
jmp 0x1088b7d
push 0x3d
pop eax
mov word [ecx], ax
add ecx, edi
add esi, edi
add ebx, edi
cmp dword [ebp + 0xc], edi
jbe 0x1088b9b
movzx eax, byte [ebp + 0x12]
and eax, 0x3f
movzx eax, byte [eax + 0x1005f30]
jmp 0x1088b9e
push 0x3d
pop eax
sub dword [ebp + 0xc], 3
mov word [ecx], ax
add ecx, edi
add esi, edi
add ebx, edi
cmp dword [ebp + 0xc], 0
jg 0x1088aae
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x10], 0
je 0x1088bd4
lea edx, [ecx + 2]
cmp edx, dword [ebp - 8]
jae 0x1088bd9
mov word [ecx], 0xd
mov ecx, edx
mov word [ecx], 0xa
inc ecx
inc ecx
cmp ecx, dword [ebp - 8]
jb 0x1088be5
mov dword [ebp - 4], 0x8000ffff
jmp 0x10888f5
and word [ecx], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x108891c