Function at 0x40ef60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a3e9
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x45f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28], ecx
mov dword [esi + 0x10], 0
jb 0x40efc1
mov eax, dword [esi]
jmp 0x40efc3
mov eax, esi
mov byte [eax], 0
mov edx, dword [ecx + 4]
mov edi, 0
sub edx, dword [ecx]
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edi
je 0x40f293
nop word [eax + eax]
mov eax, dword [ecx]
lea ecx, [edi + 2]
mov dword [ebp - 0x18], ecx
dec ecx
mov bl, byte [eax + edi]
cmp ecx, edx
jae 0x40f006
mov dl, byte [eax + edi + 1]
jmp 0x40f008
xor dl, dl
lea ecx, [edi + 2]
cmp ecx, dword [ebp - 0x14]
jae 0x40f016
mov cl, byte [eax + edi + 2]
jmp 0x40f018
xor cl, cl
movzx ebx, bl
shl ebx, 8
movzx eax, dl
or ebx, eax
movzx eax, cl
shl ebx, 8
mov ecx, 0x461990
or ebx, eax
cmp dword [0x4619a4], 0x10
mov eax, ebx
mov dword [ebp - 0x24], ebx
cmovae ecx, dword [0x461990]
shr eax, 0x12
mov dl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov eax, ecx
not eax
mov byte [ebp - 0xd], dl
cmp eax, 1
jbe 0x40f2a7
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x40f2a7
cmp dword [esi + 0x14], edi
jae 0x40f08a
push ecx
push edi
mov ecx, esi
call fcn.0040ce70
mov dl, byte [ebp - 0xd]
test edi, edi
je 0x40f0bd
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x40f0a5
mov eax, dword [esi]
jmp 0x40f0a7
test edi, edi
jne 0x40f07d
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x40f09e
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x40f0bd
mov eax, esi
mov byte [eax], 0
jmp 0x40f0bd
mov eax, esi
mov byte [eax + ecx], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x40f0b7
mov eax, dword [esi]
jmp 0x40f0b9
mov eax, esi
mov byte [eax + edi], 0
cmp dword [0x4619a4], 0x10
mov ecx, 0x461990
mov eax, ebx
cmovae ecx, dword [0x461990]
shr eax, 0xc
and eax, 0x3f
mov dl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov eax, ecx
not eax
mov byte [ebp - 0xd], dl
cmp eax, 1
jbe 0x40f2a7
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x40f2a7
cmp dword [esi + 0x14], edi
jae 0x40f11c
push ecx
push edi
mov ecx, esi
call fcn.0040ce70
mov dl, byte [ebp - 0xd]
test edi, edi
je 0x40f14f
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x40f137
mov eax, dword [esi]
jmp 0x40f139
test edi, edi
jne 0x40f10f
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x40f130
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x40f14f
mov eax, esi
mov byte [eax], 0
jmp 0x40f14f
mov eax, esi
mov byte [ecx + eax], dl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x40f149
mov eax, dword [esi]
jmp 0x40f14b
mov eax, esi
mov byte [edi + eax], 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
dec eax
cmp eax, edx
jae 0x40f17a
cmp dword [0x4619a4], 0x10
mov ecx, 0x461990
mov eax, ebx
cmovae ecx, dword [0x461990]
shr eax, 6
and eax, 0x3f
mov bl, byte [eax + ecx]
jmp 0x40f17c
mov bl, 0x3d
mov ecx, dword [esi + 0x10]
mov eax, ecx
not eax
cmp eax, 1
jbe 0x40f2a7
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x40f2a7
cmp dword [esi + 0x14], edi
jae 0x40f1ba
push ecx
push edi
mov ecx, esi
call fcn.0040ce70
mov edx, dword [ebp - 0x14]
test edi, edi
je 0x40f1ed
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x40f1d5
mov eax, dword [esi]
jmp 0x40f1d7
test edi, edi
jne 0x40f1ad
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x40f1ce
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x40f1ed
mov eax, esi
mov byte [eax], 0
jmp 0x40f1ed
mov eax, esi
mov byte [ecx + eax], bl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x40f1e7
mov eax, dword [esi]
jmp 0x40f1e9
mov eax, esi
mov byte [eax + edi], 0
cmp dword [ebp - 0x18], edx
jae 0x40f210
cmp dword [0x4619a4], 0x10
mov eax, 0x461990
mov ecx, dword [ebp - 0x24]
cmovae eax, dword [0x461990]
and ecx, 0x3f
mov bl, byte [ecx + eax]
jmp 0x40f212
mov bl, 0x3d
mov ecx, dword [esi + 0x10]
mov eax, ecx
not eax
cmp eax, 1
jbe 0x40f2a7
lea edi, [ecx + 1]
cmp edi, 0xfffffffe
ja 0x40f2a7
cmp dword [esi + 0x14], edi
jae 0x40f24c
push ecx
push edi
mov ecx, esi
call fcn.0040ce70
mov edx, dword [ebp - 0x14]
test edi, edi
je 0x40f27f
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
jb 0x40f267
mov eax, dword [esi]
jmp 0x40f269
test edi, edi
jne 0x40f23f
mov dword [esi + 0x10], edi
cmp dword [esi + 0x14], 0x10
jb 0x40f260
mov eax, dword [esi]
mov byte [eax], 0
jmp 0x40f27f
mov eax, esi
mov byte [eax], 0
jmp 0x40f27f
mov eax, esi
mov byte [eax + ecx], bl
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x40f279
mov eax, dword [esi]
jmp 0x40f27b
mov eax, esi
mov byte [edi + eax], 0
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add edi, 3
mov dword [ebp - 0x1c], edi
cmp edi, edx
jb 0x40eff0
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 str.string_too_long
call fcn.0041cd47
int3