Function at 0x14006ca00
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x18]
cmp r12, qword [r14 + 0x10]
jbe 0x14006d4d7
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rsp + 0xb8], rdi
mov byte [rsp + 0xc1], r8b
mov qword [rsp + 0xc8], r9
mov qword [rsp + 0xd0], r10
mov qword [rsp + 0xd8], r11
mov byte [rsp + 0xc0], sil
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rbx
mov rax, qword [rsp + 0x98]
call fcn.1400652a0
mov rax, qword [rsp + 0xd8]
test byte [rax], al
call fcn.140061760
mov rcx, qword [rsp + 0xd8]
mov rcx, qword [rcx]
add rcx, 0xffffffffffffffc4
neg rcx
mov rdx, qword [rsp + 0xc8]
mov rbx, rdx
shl rdx, cl
test rbx, rbx
mov rbx, qword [rsp + 0xd0]
mov esi, 0
cmove rbx, rsi
cmp rcx, 0x40
sbb rcx, rcx
and rdx, rcx
jmp 0x14006cac4
shl rdx, 1
dec rbx
test rdx, rdx
je 0x14006cad0
bt rdx, 0x3c
jae 0x14006cabe
mov rcx, qword [rsp + 0xb8]
cmp rcx, 0xf
jae 0x14006cb56
mov r8, rcx
shl r8, 2
mov rax, rcx
mov rcx, r8
mov r9, rdx
shl rdx, cl
lea r10, [rcx - 0x3c]
neg r10
mov rcx, r10
shr r9, cl
cmp r8, 0x40
sbb r8, r8
and r8, rdx
movabs rdx, 0xfffffffffffffff
and rdx, r8
cmp rcx, 0x40
sbb r8, r8
and r9, r8
mov r11, r9
and r9d, 1
or rdx, r9
movabs r9, 0x800000000000000
cmp r9, rdx
jae 0x14006cb3e
lea r9, [r11 + 1]
jmp 0x14006cb41
mov r9, r11
shl r9, cl
and r9, r8
bt r9, 0x3d
jae 0x14006cb5c
shr r9, 1
inc rbx
jmp 0x14006cb5c
mov rax, rcx
mov r9, rdx
movzx edx, byte [rsp + 0xc0]
cmp dl, 0x58
jne 0x14006cb72
lea rcx, [0x140132c00]
jmp 0x14006cb79
lea rcx, [0x140132bf0]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r9
movzx r8d, byte [rsp + 0xc1]
test r8b, r8b
je 0x14006cc4f
mov r8, qword [rsp + 0xa8]
lea r10, [r8 + 1]
mov r11, qword [rsp + 0xb0]
cmp r11, r10
jb 0x14006cbbd
mov rsi, qword [rsp + 0xa0]
jmp 0x14006cbed
mov rax, qword [rsp + 0xa0]
mov rbx, r10
mov rcx, r11
mov edi, 1
lea rsi, [0x14011bee0]
call fcn.140048080
mov r8, qword [rsp + 0xa8]
mov rsi, rax
mov r10, rbx
mov r11, rcx
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x50], r11
lea rax, [r8 + rsi]
call fcn.1400617a0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], 0x2d
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x70]
movzx edx, byte [rsp + 0xc0]
mov rbx, qword [rsp + 0x68]
mov r9, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x88]
jmp 0x14006cc67
mov rsi, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa0]
mov qword [rsp + 0x58], rsi
lea r10, [rsi + 3]
cmp rdi, r10
jae 0x14006cc9d
mov rax, r8
mov rbx, r10
mov rcx, rdi
mov edi, 3
lea rsi, [0x14011bee0]
call fcn.140048080
mov rsi, qword [rsp + 0x58]
mov r8, rax
mov r10, rbx
mov rdi, rcx
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x88], r8
lea rax, [r8 + rsi]
call fcn.1400617a0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], 0x30
lea rax, [rdx + rcx]
lea rax, [rax + 1]
call fcn.1400617a0
mov rcx, qword [rsp + 0x88]
movzx edx, byte [rsp + 0xc0]
mov rbx, qword [rsp + 0x58]
mov byte [rbx + rcx + 1], dl
lea rax, [rcx + rbx]
lea rax, [rax + 2]
call fcn.1400617a0
mov rcx, qword [rsp + 0x60]
mov rdx, rcx
shr rcx, 0x3c
and ecx, 1
add ecx, 0x30
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x58]
mov byte [rbx + rax + 2], cl
shl rdx, 4
mov qword [rsp + 0x60], rdx
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
jge 0x14006cdb3
test rdx, rdx
je 0x14006cdb0
mov rbx, qword [rsp + 0x50]
lea r8, [rbx + 1]
mov rcx, qword [rsp + 0x48]
cmp rcx, r8
jae 0x14006cd6d
mov rbx, r8
mov edi, 1
lea rsi, [0x14011bee0]
nop dword [rax]
call fcn.140048080
mov r8, rbx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x88], rax
lea rdx, [rax + rbx]
mov rax, rdx
call fcn.1400617a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], 0x2e
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
jmp 0x14006d477
test rcx, rcx
jle 0x14006ce2f
mov rbx, qword [rsp + 0x50]
lea r8, [rbx + 1]
mov r9, qword [rsp + 0x48]
cmp r9, r8
jae 0x14006cdea
mov rbx, r8
mov rcx, r9
mov edi, 1
lea rsi, [0x14011bee0]
call fcn.140048080
mov r8, rbx
mov r9, rcx
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x88], rax
lea rcx, [rax + rbx]
mov rax, rcx
call fcn.1400617a0
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], 0x2e
xor ecx, ecx
mov rdx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
jmp 0x14006d3c1
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
movzx r8d, byte [rsp + 0xc0]
mov r9d, r8d
or r8d, 0x20
cmp r9b, r8b
jne 0x14006ce55
mov ebx, 0x70
jmp 0x14006ce5a
mov ebx, 0x50
mov qword [rsp + 0x58], rdx
mov byte [rsp + 0x2d], bl
lea r8, [rdx + 1]
cmp rcx, r8
jae 0x14006ce8d
mov rbx, r8
mov edi, 1
lea rsi, [0x14011bee0]
nop dword [rax + rax]
call fcn.140048080
mov rdx, qword [rsp + 0x58]
mov r8, rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x88], rax
lea rbx, [rax + rdx]
mov rax, rbx
call fcn.1400617a0
mov rcx, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x2d]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], dl
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jge 0x14006ced4
neg rcx
mov edx, 0x2d
jmp 0x14006ced9
mov edx, 0x2b
mov qword [rsp + 0x68], rcx
mov byte [rsp + 0x2d], dl
mov rbx, qword [rsp + 0x48]
lea r8, [rbx + 1]
mov r9, qword [rsp + 0x50]
cmp r9, r8
jae 0x14006cf17
mov rbx, r8
mov rcx, r9
mov edi, 1
lea rsi, [0x14011bee0]
call fcn.140048080
mov r8, rbx
mov r9, rcx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x50], r9
lea rcx, [rax + rbx]
mov rax, rcx
call fcn.1400617a0
mov rcx, qword [rsp + 0x48]
movzx edx, byte [rsp + 0x2d]
mov rbx, qword [rsp + 0x88]
mov byte [rbx + rcx], dl
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x64
jge 0x14006d032
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + 2]
mov r9, rcx
sar rcx, 0x3f
movabs rax, 0xcccccccccccccccd
mov rsi, rdx
imul r9
add rdx, r9
sar rdx, 3
sub rdx, rcx
mov qword [rsp + 0x68], rdx
lea r10, [rdx + rdx*4]
shl r10, 1
sub r9, r10
mov qword [rsp + 0x48], r9
mov rcx, qword [rsp + 0x50]
nop dword [rax]
cmp rcx, r8
jae 0x14006cfc7
mov rax, rbx
mov rbx, r8
mov edi, 2
lea rsi, [0x14011bee0]
call fcn.140048080
mov rsi, qword [rsp + 0x58]
mov r8, rbx
mov rbx, rax
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x40], r8
lea rax, [rbx + rsi]
nop dword [rax]
call fcn.1400617a0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
lea rax, [rdx + rcx]
lea rax, [rax + 1]
mov rbx, qword [rsp + 0x68]
add ebx, 0x30
mov byte [rdx + rcx], bl
call fcn.1400617a0
mov rcx, qword [rsp + 0x48]
add ecx, 0x30
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rbx + 1], cl
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
jmp 0x14006d341
cmp rcx, 0x3e8
jge 0x14006d193
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + 3]
movabs rax, 0xa3d70a3d70a3d70b
mov rsi, rdx
imul rcx
movabs rax, 0xcccccccccccccccd
mov rdi, rdx
imul rcx
add rdx, rcx
mov r9, rdx
sar rdx, 3
movabs rax, 0xcccccccccccccccd
mov r10, rdx
imul rdx
add rdx, r10
sar rdx, 3
sar r9, 0x3f
sub rdx, r9
lea rdx, [rdx + rdx*4]
shl rdx, 1
lea r9, [r10 + r10*4]
shl r9, 1
lea r11, [rcx + rdi]
mov qword [rsp + 0x68], r11
sub r10, rdx
mov qword [rsp + 0x48], r10
sub rcx, r9
mov qword [rsp + 0x40], rcx
mov rdx, qword [rsp + 0x50]
nop dword [rax]
cmp rdx, r8
jae 0x14006d0ed
mov rax, rbx
mov rbx, r8
mov rcx, rdx
mov edi, 3
lea rsi, [0x14011bee0]
call fcn.140048080
mov rsi, qword [rsp + 0x58]
mov r8, rbx
mov rdx, rcx
mov rbx, rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x38], rdx
lea rax, [rbx + rsi]
call fcn.1400617a0
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
lea rax, [rdx + rcx]
lea rax, [rax + 1]
lea rbx, [rdx + rcx]
lea rbx, [rbx + 2]
mov qword [rsp + 0x80], rbx
mov rsi, qword [rsp + 0x68]
sar rsi, 6
add esi, 0x30
mov byte [rdx + rcx], sil
nop dword [rax]
call fcn.1400617a0
mov rcx, qword [rsp + 0x48]
add ecx, 0x30
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x58]
mov byte [rbx + rdx + 1], cl
mov rax, qword [rsp + 0x80]
call fcn.1400617a0
mov rcx, qword [rsp + 0x40]
add ecx, 0x30
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rbx + 2], cl
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
jmp 0x14006d341
mov rdx, qword [rsp + 0x58]
lea r8, [rdx + 4]
movabs rax, 0xa3d70a3d70a3d70b
mov rsi, rdx
imul rcx
add rdx, rcx
sar rdx, 6
movzx r9d, dl
imul r9d, r9d, 0x19a
shr r9d, 0xc
lea r9d, [r9 + r9*4]
shl r9d, 1
movabs rax, 0xcccccccccccccccd
mov rdi, rdx
imul rcx
add rdx, rcx
mov r10, rdx
sar rdx, 3
movabs rax, 0xcccccccccccccccd
mov r11, rdx
imul rdx
add rdx, r11
sar rdx, 3
sar r10, 0x3f
sub rdx, r10
lea rdx, [rdx + rdx*4]
shl rdx, 1
lea r10, [r11 + r11*4]
shl r10, 1
movabs rax, 0x4189374bc6a7ef9e
mov r12, rdx
imul rcx
mov qword [rsp + 0x68], rdx
sub edi, r9d
mov byte [rsp + 0x2f], dil
sub r11, r12
mov qword [rsp + 0x48], r11
sub rcx, r10
mov qword [rsp + 0x40], rcx
mov r9, qword [rsp + 0x50]
cmp r9, r8
jae 0x14006d273
mov rax, rbx
mov rbx, r8
mov rcx, r9
mov edi, 4
lea rsi, [0x14011bee0]
nop dword [rax + rax]
call fcn.140048080
mov rsi, qword [rsp + 0x58]
mov r9, rcx
mov r8, rbx
mov rbx, rax
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x50], r9
mov qword [rsp + 0x38], r8
lea rax, [rbx + rsi]
call fcn.1400617a0
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
lea rax, [rdx + rcx]
lea rax, [rax + 1]
lea rbx, [rdx + rcx]
lea rbx, [rbx + 2]
mov qword [rsp + 0x80], rbx
lea rsi, [rdx + rcx]
lea rsi, [rsi + 3]
mov qword [rsp + 0x78], rsi
mov rdi, qword [rsp + 0x68]
sar rdi, 8
add edi, 0x30
mov byte [rcx + rdx], dil
call fcn.1400617a0
movzx ecx, byte [rsp + 0x2f]
add ecx, 0x30
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x58]
mov byte [rbx + rdx + 1], cl
mov rax, qword [rsp + 0x80]
call fcn.1400617a0
mov rcx, qword [rsp + 0x48]
add ecx, 0x30
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x58]
mov byte [rbx + rdx + 2], cl
mov rax, qword [rsp + 0x78]
call fcn.1400617a0
mov rcx, qword [rsp + 0x40]
add ecx, 0x30
mov rbx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rbx + 3], cl
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x88], rbx
call fcn.1400652e0
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
add rsp, 0x90
pop rbp
ret
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], r9
mov qword [rsp + 0x50], rbx
lea rcx, [rax + rsi]
mov rax, rcx
call fcn.1400617a0
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x2e]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], dl
mov rcx, qword [rsp + 0x30]
inc rcx
mov rdx, qword [rsp + 0x60]
shl rdx, 4
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0xb8]
cmp r8, rcx
jle 0x14006d426
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x60], rdx
lea r9, [rsi + 1]
shr rdx, 0x3c
and edx, 0xf
mov r11, qword [rsp + 0x70]
movzx edx, byte [r11 + rdx]
mov byte [rsp + 0x2e], dl
cmp rbx, r9
jae 0x14006d373
mov rcx, rbx
mov edi, 1
lea rsi, [0x14011bee0]
mov rbx, r9
call fcn.140048080
mov rsi, qword [rsp + 0x40]
mov r9, rbx
mov rbx, rcx
jmp 0x14006d373
mov rcx, rbx
mov rdx, rsi
jmp 0x14006ce39
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x50], rdx
lea rcx, [rax + rbx]
mov rax, rcx
call fcn.1400617a0
mov rcx, qword [rsp + 0x40]
movzx edx, byte [rsp + 0x2e]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], dl
mov rcx, qword [rsp + 0x60]
shl rcx, 4
mov rdx, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
test rcx, rcx
je 0x14006d4cc
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x60], rcx
lea r8, [rbx + 1]
shr rcx, 0x3c
and ecx, 0xf
mov r10, qword [rsp + 0x70]
movzx r11d, byte [r10 + rcx]
mov byte [rsp + 0x2e], r11b
cmp rdx, r8
jae 0x14006d431
mov rbx, r8
mov rcx, rdx
mov edi, 1
lea rsi, [0x14011bee0]
call fcn.140048080
mov r8, rbx
mov rdx, rcx
mov rbx, qword [rsp + 0x40]
jmp 0x14006d431
mov rcx, rdx
mov rdx, rbx
jmp 0x14006ce39
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x28], sil
mov byte [rsp + 0x29], r8b
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
call fcn.14005e160
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
movzx esi, byte [rsp + 0x28]
movzx r8d, byte [rsp + 0x29]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x38]
mov r11, qword [rsp + 0x40]
jmp fcn.14006ca00