Function at 0x40ff40
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
lea eax, [ebp - 8]
sub esp, 0xe0
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0x64], 0x607c20
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x60], 0x60e780
mov dword [ebp - 0x58], 0x410421
mov dword [ebp - 0x54], esp
mov dword [esp], eax
call fcn.004cf190
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
mov dword [ebp - 0xbc], ecx
je 0x410170
movzx ebx, byte [eax]
lea edx, [eax + 1]
cmp ecx, edx
mov byte [ebp - 0x98], bl
je 0x4102bc
movzx ebx, byte [eax + 1]
lea edx, [eax + 2]
cmp dword [ebp - 0xbc], edx
mov byte [ebp - 0xa8], bl
je 0x410347
add eax, 3
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xbc]
lea esi, [eax + 1]
sub eax, 1
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x80], eax
jmp 0x410065
add dword [ebp - 0x88], 1
mov ebx, dword [ebp - 0x84]
cmp dword [ebp - 0xbc], ebx
je 0x410170
movzx eax, byte [ebx]
cmp dword [ebp - 0xc0], ebx
mov byte [ebp - 0x98], al
je 0x4102c2
mov ebx, dword [ebp - 0x84]
movzx eax, byte [ebx + 1]
mov byte [ebp - 0xa8], al
mov eax, ebx
add eax, 3
cmp dword [ebp - 0xc4], eax
mov dword [ebp - 0x84], eax
je 0x410350
mov eax, dword [ebp - 0x84]
lea ebx, [ebp - 0x39]
movzx eax, byte [eax - 1]
mov byte [ebp - 0xb8], al
movzx eax, byte [ebp - 0x98]
shr al, 2
movzx eax, al
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x39], al
mov dword [esp], ebx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x78], 1
call fcn.005db160
movzx edx, byte [ebp - 0xa8]
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x3a]
sub esp, 4
and eax, 3
shr dl, 4
shl eax, 4
movzx edx, dl
add eax, edx
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x3a], al
mov dword [esp], ecx
mov ecx, dword [ebp - 0x80]
call fcn.005db160
movzx edx, byte [ebp - 0xb8]
mov eax, dword [ebp - 0xa8]
lea ebx, [ebp - 0x3b]
sub esp, 4
and eax, 0xf
shr dl, 6
movzx edx, dl
lea eax, [edx + eax*4]
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x3b], al
mov dword [esp], ebx
mov ecx, dword [ebp - 0x80]
call fcn.005db160
mov eax, dword [ebp - 0xb8]
sub esp, 4
and eax, 0x3f
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x3c], al
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
sub esp, 4
cmp dword [ebp - 0x88], 0x11
jne 0x410010
lea eax, [ebp - 0x3d]
mov byte [ebp - 0x3d], 0xa
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
sub esp, 4
mov ebx, dword [ebp - 0x84]
cmp dword [ebp - 0xbc], ebx
mov dword [ebp - 0x88], 0
jne 0x410029
mov eax, dword [ebp - 0xc8]
lea ebx, [eax + 8]
mov ecx, eax
mov dword [eax], ebx
mov dword [ebp - 0xcc], ebx
mov dword [esp + 4], 0x635b53
mov dword [esp], str._value__base64_
mov dword [ebp - 0x78], 1
mov dword [ebp - 0xc8], eax
call fcn.0040c1e0
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0x2c]
sub esp, 8
mov ebx, dword [ebp - 0x28]
mov eax, dword [ecx + 4]
add eax, dword [ecx]
mov esi, edx
mov dword [ebp - 0x80], edx
mov edx, ebx
mov dword [ebp - 0x84], ebx
sub edx, esi
cmp edx, 0xf
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
ja 0x4103f3
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x84]
cmp esi, ebx
je 0x410204
mov edx, esi
movzx ecx, byte [edx]
add edx, 1
add eax, 1
mov byte [eax - 1], cl
cmp edx, ebx
jne 0x4101f1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
mov byte [eax + edx], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov esi, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x98]
sub eax, dword [esi]
mov ecx, esi
mov dword [esp], eax
mov dword [ebp - 0x78], 3
call fcn.005dcdd0
mov eax, dword [ebp - 0x20]
lea esi, [ebp - 0x18]
sub esp, 0x10
cmp eax, esi
je 0x410258
mov dword [esp], eax
call fcn.00606c40
mov esi, dword [ebp - 0xc8]
mov eax, 0x7fffffff
sub eax, dword [esi + 4]
cmp eax, 0x10
jbe 0x41043d
mov dword [esp + 4], 0x11
mov dword [esp], str.__base64___value_
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x78], 2
call fcn.005defe0
mov eax, dword [ebp - 0x2c]
sub esp, 8
test eax, eax
je 0x4102a2
mov dword [esp], eax
call fcn.00606c40
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.004cf200
mov eax, dword [ebp - 0xc8]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x80], eax
movzx eax, byte [ebp - 0x98]
shr al, 2
movzx eax, al
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x31], al
lea eax, [ebp - 0x31]
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x78], 1
call fcn.005db160
mov eax, dword [ebp - 0x98]
sub esp, 4
and eax, 3
shl eax, 4
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x32], al
lea eax, [ebp - 0x32]
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
lea eax, [ebp - 0x33]
sub esp, 4
mov byte [ebp - 0x33], 0x3d
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
lea eax, [ebp - 0x34]
sub esp, 4
mov byte [ebp - 0x34], 0x3d
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
sub esp, 4
jmp 0x410170
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x80], eax
lea esi, [esi]
movzx eax, byte [ebp - 0x98]
shr al, 2
movzx eax, al
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x35], al
lea eax, [ebp - 0x35]
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x78], 1
call fcn.005db160
movzx edx, byte [ebp - 0xa8]
mov eax, dword [ebp - 0x98]
sub esp, 4
and eax, 3
shr dl, 4
shl eax, 4
movzx edx, dl
add eax, edx
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x36], al
lea eax, [ebp - 0x36]
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
mov eax, dword [ebp - 0xa8]
sub esp, 4
and eax, 0xf
shl eax, 2
mov eax, dword [eax*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x37]
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
lea eax, [ebp - 0x38]
sub esp, 4
mov byte [ebp - 0x38], 0x3d
mov dword [esp], eax
mov ecx, dword [ebp - 0x80]
call fcn.005db160
jmp 0x41033f
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x20]
mov dword [esp + 4], 0
mov dword [esp], eax
mov dword [ebp - 0x78], 2
call fcn.005df130
mov edx, dword [ebp - 0x30]
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edx
jmp 0x4101e2
mov dword [esp], 0x6359c2
mov dword [ebp - 0x78], 2
call fcn.005fec50
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
cmp eax, edx
je 0x410462
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax]
cmp dword [ebp - 0xcc], eax
je 0x41047a
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x410489
mov dword [esp], eax
call fcn.00606c40
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
mov dword [ebp - 0x78], 0xffffffff
call fcn.004cf4a0
nop
lea esi, [esi]