Function at 0x10008c50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002789e
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10036054]
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 edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor ebx, ebx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], 1
cmp esi, eax
je 0x10008fae
nop dword [eax]
mov cl, byte [esi]
mov byte [ebp + ebx - 0x14], cl
inc ebx
mov cl, byte [ebp - 0x13]
mov byte [ebp - 0x2a], cl
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0x29], cl
cmp ebx, 3
jne 0x10008e23
mov edx, dword [edi + 0x14]
movzx eax, cl
mov ecx, dword [edi + 0x10]
shr eax, 2
mov bl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x20], bl
cmp ecx, edx
jae 0x10008d1e
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008d14
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x10008d30
push dword [ebp - 0x20]
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
push ecx
mov ecx, edi
call fcn.10009a20
mov cl, byte [ebp - 0x29]
mov bh, byte [ebp - 0x2a]
and cl, 3
mov edx, dword [edi + 0x14]
mov al, bh
shl cl, 4
shr al, 4
add cl, al
movzx eax, cl
mov ecx, dword [edi + 0x10]
mov bl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x24], bl
cmp ecx, edx
jae 0x10008d72
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008d68
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x10008d84
push dword [ebp - 0x24]
mov byte [ebp - 0x38], 0
push dword [ebp - 0x38]
push ecx
mov ecx, edi
call fcn.10009a20
mov edx, dword [edi + 0x14]
mov cl, bh
mov bh, byte [ebp - 0x12]
and cl, 0xf
mov al, bh
shl cl, 2
shr al, 6
add cl, al
movzx eax, cl
mov ecx, dword [edi + 0x10]
mov bl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x28], bl
cmp ecx, edx
jae 0x10008dc5
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008dbb
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x10008dd7
push dword [ebp - 0x28]
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push ecx
mov ecx, edi
call fcn.10009a20
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
movzx eax, bh
and eax, 0x3f
mov bl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x1c], bl
cmp ecx, edx
jae 0x10008e09
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008dff
mov eax, dword [edi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x10008e1b
push dword [ebp - 0x1c]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.10009a20
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov cl, byte [ebp - 0x29]
inc esi
cmp esi, eax
jne 0x10008cd0
test ebx, ebx
je 0x10008fae
mov edx, dword [edi + 0x10]
mov esi, dword [edi + 0x14]
movzx eax, cl
shr eax, 2
mov ch, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x18], ch
cmp edx, esi
jae 0x10008e66
lea eax, [edx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp esi, 0x10
jb 0x10008e5c
mov eax, dword [edi]
mov byte [eax + edx], ch
mov byte [eax + edx + 1], 0
jmp 0x10008e7b
push dword [ebp - 0x18]
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push ecx
mov ecx, edi
call fcn.10009a20
mov cl, byte [ebp - 0x29]
mov edx, dword [edi + 0x14]
and cl, 3
shl cl, 4
cmp ebx, 1
jne 0x10008ed4
movzx eax, cl
mov ecx, dword [edi + 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x14], al
cmp ecx, edx
jae 0x10008ebc
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008eab
mov eax, dword [edi]
mov dl, byte [ebp - 0x14]
inc ebx
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x10008f70
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.10009a20
inc ebx
jmp 0x10008f70
movzx eax, byte [ebp - 0x2a]
shr al, 4
add cl, al
movzx eax, cl
mov ecx, dword [edi + 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x14], al
cmp ecx, edx
jae 0x10008f0c
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008eff
mov eax, dword [edi]
mov dl, byte [ebp - 0x14]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x10008f1e
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.10009a20
mov al, byte [ebp - 0x2a]
mov ecx, dword [edi + 0x10]
and al, 0xf
mov edx, dword [edi + 0x14]
shl al, 2
movzx eax, al
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x14], al
cmp ecx, edx
jae 0x10008f58
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008f4b
mov eax, dword [edi]
mov dl, byte [ebp - 0x14]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x10008f6a
push dword [ebp - 0x14]
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.10009a20
inc ebx
cmp ebx, 4
jae 0x10008fae
mov esi, 4
sub esi, ebx
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x10008f98
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x10008f90
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x10008fa9
push 0x3d
mov byte [ebp - 0x18], 0
push dword [ebp - 0x18]
push ecx
mov ecx, edi
call fcn.10009a20
sub esi, 1
jne 0x10008f77
mov eax, edi
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.1000ee9f
mov esp, ebp
pop ebp
ret