Function at 0x14001b4ec
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rsi, rdx
xor r13d, r13d
mov qword [rsp + 0x38], r13
lea rax, vtable.MemoryBufferPtr_class_ArrayMemoryBufferPtr_unsigned_char__.0
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
test al, al
jne 0x14001b7ba
mov r15d, r13d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov r14, rax
lea ebx, [rax - 1]
lea ecx, [r14 - 2]
cmp ebx, ecx
jl 0x14001b584
mov edx, ebx
mov rcx, rsi
call fcn.14000ac78
mov rcx, rax
dec ebx
lea rax, [r15 + 1]
cmp word [rcx], 0x3d
cmovne rax, r15
mov r15, rax
jmp 0x14001b55c
lea rbx, [r14 + r14*2]
shr rbx, 2
mov ecx, 0x18
call fcn.1400587d0
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14001b5c0
lea rcx, [rbx + 1]
call fcn.140058840
lea r8, [rbx + 1]
mov rdx, rax
mov rcx, rdi
call fcn.1400067f0
mov rdi, rax
jmp 0x14001b5c3
mov rdi, r13
mov qword [rsp + 0x50], rdi
lea rax, vtable.MemoryBufferPtr_class_ArrayMemoryBufferPtr_unsigned_char__.0
mov qword [rsp + 0x48], rax
mov r12d, r13d
mov dword [rsp + 0x28], r13d
lea r10, [0x140000000]
cmp r12d, r14d
jge 0x14001b735
mov ecx, r13d
mov dword [rsp + 0x20], ecx
cmp r13d, 4
jge 0x14001b629
lea edx, [r12 + r13]
mov rcx, rsi
call fcn.14000ac78
movzx eax, word [rax]
lea r10, [0x140000000]
movsx ecx, byte [rax + r10 + 0xcca50]
and ecx, 0x3f
mov eax, dword [rsp + 0x20]
shl eax, 6
or ecx, eax
inc r13d
jmp 0x14001b5ef
xor r13d, r13d
mov r8d, r13d
mov r9d, dword [rsp + 0x28]
cmp r8d, 3
jge 0x14001b72c
cmp r9d, ebx
jl 0x14001b6f7
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
cmp word [0x1400a54e0], r13w
jne 0x14001b66a
mov rax, r13
jmp 0x14001b676
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rsp + 0x58]
call fcn.1400045d0
nop
mov qword [rsp + 0x90], 0xf
mov qword [rsp + 0x88], r13
mov byte [rsp + 0x78], r13b
lea rcx, str..._nsCrypt.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsCrypt.cpp
lea rcx, [rsp + 0x78]
call fcn.140004720
nop
lea r9, [rsp + 0x58]
mov r8d, 0x464
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0xa0]
call fcn.1400230bc
lea rdx, [0x1400c7088]
lea rcx, [rsp + 0xa0]
call fcn.14005b684
nop
movsxd rax, r8d
mov edx, dword [r10 + rax*4 + 0x8c4a0]
and edx, ecx
mov ecx, dword [r10 + rax*4 + 0x8c4b0]
sar edx, cl
movsxd rcx, r9d
mov rax, qword [rdi + 8]
mov byte [rcx + rax], dl
inc r9d
mov dword [rsp + 0x28], r9d
inc r8d
mov ecx, dword [rsp + 0x20]
jmp 0x14001b634
add r12d, 4
jmp 0x14001b5e3
mov ecx, 0x18
call fcn.1400587d0
mov r14, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14001b76d
mov rsi, rbx
sub rsi, r15
mov rcx, rsi
call fcn.140058840
mov r8, rsi
mov rdx, rax
mov rcx, r14
call fcn.1400067f0
mov rsi, rax
jmp 0x14001b770
mov rsi, r13
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + reloc.WS2_32.dll_htonl]
mov qword [rsp + 0x38], rsi
mov rcx, r13
sub rbx, r15
je 0x14001b7a7
mov r9, qword [rdi + 8]
mov rax, qword [rsp + 0x38]
mov r8, qword [rax + 8]
mov al, byte [r9 + rcx]
mov byte [r8 + rcx], al
inc rcx
cmp rcx, rbx
jb 0x14001b78a
test rdi, rdi
je 0x14001b7ba
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
nop
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140058200
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret