Function at 0x10006eb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.10016fe0
test al, al
je 0x10006ed6
pop ebx
push ebp
push esp
pop edi
push ebp
pop eax
pop ebx
pop ecx
pop ebp
push eax
pop esp
pop ebp
pop ebx
push ecx
push ebx
pop esp
pop eax
pop ebp
pop eax
push ebx
push ebx
pop ecx
push esp
call fcn.10016f00
test al, al
je 0x10006ef6
push ebx
push ecx
push ecx
pop esp
push esi
pop edx
push esi
pop edx
pop ecx
pop ebp
push edx
pop ebx
pop ecx
pop esp
push ebx
push eax
pop esp
push ebx
push edx
push esp
pop ebp
push esp
push esi
call fcn.10016e20
test al, al
je 0x10006f13
push ebx
push ebx
pop ecx
pop esp
pop ebx
pop ebp
push esi
push edi
pop ecx
push esp
pop esp
push ebp
push eax
pop edx
push ebp
pop ebx
push ebp
push eax
push edi
push eax
call fcn.10016e90
test al, al
je 0x10006f32
push esp
pop ebp
push edi
pop ecx
push ebx
pop ecx
push eax
pop ebp
push ecx
push edi
pop edi
push ebp
push esp
push ebx
pop ebx
pop ebp
pop esi
push edi
pop edi
push edi
push esi
pop ecx
call fcn.10017670
test al, al
je 0x10006f52
pop esi
push ebx
push ebx
push esp
push ebx
push eax
push ebp
push esi
pop ebx
push edx
push eax
pop esp
pop ebx
pop eax
push ebp
push esp
pop edi
push ecx
pop ecx
push ebp
pop eax
push ecx
pop ecx
mov ebx, dword [ebp + 0xc]
xor edx, edx
xor ecx, ecx
xor esi, esi
test ebx, ebx
jle 0x10007096
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x10006f73
inc ecx
cmp ecx, 2
jg 0x10006fbd
cmp al, 0x7f
ja 0x10006fbd
movzx eax, al
mov al, byte [eax + 0x10032408]
cmp al, 0x7f
je 0x10006fbd
cmp al, 0x40
jae 0x10006f8c
test ecx, ecx
jne 0x10006fbd
inc esi
inc edx
mov dword [ebp + 0xc], esi
cmp esi, ebx
jl 0x10006f66
test edx, edx
je 0x10007096
mov ecx, dword [ebp + 0x14]
lea eax, [edx + edx*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x10006fc7
mov dword [ecx], eax
mov eax, 0xfffffff0
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.10017520
test al, al
je 0x10006fec
pop ecx
pop esi
push edx
push ebx
push edx
pop ebp
push ecx
push eax
pop ebp
pop edx
push eax
push ebx
pop ebx
push esi
push ecx
push edx
pop edx
push ecx
push eax
push ecx
pop ecx
pop edx
push ebp
push eax
pop esi
mov esi, dword [ebp + 0xc]
call fcn.10017360
test al, al
je 0x1000700f
push esp
push esp
push ecx
pop edi
push ebp
push edx
pop edx
push esp
push edi
push esp
pop ebp
pop ebx
pop ecx
pop edx
pop ebp
push eax
push edx
push esp
pop ecx
push esp
pop esp
push ecx
push esi
push esi
push esi
push ebx
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
mov edi, 3
mov eax, dword [ebp + 0x10]
mov edx, eax
test esi, esi
jle 0x1000708f
mov eax, dword [ebp + 8]
nop word [eax + eax]
movzx eax, byte [eax]
mov cl, byte [eax + 0x10032408]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub edi, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [ebp + 0xc], ecx
cmp ecx, 4
jne 0x10007080
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x1000706b
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x10007078
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x10007080
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x10007030
mov eax, dword [ebp + 0x10]
sub edx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret