Function at 0x10002c7c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov ecx, dword [ebp + 8]
call fcn.1000272e
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10002c9b
jmp 0x10002f24
mov ecx, dword [ebp + 8]
call fcn.1000273c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea eax, [eax*8 + 5]
xor edx, edx
push 6
pop ecx
div ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, 0x47
xor edx, edx
push 0x48
pop ecx
div ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax*2 + 1]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
call fcn.1000273c
add eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100025da
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and word [ecx + eax*2], 0
and word [ebp - 0x24], 0
and dword [ebp - 4], 0
jmp 0x10002d0d
mov eax, dword [ebp - 8]
sub eax, 3
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
add eax, 6
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 2
jbe 0x10002dfa
cmp dword [ebp - 4], 0x48
jne 0x10002d43
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100026bf
and dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x10002d43
push 0x100237b4
mov ecx, dword [ebp + 0xc]
call fcn.100026bf
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
shl eax, 0x10
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx + 2]
shl ecx, 8
or eax, ecx
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx + 4]
or eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x12
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 0xc
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 6
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x10002cfb
cmp dword [ebp - 8], 0
je 0x10002ef0
cmp dword [ebp - 4], 0x48
jne 0x10002e30
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100026bf
cmp dword [ebp + 0x10], 0
je 0x10002e2c
push 0x100237b4
mov ecx, dword [ebp + 0xc]
call fcn.100026bf
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
shl eax, 8
mov ecx, dword [ebp - 0x10]
movzx ecx, word [ecx + 2]
or eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
shr eax, 0xa
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 4
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 2
jne 0x10002ebc
mov eax, dword [ebp - 0xc]
shl eax, 2
and eax, 0x3f
mov ecx, dword [ebp - 4]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ax, word [edx + eax*2]
mov word [ebp + ecx*2 - 0xb4], ax
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
jmp 0x10002ed6
cmp dword [ebp + 0x14], 0
je 0x10002ed6
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0xb4], 0x3d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
je 0x10002ef0
mov eax, dword [ebp - 4]
mov word [ebp + eax*2 - 0xb4], 0x3d
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10002f24
mov eax, dword [ebp - 4]
and word [ebp + eax*2 - 0xb4], 0
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.100026bf
cmp dword [ebp + 0x10], 0
je 0x10002f24
push 0x100237b4
mov ecx, dword [ebp + 0xc]
call fcn.100026bf
leave
ret