Function at 0x4712dc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4712e4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a18
xor eax, eax
push ebp
push 0x4717e8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x2c]
mov ecx, 1
mov eax, 0x471800
call fcn.004711e0
mov ebx, eax
test ebx, ebx
jne 0x471351
push 0
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x30]
mov ecx, 1
mov eax, 0x471810
call fcn.004711e0
mov ebx, eax
test ebx, ebx
jle 0x471787
mov byte [ebp - 0x25], 1
push 0
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x34]
lea ecx, [ebx + 5]
mov eax, 0x471824
call fcn.004711e0
mov edi, eax
test edi, edi
jne 0x471384
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x25], 0
je 0x4713b1
push 0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x38]
lea ecx, [edi + 1]
mov eax, 0x471824
call fcn.004711e0
mov edi, eax
test edi, edi
jne 0x4713b1
mov byte [ebp - 0x25], 0
cmp byte [ebp - 0x25], 0
je 0x47171f
push 0
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x3c]
lea ecx, [edi + 1]
mov eax, 0x471830
call fcn.004711e0
mov edi, eax
test edi, edi
jle 0x47171f
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
sub ecx, ebx
add ecx, 2
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00404a88
mov esi, 1
mov edx, dword [ebp - 0x24]
mov eax, 0x471824
call fcn.00404b6c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404828
mov ecx, eax
sub ecx, dword [ebp - 0xc]
inc ecx
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 0x24]
call fcn.00404a88
cmp esi, 1
jne 0x471452
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x24]
mov eax, 0x471824
call fcn.00404b6c
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404a88
jmp 0x47146d
cmp esi, 2
jne 0x47146d
lea eax, [ebp - 0x10]
push eax
mov ecx, 1
mov edx, 1
mov eax, dword [ebp - 0x24]
call fcn.00404a88
inc esi
cmp esi, 4
jne 0x4713fc
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404828
mov edx, eax
dec edx
mov ecx, 2
mov eax, dword [ebp - 0x24]
call fcn.00404a88
mov eax, dword [ebp - 0x40]
mov edx, 0x471830
call fcn.00404974
je 0x4714a2
mov byte [ebp - 0x25], 0
mov edx, 0x47183c
mov eax, dword [ebp - 0x10]
call fcn.004085bc
test al, al
je 0x4715c0
cmp byte [ebp - 0x25], 0
je 0x4715c0
mov esi, 1
lea eax, [ebp - 0x18]
call fcn.00404568
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x5f
jne 0x4714ea
lea eax, [ebp - 0x18]
mov edx, 0x471848
call fcn.00404830
jmp 0x47159f
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x3d
jne 0x471585
mov eax, dword [ebp - 0x24]
call fcn.00404828
lea edx, [esi + 4]
cmp eax, edx
jl 0x471585
mov edx, 0x47184c
lea eax, [ebp - 0x4c]
call fcn.00402fe8
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov cl, 2
call fcn.00402fb8
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x54]
call fcn.00402fe8
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x54]
mov cl, 3
call fcn.00402fb8
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x48]
call fcn.004047cc
mov eax, dword [ebp - 0x48]
call fcn.00408af8
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00404750
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
call fcn.00404830
add esi, 2
jmp 0x47159f
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + esi - 1]
call fcn.00404750
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x18]
call fcn.00404830
inc esi
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi - 1], 0x3f
jne 0x4714ce
mov eax, dword [ebp - 0x24]
cmp byte [eax + esi], 0x3d
jne 0x4714ce
jmp 0x4716a5
cmp byte [ebp - 0x25], 0
je 0x4716a5
jmp 0x471694
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
call fcn.004711c8
mov byte [ebp - 0x1f], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 1]
call fcn.004711c8
mov byte [ebp - 0x1e], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 2]
call fcn.004711c8
mov byte [ebp - 0x1d], al
mov eax, dword [ebp - 0x24]
mov al, byte [eax + 3]
call fcn.004711c8
mov byte [ebp - 0x1c], al
mov al, byte [ebp - 0x1f]
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 0x1e]
shr edx, 4
or al, dl
mov byte [ebp - 0x1b], al
mov al, byte [ebp - 0x1e]
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 0x1d]
shr edx, 2
or al, dl
mov byte [ebp - 0x1a], al
mov al, byte [ebp - 0x1d]
shl eax, 6
xor edx, edx
mov dl, byte [ebp - 0x1c]
shr edx, 0
or al, dl
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404828
mov ecx, eax
mov edx, 5
mov eax, dword [ebp - 0x24]
call fcn.00404a88
push dword [ebp - 0x18]
lea eax, [ebp - 0x5c]
mov dl, byte [ebp - 0x1b]
call fcn.00404750
push dword [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov dl, byte [ebp - 0x1a]
call fcn.00404750
push dword [ebp - 0x60]
lea eax, [ebp - 0x64]
mov dl, byte [ebp - 0x19]
call fcn.00404750
push dword [ebp - 0x64]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004048e8
mov eax, dword [ebp - 0x24]
call fcn.00404828
cmp eax, 4
jge 0x4715cf
cmp byte [ebp - 0x25], 0
je 0x47171f
mov edx, 0x471858
mov eax, dword [ebp - 0x14]
call fcn.004085bc
test al, al
je 0x4716c9
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.00471870
jmp 0x4716d4
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x18]
call fcn.00404600
lea eax, [ebp - 0x68]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a88
push dword [ebp - 0x68]
push dword [ebp - 0x24]
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
call fcn.00404828
mov ecx, eax
lea edx, [edi + 2]
mov eax, dword [ebp - 4]
call fcn.00404a88
push dword [ebp - 0x6c]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004048e8
lea eax, [ebp - 0x24]
call fcn.00404568
push 0
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x70]
lea ecx, [ebx + 1]
mov eax, 0x471800
call fcn.004711e0
mov ebx, eax
test ebx, ebx
jne 0x471761
push 0
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0040837c
mov edx, dword [ebp - 0x74]
lea ecx, [ebx + 1]
mov eax, 0x471810
call fcn.004711e0
mov ebx, eax
test ebx, ebx
jg 0x471359
jmp 0x471787
mov edx, dword [ebp - 4]
mov eax, 0x47186c
call fcn.00404b6c
mov edx, eax
lea eax, [ebp - 4]
mov ecx, 1
call fcn.00404ac8
mov edx, dword [ebp - 4]
mov eax, 0x47186c
call fcn.00404b6c
test eax, eax
jg 0x47176b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004045bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4717ef
lea eax, [ebp - 0x74]
mov edx, 8
call fcn.0040458c
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.0040458c
lea eax, [ebp - 0x24]
call fcn.00404568
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040458c
lea eax, [ebp - 4]
call fcn.00404568
ret