Function at 0x100bfec7
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x144
mov ecx, dword [ebp + 0x10]
test ecx, ecx
mov eax, dword [0x101b9540]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov dword [esp + reloc.WINMM.dll_midiStreamOut], eax
push edi
jne 0x100bff05
mov eax, edx
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100bfef7
sub eax, esi
mov dword [ebp + 0x10], eax
mov ecx, eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], edx
lea eax, [ecx - 3]
xor edx, edx
test eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], ebx
jle 0x100c006c
lea ecx, [eax - 1]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
inc edx
lea eax, [edx*4]
lea ecx, [edx + edx*2]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov eax, edx
shr eax, 2
and eax, 0x3f
movsb byte es:[edi], byte [esi]
jl 0x100bff74
cmp eax, 0x40
jge 0x100bff74
mov al, byte [esp + eax + 0x70]
jmp 0x100bff76
mov al, 0x3d
movsx eax, al
mov dword [esp + 0x1c], eax
mov eax, edx
mov ecx, edx
and ecx, 3
shr eax, 0xc
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, reloc.WINMM.dll_midiStreamOut
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jl 0x100bffb3
cmp eax, 0x40
jge 0x100bffb3
mov al, byte [esp + eax + 0x100]
jmp 0x100bffb5
mov al, 0x3d
movsx eax, al
mov dword [esp + 0x24], eax
mov eax, edx
shr eax, 8
mov ecx, edx
shr ecx, 0x16
and eax, 0xf
and ecx, 3
shl eax, 2
or eax, ecx
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0xb8]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jl 0x100bfff5
cmp eax, 0x40
jge 0x100bfff5
mov al, byte [esp + eax + 0xb8]
jmp 0x100bfff7
mov al, 0x3d
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
shr edx, 0x10
and edx, 0x3f
movsx ebx, al
movsb byte es:[edi], byte [esi]
jl 0x100c001e
cmp edx, 0x40
jge 0x100c001e
mov al, byte [esp + edx + 0x28]
jmp 0x100c0020
mov al, 0x3d
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
movsx edx, al
mov eax, dword [esp + 0xc]
shl edx, 8
or edx, ebx
mov ebx, dword [esp + 0x24]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
add ecx, 3
dec eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
jne 0x100bff48
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
cmp edx, ecx
jge 0x100c01ad
sub ecx, edx
xor eax, eax
test ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
jle 0x100c009e
mov esi, dword [esp + 0x14]
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov edx, eax
shr edx, 2
and edx, 0x3f
movsb byte es:[edi], byte [esi]
jl 0x100c00c4
cmp edx, 0x40
jge 0x100c00c4
mov dl, byte [esp + edx + 0x28]
jmp 0x100c00c6
mov dl, 0x3d
mov byte [ebx], dl
mov edx, eax
mov ecx, eax
and ecx, 3
shr edx, 0xc
shl ecx, 4
and edx, 0xf
or edx, ecx
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jl 0x100c00f8
cmp edx, 0x40
jge 0x100c00f8
mov dl, byte [esp + edx + 0x28]
jmp 0x100c00fa
mov dl, 0x3d
cmp dword [esp + 0xc], 1
mov byte [ebx + 1], dl
jle 0x100c0137
mov edx, eax
shr edx, 8
mov ecx, eax
shr ecx, 0x16
and edx, 0xf
and ecx, 3
shl edx, 2
or edx, ecx
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jl 0x100c0137
cmp edx, 0x40
jge 0x100c0137
mov dl, byte [esp + edx + 0x28]
jmp 0x100c0139
mov dl, 0x3d
cmp dword [esp + 0xc], 2
mov byte [ebx + 2], dl
jle 0x100c0188
mov ecx, 0x10
mov esi, 0x10169ae0
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
shr eax, 0x10
and eax, 0x3f
movsb byte es:[edi], byte [esi]
jl 0x100c0188
cmp eax, 0x40
jge 0x100c0188
mov al, byte [esp + eax + 0x28]
mov byte [ebx + 3], al
mov eax, dword [esp + 0x18]
add ebx, 4
add eax, 4
mov byte [ebx], 0
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
call fcn.101a6cf4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 0x3d
mov byte [ebx + 3], al
mov eax, dword [esp + 0x18]
add ebx, 4
add eax, 4
mov byte [ebx], 0
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
call fcn.101a6cf4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + reloc.WINMM.dll_midiStreamOut]
mov eax, dword [esp + 0x18]
mov byte [ebx], 0
call fcn.101a6cf4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret