Function at 0x40fcb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x10], ecx
jmp 0x40fcd4
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x40fda9
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x10]
cmp ecx, 2
jl 0x40fd0f
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0x2f72
jne 0x40fd0f
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 1]
cmp edx, 0x2f6e
jne 0x40fd0f
jmp 0x40fccb
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x10]
movzx ecx, byte [eax]
cmp ecx, 0x2f6e
jne 0x40fd22
jmp 0x40fccb
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0x3d
jne 0x40fd49
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 2
jle 0x40fd49
mov eax, 0xffffffee
jmp 0x40fee1
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
cmp eax, 0x7f
jg 0x40fd6c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
movzx eax, byte [edx + 0x4c1ad0]
cmp eax, 0x7f
jne 0x40fd76
mov eax, 0xffffffee
jmp 0x40fee1
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
movzx edx, byte [ecx]
movzx eax, byte [edx + 0x4c1ad0]
cmp eax, 0x40
jge 0x40fd9b
cmp dword [ebp - 0x14], 0
je 0x40fd9b
mov eax, 0xffffffee
jmp 0x40fee1
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x40fccb
cmp dword [ebp - 0xc], 0
jne 0x40fdb6
xor eax, eax
jmp 0x40fee1
mov edx, dword [ebp - 0xc]
imul edx, edx, 6
add edx, 7
sar edx, 3
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 0xc]
jge 0x40fde1
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, 0xfffffff0
jmp 0x40fee1
mov dword [ebp - 0x14], 3
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
jmp 0x40fe0f
mov eax, dword [ebp - 0x10]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
cmp dword [ebp - 0x10], 0
jle 0x40fed4
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
cmp eax, 0x2f72
je 0x40fe34
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
cmp edx, 0x2f6e
jne 0x40fe36
jmp 0x40fdfd
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
movzx edx, byte [ecx + 0x4c1ad0]
xor eax, eax
cmp edx, 0x40
sete al
mov ecx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
shl edx, 6
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
movzx eax, byte [ecx + 0x4c1ad0]
and eax, 0x3f
or edx, eax
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 4
jne 0x40fecf
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 0
jle 0x40fe9e
mov edx, dword [ebp - 8]
shr edx, 0x10
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x14], 1
jle 0x40feb8
mov edx, dword [ebp - 8]
shr edx, 8
mov eax, dword [ebp - 4]
mov byte [eax], dl
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x14], 2
jle 0x40fecf
mov edx, dword [ebp - 4]
mov al, byte [ebp - 8]
mov byte [edx], al
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x40fdfd
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
xor eax, eax
mov esp, ebp
pop ebp
ret