Function at 0x140135400
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movabs rsi, 0xfffffffffffff
movq r13, xmm0
mov rax, r13
and rax, rsi
mov rcx, r13
shr rcx, 0x34
test r13, r13
js 0x140135441
xor r8d, r8d
and ecx, 0x7ff
test rax, rax
je 0x140135455
jmp 0x140135473
mov byte [rdx], 0x2d
mov r8d, 1
and ecx, 0x7ff
test rax, rax
jne 0x140135473
test ecx, ecx
jne 0x140135473
mov byte [rdx + r8 + 2], 0x30
mov word [rdx + r8], 0x2e30
shr r13, 0x3f
add r13, 3
jmp 0x140135d13
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
lea edx, [rcx - 0x435]
inc rsi
or rsi, rax
test ecx, ecx
mov ebp, 0xfffffbcc
cmovne ebp, edx
cmove rsi, rax
lea r11, [rsi*4]
test rax, rax
setne al
cmp ecx, 2
setb r13b
or r13b, al
movabs rdi, 0xcccccccccccccccd
movzx ebx, r13b
test ebp, ebp
js 0x1401355ea
mov qword [rsp + 0x30], rsi
imul esi, ebp, 0x13441
shr esi, 0x12
cmp ebp, 4
adc esi, 0xffffffff
imul r9d, esi, 0x12934f
shr r9d, 0x13
mov rax, rsi
shl rax, 4
lea rcx, [0x1402c41a8]
mov r12, qword [rax + rcx]
mov r8, qword [rax + rcx + 8]
mov r14, r11
or r14, 2
mov rax, r12
mul r14
mov rcx, rdx
mov rax, r8
mul r14
mov r10, rdx
mov r15, rax
add r15, rcx
adc r10, 0
mov ecx, esi
sub ecx, ebp
add ecx, r9d
add cl, 0x3d
shrd r15, r10, cl
shr r10, cl
mov r9, rbx
not r9
add r9, r11
mov rax, r12
mul r9
mov rbp, rdx
mov rax, r8
mul r9
mov r9, rdx
mov r13, rax
add r13, rbp
adc r9, 0
shrd r13, r9, cl
shr r9, cl
mov rax, r12
mul r11
mov r12, rdx
mov rax, r8
mul r11
mov r8, rdx
add rax, r12
adc r8, 0
shrd rax, r8, cl
shr r8, cl
test cl, 0x40
cmove r10, r15
cmove r9, r13
cmove r8, rax
cmp esi, 0x16
jae 0x14013575d
movabs rcx, 0x3333333333333334
mov rax, r11
mul rcx
lea eax, [rdx + rdx*4]
cmp eax, r11d
jne 0x1401356f7
mov ecx, 0xffffffff
nop word cs:[rax + rax]
mov rax, r11
mul rdi
shr rdx, 2
lea eax, [rdx + rdx*4]
inc ecx
cmp eax, r11d
mov r11, rdx
je 0x1401355c0
cmp ecx, esi
jb 0x14013575d
mov bpl, 1
xor r13d, r13d
jmp 0x14013572f
mov ecx, ebp
imul ebp, ebp, 0xfff4d105
shr ebp, 0x14
xor eax, eax
cmp ecx, 0xffffffff
setne al
sub ebp, eax
add ecx, ebp
mov eax, ecx
neg eax
mov dword [rsp + 0x2c], ecx
imul r9d, ecx, 0x3ed6cb1
shr r9d, 0x13
cdqe
shl rax, 4
lea rcx, [0x1402c5708]
mov r15, qword [rax + rcx]
mov r8, qword [rax + rcx + 8]
mov r10, r11
or r10, 2
mov rax, r15
mul r10
mov rcx, rdx
mov rax, r8
mul r10
mov r10, rdx
mov r14, rax
add r14, rcx
adc r10, 0
mov ecx, ebp
sub ecx, r9d
add cl, 0x3c
shrd r14, r10, cl
shr r10, cl
not rbx
add rbx, r11
mov rax, r15
mul rbx
mov r12, rdx
mov rax, r8
mul rbx
mov r9, rdx
mov rbx, rax
add rbx, r12
adc r9, 0
shrd rbx, r9, cl
shr r9, cl
mov rax, r15
mul r11
mov r15, rdx
mov rax, r8
mul r11
mov r8, rdx
add rax, r15
adc r8, 0
shrd rax, r8, cl
shr r8, cl
test cl, 0x40
cmove r10, r14
cmove r9, rbx
cmove r8, rax
cmp ebp, 2
jae 0x1401356d4
mov qword [rsp + 0x30], rsi
mov eax, esi
and eax, 1
sete cl
and r13b, cl
sub r10, rax
mov bpl, 1
jmp 0x140135842
cmp ebp, 0x3e
ja 0x1401356f1
mov rax, 0xffffffffffffffff
mov ecx, ebp
shl rax, cl
not rax
test r11, rax
je 0x140135837
mov ebp, dword [rsp + 0x2c]
jmp 0x14013575f
test byte [rsp + 0x30], 1
jne 0x14013573a
not rbx
add rbx, r11
mov ecx, 0xffffffff
nop dword [rax]
mov rax, rbx
mul rdi
shr rdx, 2
lea eax, [rdx + rdx*4]
inc ecx
cmp eax, ebx
mov rbx, rdx
je 0x140135710
cmp ecx, esi
jb 0x14013575d
mov r13b, 1
xor ebp, ebp
mov eax, esi
mov dword [rsp + 0x2c], esi
jmp 0x140135842
mov ecx, 0xffffffff
nop
mov rax, r14
mul rdi
shr rdx, 2
lea eax, [rdx + rdx*4]
inc ecx
cmp eax, r14d
mov r14, rdx
je 0x140135740
cmp ecx, esi
adc r10, 0xffffffffffffffff
mov ebp, esi
mov rax, r10
shr rax, 2
movabs rbx, 0x28f5c28f5c28f5c3
mul rbx
mov r11, rdx
shr r11, 2
mov rax, r9
shr rax, 2
mul rbx
mov rcx, rdx
shr rcx, 2
xor esi, esi
cmp r11, rcx
jbe 0x1401357b7
mov rax, r8
shr rax, 2
mul rbx
shr rdx, 2
imul eax, edx, 0xffffff9c
add eax, r8d
cmp eax, 0x32
setae sil
mov ebx, 2
mov r8, rdx
jmp 0x1401357bf
xor ebx, ebx
mov rcx, r9
mov r11, r10
mov rax, r11
mul rdi
mov r9, rdx
mov rax, rcx
mul rdi
shr r9, 3
shr rdx, 3
cmp r9, rdx
jbe 0x140135823
nop dword [rax + rax]
mov r10, r8
mov rcx, rdx
mov rax, r8
mul rdi
mov r8, rdx
shr r8, 3
inc ebx
mov rax, r9
mul rdi
mov r9, rdx
mov rax, rcx
mul rdi
shr r9, 3
shr rdx, 3
cmp r9, rdx
ja 0x1401357e0
lea eax, [r8 + r8]
lea eax, [rax + rax*4]
sub r10d, eax
cmp r10d, 5
setae sil
cmp r8, rcx
sete r13b
or r13b, sil
mov rdi, qword [rsp + 0x38]
jmp 0x14013598c
mov qword [rsp + 0x30], rsi
mov bpl, 1
xor r13d, r13d
mov rax, r10
mul rdi
mov r11, rdx
shr r11, 3
mov rax, r9
mul rdi
shr rdx, 3
xor esi, esi
xor ebx, ebx
cmp r11, rdx
jbe 0x1401358d2
xor r14d, r14d
nop word cs:[rax + rax]
mov rcx, rdx
lea esi, [rdx + rdx]
mov rax, r8
mul rdi
mov r10, rdx
lea eax, [rsi + rsi*4]
shr r10, 3
lea edx, [r10 + r10]
lea esi, [rdx + rdx*4]
neg esi
add sil, r8b
cmp eax, r9d
sete al
and r13b, al
test r14b, r14b
sete al
and bpl, al
mov rax, r11
mul rdi
inc ebx
mov r11, rdx
shr r11, 3
mov rax, rcx
mul rdi
shr rdx, 3
mov r8, r10
mov r9, rcx
mov r14d, esi
cmp r11, rdx
ja 0x140135870
test r13b, r13b
jne 0x1401358dd
jmp 0x140135949
mov rcx, r9
mov r10, r8
test r13b, r13b
je 0x140135949
mov rax, rcx
mul rdi
mov r9, rdx
shr r9, 3
lea eax, [r9 + r9]
lea eax, [rax + rax*4]
cmp eax, ecx
jne 0x140135949
nop word cs:[rax + rax]
mov rax, r10
mul rdi
mov r8, rdx
shr r8, 3
lea eax, [r8 + r8]
lea r11d, [rax + rax*4]
neg r11d
add r11b, r10b
test sil, sil
sete al
and bpl, al
inc ebx
mov rax, r9
mul rdi
shr rdx, 3
lea eax, [rdx + rdx]
lea eax, [rax + rax*4]
mov rcx, r9
mov r10, r8
mov esi, r11d
cmp eax, r9d
mov r9, rdx
je 0x140135900
jmp 0x14013594f
mov r11d, esi
mov r8, r10
mov eax, r8d
and al, 1
or al, 4
cmp r11b, 5
movzx edx, r11b
movzx eax, al
cmovne eax, edx
test bpl, bpl
cmove eax, edx
cmp r8, rcx
sete cl
not r13b
or r13b, byte [rsp + 0x30]
cmp al, 5
setae al
and r13b, cl
or r13b, al
mov rdi, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x2c]
add ebp, ebx
movzx ebx, r13b
add rbx, r8
mov eax, 0x11
movabs rcx, 0x2386f26fc0ffff
cmp rbx, rcx
ja 0x140135ab6
mov eax, 0x10
movabs rcx, 0x38d7ea4c67fff
cmp rbx, rcx
ja 0x140135ab6
mov eax, 0xf
movabs rcx, 0x5af3107a3fff
cmp rbx, rcx
ja 0x140135ab6
mov rcx, rbx
shr rcx, 0xd
mov eax, 0xe
cmp rcx, 0x48c27394
ja 0x140135ab6
mov rcx, rbx
shr rcx, 0xc
mov eax, 0xd
cmp rcx, 0xe8d4a50
ja 0x140135ab6
mov rcx, rbx
shr rcx, 0xb
mov eax, 0xc
cmp rcx, 0x2e90edc
ja 0x140135ab6
mov rcx, rbx
shr rcx, 0xa
mov eax, 0xb
cmp rcx, 0x9502f8
ja 0x140135ab6
mov eax, 0xa
cmp rbx, 0x3b9ac9ff
ja 0x140135ab6
mov eax, 9
cmp rbx, 0x5f5e0ff
ja 0x140135ab6
mov eax, 8
cmp rbx, 0x98967f
ja 0x140135ab6
mov eax, 7
cmp rbx, 0xf423f
ja 0x140135ab6
mov eax, 6
cmp rbx, 0x1869f
ja 0x140135ab6
mov eax, 5
cmp rbx, 0x270f
ja 0x140135ab6
mov eax, 4
cmp rbx, 0x3e7
ja 0x140135ab6
mov eax, 3
cmp rbx, 0x63
ja 0x140135ab6
cmp rbx, 0xa
mov eax, 1
sbb eax, 0xffffffff
mov r15d, eax
movsxd r12, ebp
lea r14, [r15 + r12]
test r12d, r12d
mov r13, qword [rsp + 0x40]
js 0x140135b08
cmp r14, 0x11
jge 0x140135b08
add r15, r13
add r15, rdi
mov rcx, rbx
mov rdx, r15
call fcn.140135270
test ebp, ebp
je 0x140135af2
mov rcx, r15
mov dl, 0x30
mov r8, r12
call sub.VCRUNTIME140.dll_memset
lea rax, [r14 + r13]
mov word [rdi + rax], 0x302e
add r13, r14
add r13, 2
jmp 0x140135d13
lea rsi, [r14 - 1]
cmp rsi, 0x10
jae 0x140135b45
lea rsi, [r15 + r13]
inc rsi
lea rdx, [rdi + rsi]
mov rcx, rbx
call fcn.140135270
lea rdx, [rdi + r13]
inc rdx
lea rcx, [rdi + r13]
mov r8, r14
call sub.VCRUNTIME140.dll_memmove
add r14, r13
mov byte [rdi + r14], 0x2e
jmp 0x140135d10
lea rax, [r14 + 4]
cmp rax, 5
jae 0x140135b9d
mov word [rdi + r13], 0x2e30
mov esi, 2
sub rsi, r14
test r14, r14
jns 0x140135b84
lea rcx, [rdi + r13]
add rcx, 2
cmp rsi, 4
mov r8d, 3
cmovge r8, rsi
add r8, 0xfffffffffffffffe
mov dl, 0x30
call sub.VCRUNTIME140.dll_memset
add r13, r15
add r13, rsi
add rdi, r13
mov rcx, rbx
mov rdx, rdi
call fcn.140135270
jmp 0x140135d13
cmp r15d, 1
jne 0x140135bc2
add bl, 0x30
mov byte [rdi + r13], bl
mov byte [rdi + r13 + 1], 0x65
lea rax, [rdi + r13]
add rax, 2
test r14, r14
jle 0x140135c07
mov rcx, rsi
jmp 0x140135c15
mov r12, rdi
lea rdi, [r15 + r13]
lea rdx, [r12 + rdi]
inc rdx
mov rcx, rbx
call fcn.140135270
movzx eax, byte [r12 + r13 + 1]
mov byte [r12 + r13], al
mov byte [r12 + r13 + 1], 0x2e
mov byte [r12 + rdi + 1], 0x65
lea rax, [r12 + rdi]
add rax, 2
test r14, r14
jle 0x140135c7f
mov rdx, rsi
jmp 0x140135c8d
mov byte [rax], 0x2d
inc rax
mov ecx, 1
sub rcx, r14
or r13, 2
cmp rcx, 0x63
jbe 0x140135c57
mov edx, ecx
imul rdx, rdx, 0x51eb851f
shr rdx, 0x25
lea r8d, [rdx + 0x30]
mov byte [rax], r8b
imul edx, edx, 0x64
sub ecx, edx
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899a_stringbyte_arrayboolean___
movzx ecx, word [rdx + rcx*2]
mov word [rax + 1], cx
shr rsi, 0x3f
add rsi, 3
add r13, rsi
jmp 0x140135d13
cmp rcx, 9
jbe 0x140135cf0
lea rdx, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899a_stringbyte_arrayboolean___
movzx ecx, word [rdx + rcx*2]
mov word [rax], cx
shr rsi, 0x3f
or rsi, 2
add r13, rsi
jmp 0x140135d13
mov byte [rax], 0x2d
inc rax
mov edx, 1
sub rdx, r14
lea rcx, [r15 + r13]
add rcx, 2
cmp rdx, 0x63
jbe 0x140135cd1
mov r8d, edx
imul r8, r8, 0x51eb851f
shr r8, 0x25
lea r9d, [r8 + 0x30]
mov byte [rax], r9b
imul r8d, r8d, 0x64
sub edx, r8d
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899a_stringbyte_arrayboolean___
movzx edx, word [r8 + rdx*2]
mov word [rax + 1], dx
shr rsi, 0x3f
add rsi, 3
jmp 0x140135d0d
cmp rdx, 9
jbe 0x140135d01
lea r8, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899a_stringbyte_arrayboolean___
movzx edx, word [r8 + rdx*2]
mov word [rax], dx
shr rsi, 0x3f
or rsi, 2
jmp 0x140135d0d
add cl, 0x30
mov byte [rax], cl
shr rsi, 0x3f
inc rsi
add r13, rsi
jmp 0x140135d13
add dl, 0x30
mov byte [rax], dl
shr rsi, 0x3f
inc rsi
add rsi, rcx
mov r13, rsi
mov rax, r13
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret