Function at 0x404b20
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e8ee
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x42700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 1
test ecx, ecx
je 0x404d82
mov edx, dword [ebp + 0xc]
mov al, byte [edx]
dec ecx
mov byte [ebp + esi - 0x18], al
inc edx
mov al, byte [ebp - 0x16]
inc esi
mov ah, byte [ebp - 0x17]
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0xc], edx
mov byte [ebp - 0x1d], ah
mov byte [ebp - 0x11], al
cmp esi, 3
jne 0x404c60
mov cl, byte [ebp - 0x11]
shr al, 2
and cl, 3
mov byte [ebp - 0x1c], al
mov al, ah
shl cl, 4
shr al, 4
add cl, al
mov al, byte [ebp - 0x12]
mov byte [ebp - 0x1b], cl
mov cl, ah
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, byte [ebp - 0x12]
and al, 0x3f
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], al
xor esi, esi
nop word [eax + eax]
cmp dword [0xaf5404], 0x10
mov ecx, 0xaf53f0
movzx eax, byte [ebp + esi - 0x1c]
cmovae ecx, dword [0xaf53f0]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x404c44
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404c37
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x404c52
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.004056e0
inc esi
cmp esi, 4
jl 0x404c00
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov edx, dword [ebp + 0xc]
test ecx, ecx
jne 0x404b97
mov dword [ebp - 0x24], esi
test esi, esi
je 0x404d82
mov eax, esi
cmp esi, 3
jge 0x404c99
cmp eax, 3
jae 0x404d97
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x404c7d
mov ah, byte [ebp - 0x16]
mov cl, byte [ebp - 0x17]
mov dl, byte [ebp - 0x18]
jmp 0x404ca2
mov cl, byte [ebp - 0x1d]
mov dl, byte [ebp - 0x11]
mov ah, byte [ebp - 0x12]
mov al, dl
and dl, 3
shr al, 2
mov byte [ebp - 0x1c], al
mov al, cl
shr al, 4
and cl, 0xf
shl dl, 4
add dl, al
shl cl, 2
mov al, ah
mov byte [ebp - 0x1b], dl
shr al, 6
and ah, 0x3f
add cl, al
mov byte [ebp - 0x19], ah
lea eax, [esi + 1]
mov byte [ebp - 0x1a], cl
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x404d3b
xor esi, esi
nop dword [eax]
cmp dword [0xaf5404], 0x10
mov ecx, 0xaf53f0
movzx eax, byte [ebp + esi - 0x1c]
cmovae ecx, dword [0xaf53f0]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x404d24
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404d17
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x404d32
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.004056e0
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x404ce0
mov esi, dword [ebp - 0x24]
cmp esi, 3
jge 0x404d82
mov eax, 3
sub eax, esi
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
cmp ecx, edx
jae 0x404d71
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404d69
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x404d7c
push 0x3d
push esi
push ecx
mov ecx, edi
call fcn.004056e0
sub dword [ebp - 0x24], 1
jne 0x404d50
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
call fcn.0041daec
int3