Function at 0x406820
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 0x406838
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 0x406b1a
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x406893
mov eax, dword [ebp - 0x18]
mov byte [eax], 0
jmp 0x406b23
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 0x4068c0
cmp dword [ebp - 4], 0x7f
jg 0x4068c0
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x4068c7
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x4068d7
jmp 0x406b1a
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 0x406904
cmp dword [ebp - 8], 0x7f
jg 0x406904
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x40690b
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x40691b
jmp 0x406b1a
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 0x406964
cmp dword [ebp - 0xc], 0
jl 0x40694d
cmp dword [ebp - 0xc], 0x7f
jg 0x40694d
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406954
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x406964
jmp 0x406b1a
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 0x4069ae
cmp dword [ebp - 0x10], 0
jl 0x406997
cmp dword [ebp - 0x10], 0x7f
jg 0x406997
mov eax, dword [ebp - 0x10]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x40699e
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x5c], 0xffffffff
jne 0x4069ae
jmp 0x406b1a
mov eax, dword [ebp + 8]
add eax, 4
mov dword [ebp + 8], eax
cmp dword [ebp - 4], 0
jl 0x4069d2
cmp dword [ebp - 4], 0x7f
jg 0x4069d2
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x4069d9
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 8], 0
jl 0x4069f4
cmp dword [ebp - 8], 0x7f
jg 0x4069f4
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0x4398d8]
mov dword [ebp - 0x60], eax
jmp 0x4069fb
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 0x406b15
cmp dword [ebp - 8], 0
jl 0x406a49
cmp dword [ebp - 8], 0x7f
jg 0x406a49
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406a50
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0xc], 0
jl 0x406a6b
cmp dword [ebp - 0xc], 0x7f
jg 0x406a6b
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx + 0x4398d8]
mov dword [ebp - 0x60], eax
jmp 0x406a72
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 0x406b15
cmp dword [ebp - 0xc], 0
jl 0x406ac2
cmp dword [ebp - 0xc], 0x7f
jg 0x406ac2
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax + 0x4398d8]
mov dword [ebp - 0x5c], ecx
jmp 0x406ac9
mov dword [ebp - 0x5c], 0xffffffff
cmp dword [ebp - 0x10], 0
jl 0x406ae4
cmp dword [ebp - 0x10], 0x7f
jg 0x406ae4
mov edx, dword [ebp - 0x10]
movsx eax, byte [edx + 0x4398d8]
mov dword [ebp - 0x60], eax
jmp 0x406aeb
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 0x406868
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret