Function at 0x10042780
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0a09
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100c34c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x24], esi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x18], 1
test edx, edx
jle 0x10042afc
lea esp, [esp]
mov al, byte [edi + esi]
inc edi
cmp edi, edx
je 0x10042ab6
mov cl, byte [edi + esi]
inc edi
mov byte [ebp - 0xd], cl
cmp edi, edx
je 0x10042a6d
mov cl, byte [edi + esi]
movzx edx, al
mov eax, edx
shr eax, 2
mov byte [ebp - 0xf], cl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0xe], al
or eax, 0xffffffff
sub eax, ecx
inc edi
mov dword [ebp - 0x1c], edx
cmp eax, 1
jbe 0x10042a63
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10042a63
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10042867
push ecx
push esi
mov ecx, ebx
call fcn.10012fd0
mov edx, dword [ebp - 0x1c]
test esi, esi
je 0x1004289f
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10042881
mov eax, dword [ebx]
jmp 0x10042883
test esi, esi
jne 0x1004285a
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x1004287a
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x1004289f
mov eax, ebx
mov byte [eax], 0
jmp 0x1004289f
mov eax, ebx
mov bl, byte [ebp - 0xe]
mov byte [eax + ecx], bl
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10042899
mov eax, dword [ebx]
jmp 0x1004289b
mov eax, ebx
mov byte [eax + esi], 0
movzx eax, byte [ebp - 0xd]
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], eax
and edx, 3
shr eax, 4
shl edx, 4
or eax, edx
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
or eax, 0xffffffff
sub eax, ecx
mov byte [ebp - 0xe], dl
cmp eax, 1
jbe 0x10042a63
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10042a63
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x100428fb
push ecx
push esi
mov ecx, ebx
call fcn.10012fd0
mov dl, byte [ebp - 0xe]
test esi, esi
je 0x1004292d
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10042915
mov eax, dword [ebx]
jmp 0x10042917
test esi, esi
jne 0x100428ee
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x1004290e
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x1004292d
mov eax, ebx
mov byte [eax], 0
jmp 0x1004292d
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10042927
mov eax, dword [ebx]
jmp 0x10042929
mov eax, ebx
mov byte [eax + esi], 0
movzx edx, byte [ebp - 0xf]
mov ecx, dword [ebp - 0x1c]
and ecx, 0xf
mov eax, edx
shr eax, 6
shl ecx, 2
or eax, ecx
mov ecx, dword [ebx + 0x10]
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xf], al
or eax, 0xffffffff
sub eax, ecx
mov dword [ebp - 0x20], edx
cmp eax, 1
jbe 0x10042a63
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10042a63
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x1004298e
push ecx
push esi
mov ecx, ebx
call fcn.10012fd0
mov edx, dword [ebp - 0x20]
test esi, esi
je 0x100429c6
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x100429a8
mov eax, dword [ebx]
jmp 0x100429aa
test esi, esi
jne 0x10042981
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x100429a1
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x100429c6
mov eax, ebx
mov byte [eax], 0
jmp 0x100429c6
mov eax, ebx
mov bl, byte [ebp - 0xf]
mov byte [ecx + eax], bl
mov ebx, dword [ebp - 0x14]
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x100429c0
mov eax, dword [ebx]
jmp 0x100429c2
mov eax, ebx
mov byte [esi + eax], 0
mov ecx, dword [ebx + 0x10]
and edx, 0x3f
or eax, 0xffffffff
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
sub eax, ecx
mov byte [ebp - 0xf], dl
cmp eax, 1
jbe 0x10042a63
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x10042a63
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x10042a0f
push ecx
push esi
mov ecx, ebx
call fcn.10012fd0
mov dl, byte [ebp - 0xf]
test esi, esi
je 0x10042a41
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x10042a29
mov eax, dword [ebx]
jmp 0x10042a2b
test esi, esi
jne 0x10042a02
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x10042a22
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x10042a41
mov eax, ebx
mov byte [eax], 0
jmp 0x10042a41
mov eax, ebx
mov byte [ecx + eax], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x10042a3b
mov eax, dword [ebx]
jmp 0x10042a3d
mov eax, ebx
mov byte [esi + eax], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
cmp edi, edx
jl 0x100427f0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.string_too_long
call fcn.10091a9b
movzx esi, al
mov eax, esi
shr eax, 2
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.1001dc60
movzx edi, byte [ebp - 0xd]
mov eax, edi
shr eax, 4
and esi, 3
shl esi, 4
or eax, esi
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.1001dc60
and edi, 0xf
movzx eax, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x10042ae8
movzx esi, al
mov eax, esi
shr eax, 2
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.1001dc60
and esi, 3
shl esi, 4
mov ecx, ebx
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.1001dc60
push 0x3d
push 1
mov ecx, ebx
call fcn.1001dc60
push 0x3d
push 1
mov ecx, ebx
call fcn.1001dc60
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret