Function at 0x40f534
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x40f53c
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 0x40fad6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004025a0
and eax, 0x80000003
jns 0x40f571
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, dword [ebp - 4]
call fcn.004025a0
test eax, eax
jns 0x40f582
add eax, 3
sar eax, 2
dec eax
lea edx, [eax + eax*2]
mov eax, dword [ebp - 8]
call fcn.00402920
mov eax, dword [ebp - 4]
call fcn.004025a0
mov edi, eax
test edi, edi
jns 0x40f5a2
add edi, 3
sar edi, 2
dec edi
test edi, edi
jle 0x40f728
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.004012dc
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40f5da
cmp al, 0x5b
jae 0x40f5da
sub byte [ebx], 0x41
jmp 0x40f604
mov al, byte [ebx]
cmp al, 0x60
jbe 0x40f5e9
cmp al, 0x7b
jae 0x40f5e9
sub byte [ebx], 0x47
jmp 0x40f604
mov al, byte [ebx]
cmp al, 0x2f
jbe 0x40f5f8
cmp al, 0x3a
jae 0x40f5f8
add byte [ebx], 4
jmp 0x40f604
cmp al, 0x2b
jne 0x40f601
mov byte [ebx], 0x3e
jmp 0x40f604
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x40f615
cmp al, 0x5b
jae 0x40f615
sub byte [ebx + 1], 0x41
jmp 0x40f645
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x40f626
cmp al, 0x7b
jae 0x40f626
sub byte [ebx + 1], 0x47
jmp 0x40f645
mov al, byte [ebx + 1]
cmp al, 0x2f
jbe 0x40f637
cmp al, 0x3a
jae 0x40f637
add byte [ebx + 1], 4
jmp 0x40f645
cmp al, 0x2b
jne 0x40f641
mov byte [ebx + 1], 0x3e
jmp 0x40f645
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x40f656
cmp al, 0x5b
jae 0x40f656
sub byte [ebx + 2], 0x41
jmp 0x40f686
mov al, byte [ebx + 2]
cmp al, 0x60
jbe 0x40f667
cmp al, 0x7b
jae 0x40f667
sub byte [ebx + 2], 0x47
jmp 0x40f686
mov al, byte [ebx + 2]
cmp al, 0x2f
jbe 0x40f678
cmp al, 0x3a
jae 0x40f678
add byte [ebx + 2], 4
jmp 0x40f686
cmp al, 0x2b
jne 0x40f682
mov byte [ebx + 2], 0x3e
jmp 0x40f686
mov byte [ebx + 2], 0x3f
mov al, byte [ebx + 3]
cmp al, 0x40
jbe 0x40f697
cmp al, 0x5b
jae 0x40f697
sub byte [ebx + 3], 0x41
jmp 0x40f6c7
mov al, byte [ebx + 3]
cmp al, 0x60
jbe 0x40f6a8
cmp al, 0x7b
jae 0x40f6a8
sub byte [ebx + 3], 0x47
jmp 0x40f6c7
mov al, byte [ebx + 3]
cmp al, 0x2f
jbe 0x40f6b9
cmp al, 0x3a
jae 0x40f6b9
add byte [ebx + 3], 4
jmp 0x40f6c7
cmp al, 0x2b
jne 0x40f6c3
mov byte [ebx + 3], 0x3e
jmp 0x40f6c7
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.004027ec
mov edx, esi
dec edx
lea edx, [edx + edx*2]
lea edx, [eax + edx]
lea eax, [ebp - 0xf]
mov ecx, 3
call fcn.004012dc
inc esi
dec edi
jne 0x40f5b3
mov eax, dword [ebp - 4]
call fcn.004025a0
test eax, eax
je 0x40fabb
mov eax, dword [ebp - 4]
call fcn.004025a0
mov edx, dword [ebp - 4]
lea eax, [edx + eax - 4]
mov edx, ebx
mov ecx, 4
call fcn.004012dc
cmp byte [ebx + 2], 0x3d
jne 0x40f80e
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40f76c
cmp al, 0x5b
jae 0x40f76c
sub byte [ebx], 0x41
jmp 0x40f797
mov al, byte [ebx]
cmp al, 0x60
jbe 0x40f77b
cmp al, 0x7b
jae 0x40f77b
sub byte [ebx], 0x47
jmp 0x40f797
cmp byte [ebx], 0x2f
jbe 0x40f78a
cmp byte [ebx], 0x3a
jae 0x40f78a
add byte [ebx], 4
jmp 0x40f797
cmp byte [ebx], 0x2b
jne 0x40f794
mov byte [ebx], 0x3e
jmp 0x40f797
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x40f7a8
cmp al, 0x5b
jae 0x40f7a8
sub byte [ebx + 1], 0x41
jmp 0x40f7db
mov al, byte [ebx + 1]
cmp al, 0x60
jbe 0x40f7b9
cmp al, 0x7b
jae 0x40f7b9
sub byte [ebx + 1], 0x47
jmp 0x40f7db
cmp byte [ebx + 1], 0x2f
jbe 0x40f7cb
cmp byte [ebx + 1], 0x3a
jae 0x40f7cb
add byte [ebx + 1], 4
jmp 0x40f7db
cmp byte [ebx + 1], 0x2b
jne 0x40f7d7
mov byte [ebx + 1], 0x3e
jmp 0x40f7db
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.0040250c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004025a8
mov eax, dword [ebp - 8]
jmp 0x40fabb
cmp byte [ebx + 3], 0x3d
jne 0x40f939
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40f827
cmp al, 0x5b
jae 0x40f827
sub byte [ebx], 0x41
jmp 0x40f852
cmp byte [ebx], 0x60
jbe 0x40f836
cmp byte [ebx], 0x7b
jae 0x40f836
sub byte [ebx], 0x47
jmp 0x40f852
cmp byte [ebx], 0x2f
jbe 0x40f845
cmp byte [ebx], 0x3a
jae 0x40f845
add byte [ebx], 4
jmp 0x40f852
cmp byte [ebx], 0x2b
jne 0x40f84f
mov byte [ebx], 0x3e
jmp 0x40f852
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x40f863
cmp al, 0x5b
jae 0x40f863
sub byte [ebx + 1], 0x41
jmp 0x40f897
cmp byte [ebx + 1], 0x60
jbe 0x40f875
cmp byte [ebx + 1], 0x7b
jae 0x40f875
sub byte [ebx + 1], 0x47
jmp 0x40f897
cmp byte [ebx + 1], 0x2f
jbe 0x40f887
cmp byte [ebx + 1], 0x3a
jae 0x40f887
add byte [ebx + 1], 4
jmp 0x40f897
cmp byte [ebx + 1], 0x2b
jne 0x40f893
mov byte [ebx + 1], 0x3e
jmp 0x40f897
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x40f8a8
cmp al, 0x5b
jae 0x40f8a8
sub byte [ebx + 2], 0x41
jmp 0x40f8dc
cmp byte [ebx + 2], 0x60
jbe 0x40f8ba
cmp byte [ebx + 2], 0x7b
jae 0x40f8ba
sub byte [ebx + 2], 0x47
jmp 0x40f8dc
cmp byte [ebx + 2], 0x2f
jbe 0x40f8cc
cmp byte [ebx + 2], 0x3a
jae 0x40f8cc
add byte [ebx + 2], 4
jmp 0x40f8dc
cmp byte [ebx + 2], 0x2b
jne 0x40f8d8
mov byte [ebx + 2], 0x3e
jmp 0x40f8dc
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.0040250c
push dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
mov dl, byte [ebp - 0xe]
call fcn.0040250c
push dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.00402660
jmp 0x40fabb
mov al, byte [ebx]
cmp al, 0x40
jbe 0x40f948
cmp al, 0x5b
jae 0x40f948
sub byte [ebx], 0x41
jmp 0x40f973
cmp byte [ebx], 0x60
jbe 0x40f957
cmp byte [ebx], 0x7b
jae 0x40f957
sub byte [ebx], 0x47
jmp 0x40f973
cmp byte [ebx], 0x2f
jbe 0x40f966
cmp byte [ebx], 0x3a
jae 0x40f966
add byte [ebx], 4
jmp 0x40f973
cmp byte [ebx], 0x2b
jne 0x40f970
mov byte [ebx], 0x3e
jmp 0x40f973
mov byte [ebx], 0x3f
mov al, byte [ebx + 1]
cmp al, 0x40
jbe 0x40f984
cmp al, 0x5b
jae 0x40f984
sub byte [ebx + 1], 0x41
jmp 0x40f9b8
cmp byte [ebx + 1], 0x60
jbe 0x40f996
cmp byte [ebx + 1], 0x7b
jae 0x40f996
sub byte [ebx + 1], 0x47
jmp 0x40f9b8
cmp byte [ebx + 1], 0x2f
jbe 0x40f9a8
cmp byte [ebx + 1], 0x3a
jae 0x40f9a8
add byte [ebx + 1], 4
jmp 0x40f9b8
cmp byte [ebx + 1], 0x2b
jne 0x40f9b4
mov byte [ebx + 1], 0x3e
jmp 0x40f9b8
mov byte [ebx + 1], 0x3f
mov al, byte [ebx + 2]
cmp al, 0x40
jbe 0x40f9c9
cmp al, 0x5b
jae 0x40f9c9
sub byte [ebx + 2], 0x41
jmp 0x40f9fd
cmp byte [ebx + 2], 0x60
jbe 0x40f9db
cmp byte [ebx + 2], 0x7b
jae 0x40f9db
sub byte [ebx + 2], 0x47
jmp 0x40f9fd
cmp byte [ebx + 2], 0x2f
jbe 0x40f9ed
cmp byte [ebx + 2], 0x3a
jae 0x40f9ed
add byte [ebx + 2], 4
jmp 0x40f9fd
cmp byte [ebx + 2], 0x2b
jne 0x40f9f9
mov byte [ebx + 2], 0x3e
jmp 0x40f9fd
mov byte [ebx + 2], 0x3f
cmp byte [ebx + 3], 0x40
jbe 0x40fa0f
cmp byte [ebx + 3], 0x5b
jae 0x40fa0f
sub byte [ebx + 3], 0x41
jmp 0x40fa43
cmp byte [ebx + 3], 0x60
jbe 0x40fa21
cmp byte [ebx + 3], 0x7b
jae 0x40fa21
sub byte [ebx + 3], 0x47
jmp 0x40fa43
cmp byte [ebx + 3], 0x2f
jbe 0x40fa33
cmp byte [ebx + 3], 0x3a
jae 0x40fa33
add byte [ebx + 3], 4
jmp 0x40fa43
cmp byte [ebx + 3], 0x2b
jne 0x40fa3f
mov byte [ebx + 3], 0x3e
jmp 0x40fa43
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.0040250c
push dword [ebp - 0x20]
lea eax, [ebp - 0x24]
mov dl, byte [ebp - 0xe]
call fcn.0040250c
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov dl, byte [ebp - 0xd]
call fcn.0040250c
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov edx, 4
call fcn.00402660
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40fadd
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.00402354
ret