Function at 0x1019b3c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fdd09
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10285124]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x14], edi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1019b41f
mov eax, dword [esi]
jmp 0x1019b421
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], 1
cmp edx, 3
jb 0x1019b637
nop dword [eax]
mov bh, byte [edi + 1]
mov bl, byte [edi]
mov al, bh
mov dl, byte [edi + 2]
and bl, 3
mov ecx, dword [esi + 0x14]
and bh, 0xf
shr al, 4
shl bl, 4
or bl, al
shl bh, 2
mov al, dl
and dl, 0x3f
shr al, 6
or bh, al
mov byte [ebp - 0xd], dl
movzx eax, byte [edi]
shr eax, 2
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x1019b4b8
inc eax
cmp eax, 0x7ffffffe
ja 0x1019b69a
cmp ecx, eax
jae 0x1019b4a0
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.100a5230
jmp 0x1019b4b8
test eax, eax
jne 0x1019b4b8
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], eax
jb 0x1019b4b1
mov eax, dword [esi]
jmp 0x1019b4b3
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x1019b4c2
mov ecx, dword [esi]
jmp 0x1019b4c4
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov word [ecx + eax*2], dx
mov ecx, dword [esi + 0x14]
movzx eax, bl
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x1019b524
inc eax
cmp eax, 0x7ffffffe
ja 0x1019b69a
cmp ecx, eax
jae 0x1019b50c
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.100a5230
jmp 0x1019b524
test eax, eax
jne 0x1019b524
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x1019b51d
mov eax, dword [esi]
jmp 0x1019b51f
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x1019b52e
mov ecx, dword [esi]
jmp 0x1019b530
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov word [ecx + eax*2], dx
mov ecx, dword [esi + 0x14]
movzx eax, bh
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x1019b590
inc eax
cmp eax, 0x7ffffffe
ja 0x1019b69a
cmp ecx, eax
jae 0x1019b578
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.100a5230
jmp 0x1019b590
test eax, eax
jne 0x1019b590
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x1019b589
mov eax, dword [esi]
jmp 0x1019b58b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x1019b59a
mov ecx, dword [esi]
jmp 0x1019b59c
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov word [ecx + eax*2], dx
movzx eax, byte [ebp - 0xd]
mov ecx, dword [esi + 0x14]
movsx ax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx edi, ax
mov eax, dword [esi + 0x10]
cmp eax, ecx
jne 0x1019b5fd
inc eax
cmp eax, 0x7ffffffe
ja 0x1019b69a
cmp ecx, eax
jae 0x1019b5e5
push dword [esi + 0x10]
mov ecx, esi
push eax
call fcn.100a5230
jmp 0x1019b5fd
test eax, eax
jne 0x1019b5fd
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x1019b5f6
mov eax, dword [esi]
jmp 0x1019b5f8
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp dword [esi + 0x14], 8
jb 0x1019b607
mov ecx, dword [esi]
jmp 0x1019b609
mov ecx, esi
mov eax, dword [esi + 0x10]
xor edx, edx
mov word [ecx + eax*2], di
inc dword [esi + 0x10]
mov eax, dword [esi + 0x10]
mov edi, dword [ebp - 0x14]
add edi, 3
mov dword [ebp - 0x14], edi
mov word [ecx + eax*2], dx
mov edx, dword [ebp + 8]
sub edx, 3
mov dword [ebp + 8], edx
cmp edx, 3
jae 0x1019b440
sub edx, 1
je 0x1019b6a4
sub edx, 1
jne 0x1019b6eb
mov bh, byte [edi + 1]
mov ecx, esi
mov bl, byte [edi]
mov al, bh
shr al, 4
and bl, 3
shl bl, 4
and bh, 0xf
or bl, al
shl bh, 2
movzx eax, byte [edi]
shr eax, 2
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.100febc0
movzx eax, bl
mov ecx, esi
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.100febc0
movzx eax, bh
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
jmp 0x1019b6db
push str.string_too_long
call fcn.1019b79c
movzx eax, byte [edi]
mov ecx, esi
mov bl, byte [edi]
shr eax, 2
and bl, 3
shl bl, 4
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.100febc0
movzx eax, bl
mov ecx, esi
movsx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
movzx eax, ax
push eax
call fcn.100febc0
push 0x3d
mov ecx, esi
call fcn.100febc0
push 0x3d
mov ecx, esi
call fcn.100febc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret