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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x7db1e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, eax
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x54], edi
jb 0x557615
mov esi, dword [eax]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x34], esi
lea eax, [ecx + esi]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x55784f
test edi, edi
je 0x55784f
test cl, 3
jne 0x55784f
cmp esi, eax
jae 0x55783a
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x50], ebx
nop dword [eax]
cmp ebx, 3
jbe 0x5577f1
cmp esi, eax
je 0x55779a
movzx ecx, byte [esi]
inc esi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], esi
cmp ecx, 0x80
jae 0x55779a
cmp byte [ecx + 0x743418], 0xff
je 0x55779a
cmp esi, eax
je 0x55779a
movzx ecx, byte [esi]
inc esi
mov dword [ebp - 0x34], esi
cmp ecx, 0x80
jae 0x55779a
mov bh, byte [ecx + 0x743418]
cmp bh, 0xff
je 0x55779a
mov ecx, esi
cmp esi, eax
je 0x557779
movzx ecx, byte [esi]
lea eax, [esi + 1]
mov esi, eax
mov dword [ebp - 0x4c], ecx
push ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], esi
call fcn.0055a9a0
add esp, 4
mov ecx, esi
test eax, eax
je 0x557779
cmp ecx, dword [ebp - 0x38]
je 0x557744
movzx eax, byte [esi]
lea esi, [ecx + 1]
push eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], esi
call fcn.0055a9a0
add esp, 4
test eax, eax
je 0x557744
mov eax, dword [ebp - 0x4c]
mov bl, byte [eax + 0x743418]
mov eax, dword [ebp - 0x40]
mov dl, byte [eax + 0x743418]
mov eax, dword [ebp - 0x48]
and dl, 0x3f
mov cl, byte [eax + 0x743418]
mov al, bh
shr al, 4
and al, 3
shl cl, 2
or cl, al
shl bh, 4
mov al, bl
mov byte [edi], cl
shr al, 2
and al, 0xf
shl bl, 6
or al, bh
or bl, dl
mov byte [edi + 1], al
mov byte [edi + 2], bl
add edi, 3
xor eax, eax
jmp 0x55779f
mov eax, dword [ebp - 0x4c]
mov dl, byte [eax + 0x743418]
mov eax, dword [ebp - 0x48]
shr dl, 2
and dl, 0xf
mov cl, byte [eax + 0x743418]
mov al, bh
shr al, 4
shl cl, 2
and al, 3
shl bh, 4
or cl, al
or dl, bh
mov byte [edi], cl
mov byte [edi + 1], dl
add edi, 2
xor eax, eax
jmp 0x55779f
mov eax, dword [ebp - 0x48]
lea esi, [ecx + 1]
shr bh, 4
and bh, 3
mov dword [ebp - 0x34], esi
mov al, byte [eax + 0x743418]
shl al, 2
or al, bh
mov byte [edi], al
inc edi
xor eax, eax
jmp 0x55779f
mov eax, 4
sub eax, 4
je 0x5577e8
sub eax, 1
je 0x5577dc
sub eax, 1
je 0x557861
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x38]
sub ebx, 3
mov dword [ebp - 0x50], ebx
cmp esi, eax
jb 0x557650
sub edi, dword [ebp - 0x54]
pop ebx
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
push str.Encode_Other_Error
push 0xffffffffffffffff
jmp 0x557868
push str.Encode_Format_Error
push 0xffffffffffffffff
jmp 0x557868
cmp esi, eax
jae 0x557839
test ebx, ebx
je 0x557839
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x41]
call fcn.0055a180
push eax
call fcn.0051fc70
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x3c]
add esp, 4
cmp eax, ecx
je 0x557839
sub eax, ecx
cmp eax, ebx
cmovb ebx, eax
mov eax, ecx
push ebx
push eax
push edi
call fcn.006f6ff0
add esp, 0xc
add edi, ebx
pop ebx
sub edi, dword [ebp - 0x54]
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.006f4db8
mov esp, ebp
pop ebp
ret
push str.Encode_No_Memory
push 0xc
lea ecx, [ebp - 0x30]
call fcn.0051fb30
push 0x7d0488
lea eax, [ebp - 0x30]
push eax
call fcn.006f7a5d
int3