Function at 0x1400754f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov r15d, r8d
mov r14, rdx
mov rbx, rcx
xor ecx, ecx
mov dword [rsp + 0x24], ecx
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov byte [rsp + 0x70], al
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rcx
cmp qword [rbx + 0x18], 0x10
jb 0x140075571
mov rax, qword [rbx]
jmp 0x140075574
mov rax, rbx
mov byte [rax], cl
mov dword [rsp + 0x24], 1
mov esi, ecx
xor edx, edx
mov r8d, 0xc4
lea rcx, [rbp - 0x78]
call fcn.1400d8b80
lea rcx, [rbp - 0x78]
call fcn.1400767b0
mov r8, rax
mov edx, 0x41
lea rcx, [rsp + 0x30]
call fcn.1400db084
lea rdi, [rbp - 0x78]
xor eax, eax
mov ecx, 0x41
rep stosb byte [rdi], al
lea rdi, [rbp - 0x36]
mov ecx, 0x82
rep stosb byte [rdi], al
test r15d, r15d
je 0x140075928
xor ecx, ecx
nop
dec r15d
movzx eax, byte [r14]
mov byte [rbp + rcx + 0xa8], al
inc esi
inc rcx
inc r14
mov qword [rbp + 0x98], r14
movzx edx, byte [rbp + 0xaa]
movzx r12d, byte [rbp + 0xa9]
movzx r13d, byte [rbp + 0xa8]
cmp rcx, 3
jne 0x140075700
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x20], al
movzx ecx, r13b
and cl, 3
shl cl, 4
movzx eax, r12b
shr al, 4
add cl, al
mov byte [rsp + 0x21], cl
movzx ecx, r12b
and cl, 0xf
shl cl, 2
movzx eax, dl
shr al, 6
add cl, al
mov byte [rsp + 0x22], cl
movzx eax, dl
and al, 0x3f
mov byte [rsp + 0x23], al
xor esi, esi
movzx eax, byte [rsp + rsi + 0x20]
movzx r14d, byte [rsp + rax + 0x30]
mov r8, qword [rbx + 0x10]
mov rax, r8
not rax
cmp rax, 1
jbe 0x140075717
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
ja 0x14007570a
cmp qword [rbx + 0x18], rdi
jae 0x140075691
mov rdx, rdi
mov rcx, rbx
call fcn.140004220
jmp 0x1400756ae
test rdi, rdi
jne 0x1400756b3
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x1400756a6
mov rax, qword [rbx]
jmp 0x1400756a9
mov rax, rbx
mov byte [rax], 0
jmp 0x1400756e1
test rdi, rdi
je 0x1400756e1
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400756c3
mov rax, qword [rbx]
jmp 0x1400756c6
mov rax, rbx
mov byte [rax + rcx], r14b
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x1400756da
mov rax, qword [rbx]
jmp 0x1400756dd
mov rax, rbx
mov byte [rax + rdi], 0
inc rsi
cmp rsi, 4
jl 0x140075651
xor esi, esi
xor ecx, ecx
mov r14, qword [rbp + 0x98]
movzx edx, byte [rbp + 0xaa]
test r15d, r15d
je 0x140075724
jmp 0x1400755d0
lea rcx, str.string_too_long
call fcn.1400d6d84
int3
lea rcx, str.string_too_long
call fcn.1400d6d84
int3
test esi, esi
je 0x140075928
cmp esi, 3
jge 0x140075763
mov eax, 3
sub eax, esi
movsxd rcx, eax
movsxd rax, esi
lea rdi, [rbp + 0xa8]
add rdi, rax
xor eax, eax
rep stosb byte [rdi], al
movzx edx, byte [rbp + 0xaa]
movzx r12d, byte [rbp + 0xa9]
movzx r13d, byte [rbp + 0xa8]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x20], al
and r13b, 3
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rsp + 0x21], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, dl
shr al, 6
add r12b, al
mov byte [rsp + 0x22], r12b
and dl, 0x3f
mov byte [rsp + 0x23], dl
xor r15d, r15d
lea r13d, [rsi + 1]
test r13d, r13d
jle 0x140075876
lea r14, [rsp + 0x20]
nop word [rax + rax]
movzx eax, byte [r14]
movzx r12d, byte [rsp + rax + 0x30]
mov r8, qword [rbx + 0x10]
mov rax, r8
not rax
cmp rax, 1
jbe 0x140075869
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
ja 0x14007585c
cmp qword [rbx + 0x18], rdi
jae 0x1400757fb
mov rdx, rdi
mov rcx, rbx
call fcn.140004220
jmp 0x140075818
test rdi, rdi
jne 0x14007581d
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x140075810
mov rax, qword [rbx]
jmp 0x140075813
mov rax, rbx
mov byte [rax], 0
jmp 0x14007584b
test rdi, rdi
je 0x14007584b
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14007582d
mov rax, qword [rbx]
jmp 0x140075830
mov rax, rbx
mov byte [rax + rcx], r12b
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x140075844
mov rax, qword [rbx]
jmp 0x140075847
mov rax, rbx
mov byte [rax + rdi], 0
inc r15d
inc r14
cmp r15d, r13d
jl 0x1400757c0
jmp 0x140075876
lea rcx, str.string_too_long
call fcn.1400d6d84
int3
lea rcx, str.string_too_long
call fcn.1400d6d84
int3
cmp esi, 3
jge 0x140075928
nop
inc esi
mov r8, qword [rbx + 0x10]
mov rax, r8
not rax
cmp rax, 1
jbe 0x14007591b
lea rdi, [r8 + 1]
cmp rdi, 0xfffffffffffffffe
ja 0x14007590e
cmp qword [rbx + 0x18], rdi
jae 0x1400758b3
mov rdx, rdi
mov rcx, rbx
call fcn.140004220
jmp 0x1400758d0
test rdi, rdi
jne 0x1400758d5
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x1400758c8
mov rax, qword [rbx]
jmp 0x1400758cb
mov rax, rbx
mov byte [rax], 0
jmp 0x140075903
test rdi, rdi
je 0x140075903
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400758e5
mov rax, qword [rbx]
jmp 0x1400758e8
mov rax, rbx
mov byte [rcx + rax], 0x3d
mov qword [rbx + 0x10], rdi
cmp qword [rbx + 0x18], 0x10
jb 0x1400758fc
mov rax, qword [rbx]
jmp 0x1400758ff
mov rax, rbx
mov byte [rdi + rax], 0
cmp esi, 3
jl 0x140075880
jmp 0x140075928
lea rcx, str.string_too_long
call fcn.1400d6d84
int3
lea rcx, str.string_too_long
call fcn.1400d6d84
int3
mov rax, rbx
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret