Function at 0x100129c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068969
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1008b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
call fcn.10005770
mov dword [ebp - 4], 0
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], 1
test eax, eax
je 0x100130ad
nop dword [eax]
dec eax
mov dword [ebp + 8], eax
mov al, byte [edi]
inc edi
mov byte [ebp + esi - 0x20], al
inc esi
mov ch, byte [ebp - 0x1e]
mov dl, byte [ebp - 0x1f]
mov cl, byte [ebp - 0x20]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], edi
mov byte [ebp - 0x1c], ch
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], cl
cmp esi, 3
jne 0x10012c82
mov al, cl
xor esi, esi
shr al, 2
and cl, 3
mov byte [ebp - 0x28], al
mov al, dl
shl cl, 4
shr al, 4
add cl, al
mov dword [ebp - 0x3c], esi
mov byte [ebp - 0x27], cl
mov al, ch
mov cl, dl
shr al, 6
and cl, 0xf
shl cl, 2
add cl, al
mov al, ch
mov byte [ebp - 0x26], cl
and al, 0x3f
mov ecx, 0x1008d738
mov byte [ebp - 0x25], al
call fcn.100029a0
mov edi, eax
mov ecx, ebx
mov dword [ebp - 0x38], edi
call fcn.100029a0
mov ebx, eax
nop dword [eax + eax]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x10012aaa
mov ecx, dword [edi]
movzx eax, byte [ebp + esi - 0x28]
mov esi, dword [ebx + 0x10]
mov al, byte [eax + ecx]
mov ecx, dword [ebx + 0x14]
mov byte [ebp - 0xd], al
mov byte [ebp - 0x14], al
mov dword [ebp - 0x2c], ecx
cmp esi, ecx
jae 0x10012af9
lea eax, [esi + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp ecx, 0x10
jb 0x10012ad4
mov eax, dword [ebx]
add esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1000423e
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
add esp, 0x10
jmp 0x10012c5e
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.10002364
sub eax, esi
cmp eax, 1
jb 0x100130c7
mov ecx, edi
call fcn.10002364
lea ecx, [esi + 1]
mov edi, eax
or ecx, 0xf
mov dword [ebp - 0x44], ecx
cmp ecx, edi
ja 0x10012b53
mov ecx, dword [ebp - 0x24]
call fcn.100029a0
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, edi
sub eax, ecx
cmp edx, eax
ja 0x10012b53
lea eax, [edx + ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10002a23
add esp, 8
mov edi, dword [eax]
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x10012b89
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10045a3f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100130c2
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10012b9a
test ecx, ecx
je 0x10012b98
push ecx
call fcn.10045a3f
add esp, 4
jmp 0x10012b9a
xor eax, eax
cmp dword [ebp - 0x2c], 0x10
mov cl, byte [ebp - 0xd]
mov dword [ebp - 0x30], eax
lea eax, [esi + 1]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push esi
mov byte [ebp - 0x14], cl
jb 0x10012c16
mov edi, dword [ebx]
push edi
push eax
call fcn.1000422c
add esi, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1000423e
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
mov ecx, dword [ebp - 0x2c]
add esp, 0x1c
inc ecx
cmp ecx, 0x1000
jb 0x10012c05
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100130c2
mov edi, edx
push ecx
push edi
call fcn.10045a6f
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebx], eax
jmp 0x10012c5b
push ebx
push eax
call fcn.1000422c
add esi, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.1000423e
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
lea eax, [ebp - 0x30]
push eax
call fcn.10002bc4
push ebx
mov esi, eax
call fcn.10002bc4
push eax
push 4
call fcn.1000235c
mov ecx, dword [esi]
add esp, 0x2c
mov dword [eax], ecx
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
inc esi
mov dword [ebp - 0x3c], esi
cmp esi, 4
jl 0x10012aa0
mov ebx, dword [ebp - 0x24]
xor esi, esi
mov dl, byte [ebp - 0x15]
mov cl, byte [ebp - 0x16]
mov edi, dword [ebp - 0x48]
mov ch, byte [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10012a20
test esi, esi
je 0x100130ad
mov eax, esi
cmp esi, 3
jge 0x10012cb9
cmp eax, 3
jae 0x100130cc
mov byte [ebp + eax - 0x20], 0
inc eax
cmp eax, 3
jl 0x10012c9f
mov ch, byte [ebp - 0x1e]
mov dl, byte [ebp - 0x1f]
mov cl, byte [ebp - 0x20]
mov al, cl
xor edi, edi
shr al, 2
and cl, 3
mov byte [ebp - 0x28], 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 - 0x27], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x25], ch
lea eax, [esi + 1]
mov byte [ebp - 0x26], dl
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x34], eax
test eax, eax
jle 0x10012ee4
mov ecx, 0x1008d738
call fcn.100029a0
mov esi, eax
mov ecx, ebx
mov dword [ebp - 0x4c], esi
call fcn.100029a0
mov ebx, eax
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10012d1c
mov ecx, dword [esi]
movzx eax, byte [ebp + edi - 0x28]
mov esi, dword [ebx + 0x10]
mov al, byte [eax + ecx]
mov ecx, dword [ebx + 0x14]
mov byte [ebp + 0xb], al
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x10012d6b
lea eax, [esi + 1]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp ecx, 0x10
jb 0x10012d46
mov eax, dword [ebx]
add esi, eax
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.1000423e
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
add esp, 0x10
jmp 0x10012ed0
mov edi, dword [ebp - 0x24]
mov ecx, edi
call fcn.10002364
sub eax, esi
cmp eax, 1
jb 0x100130c7
mov ecx, edi
call fcn.10002364
lea ecx, [esi + 1]
mov edi, eax
or ecx, 0xf
mov dword [ebp - 0x44], ecx
cmp ecx, edi
ja 0x10012dc5
mov ecx, dword [ebp - 0x24]
call fcn.100029a0
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, edi
sub eax, ecx
cmp edx, eax
ja 0x10012dc5
lea eax, [edx + ecx]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10002a23
add esp, 8
mov edi, dword [eax]
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x10012dfb
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10045a3f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100130c2
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10012e0c
test ecx, ecx
je 0x10012e0a
push ecx
call fcn.10045a3f
add esp, 4
jmp 0x10012e0c
xor eax, eax
cmp dword [ebp - 0x3c], 0x10
mov cl, byte [ebp + 0xb]
mov dword [ebp - 0x30], eax
lea eax, [esi + 1]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edi
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
push esi
mov byte [ebp + 8], cl
jb 0x10012e88
mov edi, dword [ebx]
push edi
push eax
call fcn.1000422c
add esi, dword [ebp - 0x38]
lea eax, [ebp + 8]
push eax
push esi
call fcn.1000423e
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
inc ecx
cmp ecx, 0x1000
jb 0x10012e77
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100130c2
mov edi, edx
push ecx
push edi
call fcn.10045a6f
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebx], eax
jmp 0x10012ecd
push ebx
push eax
call fcn.1000422c
add esi, dword [ebp - 0x38]
lea eax, [ebp + 8]
push eax
push esi
call fcn.1000423e
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
lea eax, [ebp - 0x30]
push eax
call fcn.10002bc4
push ebx
mov esi, eax
call fcn.10002bc4
push eax
push 4
call fcn.1000235c
mov ecx, dword [esi]
add esp, 0x2c
mov dword [eax], ecx
mov edi, dword [ebp - 0x20]
inc edi
mov dword [ebp - 0x20], edi
cmp edi, dword [ebp - 0x34]
jge 0x10012ee1
mov esi, dword [ebp - 0x4c]
jmp 0x10012d12
mov esi, dword [ebp - 0x2c]
cmp esi, 3
jge 0x100130ad
mov ebx, dword [ebp - 0x24]
mov ecx, ebx
mov byte [ebp + 8], 0x3d
call fcn.100029a0
mov edi, eax
nop dword [eax]
mov ecx, dword [edi + 0x14]
inc esi
mov dword [ebp - 0x2c], esi
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x3c], ecx
cmp esi, ecx
jae 0x10012f45
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov eax, edi
cmp ecx, 0x10
jb 0x10012f20
mov eax, dword [edi]
add esi, eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.1000423e
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
add esp, 0x10
jmp 0x100130a1
mov ecx, ebx
call fcn.10002364
sub eax, esi
cmp eax, 1
jb 0x100130c7
mov ecx, ebx
call fcn.10002364
lea ecx, [esi + 1]
mov ebx, eax
or ecx, 0xf
mov dword [ebp - 0x48], ecx
cmp ecx, ebx
ja 0x10012f9c
mov ecx, dword [ebp - 0x24]
call fcn.100029a0
mov edx, dword [eax + 0x14]
mov ecx, edx
shr ecx, 1
mov eax, ebx
sub eax, ecx
cmp edx, eax
ja 0x10012f9c
lea eax, [edx + ecx]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10002a23
add esp, 8
mov ebx, dword [eax]
lea ecx, [ebx + 1]
cmp ecx, 0x1000
jb 0x10012fd2
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10045a3f
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x100130c2
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10012fe3
test ecx, ecx
je 0x10012fe1
push ecx
call fcn.10045a3f
add esp, 4
jmp 0x10012fe3
xor eax, eax
cmp dword [ebp - 0x3c], 0x10
mov dword [ebp - 0x30], eax
lea eax, [esi + 1]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ebx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x1c], 0x3d
push esi
jb 0x10013059
mov ebx, dword [edi]
push ebx
push eax
call fcn.1000422c
add esi, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.1000423e
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
mov ecx, dword [ebp - 0x3c]
add esp, 0x1c
inc ecx
cmp ecx, 0x1000
jb 0x10013048
mov edx, dword [ebx - 4]
add ecx, 0x23
sub ebx, edx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x100130c2
mov ebx, edx
push ecx
push ebx
call fcn.10045a6f
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [edi], eax
jmp 0x1001309e
push edi
push eax
call fcn.1000422c
add esi, dword [ebp - 0x38]
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.1000423e
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x1c], 0
push eax
lea eax, [esi + 1]
push eax
call fcn.1000423e
lea eax, [ebp - 0x30]
push eax
call fcn.10002bc4
push edi
mov esi, eax
call fcn.10002bc4
push eax
push 4
call fcn.1000235c
mov ecx, dword [esi]
add esp, 0x2c
mov dword [eax], ecx
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
cmp esi, 3
jl 0x10012f00
mov eax, dword [ebp - 0x24]
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.1004eea7
call fcn.10002e9f
call fcn.1004595c
int3