Function at 0x4663e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494ade
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4bc8c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 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 0x4665d6
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov cl, byte [edx]
mov ch, byte [edx + 1]
mov ah, cl
mov dl, byte [edx + 2]
and ah, 3
mov al, ch
shl ah, 4
shr al, 4
and ch, 0xf
or ah, al
shl ch, 2
mov al, dl
mov byte [ebp - 0xd], ah
shr al, 6
and dl, 0x3f
or ch, al
mov byte [ebp - 0xf], dl
movzx eax, cl
shr eax, 2
mov byte [ebp - 0xe], ch
mov ecx, dword [esi + 0x10]
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x4664c9
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x4664bc
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4664e0
push edx
mov byte [ebp - 0x20], 0
mov ecx, esi
push dword [ebp - 0x20]
push 1
call fcn.00421330
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xd]
mov ecx, dword [esi + 0x10]
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x466511
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x466504
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x466528
push edx
mov byte [ebp - 0x24], 0
mov ecx, esi
push dword [ebp - 0x24]
push 1
call fcn.00421330
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xe]
mov ecx, dword [esi + 0x10]
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x466559
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x46654c
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x466570
push edx
mov byte [ebp - 0x28], 0
mov ecx, esi
push dword [ebp - 0x28]
push 1
call fcn.00421330
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xf]
mov ecx, dword [esi + 0x10]
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x4665a1
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x466594
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4665b8
push edx
mov byte [ebp - 0x2c], 0
mov ecx, esi
push dword [ebp - 0x2c]
push 1
call fcn.00421330
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 0x466466
jmp 0x4665d9
mov edx, dword [ebp + 0xc]
sub ecx, 1
je 0x46671f
sub ecx, 1
jne 0x46683c
mov cl, byte [edx]
mov ah, byte [edx + 1]
mov dl, cl
mov al, ah
and dl, 3
and ah, 0xf
shr al, 4
shl ah, 2
shl dl, 4
or dl, al
mov byte [ebp - 0xf], ah
movzx eax, cl
mov ecx, dword [esi + 0x10]
shr eax, 2
mov byte [ebp + 0x13], dl
movsx ax, byte [eax + edi]
movzx eax, ax
mov dword [ebp - 0x2c], eax
cmp ecx, dword [esi + 0x14]
jae 0x466644
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x466634
mov eax, dword [esi]
mov edi, dword [ebp - 0x2c]
mov word [eax + ecx*2], di
xor edi, edi
mov word [eax + ecx*2 + 2], di
jmp 0x466658
push eax
mov byte [ebp - 0x2c], 0
mov ecx, esi
push dword [ebp - 0x2c]
push 1
call fcn.00421330
mov dl, byte [ebp + 0x13]
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [esi + 0x10]
movzx eax, dl
movsx ax, byte [eax + edi]
movzx edx, ax
cmp ecx, dword [esi + 0x14]
jae 0x46668e
cmp dword [esi + 0x14], 8
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x466681
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4666a5
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.00421330
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, byte [ebp - 0xf]
mov ecx, dword [esi + 0x10]
movsx ax, byte [eax + edi]
mov edi, dword [esi + 0x14]
movzx edx, ax
cmp ecx, edi
jae 0x4666d7
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edi, 8
jb 0x4666ca
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4666e8
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.00421330
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x46682a
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x466705
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
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx]
mov cl, byte [edx]
mov edx, dword [esi + 0x10]
and cl, 3
shr eax, 2
shl cl, 4
mov byte [ebp + 0x13], cl
movsx ax, byte [eax + edi]
movzx eax, ax
mov dword [ebp - 0x2c], eax
cmp edx, dword [esi + 0x14]
jae 0x466763
cmp dword [esi + 0x14], 8
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x466753
mov eax, dword [esi]
mov edi, dword [ebp - 0x2c]
mov word [eax + edx*2], di
xor edi, edi
mov word [eax + edx*2 + 2], di
jmp 0x466777
push eax
mov byte [ebp - 0x2c], 0
mov ecx, esi
push dword [ebp - 0x2c]
push 1
call fcn.00421330
mov cl, byte [ebp + 0x13]
mov edi, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, cl
mov ecx, dword [esi + 0x10]
movsx ax, byte [eax + edi]
mov edi, dword [esi + 0x14]
movzx edx, ax
cmp ecx, edi
jae 0x4667ae
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edi, 8
jb 0x4667a1
mov eax, dword [esi]
mov word [eax + ecx*2], dx
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x4667bf
push edx
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.00421330
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x4667e1
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x4667d8
mov eax, dword [esi]
mov dword [eax + ecx*2], 0x3d
jmp 0x4667f3
push 0x3d
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.00421330
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x46682a
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x466705
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
mov esp, ebp
pop ebp
ret
push 0x3d
mov byte [ebp + 0x10], 0
mov ecx, esi
push dword [ebp + 0x10]
push 1
call fcn.00421330
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret