Function at 0x204ef0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x248786
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x265124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp + 0x1c]
lea ebx, [ebp + 8]
mov ecx, dword [ebp + 8]
cmp eax, 0x10
mov edx, dword [ebp + 0x18]
cmovae ebx, ecx
mov dword [ebp - 0x24], 1
xor edi, edi
test edx, edx
je 0x20514d
mov al, byte [ebx]
dec edx
mov byte [ebp + edi - 0x10], al
inc ebx
mov ah, byte [ebp - 0xe]
inc edi
mov ch, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x1f], ah
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1e], cl
cmp edi, 3
jne 0x20502b
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
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor edi, edi
mov byte [ebp - 0x16], cl
cmp dword [0x265f50], 0x10
mov ecx, 0x265f3c
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x265f3c]
mov edx, dword [esi + 0x14]
mov bl, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x14], bl
cmp ecx, edx
jae 0x205005
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x204ffb
mov eax, dword [esi]
mov byte [eax + ecx], bl
mov byte [eax + ecx + 1], 0
jmp 0x205017
push dword [ebp - 0x14]
mov byte [ebp - 0x28], 0
push dword [ebp - 0x28]
push ecx
mov ecx, esi
call fcn.00224f10
inc edi
cmp edi, 4
jl 0x204fc4
mov edx, dword [ebp - 0x2c]
xor edi, edi
mov ebx, dword [ebp - 0x1c]
mov ch, byte [ebp - 0x1d]
mov cl, byte [ebp - 0x1e]
test edx, edx
jne 0x204f68
mov dword [ebp - 0x14], edi
test edi, edi
je 0x205147
mov eax, edi
cmp edi, 3
jge 0x205064
cmp eax, 3
jae 0x20518d
mov byte [ebp + eax - 0x10], 0
inc eax
cmp eax, 3
jl 0x205048
mov dl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
mov cl, byte [ebp - 0x10]
jmp 0x205067
mov dl, byte [ebp - 0x1f]
mov al, cl
shr dl, 6
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
xor ebx, ebx
mov al, ch
shl cl, 4
shr al, 4
and ch, 0xf
add cl, al
shl ch, 2
lea eax, [edi + 1]
mov byte [ebp - 0x17], cl
add ch, dl
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x16], ch
test eax, eax
jle 0x2050fe
mov edi, eax
nop dword [eax + eax]
cmp dword [0x265f50], 0x10
mov ecx, 0x265f3c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x265f3c]
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x2050e4
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x2050d7
mov eax, dword [esi]
mov dl, byte [ebp - 0x10]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x2050f6
push dword [ebp - 0x10]
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.00224f10
inc ebx
cmp ebx, edi
jl 0x2050a0
mov edi, dword [ebp - 0x14]
cmp edi, 3
jge 0x205147
mov ebx, 3
sub ebx, edi
nop word [eax + eax]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x205131
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x205129
mov eax, dword [esi]
mov word [eax + ecx], 0x3d
jmp 0x205142
push 0x3d
mov byte [ebp - 0x1c], 0
push dword [ebp - 0x1c]
push ecx
mov ecx, esi
call fcn.00224f10
sub ebx, 1
jne 0x205110
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 0x10
jb 0x205179
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x20516f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x205192
push edx
push ecx
call fcn.00229d26
add esp, 8
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
call fcn.002299ca
call fcn.0022ea38
int3