Function at 0x1001620d
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push edi
jne 0x1001623d
cmp dword [ebp + 0xc], ebx
je 0x10016244
push 4
pop eax
mov dword [ebp - 0x10], eax
push 0x10058310
lea eax, [ebp - 0x10]
mov ecx, str.Null_raw_data_buffer
push eax
mov dword [ebp - 0xc], ecx
call fcn.1003a718
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x10016253
mov eax, dword [ebp + 0x10]
mov dword [eax], ebx
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
jmp 0x100163f1
mov ecx, dword [0x100634e4]
push esi
push 0xffffffffffffffff
push ebx
call fcn.10002485
push 3
xor edx, edx
pop ecx
mov eax, edi
div ecx
mov esi, dword [0x100634e4]
shl eax, 2
call fcn.10009ea5
xor ecx, ecx
cmp edi, 2
mov dword [ebp - 0xc], ecx
jbe 0x1001632c
mov eax, dword [ebp + 8]
mov dword [ebp - 8], 1
sub dword [ebp - 8], eax
lea esi, [eax + 1]
movzx eax, byte [esi - 1]
movzx ecx, byte [esi]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi + 1]
shl eax, 8
add eax, ecx
mov ecx, eax
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 3], cl
mov ecx, eax
shr ecx, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
cmp ebx, 0x4c
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 2], cl
mov byte [ebp - 1], al
jb 0x10016302
mov edi, dword [0x100634e4]
xor ebx, ebx
push 0xa
inc ebx
call fcn.10002968
mov edi, dword [ebp + 0xc]
xor ebx, ebx
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [0x100634e4]
call fcn.10002e4f
mov eax, dword [ebp - 8]
add dword [ebp - 0xc], 3
add esi, 3
add eax, esi
add ebx, 4
cmp eax, edi
jb 0x10016297
mov ecx, dword [ebp - 0xc]
sub edi, ecx
dec edi
pop esi
je 0x1001637d
dec edi
jne 0x100163d1
mov eax, dword [ebp + 8]
add ecx, eax
movzx eax, byte [ecx + 1]
movzx ecx, byte [ecx]
shl ecx, 8
add eax, ecx
shl eax, 8
mov ecx, eax
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], cl
mov ecx, eax
shr ecx, 0xc
shr eax, 6
and ecx, 0x3f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 3], cl
mov byte [ebp - 2], al
jmp 0x100163a8
mov eax, dword [ebp + 8]
movzx eax, byte [ecx + eax]
shl eax, 0x10
mov ecx, eax
shr eax, 0xc
shr ecx, 0x12
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 4], cl
mov byte [ebp - 3], al
mov byte [ebp - 2], 0x3d
cmp ebx, 0x4c
mov byte [ebp - 1], 0x3d
jb 0x100163c1
mov edi, dword [0x100634e4]
xor ebx, ebx
push 0xa
inc ebx
call fcn.10002968
push 4
lea eax, [ebp - 4]
push eax
mov eax, dword [0x100634e4]
call fcn.10002e4f
mov eax, dword [0x100634e4]
cmp dword [eax + 0x18], 0x10
jb 0x100163e1
mov ecx, dword [eax + 4]
jmp 0x100163e4
lea ecx, [eax + 4]
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
pop edi
pop ebx
leave
ret