Function at 0x40bce0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4187a8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4202f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], ebx
cmp eax, ebx
jne 0x40bd3b
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
xor edi, edi
mov eax, 0x41d375
mov byte [esi], bl
call fcn.00402d50
jmp 0x40befe
mov ecx, eax
and ecx, 3
mov dl, 0x3d
jne 0x40beb7
mov esi, dword [ebp + 8]
cmp byte [eax + esi - 1], dl
je 0x40beb7
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
sub eax, ecx
and eax, 0xfffffffc
mov dword [ebp - 0x30], eax
shr eax, 2
lea edi, [edx + eax*2]
add edi, eax
push 0
add edi, ecx
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00405ee0
cmp dword [ebp - 0x18], 0x10
mov edi, dword [ebp - 0x2c]
jae 0x40bd95
mov edi, esi
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x40be06
mov esi, dword [ebp + 8]
dec ecx
shr ecx, 2
inc esi
inc ecx
jmp 0x40bdb0
movzx eax, byte [esi - 1]
mov eax, dword [eax*4 + 0x41ce08]
movzx edx, byte [esi]
shl eax, 6
or eax, dword [edx*4 + 0x41ce08]
movzx edx, byte [esi + 1]
shl eax, 6
or eax, dword [edx*4 + 0x41ce08]
movzx edx, byte [esi + 2]
shl eax, 6
or eax, dword [edx*4 + 0x41ce08]
add ebx, 3
mov edx, eax
sar edx, 0x10
mov byte [edi + ebx - 3], dl
mov edx, eax
sar edx, 8
mov byte [edi + ebx - 2], dl
mov byte [edi + ebx - 1], al
add esi, 4
dec ecx
jne 0x40bdb0
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x38], 0
mov eax, dword [ebp + 8]
je 0x40be57
movzx edx, byte [ecx + eax]
mov esi, dword [edx*4 + 0x41ce08]
movzx edx, byte [ecx + eax + 1]
shl esi, 6
or esi, dword [edx*4 + 0x41ce08]
shl esi, 0xc
mov edx, esi
sar edx, 0x10
cmp dword [ebp - 0x34], 0
mov byte [edi + ebx], dl
je 0x40be57
movzx eax, byte [ecx + eax + 2]
mov ecx, dword [eax*4 + 0x41ce08]
shl ecx, 6
mov edx, esi
sar ecx, 8
sar edx, 8
or cl, dl
mov byte [edi + ebx + 1], cl
mov esi, dword [ebp - 0x3c]
mov edi, 0xf
lea eax, [ebp - 0x2c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp esi, eax
je 0x40beec
cmp dword [esi + 0x14], 0x10
jb 0x40be84
mov ecx, dword [esi]
push ecx
call fcn.0040e4a3
add esp, 4
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x18], 0x10
jae 0x40bed9
mov edx, dword [ebp - 0x1c]
inc edx
push edx
lea eax, [ebp - 0x2c]
push eax
push esi
call fcn.0040de60
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
jmp 0x40befe
mov esi, 1
mov dword [ebp - 0x38], esi
cmp ecx, 2
ja 0x40bed1
mov ecx, dword [ebp + 8]
cmp byte [eax + ecx - 2], dl
je 0x40bd58
mov dword [ebp - 0x34], esi
jmp 0x40bd5b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [esi], ecx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
jmp 0x40befe
cmp dword [ebp - 0x18], 0x10
jb 0x40befe
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040e4a3
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dcd5
mov esp, ebp
pop ebp
ret