Function at 0x5cea38
Capabilities:
Encode data using base64

Disassembly:
add esp, 0xffffffd8
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp]
mov edx, dword [eax]
mov dword [esp + 0x10], edx
mov ecx, dword [esp]
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shr edx, 4
xor edx, dword [esp + 0x10]
and edx, 0xf0f0f0f
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
shl eax, 4
xor dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
shr edx, 4
xor edx, dword [esp + 0x14]
and edx, 0x1010101
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
shl eax, 4
xor dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
shr edx, 9
xor edx, dword [esp + 0x10]
and edx, 0x550055
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
shl eax, 9
xor dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
shr edx, 9
xor edx, dword [esp + 0x14]
and edx, 0x550055
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
shl eax, 9
xor dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
shr edx, 0x12
xor edx, dword [esp + 0x10]
and edx, 0x3333
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x10], ecx
mov eax, dword [esp + 0x18]
shl eax, 0x12
xor dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
shr edx, 0x12
xor edx, dword [esp + 0x14]
and edx, 0x3333
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
shl eax, 0x12
xor dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shr edx, 0x10
xor edx, dword [esp + 0x14]
and edx, 0xff
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x18]
xor dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
shl eax, 0x10
xor dword [esp + 0x14], eax
mov word [esp + 0x1c], 0
mov edx, dword [esp + 4]
mov ecx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0x6aaa04
and dword [esp + 0x10], 0xfffffff
and dword [esp + 0x14], 0xfffffff
mov eax, dword [esp + 0x20]
cmp byte [eax], 0
je 0x5cebc9
mov edx, dword [esp + 0x10]
shr edx, 2
mov ecx, dword [esp + 0x10]
shl ecx, 0x1a
or edx, ecx
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
shr eax, 2
mov edx, dword [esp + 0x14]
shl edx, 0x1a
or eax, edx
mov dword [esp + 0x14], eax
jmp 0x5cebef
mov ecx, dword [esp + 0x10]
shr ecx, 1
mov eax, dword [esp + 0x10]
shl eax, 0x1b
or ecx, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
shr edx, 1
mov ecx, dword [esp + 0x14]
shl ecx, 0x1b
or edx, ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
xor edx, edx
shr eax, 0
mov dl, al
mov eax, dword [esp + 0x10]
and edx, 0x3f
shr eax, 8
mov ecx, dword [edx*4 + 0x6aaa14]
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x10]
sar edx, 1
and edx, 0x3f
shr eax, 0x10
or ecx, dword [edx*4 + 0x6aab14]
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x10]
shr eax, 0x10
and edx, 0x1d
and eax, 0xff
sar eax, 1
and eax, 0x20
or edx, eax
mov eax, dword [esp + 0x10]
shr eax, 0x10
and eax, 0xff
sar eax, 6
and eax, 2
or edx, eax
xor eax, eax
or ecx, dword [edx*4 + 0x6aac14]
mov edx, dword [esp + 0x10]
shr edx, 0
mov al, dl
mov edx, dword [esp + 0x10]
shr edx, 8
and edx, 0xff
sar edx, 7
sar eax, 2
and edx, 1
and eax, 0x30
or eax, edx
mov edx, dword [esp + 0x10]
shr edx, 0x18
and edx, 0xff
and edx, 0xe
or eax, edx
xor edx, edx
or ecx, dword [eax*4 + 0x6aad14]
mov dword [esp + 8], ecx
xor ecx, ecx
mov eax, dword [esp + 0x14]
shr eax, 8
mov cl, al
mov eax, dword [esp + 0x14]
shr eax, 8
and ecx, 0x3d
mov dl, al
mov eax, dword [esp + 0x14]
sar edx, 6
and edx, 2
or ecx, edx
xor edx, edx
shr eax, 0
mov dl, al
mov ecx, dword [ecx*4 + 0x6aaf14]
and edx, 0x3f
mov eax, dword [esp + 0x14]
shr eax, 0x10
or ecx, dword [edx*4 + 0x6aae14]
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x14]
and edx, 0x3f
shr eax, 0
or ecx, dword [edx*4 + 0x6ab014]
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x14]
shr eax, 0x10
and eax, 0xff
sar eax, 2
sar edx, 6
and eax, 0x30
and edx, 2
or edx, eax
mov eax, dword [esp + 0x14]
shr eax, 0x18
and eax, 0xff
and eax, 0xd
or edx, eax
or ecx, dword [edx*4 + 0x6ab114]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
shl ecx, 0x10
mov eax, dword [esp + 0x24]
and edx, 0xffff
or edx, ecx
mov dword [eax], edx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
shr ecx, 0x10
mov eax, dword [esp + 0x24]
and edx, 0xffff0000
or edx, ecx
mov dword [eax + 4], edx
inc word [esp + 0x1c]
add dword [esp + 0x24], 8
inc dword [esp + 0x20]
cmp word [esp + 0x1c], 0x10
jb 0x5ceb86
add esp, 0x28
ret