Function at 0x47faa0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68cd39
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x729140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 0
call fcn.0041ec80
mov dword [ebp - 4], 0
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], 1
test eax, eax
je 0x47fd7a
dec eax
mov dword [ebp + 8], eax
mov al, byte [ebx]
inc ebx
mov byte [ebp + edi - 0x1c], al
inc edi
mov ch, byte [ebp - 0x1a]
mov dl, byte [ebp - 0x1b]
mov cl, byte [ebp - 0x1c]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x10], ch
mov byte [ebp - 0x22], dl
mov byte [ebp - 0x15], cl
cmp edi, 3
jne 0x47fbf6
mov al, cl
xor ebx, ebx
shr al, 2
and cl, 3
mov byte [ebp - 0x20], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x1f], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x1e], cl
and al, 0x3f
mov ecx, 0x7344d4
mov byte [ebp - 0x1d], al
call fcn.004028e0
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x28], edi
call fcn.004028e0
mov esi, eax
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x47fb82
mov ecx, dword [edi]
movzx eax, byte [ebp + ebx - 0x20]
mov edx, dword [esi + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [esi + 0x10]
mov byte [ebp - 0x14], al
cmp ecx, edx
jae 0x47fbcc
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x47fba6
mov eax, dword [esi]
lea edi, [eax + ecx]
lea eax, [ebp - 0x14]
push eax
push edi
call fcn.004075c0
lea eax, [ebp - 0x21]
mov byte [ebp - 0x21], 0
push eax
lea eax, [edi + 1]
push eax
call fcn.004075c0
mov edi, dword [ebp - 0x28]
add esp, 0x10
jmp 0x47fbdf
push dword [ebp - 0x14]
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00421020
inc ebx
cmp ebx, 4
jl 0x47fb78
mov esi, dword [ebp - 0x2c]
xor edi, edi
mov ebx, dword [ebp - 0x38]
mov dl, byte [ebp - 0x22]
mov cl, byte [ebp - 0x15]
mov ch, byte [ebp - 0x10]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x47fb03
mov dword [ebp - 0x28], edi
test edi, edi
je 0x47fd7a
mov eax, edi
cmp edi, 3
jge 0x47fc30
cmp eax, 3
jae 0x47fd8f
mov byte [ebp + eax - 0x1c], 0
inc eax
cmp eax, 3
jl 0x47fc16
mov ch, byte [ebp - 0x1a]
mov dl, byte [ebp - 0x1b]
mov cl, byte [ebp - 0x1c]
mov al, cl
xor esi, esi
shr al, 2
and cl, 3
mov byte [ebp - 0x20], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x1f], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x1d], ch
lea eax, [edi + 1]
mov byte [ebp - 0x1e], dl
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], esi
test eax, eax
jle 0x47fd05
mov ecx, 0x7344d4
call fcn.004028e0
mov edi, dword [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0x38], eax
call fcn.004028e0
mov ebx, eax
nop word [eax + eax]
mov eax, dword [ebp - 0x38]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x47fc9d
mov ecx, dword [eax]
movzx eax, byte [ebp + esi - 0x20]
mov edx, dword [ebx + 0x14]
mov al, byte [eax + ecx]
mov ecx, dword [ebx + 0x10]
mov byte [ebp - 0x14], al
cmp ecx, edx
jae 0x47fce7
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x47fcc1
mov eax, dword [ebx]
lea esi, [eax + ecx]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.004075c0
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.004075c0
mov esi, dword [ebp - 0x1c]
add esp, 0x10
jmp 0x47fcf9
push dword [ebp - 0x14]
mov byte [ebp - 0x34], 0
push dword [ebp - 0x34]
push ecx
mov ecx, edi
call fcn.00421020
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x30]
jl 0x47fc90
mov edi, dword [ebp - 0x28]
cmp edi, 3
jge 0x47fd7a
mov esi, dword [ebp - 0x2c]
mov ecx, esi
mov byte [ebp - 0x10], 0x3d
call fcn.004028e0
mov ebx, eax
mov eax, 3
sub eax, edi
mov dword [ebp - 0x28], eax
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
cmp ecx, edx
jae 0x47fd63
lea eax, [ecx + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp edx, 0x10
jb 0x47fd3d
mov eax, dword [ebx]
lea esi, [eax + ecx]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004075c0
lea eax, [ebp - 0x15]
mov byte [ebp - 0x15], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.004075c0
mov esi, dword [ebp - 0x2c]
add esp, 0x10
jmp 0x47fd74
push 0x3d
mov byte [ebp - 0x30], 0
push dword [ebp - 0x30]
push ecx
mov ecx, esi
call fcn.00421020
sub dword [ebp - 0x28], 1
jne 0x47fd24
mov eax, dword [ebp - 0x2c]
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.0063570d
int3