Function at 0x1000dbb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.1002adc0
test al, al
je 0x1000dbd6
pop ecx
pop esp
push eax
push esp
push ebx
push ecx
push esp
push ebx
pop esi
pop edi
pop ebp
pop edi
pop edi
pop ebx
push edi
pop edx
pop ebx
pop eax
pop esi
pop esi
push ecx
push ebx
call fcn.1002ac00
test al, al
je 0x1000dbf5
pop esi
push ebp
pop ecx
pop eax
pop esi
push edx
pop edi
push ecx
push edx
pop esp
push esp
pop esi
pop esp
push edi
push eax
pop ecx
push ebx
pop ebx
pop esi
push edi
pop ebx
pop esi
call fcn.1002a960
test al, al
je 0x1000dc18
push ebp
push eax
push esp
pop edx
pop edx
pop eax
pop esi
pop edi
pop edi
push ebx
push edx
pop ebp
pop ecx
push esi
push eax
push esp
pop ecx
pop ebx
pop ebp
pop ebx
pop edx
pop esi
pop esi
pop esp
push esi
pop ebx
call fcn.1002a8f0
test al, al
je 0x1000dc36
pop ebx
pop ebp
pop edi
pop eax
pop ebp
pop edx
pop ebp
push eax
push esp
push eax
push ebx
push esp
pop esp
pop edi
pop ebp
pop edx
push esp
push ebx
push eax
pop esi
pop esi
call fcn.1002adc0
test al, al
je 0x1000dc5e
pop edx
pop ebp
pop edx
pop edx
pop esp
pop ebx
push esi
push ebx
push edx
pop esi
push eax
pop edx
pop esp
push edi
pop ebx
pop esi
pop esp
pop edx
pop ecx
push esp
pop ebp
push edx
push edx
push ecx
pop edi
push ebp
push edx
push ecx
pop eax
push esi
pop ebx
mov edi, dword [ebp + 0xc]
xor edx, edx
xor ecx, ecx
xor ebx, ebx
test edi, edi
jle 0x1000dda9
mov esi, dword [ebp + 8]
mov al, byte [ebx + esi]
cmp al, 0x3d
jne 0x1000dc7f
inc ecx
cmp ecx, 2
jg 0x1000dccb
cmp al, 0x7f
ja 0x1000dccb
movzx eax, al
mov al, byte [eax + 0x1005fd70]
cmp al, 0x7f
je 0x1000dccb
cmp al, 0x40
jae 0x1000dc98
test ecx, ecx
jne 0x1000dccb
inc ebx
inc edx
mov dword [ebp + 0xc], ebx
cmp ebx, edi
jl 0x1000dc72
test edx, edx
je 0x1000dda9
mov ecx, dword [ebp + 0x14]
lea eax, [edx + edx*2]
lea eax, [eax*2 + 7]
sar eax, 3
cmp dword [ecx], eax
jge 0x1000dcd7
mov dword [ecx], eax
mov eax, 0xfffffff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xffffffee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1002aea0
test al, al
je 0x1000dcff
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.1002ae30
test al, al
je 0x1000dd26
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
mov esi, 3
mov eax, dword [ebp + 0x10]
mov edx, eax
test ebx, ebx
jle 0x1000dda2
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
mov cl, byte [eax + 0x1005fd70]
xor eax, eax
cmp cl, 0x40
sete al
sub esi, eax
movzx eax, cl
mov ecx, dword [ebp - 4]
and eax, 0x3f
shl ecx, 6
or ecx, eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, 4
jne 0x1000dd99
xor eax, eax
mov dword [ebp + 0xc], eax
test esi, esi
jle 0x1000dd84
mov eax, ecx
shr eax, 0x10
mov byte [edx], al
inc edx
cmp esi, 1
jle 0x1000dd91
mov eax, ecx
shr eax, 8
mov byte [edx], al
inc edx
cmp esi, 2
jle 0x1000dd99
mov byte [edx], cl
inc edx
dec ebx
inc edi
test ebx, ebx
jg 0x1000dd43
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
mov esp, ebp
pop ebp
ret