Function at 0x45ac60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5844d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x20], 0
push edi
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
test eax, eax
je 0x45af6c
push esi
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + edi - 0x14], al
inc edi
mov ah, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edx
mov byte [ebp - 0x10], ah
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xf], cl
cmp edi, 3
jne 0x45adc8
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
mov cl, ch
and cl, 0xf
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 edi, edi
nop word [eax + eax]
cmp dword [0x621584], 0x10
mov ecx, 0x621570
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x621570]
mov dl, byte [eax + ecx]
mov ecx, dword [ebx + 0x10]
mov eax, ecx
not eax
mov byte [ebp - 0xd], dl
cmp eax, 1
jbe 0x45ae08
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x45ae08
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x45ad7e
push ecx
push esi
mov ecx, ebx
call fcn.0040c940
mov dl, byte [ebp - 0xd]
test esi, esi
je 0x45adb0
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x45ad98
mov eax, dword [ebx]
jmp 0x45ad9a
test esi, esi
jne 0x45ad71
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x45ad91
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x45adb0
mov eax, ebx
mov byte [eax], 0
jmp 0x45adb0
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x45adaa
mov eax, dword [ebx]
jmp 0x45adac
mov eax, ebx
mov byte [eax + esi], 0
inc edi
cmp edi, 4
jl 0x45ad20
mov edx, dword [ebp - 0x24]
xor edi, edi
mov ch, byte [ebp - 0xe]
mov cl, byte [ebp - 0xf]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x45acb6
test edi, edi
je 0x45af6b
cmp edi, 3
jge 0x45ae12
mov ecx, 3
lea edx, [ebp - 0x14]
sub ecx, edi
add edi, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
jmp 0x45ae15
push str.string_too_long
call fcn.004bd1b6
mov dl, byte [ebp - 0x10]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
xor edx, edx
mov byte [ebp - 0x16], ch
lea eax, [edi + 1]
mov dword [ebp - 0x14], edx
test eax, eax
jle 0x45aef0
cmp dword [0x621584], 0x10
mov ecx, 0x621570
movzx eax, byte [ebp + edx - 0x18]
cmovae ecx, dword [0x621570]
mov al, byte [eax + ecx]
mov ecx, dword [ebx + 0x10]
mov byte [ebp + 0xb], al
mov eax, ecx
not eax
cmp eax, 1
jbe 0x45ae08
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x45ae08
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x45aea9
push ecx
push esi
mov ecx, ebx
call fcn.0040c940
mov edx, dword [ebp - 0x14]
test esi, esi
je 0x45aee1
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x45aec3
mov eax, dword [ebx]
jmp 0x45aec5
test esi, esi
jne 0x45ae9c
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x45aebc
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x45aee1
mov eax, ebx
mov byte [eax], 0
jmp 0x45aee1
mov eax, ebx
mov dl, byte [ebp + 0xb]
mov byte [ecx + eax], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x45aed8
mov eax, dword [ebx]
jmp 0x45aeda
mov eax, ebx
mov edx, dword [ebp - 0x14]
mov byte [esi + eax], 0
inc edx
lea eax, [edi + 1]
mov dword [ebp - 0x14], edx
cmp edx, eax
jl 0x45ae53
cmp edi, 3
jge 0x45af6b
mov ecx, dword [ebx + 0x10]
inc edi
mov eax, ecx
not eax
cmp eax, 1
jbe 0x45ae08
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x45ae08
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x45af33
push ecx
push esi
mov ecx, ebx
call fcn.0040c940
test esi, esi
je 0x45af66
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x45af4d
mov eax, dword [ebx]
jmp 0x45af4f
test esi, esi
jne 0x45af26
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x45af46
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x45af66
mov eax, ebx
mov byte [eax], 0
jmp 0x45af66
mov eax, ebx
mov byte [ecx + eax], 0x3d
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x45af60
mov eax, dword [ebx]
jmp 0x45af62
mov eax, ebx
mov byte [esi + eax], 0
cmp edi, 3
jl 0x45aef5
pop esi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret