Function at 0x10006e70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.10064c6a
test al, al
je 0x10006e96
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.10064b9b
test al, al
je 0x10006eb6
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.10064acc
test al, al
je 0x10006ed3
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.10064b11
test al, al
je 0x10006ef2
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.10065078
test al, al
je 0x10006f12
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 0x10007056
mov edi, dword [ebp + 8]
mov al, byte [esi + edi]
cmp al, 0x3d
jne 0x10006f33
inc ecx
cmp ecx, 2
jg 0x10006f7d
cmp al, 0x7f
ja 0x10006f7d
movzx eax, al
mov al, byte [eax + 0x10174628]
cmp al, 0x7f
je 0x10006f7d
cmp al, 0x40
jae 0x10006f4c
test ecx, ecx
jne 0x10006f7d
inc esi
inc edx
mov dword [ebp + 0xc], esi
cmp esi, ebx
jl 0x10006f26
test edx, edx
je 0x10007056
mov ecx, dword [ebp + 0x14]
lea eax, [edx + edx*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x10006f87
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.10064fa6
test al, al
je 0x10006fac
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.10064e92
test al, al
je 0x10006fcf
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 0x1000704f
mov eax, dword [ebp + 8]
nop word [eax + eax]
movzx eax, byte [eax]
mov cl, byte [eax + 0x10174628]
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 0x10007040
xor eax, eax
mov dword [ebp + 0xc], eax
test edi, edi
jle 0x1000702b
mov eax, ebx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp edi, 1
jle 0x10007038
mov eax, ebx
shr eax, 8
mov byte [edx], al
inc edx
cmp edi, 2
jle 0x10007040
mov byte [edx], bl
inc edx
mov eax, dword [ebp + 8]
dec esi
inc eax
mov dword [ebp + 8], eax
test esi, esi
jg 0x10006ff0
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