Function at 0x10015e90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040629
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100525d4]
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 0x10015f12
cmp dword [eax + 0x18], edx
je 0x10015f12
push 1
push edx
mov ecx, eax
call fcn.1000cb70
test al, al
mov eax, dword [ebp - 0x18]
je 0x10015f0f
cmp dword [eax + 0x18], 0x10
mov dword [eax + 0x14], ebx
jb 0x10015f08
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
mov byte [esi + ebx], 0
mov edx, dword [ebp + 0x10]
cmp edx, edi
jle 0x100160bd
mov edi, 1
mov dword [ebp - 0x14], edi
jmp 0x10015f29
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 0x10015f3c
mov al, byte [edi + esi]
lea ebx, [edi + 1]
cmp ebx, edx
jge 0x10015f4a
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 0x10015f84
add dl, 0x41
mov byte [ebp - 0x1c], dl
jmp 0x10015fab
cmp dl, 0x34
jae 0x10015f91
add dl, 0x47
mov byte [ebp - 0x1c], dl
jmp 0x10015fab
cmp dl, 0x3e
jae 0x10015f9e
sub dl, 4
mov byte [ebp - 0x1c], dl
jmp 0x10015fab
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.1000c020
mov al, byte [ebp - 0xe]
cmp al, 0x1a
jae 0x10015fc9
add al, 0x41
mov byte [ebp - 0x28], al
jmp 0x10015fec
cmp al, 0x34
jae 0x10015fd4
add al, 0x47
mov byte [ebp - 0x28], al
jmp 0x10015fec
cmp al, 0x3e
jae 0x10015fdf
sub al, 4
mov byte [ebp - 0x28], al
jmp 0x10015fec
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.1000c020
mov edi, dword [ebp + 0x10]
cmp dword [ebp - 0x14], edi
jge 0x10016047
cmp bl, 0x1a
jae 0x10016012
add bl, 0x41
mov byte [ebp - 0x20], bl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x10016049
cmp bl, 0x34
jae 0x10016023
add bl, 0x47
mov byte [ebp - 0x20], bl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x10016049
cmp bl, 0x3e
jae 0x10016034
sub bl, 4
mov byte [ebp - 0x20], bl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x10016049
setne cl
lea ecx, [ecx*4 + 0x2b]
mov byte [ebp - 0x20], cl
mov edx, dword [ebp - 0x20]
push edx
jmp 0x10016049
push 0x3d
push 1
mov ecx, esi
call fcn.1000c020
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, edi
jge 0x1001609d
mov al, byte [ebp - 0xd]
cmp al, 0x1a
jae 0x1001606c
add al, 0x41
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x1001609f
cmp al, 0x34
jae 0x1001607b
add al, 0x47
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x1001609f
cmp al, 0x3e
jae 0x1001608a
sub al, 4
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x1001609f
setne al
lea eax, [eax*4 + 0x2b]
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x1001609f
push 0x3d
push 1
mov ecx, esi
call fcn.1000c020
mov eax, dword [ebp - 0x14]
add eax, 3
mov dword [ebp - 0x14], eax
dec eax
cmp eax, edi
jl 0x10015f24
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