Function at 0x6f909b10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
test eax, eax
mov eax, 0x4e
cmovne eax, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], eax
cmp edx, 0x10
je 0x6f909ec8
cmp edx, 0x40
je 0x6f909cc0
mov ecx, dword [ebp + 0x10]
xor esi, esi
test ecx, ecx
jne 0x6f909cd8
mov ecx, dword [ebx]
mov edi, dword [ebp + 0x18]
mov eax, ecx
test edi, edi
je 0x6f909cc2
lea edi, [ecx + 1]
cmp edx, 8
je 0x6f909fb0
cmp edx, 0x20
je 0x6f909e50
test edx, edx
je 0x6f909fa0
cmp edx, 0x10
je 0x6f909e70
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
cmp edx, 0x10
jle 0x6f909d18
mov dword [ebx], edi
mov edi, dword [ebp - 0x30]
mov byte [ecx], 0x3a
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x20
lea eax, [esi + 2]
lea esi, [edi - 2]
mov dword [ebp - 0x2c], esi
cmp dword [ebp + 0x14], esi
jae 0x6f909c13
lea esi, [esi]
lea esi, [esi]
mov esi, dword [ebp + 0x14]
movzx ecx, byte [esi]
shl ecx, 0x10
mov edx, ecx
movzx ecx, byte [esi + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 2]
mov esi, 4
or ecx, edx
cmp dword [ebp + 0x1c], eax
jbe 0x6f909f80
inc eax
mov edi, dword [ebx]
lea edx, [edi + 1]
mov dword [ebx], edx
mov edx, ecx
shl ecx, 6
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [edi], dl
dec esi
jne 0x6f909bdf
add dword [ebp + 0x14], 3
mov edi, dword [ebp - 0x2c]
cmp dword [ebp + 0x14], edi
jb 0x6f909bc0
mov edi, dword [ebp - 0x30]
cmp dword [ebp + 0x14], edi
jae 0x6f909cc0
mov edi, dword [ebp - 0x30]
sub edi, dword [ebp + 0x14]
je 0x6f909c40
mov esi, dword [ebp + 0x14]
xor edx, edx
movzx ecx, byte [esi + edx]
mov byte [ebp + edx - 0x20], cl
inc edx
cmp edx, edi
jb 0x6f909c2c
xor edx, edx
cmp edi, 2
ja 0x6f909c62
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0x20]
sub esi, dword [ebp - 0x30]
add ecx, edi
add esi, 3
je 0x6f909c5b
xor edx, edx
mov byte [ecx + edx], 0
inc edx
cmp edx, esi
jb 0x6f909c52
mov edx, 3
sub edx, edi
movzx ecx, byte [ebp - 0x20]
lea edi, [edx + 4]
mov dword [ebp - 0x30], edi
mov esi, ecx
movzx ecx, byte [ebp - 0x1f]
shl esi, 0x10
shl ecx, 8
or ecx, esi
movzx esi, byte [ebp - 0x1e]
or ecx, esi
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 0x1c], eax
jbe 0x6f909fe0
inc eax
mov esi, dword [ebx]
lea edi, [esi + 1]
mov dword [ebx], edi
cmp edx, 3
ja 0x6f909fd0
mov edi, dword [ebp - 0x2c]
shr edi, 0x12
and edi, 0x3f
movzx ecx, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__]
mov byte [esi], cl
shl dword [ebp - 0x2c], 6
inc edx
cmp dword [ebp - 0x30], edx
jne 0x6f909c83
lea esi, [esi]
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0xa
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [ebx]
lea esi, [edi + 1]
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp], eax
call sym._memcpy
add edi, dword [ebx]
mov edx, dword [ebp + 0xc]
lea eax, [edi + 1]
mov dword [ebx], eax
mov byte [edi], 0x3a
jmp 0x6f909b4f
cmp edx, 2
je 0x6f909e58
mov dword [ebx], edi
mov byte [ecx], 0x20
cmp edx, 1
jne 0x6f909b96
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], ecx
movzx eax, byte [eax]
mov byte [ebp - 0x2c], al
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_isgraph]
mov dword [ebp - 0x38], eax
call eax
movzx edx, byte [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub edx, 0x3a
and edx, 0xfd
je 0x6f909b96
test eax, eax
je 0x6f909b96
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
movzx eax, byte [eax + ecx - 1]
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
call eax
mov ecx, dword [ebp - 0x2c]
test eax, eax
je 0x6f909b96
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], str._binary
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strstr]
mov ecx, dword [ebp - 0x2c]
test eax, eax
jne 0x6f909b96
lea eax, [ebp - 0x20]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._ber_str2bv
mov eax, dword [0x6f916828]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], eax
test edx, edx
je 0x6f90a031
mov eax, dword [ebp - 0x20]
mov dword [ebp + 8], ebx
xor ebx, ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], esi
mov esi, eax
jmp 0x6f909e11
add ebx, 0x10
lea eax, [esi + ebx]
mov edx, dword [eax + 4]
test edx, edx
je 0x6f90a028
cmp dword [eax], ecx
je 0x6f909ffe
lea eax, [esi + ebx]
cmp dword [eax + 8], ecx
jne 0x6f909e00
mov edx, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [ebp - 0x38], ecx
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._memcmp
mov ecx, dword [ebp - 0x38]
test eax, eax
jne 0x6f909e00
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
jmp 0x6f909b96
mov dword [ebx], edi
inc esi
mov byte [ecx], 0x3c
mov ecx, dword [ebx]
lea eax, [ecx + 1]
inc esi
mov dword [ebx], eax
mov byte [ecx], 0x20
mov eax, dword [ebx]
lea edi, [eax + 1]
lea esi, [esi]
lea esi, [esi]
mov dword [ebp + 8], ebx
mov ecx, dword [ebp + 0x14]
xor edx, edx
jmp 0x6f909e9e
inc esi
mov ebx, dword [ebp + 8]
mov dword [ebx], edi
movzx ebx, byte [ecx + edx]
inc edx
mov byte [eax], bl
cmp dword [ebp + 0x18], edx
jbe 0x6f909f28
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edi, [eax + 1]
cmp dword [ebp + 0x1c], esi
jae 0x6f909e80
mov esi, dword [ebp + 8]
mov dword [esi], edi
mov edi, dword [ebp + 8]
mov byte [eax], 0xa
mov eax, dword [esi]
lea esi, [eax + 1]
mov dword [edi], esi
mov esi, 2
mov byte [eax], 0x20
mov eax, dword [edi]
lea edi, [eax + 1]
jmp 0x6f909e81
mov eax, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx], ecx
mov byte [eax], 0x23
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x6f909f40
mov eax, dword [ebx]
lea ecx, [eax + 1]
mov dword [ebx], ecx
mov byte [eax], 0x20
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6f90a0c1
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov edx, dword [ebx]
mov esi, eax
lea eax, [eax + 1]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._memcpy
mov eax, dword [ebx]
add eax, esi
add esi, 2
lea edi, [eax + 1]
jmp 0x6f909e70
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0xa
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6f909cc0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebx]
lea edx, [esi + 1]
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebx]
add eax, esi
jmp 0x6f909cc2
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0xa
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x20
mov eax, 2
jmp 0x6f909be9
mov dword [ebx], edi
mov byte [ecx], 0xa
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebx], edi
inc esi
mov byte [ecx], 0x3a
mov ecx, dword [ebx]
inc esi
lea eax, [ecx + 1]
mov dword [ebx], eax
mov byte [ecx], 0x20
mov eax, dword [ebx]
lea edi, [eax + 1]
jmp 0x6f909e70
mov byte [esi], 0x3d
jmp 0x6f909caf
mov eax, dword [ebx]
lea esi, [eax + 1]
mov dword [ebx], esi
mov byte [eax], 0xa
mov eax, dword [ebx]
lea esi, [eax + 1]
mov dword [ebx], esi
mov byte [eax], 0x20
mov eax, 2
jmp 0x6f909c8d
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll__strnicmp]
test eax, eax
je 0x6f909e41
mov ecx, dword [ebp - 0x20]
mov esi, dword [0x6f916828]
jmp 0x6f909e19
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
cmp dword [ebp + 0x14], eax
jae 0x6f909cc0
lea eax, [esi + 1]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], ecx
mov esi, eax
jmp 0x6f90a06b
inc eax
movzx edx, byte [ebp - 0x3c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
inc esi
lea ecx, [eax + 1]
mov dword [ebx], ecx
mov byte [eax], dl
cmp dword [ebp - 0x30], esi
je 0x6f909cc0
movzx eax, byte [esi]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll___isascii]
test eax, eax
je 0x6f90a0b6
movzx eax, byte [esi]
mov byte [ebp - 0x3c], al
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_isprint]
test eax, eax
je 0x6f90a0b6
mov eax, dword [ebp - 0x2c]
cmp dword [ebp + 0x1c], eax
ja 0x6f90a050
mov eax, dword [ebx]
mov dword [ebp - 0x2c], 2
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0xa
mov eax, dword [ebx]
lea edx, [eax + 1]
mov dword [ebx], edx
mov byte [eax], 0x20
movzx edx, byte [esi]
jmp 0x6f90a058
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
jmp 0x6f909b96
mov ecx, dword [ebx]
mov esi, 2
mov eax, ecx
jmp 0x6f909b5e