Function at 0x428870
Capabilities:
Encode data using base64

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x20]
test edi, edi
jg 0x428895
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428886
sub eax, esi
mov edi, eax
mov dword [esp + 0x20], edi
mov esi, edx
lea ecx, [edi*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 4]
push ecx
xor ebp, ebp
mov dword [esp + 0x20], esi
call sub.MFC71U.DLL_SerializeElements
mov ecx, dword [esp + 0x1c]
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [ecx], eax
jne 0x4288d4
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
pop ecx
ret
lea eax, [edi - 3]
xor ecx, ecx
test eax, eax
jle 0x4289b9
lea edx, [eax - 1]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
inc edx
lea eax, [edx*4]
lea ecx, [edx + edx*2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esi]
mov ecx, eax
shr ecx, 2
and ecx, 0x3f
jl 0x428919
cmp ecx, 0x40
jge 0x428919
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x42891b
mov cl, 0x3d
movsx esi, cl
mov ecx, eax
mov edi, eax
shr ecx, 0xc
and edi, 3
and ecx, 0xf
shl edi, 4
or ecx, edi
jl 0x42893f
cmp ecx, 0x40
jge 0x42893f
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x428941
mov cl, 0x3d
movsx edi, cl
mov ecx, eax
shr ecx, 8
mov ebp, eax
and ecx, 0xf
shr ebp, 0x16
shl ecx, 2
and ebp, 3
or ecx, ebp
jl 0x428968
cmp ecx, 0x40
jge 0x428968
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x42896a
mov cl, 0x3d
shr eax, 0x10
and eax, 0x3f
movsx ecx, cl
jl 0x428982
cmp eax, 0x40
jge 0x428982
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x428984
mov al, 0x3d
movsx eax, al
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edi
shl eax, 8
or eax, esi
mov esi, dword [esp + 0x1c]
mov dword [ebx], eax
add esi, 3
add ebx, 4
dec edx
mov dword [esp + 0x1c], esi
jne 0x428900
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, edi
jge 0x428a8d
sub edi, ecx
mov edx, edi
xor ecx, ecx
test edx, edx
mov dword [esp + 0x20], ecx
jle 0x4289e7
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x20]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov eax, ecx
shr eax, 2
and eax, 0x3f
jl 0x4289fe
cmp eax, 0x40
jge 0x4289fe
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x428a00
mov al, 0x3d
mov byte [ebx], al
mov eax, ecx
mov esi, ecx
shr eax, 0xc
and esi, 3
and eax, 0xf
shl esi, 4
or eax, esi
jl 0x428a23
cmp eax, 0x40
jge 0x428a23
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x428a25
mov al, 0x3d
cmp edx, 1
mov byte [ebx + 1], al
jle 0x428a51
mov eax, ecx
shr eax, 8
mov esi, ecx
and eax, 0xf
shr esi, 0x16
shl eax, 2
and esi, 3
or eax, esi
jl 0x428a51
cmp eax, 0x40
jge 0x428a51
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x428a53
mov al, 0x3d
cmp edx, 2
mov byte [ebx + 2], al
jle 0x428a82
shr ecx, 0x10
and ecx, 0x3f
jl 0x428a82
cmp ecx, 0x40
jge 0x428a82
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + 3], al
add ebx, 4
pop edi
add ebp, 4
pop esi
mov eax, ebp
pop ebp
mov byte [ebx], 0
pop ebx
pop ecx
ret
mov al, 0x3d
mov byte [ebx + 3], al
add ebx, 4
add ebp, 4
pop edi
pop esi
mov eax, ebp
pop ebp
mov byte [ebx], 0
pop ebx
pop ecx
ret