Function at 0x4655e0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x465908
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0xc], eax
mov byte [ebp - 0xd], 0x3d
mov dword [ebp - 0x24], 0x3e
lea eax, [ebp - 0x20]
call fcn.00403f60
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.004045ac
mov eax, dword [ebp - 0x20]
call fcn.00404420
mov dword [ebp - 0x14], eax
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x14]
mov ecx, ebx
mov dl, 1
mov eax, dword [0x465430]
call fcn.0046548c
mov dword [ebp - 0x1c], eax
xor ecx, ecx
push ebp
push 0x4658aa
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
cmp ebx, dword [ebp - 0x18]
jb 0x46569b
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.00465528
test al, al
je 0x465894
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov al, byte [ebx]
mov byte [ebp - 0xe], al
inc ebx
xor eax, eax
mov al, byte [ebp - 0xe]
shr eax, 2
mov al, byte [eax + 0x46ca90]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jl 0x46570d
mov byte [ebp - 0xf], 0
mov al, byte [ebp - 0xe]
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 0xf]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov al, byte [eax + 0x46ca90]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
jmp 0x465818
cmp ebx, dword [ebp - 0x18]
jb 0x465735
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.00465528
test al, al
je 0x465894
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov al, byte [ebx]
mov byte [ebp - 0xf], al
inc ebx
mov al, byte [ebp - 0xe]
and al, 3
and eax, 0xff
shl eax, 4
mov dl, byte [ebp - 0xf]
and dl, 0xf0
and edx, 0xff
shr edx, 4
or eax, edx
mov al, byte [eax + 0x46ca90]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jl 0x4657aa
xor edx, edx
mov al, byte [ebp - 0xf]
and al, 0xf
and eax, 0xff
shl eax, 2
and dl, 0xc0
and edx, 0xff
shr edx, 6
or eax, edx
mov al, byte [eax + 0x46ca90]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
jmp 0x465818
cmp ebx, dword [ebp - 0x18]
jb 0x4657d2
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.00465528
test al, al
je 0x465894
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 0x10]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x18], eax
mov dl, byte [ebx]
inc ebx
mov al, byte [ebp - 0xf]
and al, 0xf
and eax, 0xff
shl eax, 2
mov ecx, edx
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
or eax, ecx
mov al, byte [eax + 0x46ca90]
mov ecx, dword [ebp - 0x14]
mov byte [ecx], al
inc dword [ebp - 0x14]
inc dword [ebp - 8]
and dl, 0x3f
xor eax, eax
mov al, dl
mov al, byte [eax + 0x46ca90]
mov edx, dword [ebp - 0x14]
mov byte [edx], al
inc dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, 0x2d
cdq
idiv ecx
test edx, edx
je 0x465836
mov eax, dword [ebp - 0x14]
dec eax
mov al, byte [eax]
cmp al, byte [ebp - 0xd]
jne 0x465673
mov eax, dword [ebp - 0x14]
dec eax
mov al, byte [eax]
cmp al, byte [ebp - 0xd]
je 0x46585b
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xd
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov byte [eax], 0xa
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov byte [eax], 0
jmp 0x46586f
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.004045ac
mov eax, dword [ebp - 0x20]
call fcn.00404420
mov edx, eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
call fcn.00404420
mov dword [ebp - 0x14], eax
jmp 0x465673
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4658b1
mov eax, dword [ebp - 0x1c]
call fcn.0040318c
ret