Function at 0x1000ad70
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007fbe9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100afcf0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov eax, 0xaaaaaaab
add ecx, 2
mov dword [ebp - 0x18], 0
mul ecx
mov al, byte [ebp + 0x14]
mov esi, 0x2e
shr edx, 1
mov ecx, 0x3d
shl edx, 2
test al, al
movzx eax, al
cmovne ecx, esi
mov esi, dword [ebp + 8]
mov byte [ebp - 0x14], cl
mov ebx, dword [eax*4 + 0x100ae014]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov dword [ebp + 0x14], ebx
mov byte [esi], 0
mov edi, dword [esi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 1
cmp edi, edx
ja 0x1000ae22
cmp dword [esi + 0x14], edx
je 0x1000ae22
push 1
push edx
mov ecx, esi
call fcn.10008330
test al, al
je 0x1000ae22
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], edi
jb 0x1000ae1c
mov eax, dword [esi]
jmp 0x1000ae1e
mov eax, esi
mov byte [eax + edi], 0
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0x10], edi
jbe 0x1000b0cf
mov ecx, dword [ebp + 0xc]
mov eax, 2
sub eax, ecx
mov dword [ebp - 0x20], eax
lea ecx, [ecx]
movzx eax, byte [edi + ecx]
add edi, ecx
mov edx, dword [esi + 0x14]
shr eax, 2
mov al, byte [eax + ebx]
mov byte [ebp - 0x1c], al
cmp edx, 0x10
jb 0x1000ae5b
mov ecx, dword [esi]
jmp 0x1000ae5d
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000ae6b
mov ecx, dword [esi]
jmp 0x1000ae6d
mov ecx, esi
test eax, eax
je 0x1000ae73
sub eax, ecx
push dword [ebp - 0x1c]
mov ecx, esi
push 1
push eax
call fcn.1000b130
mov ebx, dword [ebp - 0x20]
add ebx, edi
lea eax, [ebx - 1]
cmp eax, dword [ebp + 0x10]
jae 0x1000b017
movzx ecx, byte [edi]
mov edx, dword [ebp + 0xc]
and ecx, 3
mov edi, dword [ebp - 0x10]
shl ecx, 4
add ecx, dword [ebp + 0x14]
movzx eax, byte [edi + edx + 1]
mov edx, dword [esi + 0x14]
shr eax, 4
mov al, byte [eax + ecx]
mov byte [ebp - 0x24], al
cmp edx, 0x10
jb 0x1000aebd
mov ecx, dword [esi]
jmp 0x1000aebf
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000aecd
mov ecx, dword [esi]
jmp 0x1000aecf
mov ecx, esi
test eax, eax
je 0x1000aed5
sub eax, ecx
push dword [ebp - 0x24]
mov ecx, esi
push 1
push eax
call fcn.1000b130
cmp ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x14]
mov ebx, dword [ebp + 0x14]
jae 0x1000af93
movzx ecx, byte [edi + eax + 1]
movzx eax, byte [edi + eax + 2]
and ecx, 0xf
shr eax, 6
add eax, ebx
mov al, byte [eax + ecx*4]
mov byte [ebp - 0x28], al
cmp edx, 0x10
jb 0x1000af15
mov ecx, dword [esi]
jmp 0x1000af17
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000af25
mov ecx, dword [esi]
jmp 0x1000af27
mov ecx, esi
test eax, eax
je 0x1000af2d
sub eax, ecx
push dword [ebp - 0x28]
mov ecx, esi
push 1
push eax
call fcn.1000b130
mov edx, dword [ebp + 0xc]
movzx eax, byte [edi + edx + 2]
mov edx, dword [esi + 0x14]
and eax, 0x3f
mov al, byte [eax + ebx]
mov byte [ebp - 0x2c], al
cmp edx, 0x10
jb 0x1000af57
mov ecx, dword [esi]
jmp 0x1000af59
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000af67
mov ecx, dword [esi]
jmp 0x1000af69
mov ecx, esi
test eax, eax
jne 0x1000af7f
push dword [ebp - 0x2c]
mov ecx, esi
push 1
push eax
call fcn.1000b130
jmp 0x1000b0bd
push dword [ebp - 0x2c]
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.1000b130
jmp 0x1000b0bd
movzx eax, byte [edi + eax + 1]
and eax, 0xf
mov al, byte [ebx + eax*4]
mov byte [ebp - 0x30], al
cmp edx, 0x10
jb 0x1000afaa
mov ecx, dword [esi]
jmp 0x1000afac
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000afba
mov ecx, dword [esi]
jmp 0x1000afbc
mov ecx, esi
test eax, eax
je 0x1000afc2
sub eax, ecx
push dword [ebp - 0x30]
mov ecx, esi
push 1
push eax
call fcn.1000b130
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x1000afdb
mov ecx, dword [esi]
jmp 0x1000afdd
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000afeb
mov ecx, dword [esi]
jmp 0x1000afed
mov ecx, esi
test eax, eax
jne 0x1000b003
push dword [ebp - 0x14]
mov ecx, esi
push 1
push eax
call fcn.1000b130
jmp 0x1000b0bd
push dword [ebp - 0x14]
sub eax, ecx
mov ecx, esi
push 1
push eax
call fcn.1000b130
jmp 0x1000b0bd
movzx eax, byte [edi]
mov ebx, dword [ebp + 0x14]
and eax, 3
mov edx, dword [esi + 0x14]
add eax, eax
mov al, byte [ebx + eax*8]
mov byte [ebp - 0x34], al
cmp edx, 0x10
jb 0x1000b034
mov ecx, dword [esi]
jmp 0x1000b036
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000b044
mov ecx, dword [esi]
jmp 0x1000b046
mov ecx, esi
test eax, eax
je 0x1000b04c
sub eax, ecx
push dword [ebp - 0x34]
mov ecx, esi
push 1
push eax
call fcn.1000b130
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x1000b065
mov ecx, dword [esi]
jmp 0x1000b067
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000b075
mov ecx, dword [esi]
jmp 0x1000b077
mov ecx, esi
test eax, eax
je 0x1000b07d
sub eax, ecx
mov edi, dword [ebp - 0x14]
mov ecx, esi
push edi
push 1
push eax
call fcn.1000b130
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x1000b097
mov ecx, dword [esi]
jmp 0x1000b099
mov ecx, esi
mov eax, dword [esi + 0x10]
add eax, ecx
cmp edx, 0x10
jb 0x1000b0a7
mov ecx, dword [esi]
jmp 0x1000b0a9
mov ecx, esi
test eax, eax
je 0x1000b0af
sub eax, ecx
push edi
push 1
push eax
mov ecx, esi
call fcn.1000b130
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add edi, 3
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp + 0x10]
jb 0x1000ae40
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret