Function at 0x1400303f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov r12, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
lea rcx, [r8 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
mov r15, qword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], dil
mov dword [rsp + 0x20], 1
cmp rdx, 0xf
jbe 0x140030466
mov rcx, rbx
call fcn.140016820
mov qword [rbx + 0x10], rdi
test r13, r13
je 0x1400306a9
mov r14d, 2
nop word [rax + rax]
movzx eax, byte [rdi + r12]
shr rax, 2
movzx r9d, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400304ba
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400304af
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400304c2
mov rcx, rbx
call fcn.140017260
lea eax, [r14 - 1]
mov ecx, eax
mov rdx, qword [rbx + 0x18]
cmp rcx, r13
jae 0x1400305f0
lea rsi, [rax + r12]
movzx ecx, byte [rdi + r12]
and ecx, 3
shl ecx, 4
movzx eax, byte [rsi]
shr eax, 4
add ecx, eax
movzx r9d, byte [rcx + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140030519
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14003050e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030521
mov rcx, rbx
call fcn.140017260
mov eax, r14d
mov rdx, qword [rbx + 0x18]
cmp rax, r13
jae 0x1400305b9
lea rbp, [rax + r12]
movzx ecx, byte [rsi]
and ecx, 0xf
movzx eax, byte [rbp]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140030572
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030567
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003057a
mov rcx, rbx
call fcn.140017260
movzx eax, byte [rbp]
and eax, 0x3f
movzx r9d, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030690
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400305ab
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030698
movzx eax, byte [rsi]
and eax, 0xf
movzx r9d, byte [r15 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14003065c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x1400305e5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030664
movzx eax, byte [rdi + r12]
and eax, 3
add rax, rax
movzx r9d, byte [r15 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140030628
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14003061d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140030630
mov rcx, rbx
call fcn.140017260
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140030659
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140030651
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140030664
mov r9b, 0x3d
mov rcx, rbx
call fcn.140017260
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14003068d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0xf
mov rax, rbx
jbe 0x140030685
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140030698
mov r9b, 0x3d
mov rcx, rbx
call fcn.140017260
add r14d, 3
lea edi, [r14 - 2]
cmp rdi, r13
jb 0x140030480
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret