Function at 0xbfaa30
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x9e14da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], 1
test eax, eax
jne 0xbfaab3
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x30]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
mov byte [ebp + esi - 0x14], al
inc esi
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x30], edx
mov dl, byte [ebp - 0x13]
mov byte [ebp - 0x10], ch
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xf], cl
cmp esi, 3
jne 0xbfac4f
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
and ch, 0x3f
mov cl, dl
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ch
shl cl, 2
add cl, al
xor eax, eax
mov byte [ebp - 0x16], cl
mov dword [ebp - 0x28], eax
cmp dword [0xa19224], 0xf
mov ecx, 0xa19210
movzx eax, byte [ebp + eax - 0x18]
cmova ecx, dword [0xa19210]
mov esi, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x34], esi
mov cl, byte [eax + ecx]
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x20], edx
cmp esi, edx
jae 0xbfab5c
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0xbfab4f
mov eax, dword [edi]
mov byte [eax + esi], cl
mov byte [eax + esi + 1], 0
jmp 0xbfac34
mov eax, 0x7fffffff
sub eax, esi
cmp eax, 1
jb 0xbfaf37
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0xbfab81
mov ecx, 0x7fffffff
jmp 0xbfaba5
mov eax, edx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x1c]
cmp edx, eax
jbe 0xbfab9b
mov ecx, 0x7fffffff
jmp 0xbfaba5
mov eax, dword [ebp - 0x1c]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
push eax
push edi
call fcn.00ba4ed0
lea ecx, [esi + 1]
mov dword [ebp - 0x24], eax
mov dword [edi + 0x10], ecx
add esp, 8
cmp dword [ebp - 0x20], 0xf
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0x14], ecx
lea ecx, [eax + esi]
mov dword [ebp - 0x1c], ecx
jbe 0xbfac18
push dword [ebp - 0x34]
mov esi, dword [edi]
push esi
push eax
call fcn.00bd6e70
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x20]
inc eax
cmp eax, 0x1000
jb 0xbfac0c
mov ecx, dword [esi - 4]
add eax, 0x23
sub esi, ecx
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0xbfaf3c
mov esi, ecx
push eax
push esi
call fcn.00bd54f3
add esp, 8
jmp 0xbfac2f
push esi
push edi
push eax
call fcn.00bd6e70
mov eax, dword [ebp - 0x1c]
add esp, 0xc
mov cl, byte [ebp - 0xd]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 4
jl 0xbfab12
mov dl, byte [ebp - 0xe]
xor esi, esi
mov cl, byte [ebp - 0xf]
mov ch, byte [ebp - 0x10]
mov eax, dword [ebp + 8]
test eax, eax
jne 0xbfaab0
test esi, esi
je 0xbfaa9c
cmp esi, 3
jge 0xbfac88
mov eax, 3
sub eax, esi
push eax
lea eax, [ebp - 0x14]
add eax, esi
push 0
push eax
call fcn.00bd75b0
mov ch, byte [ebp - 0x12]
add esp, 0xc
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], 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 - 0x17], cl
and ch, 0x3f
shr al, 6
add dl, al
mov byte [ebp - 0x15], ch
xor eax, eax
mov byte [ebp - 0x16], dl
lea ecx, [esi + 1]
mov dword [ebp - 0x14], eax
test ecx, ecx
jle 0xbfae15
nop word [eax + eax]
cmp dword [0xa19224], 0xf
mov ecx, 0xa19210
movzx eax, byte [ebp + eax - 0x18]
cmova ecx, dword [0xa19210]
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x24], edx
mov al, byte [eax + ecx]
mov ecx, dword [edi + 0x10]
mov byte [ebp + 0xb], al
mov dword [ebp - 0x30], ecx
cmp ecx, edx
jae 0xbfad1d
lea eax, [ecx + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0xbfad0d
mov eax, dword [edi]
add eax, ecx
mov cl, byte [ebp + 0xb]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0xbfae03
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0xbfaf37
lea eax, [ecx + 1]
mov ecx, eax
mov dword [ebp - 0x34], eax
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0xbfad47
mov ecx, 0x7fffffff
jmp 0xbfad6b
mov eax, edx
shr eax, 1
mov dword [ebp - 0x28], eax
mov eax, 0x7fffffff
sub eax, dword [ebp - 0x28]
cmp edx, eax
jbe 0xbfad61
mov ecx, 0x7fffffff
jmp 0xbfad6b
mov eax, dword [ebp - 0x28]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ecx
push eax
push edi
call fcn.00ba4ed0
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov eax, dword [ebp - 0x34]
add esp, 8
cmp dword [ebp - 0x24], 0xf
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edi + 0x10], eax
mov dword [ebp - 0x1c], edx
push ecx
lea eax, [edx + ecx]
mov dword [ebp - 0x20], eax
jbe 0xbfade8
mov eax, dword [edi]
push eax
push edx
mov dword [ebp - 0x28], eax
call fcn.00bd6e70
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov cl, byte [ebp + 0xb]
mov byte [eax], cl
mov ecx, dword [ebp - 0x24]
inc ecx
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x28]
cmp ecx, 0x1000
jb 0xbfaddc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xbfaf3c
mov eax, edx
push ecx
push eax
call fcn.00bd54f3
add esp, 8
jmp 0xbfadfe
push edi
push edx
call fcn.00bd6e70
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov cl, byte [ebp + 0xb]
mov byte [eax], cl
mov byte [eax + 1], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
lea ecx, [esi + 1]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, ecx
jl 0xbfacd0
cmp esi, 3
jge 0xbfaa9c
nop
mov edx, dword [edi + 0x14]
inc esi
mov dword [ebp - 0x30], esi
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x28], edx
cmp esi, edx
jae 0xbfae4b
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp edx, 0xf
jbe 0xbfae40
mov eax, dword [edi]
mov word [eax + esi], 0x3d
jmp 0xbfaf19
mov eax, 0x7fffffff
sub eax, esi
cmp eax, 1
jb 0xbfaf37
lea ecx, [esi + 1]
or ecx, 0xf
cmp ecx, 0x7fffffff
jbe 0xbfae70
mov ecx, 0x7fffffff
jmp 0xbfae94
mov eax, edx
shr eax, 1
mov dword [ebp + 8], eax
mov eax, 0x7fffffff
sub eax, dword [ebp + 8]
cmp edx, eax
jbe 0xbfae8a
mov ecx, 0x7fffffff
jmp 0xbfae94
mov eax, dword [ebp + 8]
add eax, edx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp + 8]
mov dword [ebp + 8], ecx
push eax
push edi
call fcn.00ba4ed0
mov ecx, dword [ebp + 8]
mov edx, eax
add esp, 8
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x28], 0xf
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
lea eax, [edx + esi]
mov dword [edi + 0x14], ecx
mov dword [ebp + 8], eax
push esi
jbe 0xbfaf02
mov eax, dword [edi]
mov esi, eax
push esi
push edx
call fcn.00bd6e70
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [ebp - 0x28]
inc ecx
mov word [eax], 0x3d
cmp ecx, 0x1000
jb 0xbfaef6
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0xbfaf3c
mov esi, edx
push ecx
push esi
call fcn.00bd54f3
add esp, 8
jmp 0xbfaf14
push edi
push edx
call fcn.00bd6e70
mov eax, dword [ebp + 8]
add esp, 0xc
mov word [eax], 0x3d
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
mov esi, dword [ebp - 0x30]
cmp esi, 3
jl 0xbfae20
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.00ba4860
call fcn.00bda870
int3