Function at 0x10098d40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], ecx
test edi, edi
je 0x1009919b
mov edx, dword [ebp + 0xc]
push ebx
inc edx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], edx
nop word [eax + eax]
movzx eax, byte [edx - 1]
cmp edi, 3
jb 0x10098fc1
movzx ecx, byte [edx]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
and ecx, 0xffffff3f
mov dword [ebp - 0xc], ecx
movzx ecx, cl
mov ebx, ecx
xor ebx, 0x3e
dec ebx
lea edx, [ecx - 0x3e]
shr ebx, 0x1f
shr edx, 0x1f
neg bl
neg dl
mov dword [ebp + 8], edx
lea edx, [ecx - 0x34]
add ecx, 0xffffffe6
shr edx, 0x1f
shr ecx, 0x1f
neg dl
neg cl
mov dword [ebp - 0x10], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov ch, bl
and ch, 0xfb
mov cl, dl
not cl
not bl
or ch, bl
mov ebx, dword [ebp - 0xc]
and ch, cl
mov cl, bl
sub cl, 4
and ch, 0x2f
and cl, dl
mov edx, dword [ebp - 0x10]
or ch, cl
mov cl, dl
not cl
and ch, cl
mov cl, bl
add cl, 0x47
add bl, 0x41
and cl, dl
mov edx, dword [ebp - 0x14]
or ch, cl
and bl, dl
mov cl, dl
not cl
and ch, cl
or ch, bl
mov byte [esi], ch
mov ecx, eax
shr ecx, 0xc
and ecx, 0xffffff3f
mov dword [ebp - 0x14], ecx
movzx ecx, cl
mov ebx, ecx
xor ebx, 0x3e
dec ebx
lea edx, [ecx - 0x3e]
shr ebx, 0x1f
shr edx, 0x1f
neg bl
neg dl
mov dword [ebp + 8], edx
lea edx, [ecx - 0x34]
add ecx, 0xffffffe6
shr edx, 0x1f
shr ecx, 0x1f
neg dl
neg cl
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov ch, bl
mov edx, dword [ebp + 8]
and ch, 0xfb
mov cl, dl
add dword [ebp + 0x10], 0xfffffffd
not cl
not bl
or ch, bl
mov ebx, dword [ebp - 0x14]
and ch, cl
mov cl, bl
sub cl, 4
and ch, 0x2f
and cl, dl
mov edx, dword [ebp - 0x10]
or ch, cl
mov cl, dl
not cl
and ch, cl
mov cl, bl
add cl, 0x47
add bl, 0x41
and cl, dl
mov edx, dword [ebp - 0xc]
or ch, cl
and bl, dl
mov cl, dl
not cl
and ch, cl
or ch, bl
mov byte [esi + 1], ch
mov ecx, eax
shr ecx, 6
and al, 0x3f
and ecx, 0xffffff3f
mov dword [ebp - 0x1c], ecx
movzx ecx, cl
mov edx, ecx
xor edx, 0x3e
dec edx
shr edx, 0x1f
neg dl
mov dword [ebp - 0xc], edx
lea edx, [ecx - 0x3e]
shr edx, 0x1f
neg dl
mov dword [ebp - 0x18], edx
lea edx, [ecx - 0x34]
add ecx, 0xffffffe6
shr edx, 0x1f
shr ecx, 0x1f
neg dl
neg cl
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
movzx ecx, al
mov ebx, ecx
xor ebx, 0x3e
dec ebx
lea edx, [ecx - 0x3e]
shr ebx, 0x1f
shr edx, 0x1f
neg bl
neg dl
mov dword [ebp + 8], edx
lea edx, [ecx - 0x34]
add ecx, 0xffffffe6
shr edx, 0x1f
shr ecx, 0x1f
neg dl
neg cl
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov ch, bl
and ch, 0xfb
not bl
mov cl, dl
or ch, bl
not cl
and ch, cl
and ch, 0x2f
mov cl, al
mov ebx, dword [ebp - 0x1c]
sub cl, 4
mov edi, dword [ebp + 0x10]
and cl, dl
mov edx, dword [ebp - 0x14]
or ch, cl
mov cl, dl
not cl
and ch, cl
mov cl, al
add cl, 0x47
add al, 0x41
and cl, dl
mov edx, dword [ebp - 0x10]
or ch, cl
and al, dl
mov cl, dl
mov edx, dword [ebp - 0x18]
not cl
and ch, cl
or ch, al
lea eax, [esi + 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0xc]
mov cl, al
and cl, 0xfb
not al
or cl, al
mov al, dl
not al
and cl, al
lea eax, [ebx - 4]
and al, dl
and cl, 0x2f
mov edx, dword [ebp - 0x20]
or cl, al
mov al, dl
not al
and cl, al
lea eax, [ebx + 0x47]
and al, dl
add bl, 0x41
mov edx, dword [ebp - 0x24]
or cl, al
mov al, dl
and bl, dl
mov edx, dword [ebp - 8]
not al
and cl, al
add edx, 3
or cl, bl
mov dword [ebp - 8], edx
mov byte [esi + 2], cl
mov byte [esi + 3], ch
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 8]
add ecx, 4
mov dword [ebp - 4], ecx
test edi, edi
jne 0x10098d70
mov byte [esi], 0
mov eax, ecx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
shl eax, 0x10
cmp edi, 2
jne 0x10098fd1
movzx ecx, byte [edx]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
and ecx, 0xffffff3f
mov dword [ebp + 0x10], ecx
movzx ecx, cl
mov ebx, ecx
xor ebx, 0x3e
dec ebx
lea edx, [ecx - 0x3e]
shr ebx, 0x1f
shr edx, 0x1f
neg bl
neg dl
mov dword [ebp + 8], edx
lea edx, [ecx - 0x34]
add ecx, 0xffffffe6
shr edx, 0x1f
shr ecx, 0x1f
neg dl
neg cl
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
mov ch, bl
mov edx, dword [ebp + 8]
and ch, 0xfb
mov cl, dl
not bl
or ch, bl
not cl
mov ebx, dword [ebp + 0x10]
and ch, cl
and ch, 0x2f
mov cl, bl
sub cl, 4
and cl, dl
mov edx, dword [ebp - 0x24]
or ch, cl
mov cl, dl
not cl
and ch, cl
mov cl, bl
add cl, 0x47
add bl, 0x41
and cl, dl
mov edx, dword [ebp - 0x20]
or ch, cl
and bl, dl
mov cl, dl
not cl
and ch, cl
or ch, bl
mov byte [esi], ch
mov ecx, eax
shr ecx, 0xc
and ecx, 0xffffff3f
mov dword [ebp + 0x10], ecx
movzx ecx, cl
mov ebx, ecx
xor ebx, 0x3e
dec ebx
lea edx, [ecx - 0x3e]
shr ebx, 0x1f
shr edx, 0x1f
neg bl
neg dl
mov dword [ebp + 8], edx
lea edx, [ecx - 0x34]
add ecx, 0xffffffe6
shr edx, 0x1f
shr ecx, 0x1f
neg dl
neg cl
mov dword [ebp - 0x24], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov ch, bl
and ch, 0xfb
not bl
mov cl, dl
or ch, bl
not cl
mov ebx, dword [ebp + 0x10]
and ch, cl
mov cl, bl
and ch, 0x2f
sub cl, 4
and cl, dl
mov edx, dword [ebp - 0x24]
or ch, cl
mov cl, dl
not cl
and ch, cl
mov cl, bl
add cl, 0x47
add bl, 0x41
and cl, dl
mov edx, dword [ebp - 0x20]
or ch, cl
and bl, dl
mov cl, dl
not cl
and ch, cl
or ch, bl
mov byte [esi + 1], ch
add esi, 2
mov dword [ebp + 8], esi
cmp edi, 1
jne 0x100990e9
lea ebx, [edi + 0x3c]
jmp 0x10099180
shr eax, 6
and al, 0x3f
movzx ecx, al
mov edx, ecx
xor edx, 0x3e
dec edx
lea ebx, [ecx - 0x3e]
shr edx, 0x1f
shr ebx, 0x1f
neg dl
neg bl
movzx esi, dl
mov dword [ebp + 0x10], ebx
not dl
lea ebx, [ecx - 0x34]
and esi, 0xfffffffb
add ecx, 0xffffffe6
shr ebx, 0x1f
shr ecx, 0x1f
neg bl
neg cl
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
movzx ecx, dl
or esi, ecx
mov cl, bl
not cl
and ecx, 0x2f
and esi, ecx
mov cl, al
sub cl, 4
movzx edx, cl
movzx ecx, bl
mov ebx, dword [ebp - 0x24]
and edx, ecx
mov cl, bl
or esi, edx
not cl
movzx ecx, cl
and esi, ecx
mov cl, al
add cl, 0x47
mov dword [ebp + 0x10], esi
movzx edx, cl
add al, 0x41
movzx ecx, bl
mov ebx, esi
mov esi, dword [ebp + 8]
and edx, ecx
or ebx, edx
mov edx, dword [ebp - 0x20]
mov cl, dl
not cl
movzx ecx, cl
and ebx, ecx
movzx ecx, al
movzx eax, dl
and ecx, eax
or ebx, ecx
mov ecx, dword [ebp - 4]
mov byte [esi], bl
mov byte [esi + 1], 0x3d
add esi, 2
add ecx, 4
mov eax, ecx
mov byte [esi], 0
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
mov byte [eax], cl
mov eax, ecx
mov esp, ebp
pop ebp
ret