Function at 0x10015ef0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003eb19
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100505e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2c], edi
lea esi, [eax + 4]
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], edi
mov dword [ebp - 0x18], eax
mov byte [esi], 0
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edi
mov ebx, dword [eax + 0x14]
mov dword [ebp - 0x2c], 1
cmp ebx, edx
ja 0x10015f72
cmp dword [eax + 0x18], edx
je 0x10015f72
push 1
push edx
mov ecx, eax
call fcn.1000cb70
test al, al
mov eax, dword [ebp - 0x18]
je 0x10015f6f
cmp dword [eax + 0x18], 0x10
mov dword [eax + 0x14], ebx
jb 0x10015f68
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
mov byte [esi + ebx], 0
mov edx, dword [ebp + 0x10]
cmp edx, edi
jle 0x1001611d
mov edi, 1
mov dword [ebp - 0x14], edi
jmp 0x10015f89
mov edx, edi
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
mov cl, byte [esi + edi - 1]
xor al, al
cmp edi, edx
mov byte [ebp - 0xd], al
jge 0x10015f9c
mov al, byte [edi + esi]
lea ebx, [edi + 1]
cmp ebx, edx
jge 0x10015faa
mov dl, byte [edi + esi + 1]
mov byte [ebp - 0xd], dl
mov dl, cl
and cl, 3
mov bl, al
shr bl, 4
shl cl, 4
or cl, bl
and al, 0xf
mov byte [ebp - 0xe], cl
mov cl, byte [ebp - 0xd]
add al, al
mov bl, cl
shr bl, 6
add al, al
shr dl, 2
or al, bl
and cl, 0x3f
mov bl, al
mov byte [ebp - 0xd], cl
cmp dl, 0x1a
jae 0x10015fe4
add dl, 0x41
mov byte [ebp - 0x1c], dl
jmp 0x1001600b
cmp dl, 0x34
jae 0x10015ff1
add dl, 0x47
mov byte [ebp - 0x1c], dl
jmp 0x1001600b
cmp dl, 0x3e
jae 0x10015ffe
sub dl, 4
mov byte [ebp - 0x1c], dl
jmp 0x1001600b
setne al
lea eax, [eax*4 + 0x2b]
mov byte [ebp - 0x1c], al
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
push ecx
push 1
mov ecx, esi
call fcn.1000bff0
mov al, byte [ebp - 0xe]
cmp al, 0x1a
jae 0x10016029
add al, 0x41
mov byte [ebp - 0x28], al
jmp 0x1001604c
cmp al, 0x34
jae 0x10016034
add al, 0x47
mov byte [ebp - 0x28], al
jmp 0x1001604c
cmp al, 0x3e
jae 0x1001603f
sub al, 4
mov byte [ebp - 0x28], al
jmp 0x1001604c
setne dl
lea edx, [edx*4 + 0x2b]
mov byte [ebp - 0x28], dl
mov eax, dword [ebp - 0x28]
push eax
push 1
mov ecx, esi
call fcn.1000bff0
mov edi, dword [ebp + 0x10]
cmp dword [ebp - 0x14], edi
jge 0x100160a7
cmp bl, 0x1a
jae 0x10016072
add bl, 0x41
mov byte [ebp - 0x20], bl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x100160a9
cmp bl, 0x34
jae 0x10016083
add bl, 0x47
mov byte [ebp - 0x20], bl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x100160a9
cmp bl, 0x3e
jae 0x10016094
sub bl, 4
mov byte [ebp - 0x20], bl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x100160a9
setne cl
lea ecx, [ecx*4 + 0x2b]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x100160a9
push 0x3d
push 1
mov ecx, esi
call fcn.1000bff0
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, edi
jge 0x100160fd
mov al, byte [ebp - 0xd]
cmp al, 0x1a
jae 0x100160cc
add al, 0x41
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x100160ff
cmp al, 0x34
jae 0x100160db
add al, 0x47
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x100160ff
cmp al, 0x3e
jae 0x100160ea
sub al, 4
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x100160ff
setne al
lea eax, [eax*4 + 0x2b]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x100160ff
push 0x3d
push 1
mov ecx, esi
call fcn.1000bff0
mov eax, dword [ebp - 0x14]
add eax, 3
mov dword [ebp - 0x14], eax
dec eax
cmp eax, edi
jl 0x10015f84
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret