Function at 0x40cfc0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x434a1e
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push esi
push edi
mov eax, dword [0x444080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10], edi
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov ecx, dword [ebp + 8]
mov eax, 0xaaaaaaab
mov dword [ebp - 0x68], esi
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [esi], xmm0
lea ecx, [ecx + 2]
mov dword [ebp - 0x2c], 0x2e
mul ecx
mov al, byte [ebp + 0xc]
mov ecx, 0x3d
shr edx, 1
shl edx, 2
test al, al
movzx eax, al
cmovne ecx, dword [ebp - 0x2c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [eax*4 + 0x43ea88]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x34], cl
mov dword [ebp - 0x28], eax
mov byte [esi], 0
mov dword [ebp - 4], 0
mov ecx, esi
push edx
mov dword [ebp - 0x40], 1
call fcn.0040d400
mov eax, dword [ebp + 8]
test eax, eax
je 0x40d311
mov ecx, 1
mov dword [ebp - 0x38], 1
sub ecx, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x4c], ecx
lea ecx, [eax - 1]
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
shr eax, 1
inc eax
mov dword [ebp - 0x2c], eax
movzx eax, byte [edi - 1]
mov ecx, dword [ebp - 0x28]
mov edx, dword [esi + 0x14]
shr eax, 2
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x14], al
cmp ecx, edx
jae 0x40d0d6
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d0c9
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x14]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d0e9
push dword [ebp - 0x14]
mov byte [ebp - 0x44], 0
mov ecx, esi
push dword [ebp - 0x44]
push 1
call fcn.0040bf20
movzx ecx, byte [edi - 1]
mov eax, dword [ebp + 8]
and ecx, 3
mov edx, dword [esi + 0x14]
shl ecx, 4
cmp dword [ebp - 0x38], eax
jae 0x40d24f
movzx eax, byte [edi]
shr eax, 4
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x18], al
cmp ecx, edx
jae 0x40d136
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d129
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x18]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d149
push dword [ebp - 0x18]
mov byte [ebp - 0x48], 0
mov ecx, esi
push dword [ebp - 0x48]
push 1
call fcn.0040bf20
movzx ecx, byte [edi]
mov eax, dword [ebp - 0x4c]
and ecx, 0xf
mov edx, dword [esi + 0x14]
add eax, edi
shl ecx, 2
cmp eax, dword [ebp + 8]
jae 0x40d1f3
movzx eax, byte [edi + 1]
shr eax, 6
add eax, ecx
mov ecx, dword [ebp - 0x28]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x1c], al
cmp ecx, edx
jae 0x40d198
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d18b
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x1c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d1ab
push dword [ebp - 0x1c]
mov byte [ebp - 0x50], 0
mov ecx, esi
push dword [ebp - 0x50]
push 1
call fcn.0040bf20
movzx eax, byte [edi + 1]
mov ecx, dword [ebp - 0x28]
and eax, 0x3f
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x20], al
cmp ecx, edx
jae 0x40d1e4
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d1d4
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x20]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d300
push dword [ebp - 0x20]
mov byte [ebp - 0x54], 0
push dword [ebp - 0x54]
jmp 0x40d2f7
mov eax, dword [ebp - 0x28]
mov al, byte [ecx + eax]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x24], al
cmp ecx, edx
jae 0x40d21f
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d212
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x24]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d232
push dword [ebp - 0x24]
mov byte [ebp - 0x58], 0
mov ecx, esi
push dword [ebp - 0x58]
push 1
call fcn.0040bf20
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jb 0x40d2d1
push dword [ebp - 0x34]
mov byte [ebp - 0x5c], 0
push dword [ebp - 0x5c]
jmp 0x40d2f7
mov eax, dword [ebp - 0x28]
mov al, byte [ecx + eax]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x10], al
cmp ecx, edx
jae 0x40d27b
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d26e
mov eax, dword [esi]
add eax, ecx
mov cl, byte [ebp - 0x10]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d28e
push dword [ebp - 0x10]
mov byte [ebp - 0x60], 0
mov ecx, esi
push dword [ebp - 0x60]
push 1
call fcn.0040bf20
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x40d2b4
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d2a7
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x30]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x40d2c7
push dword [ebp - 0x34]
mov byte [ebp - 0x64], 0
mov ecx, esi
push dword [ebp - 0x64]
push 1
call fcn.0040bf20
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
cmp ecx, edx
jae 0x40d2ed
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0xf
jbe 0x40d2e0
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x30]
mov byte [eax], cl
mov byte [eax + 1], 0
jmp 0x40d300
push dword [ebp - 0x34]
mov byte [ebp - 0x3c], 0
push dword [ebp - 0x3c]
push 1
mov ecx, esi
call fcn.0040bf20
add dword [ebp - 0x38], 3
add edi, 3
sub dword [ebp - 0x2c], 1
jne 0x40d0a0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret