Function at 0x4ecb00
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652909
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6ece84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
mov dword [ebp - 4], 0
xor ecx, ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
test esi, esi
jle 0x4ed155
mov edi, dword [ebp + 0xc]
mov al, byte [ecx + edi]
inc ecx
cmp ecx, esi
je 0x4ed117
mov dl, byte [ecx + edi]
inc ecx
mov byte [ebp - 0xe], dl
cmp ecx, esi
je 0x4ed0d2
mov dl, byte [ecx + edi]
inc ecx
mov esi, dword [ebx + 0x14]
movzx edi, al
mov eax, edi
mov byte [ebp - 0xf], dl
shr eax, 2
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x1c], edi
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
cmp ecx, esi
jae 0x4ecbcd
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0x4ecbc0
mov eax, dword [ebx]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4eccd2
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4ed16e
lea edi, [ecx + 1]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4ecbf2
mov edi, SysReAllocString
jmp 0x4ecc10
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x4ecc08
mov edi, SysReAllocString
jmp 0x4ecc10
lea eax, [edx + esi]
cmp edi, eax
cmovb edi, eax
lea edx, [edi + 1]
cmp edx, 0x1000
jb 0x4ecc47
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.005e9c63
add esp, 4
test eax, eax
je 0x4ed169
mov ecx, dword [ebp - 0x14]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4ecc5d
test edx, edx
je 0x4ecc5b
push edx
call fcn.005e9c63
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
jmp 0x4ecc5d
xor esi, esi
cmp dword [ebp - 0x18], 0x10
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
push ecx
jb 0x4eccb5
mov edi, dword [ebx]
push edi
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x18]
inc ecx
mov byte [esi + eax + 1], 0
cmp ecx, 0x1000
jb 0x4ecca9
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4ed169
mov edi, edx
push ecx
push edi
call fcn.005e9c93
add esp, 8
jmp 0x4ecccd
push ebx
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov edi, dword [ebp - 0x1c]
mov dword [ebx], esi
movzx edx, byte [ebp - 0xe]
and edi, 3
mov ecx, dword [ebx + 0x10]
mov eax, edx
mov esi, dword [ebx + 0x14]
shr eax, 4
shl edi, 4
or eax, edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], esi
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xd], al
cmp ecx, esi
jae 0x4ecd21
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0x4ecd0e
mov eax, dword [ebx]
mov bl, byte [ebp - 0xd]
mov byte [eax + ecx], bl
mov ebx, dword [ebp + 8]
mov byte [eax + ecx + 1], 0
jmp 0x4ece26
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4ed16e
lea edi, [ecx + 1]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4ecd46
mov edi, SysReAllocString
jmp 0x4ecd64
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x4ecd5c
mov edi, SysReAllocString
jmp 0x4ecd64
lea eax, [edx + esi]
cmp edi, eax
cmovb edi, eax
lea edx, [edi + 1]
cmp edx, 0x1000
jb 0x4ecd9b
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.005e9c63
add esp, 4
test eax, eax
je 0x4ed169
mov ecx, dword [ebp - 0x14]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4ecdb1
test edx, edx
je 0x4ecdaf
push edx
call fcn.005e9c63
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
jmp 0x4ecdb1
xor esi, esi
cmp dword [ebp - 0x1c], 0x10
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
push ecx
jb 0x4ece09
mov edi, dword [ebx]
push edi
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x1c]
inc ecx
mov byte [esi + eax + 1], 0
cmp ecx, 0x1000
jb 0x4ecdfd
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4ed169
mov edi, edx
push ecx
push edi
call fcn.005e9c93
add esp, 8
jmp 0x4ece21
push ebx
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov edx, dword [ebp - 0x18]
mov dword [ebx], esi
movzx edi, byte [ebp - 0xf]
and edx, 0xf
mov ecx, dword [ebx + 0x10]
mov eax, edi
mov esi, dword [ebx + 0x14]
shl edx, 2
shr eax, 6
or edx, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], esi
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xd], dl
cmp ecx, esi
jae 0x4ece6f
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0x4ece62
mov eax, dword [ebx]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4ecf74
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4ed16e
lea edi, [ecx + 1]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4ece94
mov edi, SysReAllocString
jmp 0x4eceb2
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x4eceaa
mov edi, SysReAllocString
jmp 0x4eceb2
lea eax, [edx + esi]
cmp edi, eax
cmovb edi, eax
lea edx, [edi + 1]
cmp edx, 0x1000
jb 0x4ecee9
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.005e9c63
add esp, 4
test eax, eax
je 0x4ed169
mov ecx, dword [ebp - 0x14]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4eceff
test edx, edx
je 0x4ecefd
push edx
call fcn.005e9c63
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
jmp 0x4eceff
xor esi, esi
cmp dword [ebp - 0x1c], 0x10
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
push ecx
jb 0x4ecf57
mov edi, dword [ebx]
push edi
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov ecx, dword [ebp - 0x1c]
inc ecx
mov byte [esi + eax + 1], 0
cmp ecx, 0x1000
jb 0x4ecf4b
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4ed169
mov edi, edx
push ecx
push edi
call fcn.005e9c93
add esp, 8
jmp 0x4ecf6f
push ebx
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov edi, dword [ebp - 0x18]
mov dword [ebx], esi
mov ecx, dword [ebx + 0x10]
and edi, 0x3f
mov esi, dword [ebx + 0x14]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], esi
mov dl, byte [edi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebp - 0xd], dl
cmp ecx, esi
jae 0x4ecfac
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp esi, 0x10
jb 0x4ecf9f
mov eax, dword [ebx]
mov byte [eax + ecx], dl
mov byte [eax + ecx + 1], 0
jmp 0x4ed0b0
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 1
jb 0x4ed16e
lea edi, [ecx + 1]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x4ecfd1
mov edi, SysReAllocString
jmp 0x4ecfef
mov edx, esi
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp esi, eax
jbe 0x4ecfe7
mov edi, SysReAllocString
jmp 0x4ecfef
lea eax, [esi + edx]
cmp edi, eax
cmovb edi, eax
lea edx, [edi + 1]
cmp edx, 0x1000
jb 0x4ed026
lea eax, [edx + 0x23]
mov ecx, 0xffffffff
cmp eax, edx
cmovbe eax, ecx
push eax
call fcn.005e9c63
add esp, 4
test eax, eax
je 0x4ed169
mov ecx, dword [ebp - 0x14]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4ed03c
test edx, edx
je 0x4ed03a
push edx
call fcn.005e9c63
mov ecx, dword [ebp - 0x14]
add esp, 4
mov esi, eax
jmp 0x4ed03c
xor esi, esi
cmp dword [ebp - 0x1c], 0x10
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
push ecx
jb 0x4ed096
mov edi, dword [ebx]
push edi
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov eax, dword [ebp - 0x1c]
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x4ed08a
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x4ed169
mov edi, edx
push ecx
push edi
call fcn.005e9c93
add esp, 8
jmp 0x4ed0ae
push ebx
push esi
call fcn.006072a0
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [esi + eax], cl
mov byte [esi + eax + 1], 0
mov dword [ebx], esi
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp + 0x10]
cmp ecx, esi
jl 0x4ecb65
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
movzx edi, al
mov ecx, ebx
mov eax, edi
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
call fcn.004ec600
movzx esi, byte [ebp - 0xe]
and edi, 3
mov eax, esi
shl edi, 4
shr eax, 4
mov ecx, ebx
or eax, edi
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
call fcn.004ec600
and esi, 0xf
movzx eax, byte [esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
jmp 0x4ed145
movzx esi, al
mov ecx, ebx
mov eax, esi
shr eax, 2
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
call fcn.004ec600
and esi, 3
mov ecx, ebx
shl esi, 4
movzx eax, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
push eax
call fcn.004ec600
push 0x3d
mov ecx, ebx
call fcn.004ec600
push 0x3d
mov ecx, ebx
call fcn.004ec600
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
call fcn.0060ad39
call fcn.0040c880
int3