Function at 0x10133760
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101f23b9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [ebp - 0x24], edi
mov dword [edi + 0x10], 0
jb 0x101337bd
mov eax, dword [edi]
jmp 0x101337bf
mov eax, edi
mov byte [eax], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test eax, eax
je 0x10133a95
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + ebx - 0x10], al
inc ebx
mov ah, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
mov dword [ebp - 0x1c], edx
mov byte [ebp - 0x15], ah
mov byte [ebp - 0x17], ch
mov byte [ebp - 0x18], cl
cmp ebx, 3
jne 0x101338e4
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x14], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x13], cl
mov cl, ch
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], al
xor ebx, ebx
nop dword [eax]
cmp dword [0x102a7e14], 0x10
mov eax, 0x102a7e00
movzx ecx, byte [ebp + ebx - 0x14]
cmovae eax, dword [0x102a7e00]
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov eax, ecx
not eax
mov byte [ebp - 0x16], dl
cmp eax, 1
jbe 0x10133919
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10133919
cmp dword [edi + 0x14], esi
jae 0x1013389c
push ecx
push esi
mov ecx, edi
call fcn.100a5ad0
mov dl, byte [ebp - 0x16]
test esi, esi
je 0x101338cf
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x101338b7
mov eax, dword [edi]
jmp 0x101338b9
test esi, esi
jne 0x1013388f
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x101338b0
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x101338cf
mov eax, edi
mov byte [eax], 0
jmp 0x101338cf
mov eax, edi
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x101338c9
mov eax, dword [edi]
jmp 0x101338cb
mov eax, edi
mov byte [eax + esi], 0
inc ebx
cmp ebx, 4
jl 0x10133840
mov edx, dword [ebp - 0x1c]
xor ebx, ebx
mov ch, byte [ebp - 0x17]
mov cl, byte [ebp - 0x18]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x101337e0
test ebx, ebx
je 0x10133a95
mov eax, ebx
cmp ebx, 3
jge 0x10133928
cmp eax, 3
jae 0x10133923
mov byte [ebp + eax - 0x10], 0
inc eax
cmp eax, 3
jl 0x10133901
mov dl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
jmp 0x1013392b
push str.string_too_long
call fcn.1019b79c
call fcn.101b4c4c
mov dl, byte [ebp - 0x15]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x14], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x13], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x11], dl
xor edx, edx
mov byte [ebp - 0x12], ch
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edx
test eax, eax
jle 0x10133a14
nop dword [eax]
cmp dword [0x102a7e14], 0x10
mov eax, 0x102a7e00
movzx ecx, byte [ebp + edx - 0x14]
cmovae eax, dword [0x102a7e00]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x15], al
mov eax, ecx
not eax
cmp eax, 1
jbe 0x10133919
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10133919
cmp dword [edi + 0x14], esi
jae 0x101339cc
push ecx
push esi
mov ecx, edi
call fcn.100a5ad0
mov edx, dword [ebp - 0x10]
test esi, esi
je 0x10133a05
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x101339e7
mov eax, dword [edi]
jmp 0x101339e9
test esi, esi
jne 0x101339bf
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x101339e0
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x10133a05
mov eax, edi
mov byte [eax], 0
jmp 0x10133a05
mov eax, edi
mov dl, byte [ebp - 0x15]
mov byte [ecx + eax], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x101339fc
mov eax, dword [edi]
jmp 0x101339fe
mov eax, edi
mov edx, dword [ebp - 0x10]
mov byte [esi + eax], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp - 0x10], edx
cmp edx, eax
jl 0x10133970
cmp ebx, 3
jge 0x10133a95
nop dword [eax]
mov ecx, dword [edi + 0x10]
inc ebx
mov eax, ecx
not eax
cmp eax, 1
jbe 0x10133919
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10133919
cmp dword [edi + 0x14], esi
jae 0x10133a5c
push ecx
push esi
mov ecx, edi
call fcn.100a5ad0
test esi, esi
je 0x10133a90
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x10133a77
mov eax, dword [edi]
jmp 0x10133a79
test esi, esi
jne 0x10133a4f
mov dword [edi + 0x10], esi
cmp dword [edi + 0x14], 0x10
jb 0x10133a70
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x10133a90
mov eax, edi
mov byte [eax], 0
jmp 0x10133a90
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x10133a8a
mov eax, dword [edi]
jmp 0x10133a8c
mov eax, edi
mov byte [eax + esi], 0
cmp ebx, 3
jl 0x10133a20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret