Function at 0x6332b048
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
cmp dword [ebp + 0x18], 0
jne 0x6332b068
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
mov eax, 0
jmp 0x6332b2b8
mov eax, dword [ebp + 0x18]
mov edx, 0xaaaaaaab
mul edx
mov ebx, edx
shr ebx, 1
mov ecx, dword [ebp + 0x18]
mov edx, 0xaaaaaaab
mov eax, ecx
mul edx
mov eax, edx
shr eax, 1
mov edx, eax
add edx, edx
add edx, eax
mov eax, ecx
sub eax, edx
test eax, eax
setne al
movzx eax, al
add eax, ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3fffffff
jbe 0x6332b0b9
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffffff
mov eax, 0xffffffd6
jmp 0x6332b2b8
shl dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
add eax, 1
cmp dword [ebp + 0xc], eax
jae 0x6332b0dd
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, 0xffffffd6
jmp 0x6332b2b8
mov eax, dword [ebp + 0x18]
mov edx, 0xaaaaaaab
mul edx
shr edx, 1
mov eax, edx
add eax, eax
add eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
jmp 0x6332b1c9
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
sar eax, 2
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
shl eax, 4
and eax, 0x30
mov edx, eax
mov eax, dword [ebp - 0x18]
sar eax, 4
add eax, edx
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov eax, dword [ebp - 0x18]
shl eax, 2
and eax, 0x3c
mov edx, eax
mov eax, dword [ebp - 0x1c]
sar eax, 6
add eax, edx
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov eax, dword [ebp - 0x1c]
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
add dword [ebp - 8], 3
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x6332b104
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x18]
jae 0x6332b2a0
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
movzx eax, byte [eax]
movzx eax, al
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
add eax, 1
cmp dword [ebp + 0x18], eax
jbe 0x6332b20f
mov eax, dword [ebp + 0x14]
lea edx, [eax + 1]
mov dword [ebp + 0x14], edx
movzx eax, byte [eax]
movzx eax, al
jmp 0x6332b214
mov eax, 0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sar eax, 2
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov eax, dword [ebp - 0x14]
shl eax, 4
and eax, 0x30
mov edx, eax
mov eax, dword [ebp - 0x18]
sar eax, 4
add eax, edx
and eax, 0x3f
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, 1
cmp dword [ebp + 0x18], eax
jbe 0x6332b288
mov eax, dword [ebp - 0x18]
shl eax, 2
and eax, 0x3c
mov ecx, eax
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
movzx edx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
jmp 0x6332b294
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov byte [eax], 0x3d
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 8]
mov edx, eax
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov byte [eax], 0
mov eax, 0
add esp, 0x20
pop ebx
pop ebp
ret