Function at 0x401280
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40415d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x407040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov eax, 0xaaaaaaab
mov esi, dword [ebp + 0x18]
push ecx
lea ecx, [esi + 2]
mul ecx
mov ecx, ebx
shr edx, 1
shl edx, 2
push edx
call fcn.00402390
cmp dword [ebx + 0x14], 0xf
mov eax, ebx
jbe 0x4012df
mov eax, dword [ebx]
lea ecx, [esi - 2]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x401398
nop
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
lea edi, [ebp + 8]
cmova ecx, dword [ebp + 8]
movzx ecx, byte [ecx + ebx]
shr ecx, 2
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
cmova ecx, dword [ebp + 8]
cmova edi, dword [ebp + 8]
movzx edx, byte [ecx + ebx + 1]
movsx ecx, byte [edi + ebx]
lea edi, [ebp + 8]
and ecx, 3
shr edx, 4
shl ecx, 4
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
cmova ecx, dword [ebp + 8]
cmova edi, dword [ebp + 8]
movzx edx, byte [ecx + ebx + 2]
movsx ecx, byte [edi + ebx + 1]
and ecx, 0xf
shr edx, 6
shl ecx, 2
or edx, ecx
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], cl
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
cmova ecx, dword [ebp + 8]
movsx ecx, byte [ecx + ebx + 2]
add ebx, 3
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], cl
add eax, 4
cmp ebx, dword [ebp - 0x14]
jb 0x4012f0
mov dword [ebp - 0x10], eax
cmp ebx, esi
jae 0x40143b
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp + 8]
cmova ecx, dword [ebp + 8]
movzx ecx, byte [ecx + ebx]
shr ecx, 2
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
lea ecx, [esi - 1]
cmp ebx, ecx
lea ecx, [ebp + 8]
jne 0x4013e9
cmp dword [ebp + 0x1c], 0xf
mov dl, 0x3d
cmova ecx, dword [ebp + 8]
movsx ecx, byte [ecx + ebx]
and ecx, 3
shl ecx, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
lea ecx, [eax + 2]
jmp 0x401435
cmp dword [ebp + 0x1c], 0xf
lea edi, [ebp + 8]
cmova ecx, dword [ebp + 8]
cmova edi, dword [ebp + 8]
movzx edx, byte [ecx + ebx + 1]
movsx ecx, byte [edi + ebx]
and ecx, 3
shr edx, 4
shl ecx, 4
or edx, ecx
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], cl
lea eax, [ebp + 8]
mov ecx, dword [ebp - 0x10]
add ecx, 2
cmp dword [ebp + 0x1c], 0xf
cmova eax, dword [ebp + 8]
movsx eax, byte [eax + ebx + 1]
and eax, 0xf
mov dl, byte [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
mov byte [ecx + 1], 0x3d
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x401471
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401467
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401467
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00403248
add esp, 8
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret