Function at 0x6736c8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x6736d1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x38]
push ecx
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop ecx
mov byte [ebp - 1], cl
mov ebx, eax
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
xor eax, eax
push ebp
push 0x673b5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404dac
cmp byte [ebp + 0xc], 0
je 0x67371d
cmp edi, 0x19
jge 0x67371d
mov edi, 0x19
mov eax, esi
call fcn.00405088
cmp eax, 4
jge 0x673752
push 0x673b78
push esi
push 0
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405148
mov ecx, dword [ebp - 0x3c]
mov dl, 1
mov eax, dword [0x408b08]
call fcn.0040e134
call fcn.00404700
mov al, byte [ebp - 1]
sub al, 0x42
je 0x673793
sub al, 0xf
je 0x673793
push 0x673bb0
lea eax, [ebp - 0x44]
mov dl, byte [ebp - 1]
call fcn.00404f94
push dword [ebp - 0x44]
push 0
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405148
mov ecx, dword [ebp - 0x40]
mov dl, 1
mov eax, dword [0x408b08]
call fcn.0040e134
call fcn.00404700
lea eax, [ebp - 0x14]
call fcn.00404dac
push 0x673be8
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.00409930
push dword [ebp - 0x48]
push 0x673bf4
lea eax, [ebp - 0x4c]
mov dl, byte [ebp - 1]
call fcn.00404f94
push dword [ebp - 0x4c]
push 0x673bf4
lea eax, [ebp - 0x10]
mov edx, 5
call fcn.00405148
mov eax, ebx
call fcn.00405088
mov esi, eax
mov dword [ebp - 8], 1
cmp byte [ebp - 1], 0x51
jne 0x67393d
cmp esi, dword [ebp - 8]
jl 0x673928
push 1
lea eax, [ebp - 8]
push eax
mov al, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405088
mov edx, edi
sub edx, eax
sub edx, 2
push edx
push edi
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x6c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x6c]
mov edx, 0x673bf8
mov cl, 0x20
call fcn.00403a3c
lea ecx, [ebp - 0x6c]
mov eax, ebx
pop edx
call fcn.00673c48
mov eax, dword [ebp - 0x14]
call fcn.00405088
test eax, eax
je 0x673b26
mov eax, dword [ebp - 0x14]
call fcn.00405088
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x3d
jne 0x673871
mov eax, dword [ebp - 0x14]
call fcn.00405088
mov edx, eax
dec edx
lea eax, [ebp - 0x14]
call fcn.00405414
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x673c20
mov eax, dword [ebp + 8]
mov edx, 3
call fcn.00405148
jmp 0x673928
push 1
lea eax, [ebp - 8]
push eax
mov al, byte [ebp + 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405088
mov edx, edi
sub edx, eax
sub edx, 2
push edx
push edi
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x6c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop edi
lea eax, [ebp - 0x6c]
mov edx, 0x673bf8
mov cl, 0x20
call fcn.00403a3c
lea ecx, [ebp - 0x6c]
mov eax, ebx
pop edx
call fcn.00673c48
mov eax, dword [ebp - 0x14]
call fcn.00405088
test eax, eax
jle 0x673928
mov eax, dword [ebp - 0x14]
call fcn.00405088
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x3d
jne 0x673906
mov eax, dword [ebp - 0x14]
call fcn.00405088
mov edx, eax
dec edx
lea eax, [ebp - 0x14]
call fcn.00405414
mov eax, dword [ebp + 8]
push dword [eax]
push 0x673c2c
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x673c20
mov eax, dword [ebp + 8]
mov edx, 5
call fcn.00405148
mov eax, ebx
call fcn.00405088
cmp eax, dword [ebp - 8]
jge 0x67388e
jmp 0x673b26
cmp byte [ebp + 0xc], 0
jne 0x673948
mov edi, 0x7fffffff
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00405090
mov eax, dword [ebp - 0x10]
call fcn.00405088
add eax, 2
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jl 0x673b16
mov eax, dword [ebp - 0xc]
add eax, 4
cmp edi, eax
jge 0x67399f
push dword [ebp - 0x14]
push 0x673c20
push 0x673c2c
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00405148
mov eax, dword [ebp - 0x10]
call fcn.00405088
add eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 8]
mov dl, byte [ebx + edx - 1]
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov dl, byte [edx + 0x6f30c4]
call fcn.00404f94
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x14]
call fcn.00405090
mov eax, dword [ebp - 8]
inc eax
cmp esi, eax
jl 0x673ac6
lea eax, [ebp - 0x74]
mov edx, dword [ebp - 8]
mov dl, byte [ebx + edx - 1]
and dl, 3
and edx, 0xff
shl edx, 4
mov ecx, dword [ebp - 8]
mov cl, byte [ebx + ecx]
and cl, 0xf0
and ecx, 0xff
shr ecx, 4
add edx, ecx
mov dl, byte [edx + 0x6f30c4]
call fcn.00404f94
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x14]
call fcn.00405090
mov eax, dword [ebp - 8]
add eax, 2
cmp esi, eax
jl 0x673a8c
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 8]
mov dl, byte [ebx + edx]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov ecx, dword [ebp - 8]
mov cl, byte [ebx + ecx + 1]
and cl, 0xc0
and ecx, 0xff
shr ecx, 6
add edx, ecx
mov dl, byte [edx + 0x6f30c4]
call fcn.00404f94
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x14]
call fcn.00405090
lea eax, [ebp - 0x7c]
mov edx, dword [ebp - 8]
mov dl, byte [ebx + edx + 1]
and dl, 0x3f
and edx, 0xff
mov dl, byte [edx + 0x6f30c4]
call fcn.00404f94
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x14]
call fcn.00405090
jmp 0x673b05
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 8]
mov dl, byte [ebx + edx]
and dl, 0xf
and edx, 0xff
shl edx, 2
mov dl, byte [edx + 0x6f30c4]
call fcn.00404f94
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.00405090
lea eax, [ebp - 0x14]
mov edx, 0x673c38
call fcn.00405090
jmp 0x673b05
lea eax, [ebp - 0x84]
mov edx, dword [ebp - 8]
mov dl, byte [ebx + edx - 1]
and dl, 3
and edx, 0xff
shl edx, 4
mov dl, byte [edx + 0x6f30c4]
call fcn.00404f94
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x14]
call fcn.00405090
lea eax, [ebp - 0x14]
mov edx, 0x673c44
call fcn.00405090
add dword [ebp - 0xc], 4
add dword [ebp - 8], 3
cmp esi, dword [ebp - 8]
jge 0x67396a
mov ecx, 0x673c20
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
call fcn.004050d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x673b65
lea eax, [ebp - 0x84]
mov edx, 6
call fcn.00404dd0
lea eax, [ebp - 0x4c]
mov edx, 5
call fcn.00404dd0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404dd0
ret