Function at 0x489b20
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc4ae
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4ec1e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp + 0x10]
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 1
cmp ecx, 3
jb 0x489d0f
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
nop dword [eax]
mov cl, byte [edx]
mov ah, byte [edx + 1]
mov bl, cl
mov dl, byte [edx + 2]
mov al, ah
shr al, 4
and bl, 3
and ah, 0xf
shl bl, 4
or bl, al
shl ah, 2
mov al, dl
and dl, 0x3f
shr al, 6
or ah, al
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], ah
movzx eax, cl
mov ecx, dword [esi + 0x10]
shr eax, 2
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x489c00
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x489bf3
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489c17
push edx
mov byte [ebp - 0x20], 0
mov ecx, esi
push dword [ebp - 0x20]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
movzx eax, bl
movsx ax, byte [eax + edi]
movzx ebx, ax
cmp ecx, edx
jae 0x489c48
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x489c3b
mov eax, dword [esi]
xor edx, edx
mov word [eax + ecx*2], bx
mov word [eax + ecx*2 + 2], dx
jmp 0x489c5f
push ebx
mov byte [ebp - 0x24], 0
mov ecx, esi
push dword [ebp - 0x24]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xd]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, ebx
jae 0x489c91
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ebx, 8
jb 0x489c84
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489ca8
push edx
mov byte [ebp - 0x28], 0
mov ecx, esi
push dword [ebp - 0x28]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xe]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, ebx
jae 0x489cda
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ebx, 8
jb 0x489ccd
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489cf1
push edx
mov byte [ebp - 0x2c], 0
mov ecx, esi
push dword [ebp - 0x2c]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
sub ecx, 3
add edx, 3
mov dword [ebp + 0x10], ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x14], edx
jne 0x489ba0
jmp 0x489d12
mov edx, dword [ebp + 0xc]
sub ecx, 1
je 0x489e47
sub ecx, 1
jne 0x489f59
mov bh, byte [edx + 1]
mov bl, byte [edx]
mov al, bh
mov ecx, dword [esi + 0x10]
and bl, 3
shr al, 4
and bh, 0xf
shl bl, 4
or bl, al
shl bh, 2
movzx eax, byte [edx]
shr eax, 2
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x489d6f
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x489d62
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489d86
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [esi + 0x10]
movzx eax, bl
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x489db6
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x489da9
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489dcd
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [esi + 0x10]
movzx eax, bh
movsx ax, byte [eax + edi]
mov edi, dword [esi + 0x14]
movzx edx, ax
cmp ecx, edi
jae 0x489dfe
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edi, 8
jb 0x489df1
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489e0f
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x489f47
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x489e2c
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x3d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx]
mov bl, byte [edx]
mov ecx, dword [esi + 0x10]
and bl, 3
shr eax, 2
shl bl, 4
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x489e82
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x489e75
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489e99
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [esi + 0x10]
movzx eax, bl
movsx ax, byte [eax + edi]
mov edi, dword [esi + 0x14]
movzx edx, ax
cmp ecx, edi
jae 0x489eca
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edi, 8
jb 0x489ebd
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x489edb
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x489efd
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x489ef4
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x3d
jmp 0x489f0f
push 0x3d
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x489f47
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x489e2c
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x3d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3d
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.004567f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret