Function at 0x10010d80
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c699
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1009d350]
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 0x10011078
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 0x10010ee4
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 0x10010f19
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10010f19
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10010e9d
push ecx
push esi
mov ecx, ebx
call fcn.10008ce7
mov dl, byte [ebp - 0x61]
test esi, esi
je 0x10010ecf
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10010eb7
mov eax, dword [ebx]
jmp 0x10010eb9
test esi, esi
jne 0x10010e90
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10010eb0
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10010ecf
mov eax, ebx
mov byte [eax], 0
jmp 0x10010ecf
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10010ec9
mov eax, dword [ebx]
jmp 0x10010ecb
mov eax, ebx
mov byte [eax + esi], 0
inc edi
cmp edi, 4
jl 0x10010e50
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 0x10010df3
test edi, edi
je 0x10011078
mov eax, edi
cmp edi, 3
jge 0x10010f28
cmp eax, 3
jae 0x10010f23
mov byte [ebp + eax - 0x5c], 0
inc eax
cmp eax, 3
jl 0x10010f01
mov dl, byte [ebp - 0x5a]
mov ch, byte [ebp - 0x5b]
mov cl, byte [ebp - 0x5c]
jmp 0x10010f2b
push str.string_too_long
call fcn.1004b490
call fcn.1004d821
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 0x10010ffc
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 0x10010f19
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10010f19
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10010fb5
push ecx
push esi
mov ecx, ebx
call fcn.10008ce7
mov edx, dword [ebp - 0x5c]
test esi, esi
je 0x10010fed
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10010fcf
mov eax, dword [ebx]
jmp 0x10010fd1
test esi, esi
jne 0x10010fa8
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10010fc8
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10010fed
mov eax, ebx
mov byte [eax], 0
jmp 0x10010fed
mov eax, ebx
mov dl, byte [ebp - 0x55]
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10010fe4
mov eax, dword [ebx]
jmp 0x10010fe6
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 0x10010f70
cmp edi, 3
jge 0x10011078
mov ecx, dword [ebx + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc edi
cmp eax, 1
jbe 0x10010f19
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10010f19
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10011040
push ecx
push esi
mov ecx, ebx
call fcn.10008ce7
test esi, esi
je 0x10011073
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x1001105a
mov eax, dword [ebx]
jmp 0x1001105c
test esi, esi
jne 0x10011033
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10011053
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10011073
mov eax, ebx
mov byte [eax], 0
jmp 0x10011073
mov eax, ebx
mov byte [ecx + eax], 0x3d
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x1001106d
mov eax, dword [ebx]
jmp 0x1001106f
mov eax, ebx
mov byte [esi + eax], 0
cmp edi, 3
jl 0x10011001
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.1004bbda
mov esp, ebp
pop ebp
ret