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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x5c]
mov al, byte [edx]
mov byte [ebp - 0x61], al
add dword [ebp - 0x5c], 1
cmp byte [ebp - 0x61], 0
jne 0x4066e8
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x60]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, 1
test eax, eax
je 0x4069ca
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x406743
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x4069d3
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x406770
cmp dword [ebp - 4], 0x7f
jg 0x406770
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406777
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x406787
jmp 0x4069ca
mov eax, 1
shl eax, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jl 0x4067b4
cmp dword [ebp - 8], 0x7f
jg 0x4067b4
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x4067bb
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x4067cb
jmp 0x4069ca
mov eax, 1
shl eax, 1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x3d
je 0x406814
cmp dword [ebp - 0xc], 0
jl 0x4067fd
cmp dword [ebp - 0xc], 0x7f
jg 0x4067fd
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406804
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x406814
jmp 0x4069ca
mov eax, 1
imul ecx, eax, 3
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3d
je 0x40685e
cmp dword [ebp - 0x10], 0
jl 0x406847
cmp dword [ebp - 0x10], 0x7f
jg 0x406847
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x40684e
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x40685e
jmp 0x4069ca
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
cmp dword [ebp - 4], 0
jl 0x406882
cmp dword [ebp - 4], 0x7f
jg 0x406882
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406889
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 8], 0
jl 0x4068a4
cmp dword [ebp - 8], 0x7f
jg 0x4068a4
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0x4388d8]
mov dword [ebp - 0x60], eax
jmp 0x4068ab
mov dword [ebp - 0x60], 0xffffffff
mov ecx, dword [ebp - 0x5c]
shl ecx, 2
mov edx, dword [ebp - 0x60]
sar edx, 4
or ecx, edx
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 0xc], 0x3d
je 0x4069c5
cmp dword [ebp - 8], 0
jl 0x4068f9
cmp dword [ebp - 8], 0x7f
jg 0x4068f9
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406900
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0xc], 0
jl 0x40691b
cmp dword [ebp - 0xc], 0x7f
jg 0x40691b
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx + 0x4388d8]
mov dword [ebp - 0x60], eax
jmp 0x406922
mov dword [ebp - 0x60], 0xffffffff
mov ecx, dword [ebp - 0x5c]
shl ecx, 4
and ecx, 0xf0
mov edx, dword [ebp - 0x60]
sar edx, 2
or ecx, edx
mov eax, dword [ebp - 0x18]
mov byte [eax], cl
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
cmp dword [ebp - 0x10], 0x3d
je 0x4069c5
cmp dword [ebp - 0xc], 0
jl 0x406972
cmp dword [ebp - 0xc], 0x7f
jg 0x406972
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x4388d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406979
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x10], 0
jl 0x406994
cmp dword [ebp - 0x10], 0x7f
jg 0x406994
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + 0x4388d8]
mov dword [ebp - 0x60], eax
jmp 0x40699b
mov dword [ebp - 0x60], 0xffffffff
mov ecx, dword [ebp - 0x5c]
shl ecx, 6
and ecx, 0xc0
or ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x18]
mov byte [edx], cl
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp + 0x10]
mov dword [edx], ecx
jmp 0x406718
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret