Function at 0x4dd743
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x4dd767
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x18]
jae 0x4dd88f
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x18]
jae 0x4dd7a5
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
jne 0x4dd7a5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x4dd77a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x18]
jne 0x4dd7b2
jmp 0x4dd88f
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp - 0xc]
cmp ecx, 2
jb 0x4dd7de
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
cmp eax, 0xd
jne 0x4dd7de
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx + 1]
cmp edx, 0xa
jne 0x4dd7de
jmp 0x4dd75e
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xa
jne 0x4dd7f2
jmp 0x4dd75e
cmp dword [ebp - 8], 0
je 0x4dd802
mov eax, 0xffffffd4
jmp 0x4dd9f8
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x3d
jne 0x4dd82a
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 2
jbe 0x4dd82a
mov eax, 0xffffffd4
jmp 0x4dd9f8
mov edx, dword [ebp + 0x14]
add edx, dword [ebp - 0xc]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x7f
jg 0x4dd850
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
xor eax, eax
mov al, byte [edx + 0x6bec68]
cmp eax, 0x7f
jne 0x4dd85a
mov eax, 0xffffffd4
jmp 0x4dd9f8
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
xor eax, eax
mov al, byte [edx + 0x6bec68]
cmp eax, 0x40
jge 0x4dd881
cmp dword [ebp - 0x10], 0
je 0x4dd881
mov eax, 0xffffffd4
jmp 0x4dd9f8
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
jmp 0x4dd75e
cmp dword [ebp - 0x14], 0
jne 0x4dd8a5
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
xor eax, eax
jmp 0x4dd9f8
mov eax, dword [ebp - 0x14]
shr eax, 3
imul eax, eax, 6
mov ecx, dword [ebp - 0x14]
and ecx, 7
imul ecx, ecx, 6
add ecx, 7
shr ecx, 3
add eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
cmp dword [ebp + 8], 0
je 0x4dd8d9
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x14]
jae 0x4dd8eb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov eax, 0xffffffd6
jmp 0x4dd9f8
mov dword [ebp - 0x10], 3
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jmp 0x4dd919
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x14]
add eax, 1
mov dword [ebp + 0x14], eax
cmp dword [ebp - 0xc], 0
jbe 0x4dd9eb
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx]
cmp edx, 0xd
je 0x4dd947
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xa
je 0x4dd947
mov edx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x20
jne 0x4dd949
jmp 0x4dd907
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx]
xor eax, eax
mov al, byte [edx + 0x6bec68]
xor ecx, ecx
cmp eax, 0x40
sete cl
mov edx, dword [ebp - 0x10]
sub edx, ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
shl eax, 6
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx]
xor ecx, ecx
mov cl, byte [edx + 0x6bec68]
and ecx, 0x3f
or eax, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 4
jne 0x4dd9e6
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
jbe 0x4dd9b5
mov eax, dword [ebp - 8]
shr eax, 0x10
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 1
jbe 0x4dd9cf
mov eax, dword [ebp - 8]
shr eax, 8
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 2
jbe 0x4dd9e6
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 8]
mov byte [eax], cl
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4dd907
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret