Function at 0x410cb0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444329
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4587e8]
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 0x41102c
lea esp, [esp]
mov al, byte [edi + esi]
inc edi
cmp edi, edx
je 0x410fe6
mov cl, byte [edi + esi]
inc edi
mov byte [ebp - 0xd], cl
cmp edi, edx
je 0x410f9d
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 0x410f93
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x410f93
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x410d97
push ecx
push esi
mov ecx, ebx
call fcn.004038e0
mov edx, dword [ebp - 0x1c]
test esi, esi
je 0x410dcf
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x410db1
mov eax, dword [ebx]
jmp 0x410db3
test esi, esi
jne 0x410d8a
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x410daa
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x410dcf
mov eax, ebx
mov byte [eax], 0
jmp 0x410dcf
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 0x410dc9
mov eax, dword [ebx]
jmp 0x410dcb
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 0x410f93
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x410f93
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x410e2b
push ecx
push esi
mov ecx, ebx
call fcn.004038e0
mov dl, byte [ebp - 0xe]
test esi, esi
je 0x410e5d
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x410e45
mov eax, dword [ebx]
jmp 0x410e47
test esi, esi
jne 0x410e1e
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x410e3e
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x410e5d
mov eax, ebx
mov byte [eax], 0
jmp 0x410e5d
mov eax, ebx
mov byte [eax + ecx], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x410e57
mov eax, dword [ebx]
jmp 0x410e59
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 0x410f93
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x410f93
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x410ebe
push ecx
push esi
mov ecx, ebx
call fcn.004038e0
mov edx, dword [ebp - 0x20]
test esi, esi
je 0x410ef6
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x410ed8
mov eax, dword [ebx]
jmp 0x410eda
test esi, esi
jne 0x410eb1
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x410ed1
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x410ef6
mov eax, ebx
mov byte [eax], 0
jmp 0x410ef6
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 0x410ef0
mov eax, dword [ebx]
jmp 0x410ef2
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 0x410f93
lea esi, [ecx + 1]
cmp esi, 0xfffffffe
ja 0x410f93
mov eax, dword [ebx + 0x14]
cmp eax, esi
jae 0x410f3f
push ecx
push esi
mov ecx, ebx
call fcn.004038e0
mov dl, byte [ebp - 0xf]
test esi, esi
je 0x410f71
cmp dword [ebx + 0x14], 0x10
mov ecx, dword [ebx + 0x10]
jb 0x410f59
mov eax, dword [ebx]
jmp 0x410f5b
test esi, esi
jne 0x410f32
mov dword [ebx + 0x10], esi
cmp eax, 0x10
jb 0x410f52
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x410f71
mov eax, ebx
mov byte [eax], 0
jmp 0x410f71
mov eax, ebx
mov byte [ecx + eax], dl
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], esi
jb 0x410f6b
mov eax, dword [ebx]
jmp 0x410f6d
mov eax, ebx
mov byte [esi + eax], 0
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x24]
cmp edi, edx
jl 0x410d20
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.004233ee
movzx esi, al
mov eax, esi
shr eax, 2
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.00407850
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.00407850
and edi, 0xf
movzx eax, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x411018
movzx esi, al
mov eax, esi
shr eax, 2
mov ecx, ebx
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.00407850
and esi, 3
shl esi, 4
mov ecx, ebx
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
push 1
call fcn.00407850
push 0x3d
push 1
mov ecx, ebx
call fcn.00407850
push 0x3d
push 1
mov ecx, ebx
call fcn.00407850
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