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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1008b06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x3c]
mov al, byte [edx]
mov byte [ebp - 0x32], al
add dword [ebp - 0x3c], 1
cmp byte [ebp - 0x32], 0
jne 0x1002ec45
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x40], edx
lea ecx, [ebp - 0x28]
call fcn.10005070
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jae 0x1002ee32
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x30]
movsx edx, byte [ecx]
mov al, byte [edx + 0x10080158]
mov byte [ebp - 0x31], al
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x40]
jae 0x1002ecad
movsx eax, byte [ebp - 0x31]
cmp eax, 0xffffffff
je 0x1002ec81
movsx ecx, byte [ebp - 0x31]
cmp ecx, 0xffffffff
jne 0x1002ecbb
jmp 0x1002ee32
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x30]
movsx eax, byte [edx]
mov cl, byte [eax + 0x10080158]
mov byte [ebp - 0x2b], cl
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jae 0x1002ece7
movsx ecx, byte [ebp - 0x2b]
cmp ecx, 0xffffffff
je 0x1002ecbb
movsx edx, byte [ebp - 0x2b]
cmp edx, 0xffffffff
jne 0x1002ecf5
jmp 0x1002ee32
movsx eax, byte [ebp - 0x31]
shl eax, 2
movsx ecx, byte [ebp - 0x2b]
and ecx, 0x30
sar ecx, 4
or eax, ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10020e30
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x30]
mov al, byte [edx]
mov byte [ebp - 0x29], al
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
movsx edx, byte [ebp - 0x29]
cmp edx, 0x3d
jne 0x1002ed5a
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.10004f80
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004f30
mov eax, dword [ebp + 8]
jmp 0x1002ee59
movsx edx, byte [ebp - 0x29]
mov al, byte [edx + 0x10080158]
mov byte [ebp - 0x29], al
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x40]
jae 0x1002ed78
movsx edx, byte [ebp - 0x29]
cmp edx, 0xffffffff
je 0x1002ed11
movsx eax, byte [ebp - 0x29]
cmp eax, 0xffffffff
jne 0x1002ed86
jmp 0x1002ee32
movsx ecx, byte [ebp - 0x2b]
and ecx, 0xf
shl ecx, 4
movsx edx, byte [ebp - 0x29]
and edx, 0x3c
sar edx, 2
or ecx, edx
push ecx
lea ecx, [ebp - 0x28]
call fcn.10020e30
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x30]
mov cl, byte [eax]
mov byte [ebp - 0x2a], cl
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x3d
jne 0x1002edeb
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004f80
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004f30
mov eax, dword [ebp + 8]
jmp 0x1002ee59
movsx eax, byte [ebp - 0x2a]
mov cl, byte [eax + 0x10080158]
mov byte [ebp - 0x2a], cl
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x40]
jae 0x1002ee09
movsx eax, byte [ebp - 0x2a]
cmp eax, 0xffffffff
je 0x1002eda5
movsx ecx, byte [ebp - 0x2a]
cmp ecx, 0xffffffff
jne 0x1002ee14
jmp 0x1002ee32
movsx edx, byte [ebp - 0x29]
and edx, 3
shl edx, 6
movsx eax, byte [ebp - 0x2a]
or edx, eax
push edx
lea ecx, [ebp - 0x28]
call fcn.10020e30
jmp 0x1002ec75
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10004f80
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004f30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004e421
mov esp, ebp
pop ebp
ret