Function at 0x5c7c60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x617080
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], 0
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], esi
test esi, esi
jne 0x5c7ce9
mov dword [edi + 0x14], 0xf
xor ecx, ecx
mov dword [edi + 0x10], esi
mov byte [edi], 0
cmp byte [0], cl
je 0x5c7ccc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c7cc3
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.0047c3b0
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x5c7ee1
inc ecx
push ecx
jmp 0x5c7ed6
mov eax, 0xaaaaaaab
mov dword [ebp - 0x14], 0xf
mul esi
mov dword [ebp - 0x18], 0
shr edx, 1
shl edx, 2
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 1
add edx, 5
jne 0x5c7d19
mov dword [ebp - 0x18], edx
mov byte [ebp + edx - 0x28], dl
jmp 0x5c7d24
push 0
push edx
lea ecx, [ebp - 0x28]
call fcn.00491830
xor eax, eax
xor ebx, ebx
test esi, esi
je 0x5c7e52
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
mov edi, dword [ebp + 0xc]
cmovae ecx, edi
mov cl, byte [ecx + ebx]
mov byte [ebp - 0x29], cl
lea ecx, [ebx + 2]
lea edx, [ecx - 1]
mov dword [ebp - 0x3c], edx
cmp edx, esi
mov edx, dword [ebp + 0x20]
jae 0x5c7d69
cmp edx, 0x10
lea ecx, [ebp + 0xc]
cmovae ecx, edi
movsx ecx, byte [ecx + ebx + 1]
mov dword [ebp - 0x30], ecx
lea ecx, [ebx + 2]
jmp 0x5c7d70
mov dword [ebp - 0x30], 0
cmp ecx, esi
jae 0x5c7d87
cmp edx, 0x10
lea ecx, [ebp + 0xc]
cmovae ecx, edi
movsx ecx, byte [ecx + ebx + 2]
mov dword [ebp - 0x34], ecx
jmp 0x5c7d8e
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x30]
movzx edi, byte [ebp - 0x29]
movzx edx, cl
mov esi, edi
mov ecx, edx
shr esi, 2
shr ecx, 4
and edi, 3
shl edi, 4
and edx, 0xf
add edi, ecx
mov ecx, dword [ebp - 0x34]
movzx ecx, cl
mov dword [ebp - 0x30], ecx
and dword [ebp - 0x30], 0x3f
shr ecx, 6
cmp dword [ebp - 0x14], 0x10
lea ecx, [ecx + edx*4]
mov dword [ebp - 0x34], ecx
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx ecx, byte [esi + ecx]
mov esi, dword [ebp - 0x38]
mov byte [edx + eax], cl
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
cmovae edx, dword [ebp - 0x28]
movzx ecx, byte [edi + ecx]
mov byte [edx + eax + 1], cl
cmp dword [ebp - 0x3c], esi
jae 0x5c7e0a
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 0x34]
mov dl, byte [edx + ecx]
jmp 0x5c7e0c
mov dl, 0x3d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov byte [ecx + eax + 2], dl
lea ecx, [ebx + 2]
cmp ecx, esi
jae 0x5c7e30
mov ecx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp - 0x30]
mov dl, byte [edx + ecx]
jmp 0x5c7e32
mov dl, 0x3d
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add ebx, 3
mov byte [ecx + eax + 3], dl
add eax, 4
cmp ebx, esi
jb 0x5c7d30
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
mov byte [ecx + eax], 0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x5c7e7c
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmovae ecx, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x5c7e89
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00491830
lea eax, [ebp - 0x28]
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov ecx, edi
push eax
mov byte [edi], 0
call fcn.0047c4d0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x5c7eba
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0047c5e0
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x5c7ee1
inc eax
push eax
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0047c5e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c978e
mov esp, ebp
pop ebp
ret