Function at 0x4065280
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4065288
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea ebx, [ebp - 0xc]
xor eax, eax
push ebp
push 0x48646c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.03fe35b8
xor edx, edx
push ebp
push 0x48643f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.03fe3894
and eax, 0x80000003
jns 0x40652d3
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x40652ed
mov ecx, 0x486484
mov dl, 1
mov eax, dword [0x407840]
call fcn.03febaf8
call fcn.03fe2f54
mov eax, dword [ebp - 4]
call fcn.03fe3894
test eax, eax
jns 0x40652fc
add eax, 3
sar eax, 2
dec eax
lea edx, [eax + eax*2]
mov eax, dword [ebp - 8]
call fcn.03fe3c20
mov eax, dword [ebp - 4]
call fcn.03fe3894
mov edi, eax
test edi, edi
jns 0x406531c
add edi, 3
sar edi, 2
dec edi
test edi, edi
jle 0x40654a2
mov esi, 1
mov eax, esi
dec eax
shl eax, 2
mov edx, dword [ebp - 4]
lea eax, [edx + eax]
mov edx, ebx
mov ecx, 4
call fcn.03fe1cd8
mov al, byte [ebx]
cmp al, 0x40
jbe 0x4065354
cmp al, 0x5b
jae 0x4065354
sub byte [ebx], 0x41
jmp 0x406537e
mov al, byte [ebx]
cmp al, 0x60
jbe 0x4065363
cmp al, 0x7b
jae 0x4065363
sub byte [ebx], 0x47
jmp 0x406537e
mov al, byte [ebx]
cmp al, 0x2f
jbe 0x4065372
cmp al, 0x3a
jae 0x4065372
add byte [ebx], 4
jmp 0x406537e
cmp al, 0x2b
jne 0x406537b
mov byte [ebx], 0x3e
jmp 0x406537e
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x406538f
cmp al, 0x5b
jae 0x406538f
sub byte [ebx + 1], 0x41
jmp 0x40653bf
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x40653a0
cmp al, 0x7b
jae 0x40653a0
sub byte [ebx + 1], 0x47
jmp 0x40653bf
mov al, byte [ebx + 1]
cmp al, 0x2f
jbe 0x40653b1
cmp al, 0x3a
jae 0x40653b1
add byte [ebx + 1], 4
jmp 0x40653bf
cmp al, 0x2b
jne 0x40653bb
mov byte [ebx + 1], 0x3e
jmp 0x40653bf
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x40653d0
cmp al, 0x5b
jae 0x40653d0
sub byte [ebx + 2], 0x41
jmp 0x4065400
mov al, byte [ebx + 2]
cmp al, 0x60
jbe 0x40653e1
cmp al, 0x7b
jae 0x40653e1
sub byte [ebx + 2], 0x47
jmp 0x4065400
mov al, byte [ebx + 2]
cmp al, 0x2f
jbe 0x40653f2
cmp al, 0x3a
jae 0x40653f2
add byte [ebx + 2], 4
jmp 0x4065400
cmp al, 0x2b
jne 0x40653fc
mov byte [ebx + 2], 0x3e
jmp 0x4065400
mov byte [ebx + 2], 0x3f
mov al, byte [ebx + 3]
cmp al, 0x40
jbe 0x4065411
cmp al, 0x5b
jae 0x4065411
sub byte [ebx + 3], 0x41
jmp 0x4065441
mov al, byte [ebx + 3]
cmp al, 0x60
jbe 0x4065422
cmp al, 0x7b
jae 0x4065422
sub byte [ebx + 3], 0x47
jmp 0x4065441
mov al, byte [ebx + 3]
cmp al, 0x2f
jbe 0x4065433
cmp al, 0x3a
jae 0x4065433
add byte [ebx + 3], 4
jmp 0x4065441
cmp al, 0x2b
jne 0x406543d
mov byte [ebx + 3], 0x3e
jmp 0x4065441
mov byte [ebx + 3], 0x3f
mov dl, byte [ebx]
shl edx, 2
mov al, byte [ebx + 1]
xor ecx, ecx
mov cl, al
shr ecx, 4
and cl, 3
or dl, cl
mov byte [ebp - 0xf], dl
shl eax, 4
xor edx, edx
mov dl, byte [ebx + 2]
shr edx, 2
and dl, 0xf
or al, dl
mov byte [ebp - 0xe], al
mov al, byte [ebx + 2]
shl eax, 6
mov dl, byte [ebx + 3]
and dl, 0x3f
or al, dl
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 8]
call fcn.03fe3aec
mov edx, esi
dec edx
lea edx, [edx + edx*2]
lea edx, [eax + edx]
lea eax, [ebp - 0xf]
mov ecx, 3
call fcn.03fe1cd8
inc esi
dec edi
jne 0x406532d
mov eax, dword [ebp - 4]
call fcn.03fe3894
test eax, eax
je 0x4065835
mov eax, dword [ebp - 4]
call fcn.03fe3894
mov edx, dword [ebp - 4]
lea eax, [edx + eax - 4]
mov edx, ebx
mov ecx, 4
call fcn.03fe1cd8
cmp byte [ebx + 2], 0x3d
jne 0x4065588
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40654e6
cmp al, 0x5b
jae 0x40654e6
sub byte [ebx], 0x41
jmp 0x4065511
mov al, byte [ebx]
cmp al, 0x60
jbe 0x40654f5
cmp al, 0x7b
jae 0x40654f5
sub byte [ebx], 0x47
jmp 0x4065511
cmp byte [ebx], 0x2f
jbe 0x4065504
cmp byte [ebx], 0x3a
jae 0x4065504
add byte [ebx], 4
jmp 0x4065511
cmp byte [ebx], 0x2b
jne 0x406550e
mov byte [ebx], 0x3e
jmp 0x4065511
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x4065522
cmp al, 0x5b
jae 0x4065522
sub byte [ebx + 1], 0x41
jmp 0x4065555
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x4065533
cmp al, 0x7b
jae 0x4065533
sub byte [ebx + 1], 0x47
jmp 0x4065555
cmp byte [ebx + 1], 0x2f
jbe 0x4065545
cmp byte [ebx + 1], 0x3a
jae 0x4065545
add byte [ebx + 1], 4
jmp 0x4065555
cmp byte [ebx + 1], 0x2b
jne 0x4065551
mov byte [ebx + 1], 0x3e
jmp 0x4065555
mov byte [ebx + 1], 0x3f
mov al, byte [ebx]
shl eax, 2
xor edx, edx
mov dl, byte [ebx + 1]
shr edx, 4
and dl, 3
or al, dl
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x14]
mov dl, byte [ebp - 0xf]
call fcn.03fe37a0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.03fe389c
mov eax, dword [ebp - 8]
jmp 0x4065835
cmp byte [ebx + 3], 0x3d
jne 0x40656b3
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40655a1
cmp al, 0x5b
jae 0x40655a1
sub byte [ebx], 0x41
jmp 0x40655cc
cmp byte [ebx], 0x60
jbe 0x40655b0
cmp byte [ebx], 0x7b
jae 0x40655b0
sub byte [ebx], 0x47
jmp 0x40655cc
cmp byte [ebx], 0x2f
jbe 0x40655bf
cmp byte [ebx], 0x3a
jae 0x40655bf
add byte [ebx], 4
jmp 0x40655cc
cmp byte [ebx], 0x2b
jne 0x40655c9
mov byte [ebx], 0x3e
jmp 0x40655cc
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x40655dd
cmp al, 0x5b
jae 0x40655dd
sub byte [ebx + 1], 0x41
jmp 0x4065611
cmp byte [ebx + 1], 0x60
jbe 0x40655ef
cmp byte [ebx + 1], 0x7b
jae 0x40655ef
sub byte [ebx + 1], 0x47
jmp 0x4065611
cmp byte [ebx + 1], 0x2f
jbe 0x4065601
cmp byte [ebx + 1], 0x3a
jae 0x4065601
add byte [ebx + 1], 4
jmp 0x4065611
cmp byte [ebx + 1], 0x2b
jne 0x406560d
mov byte [ebx + 1], 0x3e
jmp 0x4065611
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x4065622
cmp al, 0x5b
jae 0x4065622
sub byte [ebx + 2], 0x41
jmp 0x4065656
cmp byte [ebx + 2], 0x60
jbe 0x4065634
cmp byte [ebx + 2], 0x7b
jae 0x4065634
sub byte [ebx + 2], 0x47
jmp 0x4065656
cmp byte [ebx + 2], 0x2f
jbe 0x4065646
cmp byte [ebx + 2], 0x3a
jae 0x4065646
add byte [ebx + 2], 4
jmp 0x4065656
cmp byte [ebx + 2], 0x2b
jne 0x4065652
mov byte [ebx + 2], 0x3e
jmp 0x4065656
mov byte [ebx + 2], 0x3f
mov dl, byte [ebx]
shl edx, 2
mov al, byte [ebx + 1]
xor ecx, ecx
mov cl, al
shr ecx, 4
and cl, 3
or dl, cl
mov byte [ebp - 0xf], dl
shl eax, 4
xor edx, edx
mov dl, byte [ebx + 2]
shr edx, 2
and dl, 0xf
or al, dl
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x18]
mov dl, byte [ebp - 0xf]
call fcn.03fe37a0
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xe]
call fcn.03fe37a0
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.03fe3954
jmp 0x4065835
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40656c2
cmp al, 0x5b
jae 0x40656c2
sub byte [ebx], 0x41
jmp 0x40656ed
cmp byte [ebx], 0x60
jbe 0x40656d1
cmp byte [ebx], 0x7b
jae 0x40656d1
sub byte [ebx], 0x47
jmp 0x40656ed
cmp byte [ebx], 0x2f
jbe 0x40656e0
cmp byte [ebx], 0x3a
jae 0x40656e0
add byte [ebx], 4
jmp 0x40656ed
cmp byte [ebx], 0x2b
jne 0x40656ea
mov byte [ebx], 0x3e
jmp 0x40656ed
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x40656fe
cmp al, 0x5b
jae 0x40656fe
sub byte [ebx + 1], 0x41
jmp 0x4065732
cmp byte [ebx + 1], 0x60
jbe 0x4065710
cmp byte [ebx + 1], 0x7b
jae 0x4065710
sub byte [ebx + 1], 0x47
jmp 0x4065732
cmp byte [ebx + 1], 0x2f
jbe 0x4065722
cmp byte [ebx + 1], 0x3a
jae 0x4065722
add byte [ebx + 1], 4
jmp 0x4065732
cmp byte [ebx + 1], 0x2b
jne 0x406572e
mov byte [ebx + 1], 0x3e
jmp 0x4065732
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x4065743
cmp al, 0x5b
jae 0x4065743
sub byte [ebx + 2], 0x41
jmp 0x4065777
cmp byte [ebx + 2], 0x60
jbe 0x4065755
cmp byte [ebx + 2], 0x7b
jae 0x4065755
sub byte [ebx + 2], 0x47
jmp 0x4065777
cmp byte [ebx + 2], 0x2f
jbe 0x4065767
cmp byte [ebx + 2], 0x3a
jae 0x4065767
add byte [ebx + 2], 4
jmp 0x4065777
cmp byte [ebx + 2], 0x2b
jne 0x4065773
mov byte [ebx + 2], 0x3e
jmp 0x4065777
mov byte [ebx + 2], 0x3f
cmp byte [ebx + 3], 0x40
jbe 0x4065789
cmp byte [ebx + 3], 0x5b
jae 0x4065789
sub byte [ebx + 3], 0x41
jmp 0x40657bd
cmp byte [ebx + 3], 0x60
jbe 0x406579b
cmp byte [ebx + 3], 0x7b
jae 0x406579b
sub byte [ebx + 3], 0x47
jmp 0x40657bd
cmp byte [ebx + 3], 0x2f
jbe 0x40657ad
cmp byte [ebx + 3], 0x3a
jae 0x40657ad
add byte [ebx + 3], 4
jmp 0x40657bd
cmp byte [ebx + 3], 0x2b
jne 0x40657b9
mov byte [ebx + 3], 0x3e
jmp 0x40657bd
mov byte [ebx + 3], 0x3f
mov al, byte [ebx]
shl eax, 2
xor edx, edx
mov dl, byte [ebx + 1]
shr edx, 4
and dl, 3
or al, dl
mov byte [ebp - 0xf], al
mov al, byte [ebx + 1]
shl eax, 4
xor edx, edx
mov dl, byte [ebx + 2]
shr edx, 2
and dl, 0xf
or al, dl
mov byte [ebp - 0xe], al
mov al, byte [ebx + 2]
shl eax, 6
mov dl, byte [ebx + 3]
and dl, 0x3f
or al, dl
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 8]
push dword [eax]
lea eax, [ebp - 0x20]
mov dl, byte [ebp - 0xf]
call fcn.03fe37a0
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dl, byte [ebp - 0xe]
call fcn.03fe37a0
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0xd]
call fcn.03fe37a0
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.03fe3954
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4065851
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486473
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.03fe35dc
ret