Function at 0x48bc50
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x10]
xor edx, edx
push esi
xor esi, esi
test ebx, ebx
setl dl
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
add ecx, dword [edi + 4]
mov eax, dword [edi + 8]
add ecx, eax
dec edx
and edx, ebx
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], ecx
test ebx, ebx
jl 0x48bc9a
cmp ecx, 1
jne 0x48bc9a
cmp eax, ecx
jne 0x48bc9a
cmp byte [edi + 0x14], 0
jne 0x48bc9a
mov dword [ebp + 0x10], 0xfffffffe
mov eax, dword [edi]
mov ebx, dword [ebp + 0xc]
test eax, eax
je 0x48bd36
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48bcb0
sub eax, edi
sar eax, 1
mov dword [ebp - 4], eax
test eax, eax
je 0x48be86
test ebx, ebx
je 0x48bd3e
test edx, edx
je 0x48bcee
mov eax, 9
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
mov ecx, edx
shr ecx, 1
mov edi, ebx
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp + 8]
mov eax, 0x3c
mov word [ebx + edx*2], ax
cmp byte [ecx + 0x14], 0
lea esi, [edx + 1]
je 0x48bd0d
mov edx, 0x3f
mov word [ebx + esi*2], dx
inc esi
mov eax, ecx
mov ecx, dword [eax]
lea edi, [ebx + esi*2]
movzx eax, word [ecx]
mov word [edi], ax
add ecx, 2
add edi, 2
test ax, ax
jne 0x48bd14
add esi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, 0x20
mov word [ebx + esi*2], cx
jmp 0x48bd4e
mov dword [ebp - 4], esi
jmp 0x48be86
mov eax, dword [ebp - 4]
lea esi, [eax + edx + 2]
mov eax, dword [ebp + 8]
cmp byte [eax + 0x14], 0
je 0x48bd4f
inc esi
cmp dword [eax + 0x10], 0
mov ecx, dword [eax + 0x28]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jle 0x48be24
mov edx, dword [ebp - 8]
mov edi, dword [edx]
test edi, edi
je 0x48be0d
mov eax, edi
lea edx, [eax + 2]
jmp 0x48bd80
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48bd80
sub eax, edx
sar eax, 1
test eax, eax
je 0x48be0d
test ebx, ebx
je 0x48bdb1
mov edx, edi
lea edi, [ebx + esi*2]
lea esp, [esp]
movzx ecx, word [edx]
mov word [edi], cx
add edx, 2
add edi, 2
test cx, cx
jne 0x48bda0
add esi, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x48bdff
call fcn.0048a350
mov edi, eax
test ebx, ebx
je 0x48bdfb
mov ecx, 0x3d
mov edx, 0x22
mov word [ebx + esi*2], cx
mov word [ebx + esi*2 + 2], dx
test edi, edi
je 0x48bdee
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
lea ecx, [ebx + esi*2 + 4]
call fcn.0048a2d0
lea ecx, [edi + esi]
mov edx, 0x22
mov word [ebx + ecx*2 + 4], dx
lea esi, [esi + edi + 3]
test ebx, ebx
je 0x48be0c
mov eax, 0x20
mov word [ebx + esi*2], ax
inc esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add dword [ebp - 8], 8
inc eax
cmp eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
jl 0x48bd66
mov edx, dword [ebp + 8]
cmp byte [edx + 0x14], 0
je 0x48be5b
test ebx, ebx
je 0x48be44
mov eax, 0x3f
mov ecx, 0x3e
mov word [ebx + esi*2 - 2], ax
mov word [ebx + esi*2], cx
inc esi
cmp dword [ebp + 0x10], 0xffffffff
je 0x48bea1
test ebx, ebx
je 0x48be58
mov edx, 0xa
mov word [ebx + esi*2], dx
inc esi
jmp 0x48be86
cmp dword [ebp - 0x10], 0
je 0x48be85
test ebx, ebx
je 0x48be6f
mov eax, 0x3e
mov word [ebx + esi*2 - 2], ax
cmp dword [ebp + 0x10], 0
jl 0x48be86
test ebx, ebx
je 0x48be82
mov ecx, 0xa
mov word [ebx + esi*2], cx
inc esi
jmp 0x48be86
dec esi
mov eax, dword [ebp + 0x10]
cmp eax, 0xffffffff
je 0x48bea1
cmp dword [ebp - 4], 0
je 0x48be9e
mov edx, dword [ebp + 8]
cmp byte [edx + 0x14], 0
jne 0x48be9e
inc eax
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
jle 0x48c12e
nop
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, eax
and ecx, 3
sub ecx, 0
je 0x48c0f4
sub ecx, 2
je 0x48c030
sub ecx, 1
jne 0x48c11b
mov ecx, dword [edx + 0x24]
sar eax, 2
lea eax, [eax + eax*2]
lea eax, [ecx + eax*4]
mov ecx, dword [eax + 4]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x48bf94
mov eax, ecx
lea edi, [eax + 2]
jmp 0x48bf00
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x48bf00
sub eax, edi
sar eax, 1
mov dword [ebp - 0x18], eax
test eax, eax
je 0x48bf94
cmp dword [ebp + 0x10], 0xffffffff
je 0x48bf72
test ebx, ebx
je 0x48bf64
mov ecx, dword [ebp + 0x10]
add ecx, 1
lea edi, [ebx + esi*2]
je 0x48bf43
mov eax, 9
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
lea eax, [esi + edx]
lea edx, [ebx + eax*2 + 2]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x48bf53
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x10]
add ecx, edx
lea esi, [esi + ecx + 1]
jmp 0x48bf94
test ebx, ebx
je 0x48bf91
lea edx, [ebx + esi*2]
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x48bf80
add esi, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
test edx, edx
je 0x48bfd3
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48bfa2
sub eax, edi
sar eax, 1
test eax, eax
je 0x48bfd3
test ebx, ebx
je 0x48bfd1
lea edi, [ebx + esi*2]
lea esp, [esp]
movzx ecx, word [edx]
mov word [edi], cx
add edx, 2
add edi, 2
test cx, cx
jne 0x48bfc0
add esi, eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
test edx, edx
je 0x48c013
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48bfe2
sub eax, edi
sar eax, 1
test eax, eax
je 0x48c013
test ebx, ebx
je 0x48c011
lea edi, [ebx + esi*2]
lea esp, [esp]
movzx ecx, word [edx]
mov word [edi], cx
add edx, 2
add edi, 2
test cx, cx
jne 0x48c000
add esi, eax
cmp dword [ebp + 0x10], 0xffffffff
je 0x48c11b
test ebx, ebx
je 0x48c02a
mov edx, 0xa
mov word [ebx + esi*2], dx
inc esi
jmp 0x48c11b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
sar eax, 2
mov edi, dword [edx + eax*4]
movzx ecx, word [edi]
xor ebx, ebx
mov dword [ebp - 0x18], edi
mov edx, edi
test cx, cx
je 0x48c11b
nop
mov eax, 0x50c510
cmp cx, word [eax + 8]
je 0x48c0d8
add eax, 0xc
cmp dword [eax], 0
jne 0x48c055
inc ebx
movzx ecx, word [edx + 2]
add edx, 2
test cx, cx
jne 0x48c050
test ebx, ebx
je 0x48c11b
mov eax, dword [ebp + 0x10]
test eax, eax
jl 0x48c0dd
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x48c0d0
lea ecx, [eax + 1]
lea edi, [edx + esi*2]
test ecx, ecx
je 0x48c0a8
mov eax, 9
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [esi + eax]
mov eax, dword [ebp - 0x18]
lea ecx, [edi + ecx*2 + 2]
call fcn.0048a2d0
lea edx, [ebx + esi]
add edx, dword [ebp + 0x10]
mov eax, 0xa
mov word [edi + edx*2 + 2], ax
mov eax, dword [ebp + 0x10]
add ebx, eax
lea esi, [esi + ebx + 2]
jmp 0x48c11b
add ebx, dword [eax + 4]
jmp 0x48c064
cmp dword [ebp + 0xc], 0
je 0x48c0f0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + esi*2]
mov eax, edi
call fcn.0048a2d0
add esi, ebx
jmp 0x48c11b
test ebx, ebx
je 0x48c0fd
lea ecx, [ebx + esi*2]
jmp 0x48c0ff
xor ecx, ecx
mov edx, dword [ebp - 0x14]
push edx
push ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
sar eax, 2
mov eax, dword [edx + eax*4]
push eax
call fcn.0048bc50
add esp, 0xc
add esi, eax
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
inc eax
cmp eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
jl 0x48beb0
mov eax, dword [ebp - 4]
test eax, eax
je 0x48c23c
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x14], 0
jne 0x48c23c
cmp dword [ebp - 0x10], 0
je 0x48c207
mov ecx, dword [ebp + 0x10]
test ebx, ebx
je 0x48c1e2
test ecx, ecx
jl 0x48c181
lea edi, [ebx + esi*2]
je 0x48c17f
mov eax, 9
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov ecx, dword [ebp + 0x10]
add esi, ecx
mov eax, 0x3c
mov edx, 0x2f
mov word [ebx + esi*2], ax
mov eax, dword [ebp + 8]
mov word [ebx + esi*2 + 2], dx
mov edx, dword [eax]
add esi, 2
lea edi, [ebx + esi*2]
nop
movzx eax, word [edx]
mov word [edi], ax
add edx, 2
add edi, 2
test ax, ax
jne 0x48c1a0
add esi, dword [ebp - 4]
mov edx, 0x3e
mov word [ebx + esi*2], dx
cmp ecx, 0xffffffff
jne 0x48c1cc
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xa
mov word [ebx + esi*2 + 2], ax
add esi, 2
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
jl 0x48c1f5
add eax, ecx
lea esi, [esi + eax + 4]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ecx, 0xffffffff
jne 0x48c1e8
lea esi, [esi + eax + 3]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x48c22e
cmp dword [ebp + 0x10], 0xffffffff
mov ecx, 0x2f
mov edx, 0x3e
mov word [ebx + esi*2], cx
mov word [ebx + esi*2 + 2], dx
je 0x48c22e
mov eax, 0xa
mov word [ebx + esi*2 + 4], ax
xor ecx, ecx
cmp dword [ebp + 0x10], 0xffffffff
setne cl
add ecx, 2
add esi, ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret