Function at 0x42c6e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450aa9
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x463858]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 1
test eax, eax
je 0x42c9ee
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
mov byte [ebp + ebx - 0x14], al
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
inc ebx
inc edx
mov dword [ebp - 0x20], edx
mov byte [ebp - 0x10], ah
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xf], cl
cmp ebx, 3
jne 0x42c846
mov al, cl
shr al, 2
mov byte [ebp - 0x18], al
and cl, 3
shl cl, 4
mov al, ch
shr al, 4
add cl, al
mov byte [ebp - 0x17], cl
mov cl, ch
and cl, 0xf
mov al, ah
shr al, 6
shl cl, 2
add cl, al
mov al, ah
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
xor ebx, ebx
lea ecx, [ecx]
cmp dword [0x46537c], 0x10
movzx eax, byte [ebp + ebx - 0x18]
mov ecx, 0x465368
cmovae ecx, dword [0x465368]
mov dl, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
or eax, 0xffffffff
sub eax, ecx
mov byte [ebp - 0xd], dl
cmp eax, 1
jbe 0x42c87b
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x42c87b
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x42c7ff
push ecx
push esi
mov ecx, edi
call fcn.00401930
mov dl, byte [ebp - 0xd]
test esi, esi
je 0x42c831
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x42c819
mov eax, dword [edi]
jmp 0x42c81b
test esi, esi
jne 0x42c7f2
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x42c812
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x42c831
mov eax, edi
mov byte [eax], 0
jmp 0x42c831
mov eax, edi
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x42c82b
mov eax, dword [edi]
jmp 0x42c82d
mov eax, edi
mov byte [eax + esi], 0
inc ebx
cmp ebx, 4
jl 0x42c7a0
mov edx, dword [ebp - 0x20]
mov ch, byte [ebp - 0xe]
mov cl, byte [ebp - 0xf]
xor ebx, ebx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x42c740
test ebx, ebx
je 0x42c9ee
mov eax, ebx
cmp ebx, 3
jge 0x42c88a
cmp eax, 3
jae 0x42c885
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x42c863
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x42c88d
push str.string_too_long
call fcn.0042e7b1
call fcn.004304a1
mov dl, byte [ebp - 0x10]
mov al, cl
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
and cl, 3
shr al, 4
shl cl, 4
add cl, al
mov al, dl
and ch, 0xf
shr al, 6
shl ch, 2
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
xor edx, edx
lea eax, [ebx + 1]
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x42c972
jmp 0x42c8d0
cmp dword [0x46537c], 0x10
movzx eax, byte [ebp + edx - 0x18]
mov ecx, 0x465368
cmovae ecx, dword [0x465368]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0xb], al
or eax, 0xffffffff
sub eax, ecx
cmp eax, 1
jbe 0x42c87b
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x42c87b
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x42c92b
push ecx
push esi
mov ecx, edi
call fcn.00401930
mov edx, dword [ebp - 0x14]
test esi, esi
je 0x42c963
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x42c945
mov eax, dword [edi]
jmp 0x42c947
test esi, esi
jne 0x42c91e
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x42c93e
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x42c963
mov eax, edi
mov byte [eax], 0
jmp 0x42c963
mov eax, edi
mov dl, byte [ebp + 0xb]
mov byte [eax + ecx], dl
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x42c95a
mov eax, dword [edi]
jmp 0x42c95c
mov eax, edi
mov edx, dword [ebp - 0x14]
mov byte [eax + esi], 0
inc edx
lea eax, [ebx + 1]
mov dword [ebp - 0x14], edx
cmp edx, eax
jl 0x42c8d0
cmp ebx, 3
jge 0x42c9ee
mov ecx, dword [edi + 0x10]
or eax, 0xffffffff
sub eax, ecx
inc ebx
cmp eax, 1
jbe 0x42c87b
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x42c87b
mov eax, dword [edi + 0x14]
cmp eax, esi
jae 0x42c9b6
push ecx
push esi
mov ecx, edi
call fcn.00401930
test esi, esi
je 0x42c9e9
cmp dword [edi + 0x14], 0x10
mov ecx, dword [edi + 0x10]
jb 0x42c9d0
mov eax, dword [edi]
jmp 0x42c9d2
test esi, esi
jne 0x42c9a9
mov dword [edi + 0x10], esi
cmp eax, 0x10
jb 0x42c9c9
mov eax, dword [edi]
mov byte [eax], 0
jmp 0x42c9e9
mov eax, edi
mov byte [eax], 0
jmp 0x42c9e9
mov eax, edi
mov byte [ecx + eax], 0x3d
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], esi
jb 0x42c9e3
mov eax, dword [edi]
jmp 0x42c9e5
mov eax, edi
mov byte [esi + eax], 0
cmp ebx, 3
jl 0x42c977
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret