Function at 0x404c70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41efbe
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 0x404ed2
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 0x404db0
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 [0x4909c8], 0x10
mov ecx, 0x4909b4
movzx eax, byte [ebp + esi - 0x1c]
cmovae ecx, dword [0x4909b4]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x404d94
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404d87
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x404da2
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.00405890
inc esi
cmp esi, 4
jl 0x404d50
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov edx, dword [ebp + 0xc]
test ecx, ecx
jne 0x404ce7
mov dword [ebp - 0x24], esi
test esi, esi
je 0x404ed2
mov eax, esi
cmp esi, 3
jge 0x404de9
cmp eax, 3
jae 0x404ee7
mov byte [ebp + eax - 0x18], 0
inc eax
cmp eax, 3
jl 0x404dcd
mov ah, byte [ebp - 0x16]
mov cl, byte [ebp - 0x17]
mov dl, byte [ebp - 0x18]
jmp 0x404df2
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 0x404e8b
xor esi, esi
nop dword [eax]
cmp dword [0x4909c8], 0x10
mov ecx, 0x4909b4
movzx eax, byte [ebp + esi - 0x1c]
cmovae ecx, dword [0x4909b4]
mov edx, dword [edi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x404e74
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404e67
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x404e82
push dword [ebp - 0x10]
push dword [ebp - 0x28]
push ecx
mov ecx, edi
call fcn.00405890
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x404e30
mov esi, dword [ebp - 0x24]
cmp esi, 3
jge 0x404ed2
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 0x404ec1
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0x10
jb 0x404eb9
mov eax, dword [edi]
mov word [eax + ecx], 0x3d
jmp 0x404ecc
push 0x3d
push esi
push ecx
mov ecx, edi
call fcn.00405890
sub dword [ebp - 0x24], 1
jne 0x404ea0
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.0041e1bb
int3