Function at 0x46887c
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x468884
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004047c4
xor eax, eax
push ebp
push 0x468b6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408470
mov edx, dword [ebp - 0x1c]
mov eax, 0x468b84
call fcn.00404918
test eax, eax
jle 0x468b2f
mov ebx, 1
mov edx, dword [ebp - 4]
mov eax, 0x468b94
call fcn.00404918
mov esi, eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.004045dc
mov ecx, eax
sub ecx, esi
inc ecx
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.00404834
cmp ebx, 1
jne 0x468921
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x468b94
call fcn.00404918
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404834
jmp 0x468933
cmp ebx, 2
jne 0x468933
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov dl, byte [edx]
call fcn.00404504
inc ebx
cmp ebx, 4
jne 0x4688ce
mov edx, 0x468ba0
mov eax, dword [ebp - 8]
call fcn.00408688
test al, al
je 0x468af5
mov ebx, 1
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x5f
jne 0x46896f
lea eax, [ebp - 0x10]
mov edx, 0x468bac
call fcn.004045e4
jmp 0x468a11
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x3d
jne 0x4689f7
mov edx, 0x468bb0
lea eax, [ebp - 0x28]
call fcn.00402d64
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov cl, 2
call fcn.00402d34
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x30]
call fcn.00402d64
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
mov cl, 3
call fcn.00402d34
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404580
mov eax, dword [ebp - 0x24]
call fcn.004089a0
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00404504
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
call fcn.004045e4
add ebx, 2
jmp 0x468a11
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
call fcn.00404504
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
call fcn.004045e4
inc ebx
mov eax, dword [ebp - 4]
cmp byte [eax + ebx - 1], 0x3f
jne 0x468953
mov eax, dword [ebp - 4]
cmp byte [eax + ebx], 0x3d
jne 0x468953
jmp 0x468b06
mov eax, dword [ebp - 4]
mov al, byte [eax]
call fcn.00468864
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 1]
call fcn.00468864
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 2]
call fcn.00468864
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 3]
call fcn.00468864
mov byte [ebp - 0x14], al
mov dl, byte [ebp - 0x17]
shl edx, 2
mov al, byte [ebp - 0x16]
xor ecx, ecx
mov cl, al
shr ecx, 4
or dl, cl
mov byte [ebp - 0x13], dl
shl eax, 4
mov dl, byte [ebp - 0x15]
xor ecx, ecx
mov cl, dl
shr ecx, 2
or al, cl
mov byte [ebp - 0x12], al
shl edx, 6
xor eax, eax
mov al, byte [ebp - 0x14]
shr eax, 0
or dl, al
mov byte [ebp - 0x11], dl
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
call fcn.004045dc
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 4]
call fcn.00404834
push dword [ebp - 0x10]
lea eax, [ebp - 0x38]
mov dl, byte [ebp - 0x13]
call fcn.00404504
push dword [ebp - 0x38]
lea eax, [ebp - 0x3c]
mov dl, byte [ebp - 0x12]
call fcn.00404504
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
mov dl, byte [ebp - 0x11]
call fcn.00404504
push dword [ebp - 0x40]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040469c
mov eax, dword [ebp - 4]
call fcn.004045dc
cmp eax, 4
jge 0x468a32
mov edx, 0x468bbc
mov eax, dword [ebp - 0xc]
call fcn.00408688
test al, al
je 0x468b23
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.00468bc8
jmp 0x468b39
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404378
jmp 0x468b39
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404378
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468b75
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00404348
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404348
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404348
ret