Function at 0x6b6f2560
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
and edi, 3
cmp edi, 0
jne 0x6b6f25b5
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
shr ecx, 2
imul ecx, ecx, 3
cmp eax, ecx
jne 0x6b6f25b5
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.6b6f2800
jmp 0x6b6f27f3
jmp 0x6b6f25ba
xor eax, eax
cmp dword [ebp + 0xc], 0
mov byte [ebp - 9], al
je 0x6b6f25d3
cmp dword [ebp + 0x14], 0
setne al
mov byte [ebp - 9], al
mov al, byte [ebp - 9]
test al, 1
jne 0x6b6f25e3
jmp 0x6b6f27e3
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
mov dword [esp], eax
call fcn.6b6f2920
movzx ecx, al
sar ecx, 2
and ecx, 0x3f
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
add edx, 1
mov dword [ebp + 0x10], edx
mov byte [ecx], al
mov ecx, dword [ebp + 0x14]
add ecx, 0xffffffff
mov dword [ebp + 0x14], ecx
cmp ecx, 0
jne 0x6b6f2625
jmp 0x6b6f27e3
mov eax, dword [ebp + 8]
movsx eax, byte [eax]
mov dword [esp], eax
call fcn.6b6f2920
movzx ecx, al
shl ecx, 4
mov edx, dword [ebp + 0xc]
add edx, 0xffffffff
mov dword [ebp + 0xc], edx
cmp edx, 0
mov dword [ebp - 0x10], ecx
je 0x6b6f266b
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 1]
mov dword [esp], eax
call fcn.6b6f2920
movzx ecx, al
sar ecx, 4
mov dword [ebp - 0x14], ecx
jmp 0x6b6f2675
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x6b6f2675
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, eax
and ecx, 0x3f
mov dl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov eax, dword [ebp + 0x10]
mov ecx, eax
add ecx, 1
mov dword [ebp + 0x10], ecx
mov byte [eax], dl
mov eax, dword [ebp + 0x14]
add eax, 0xffffffff
mov dword [ebp + 0x14], eax
cmp eax, 0
jne 0x6b6f26ab
jmp 0x6b6f27e3
cmp dword [ebp + 0xc], 0
je 0x6b6f2721
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 1]
mov dword [esp], eax
call fcn.6b6f2920
movzx ecx, al
shl ecx, 2
mov edx, dword [ebp + 0xc]
add edx, 0xffffffff
mov dword [ebp + 0xc], edx
cmp edx, 0
mov dword [ebp - 0x18], ecx
je 0x6b6f26fc
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 2]
mov dword [esp], eax
call fcn.6b6f2920
movzx ecx, al
sar ecx, 6
mov dword [ebp - 0x1c], ecx
jmp 0x6b6f2706
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x6b6f2706
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
add ecx, eax
and ecx, 0x3f
movsx eax, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0x20], eax
jmp 0x6b6f272e
mov eax, 0x3d
mov dword [ebp - 0x20], eax
jmp 0x6b6f272e
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
add edx, 1
mov dword [ebp + 0x10], edx
mov byte [ecx], al
mov ecx, dword [ebp + 0x14]
add ecx, 0xffffffff
mov dword [ebp + 0x14], ecx
cmp ecx, 0
jne 0x6b6f2755
jmp 0x6b6f27e3
cmp dword [ebp + 0xc], 0
je 0x6b6f2784
mov eax, dword [ebp + 8]
movsx eax, byte [eax + 2]
mov dword [esp], eax
call fcn.6b6f2920
movzx ecx, al
and ecx, 0x3f
movsx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dword [ebp - 0x24], ecx
jmp 0x6b6f2791
mov eax, 0x3d
mov dword [ebp - 0x24], eax
jmp 0x6b6f2791
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
mov edx, ecx
add edx, 1
mov dword [ebp + 0x10], edx
mov byte [ecx], al
mov ecx, dword [ebp + 0x14]
add ecx, 0xffffffff
mov dword [ebp + 0x14], ecx
cmp ecx, 0
jne 0x6b6f27b8
jmp 0x6b6f27e3
cmp dword [ebp + 0xc], 0
je 0x6b6f27cb
mov eax, dword [ebp + 0xc]
add eax, 0xffffffff
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0
je 0x6b6f27de
mov eax, dword [ebp + 8]
add eax, 3
mov dword [ebp + 8], eax
jmp 0x6b6f25ba
cmp dword [ebp + 0x14], 0
je 0x6b6f27f3
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
add esp, 0x28
pop esi
pop edi
pop ebp
ret