Function at 0x10098980
Capabilities:
Encode data using base64

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018d1ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x28
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, dword [ebx + 8]
mov eax, 0xaaaaaaab
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
lea edx, [ecx + 2]
mul edx
shr edx, 1
shl edx, 2
cmp edx, ecx
jae 0x100989f8
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x10098b44
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0
test edx, edx
jne 0x10098a22
mov dword [ebp - 0x24], edx
mov byte [ebp + edx - 0x34], dl
jmp 0x10098a2f
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.1008c610
mov ecx, dword [ebx + 8]
cmp dword [ebp - 0x20], 0x10
lea edx, [ebp - 0x34]
lea eax, [esi + ecx]
cmovae edx, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
cmp ecx, 3
jl 0x10098abd
mov edi, dword [ebx + 8]
nop dword [eax + eax]
movzx eax, byte [esi]
sub edi, 3
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
movzx ecx, byte [esi + 1]
movzx eax, byte [esi + 2]
and ecx, 0xf
shr eax, 6
shl ecx, 2
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
movzx eax, byte [esi + 2]
add esi, 3
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 3], al
add edx, 4
cmp edi, 3
jge 0x10098a50
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
sub eax, esi
mov dword [ebp - 0x14], eax
je 0x10098b1f
movzx eax, byte [esi]
shr eax, 2
cmp dword [ebp - 0x14], 1
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jne 0x10098aee
movzx eax, byte [esi]
and eax, 3
shl eax, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
mov al, 0x3d
jmp 0x10098b18
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
and ecx, 3
shr eax, 4
shl ecx, 4
or ecx, eax
movzx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], al
movzx eax, byte [esi + 1]
and eax, 0xf
mov al, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 2], al
mov byte [edx + 3], 0x3d
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret