Function at 0x1000ec40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043439
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100695e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x68], 0
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov dword [ebp - 0x70], ebx
mov byte [ebx], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 1
test eax, eax
je 0x1000ef38
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + edi - 0x5c], al
mov ah, byte [ebp - 0x5a]
mov ch, byte [ebp - 0x5b]
mov cl, byte [ebp - 0x5c]
inc edi
inc edx
mov dword [ebp - 0x6c], edx
mov byte [ebp - 0x55], ah
mov byte [ebp - 0x63], ch
mov byte [ebp - 0x62], cl
cmp edi, 3
jne 0x1000eda4
mov al, cl
shr al, 2
mov byte [ebp - 0x60], al
and cl, 3
shl cl, 4
mov al, ch
shr al, 4
add cl, al
mov byte [ebp - 0x5f], cl
mov cl, ch
and cl, 0xf
mov al, ah
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x5e], cl
mov byte [ebp - 0x5d], al
xor edi, edi
movzx eax, byte [ebp + edi - 0x60]
mov ecx, dword [ebx + 0x10]
mov dl, byte [ebp + eax - 0x54]
or eax, 0xffffffff
sub eax, ecx
mov byte [ebp - 0x61], dl
cmp eax, 1
jbe 0x1000edd9
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x1000edd9
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x1000ed5d
push ecx
push esi
mov ecx, ebx
call fcn.1000e530
mov dl, byte [ebp - 0x61]
test esi, esi
je 0x1000ed8f
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x1000ed77
mov eax, dword [ebx]
jmp 0x1000ed79
test esi, esi
jne 0x1000ed50
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x1000ed70
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x1000ed8f
mov eax, ebx
mov byte [eax], 0
jmp 0x1000ed8f
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x1000ed89
mov eax, dword [ebx]
jmp 0x1000ed8b
mov eax, ebx
mov byte [eax + esi], 0
inc edi
cmp edi, 4
jl 0x1000ed10
mov edx, dword [ebp - 0x6c]
mov ch, byte [ebp - 0x63]
mov cl, byte [ebp - 0x62]
xor edi, edi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1000ecb3
test edi, edi
je 0x1000ef38
mov eax, edi
cmp edi, 3
jge 0x1000ede8
cmp eax, 3
jae 0x1000ede3
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 3
jl 0x1000edc1
mov dl, byte [ebp - 0x5a]
mov ch, byte [ebp - 0x5b]
mov cl, byte [ebp - 0x5c]
jmp 0x1000edeb
push str.string_too_long
call fcn.100244a7
call fcn.10027838
mov dl, byte [ebp - 0x55]
mov al, cl
shr al, 2
mov byte [ebp - 0x60], al
mov al, ch
and cl, 3
shr al, 4
shl cl, 4
add cl, al
mov al, dl
and ch, 0xf
shr al, 6
shl ch, 2
and dl, 0x3f
add ch, al
mov byte [ebp - 0x5d], dl
xor edx, edx
lea eax, [edi + 1]
mov byte [ebp - 0x5f], cl
mov byte [ebp - 0x5e], ch
mov dword [ebp - 0x5c], edx
test eax, eax
jle 0x1000eebc
lea esp, [esp]
movzx eax, byte [ebp + edx - 0x60]
mov ecx, dword [ebx + 0x10]
mov al, byte [ebp + eax - 0x54]
mov byte [ebp - 0x55], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x1000edd9
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x1000edd9
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x1000ee75
push ecx
push esi
mov ecx, ebx
call fcn.1000e530
mov edx, dword [ebp - 0x5c]
test esi, esi
je 0x1000eead
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x1000ee8f
mov eax, dword [ebx]
jmp 0x1000ee91
test esi, esi
jne 0x1000ee68
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x1000ee88
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x1000eead
mov eax, ebx
mov byte [eax], 0
jmp 0x1000eead
mov eax, ebx
mov dl, byte [ebp - 0x55]
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x1000eea4
mov eax, dword [ebx]
jmp 0x1000eea6
mov eax, ebx
mov edx, dword [ebp - 0x5c]
mov byte [eax + esi], 0
inc edx
lea eax, [edi + 1]
mov dword [ebp - 0x5c], edx
cmp edx, eax
jl 0x1000ee30
cmp edi, 3
jge 0x1000ef38
mov ecx, dword [ebx + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc edi
cmp eax, 1
jbe 0x1000edd9
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x1000edd9
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x1000ef00
push ecx
push esi
mov ecx, ebx
call fcn.1000e530
test esi, esi
je 0x1000ef33
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x1000ef1a
mov eax, dword [ebx]
jmp 0x1000ef1c
test esi, esi
jne 0x1000eef3
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x1000ef13
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x1000ef33
mov eax, ebx
mov byte [eax], 0
jmp 0x1000ef33
mov eax, ebx
mov byte [ecx + eax], 0x3d
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x1000ef2d
mov eax, dword [ebx]
jmp 0x1000ef2f
mov eax, ebx
mov byte [esi + eax], 0
cmp edi, 3
jl 0x1000eec1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10026aaf
mov esp, ebp
pop ebp
ret