Function at 0x1400189a0
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
lea r14, [0x140090820]
cmp qword [0x140090838], 0xf
cmova r14, qword [0x140090820]
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 0x140018a26
mov rcx, rbx
call fcn.1400191b0
mov qword [rbx + 0x10], rdi
test r13, r13
je 0x140018c68
mov esi, 2
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + r12]
shr rax, 2
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140018a7a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018a6f
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018a82
mov rcx, rbx
call fcn.140012d30
lea eax, [rsi - 1]
mov ecx, eax
mov rdx, qword [rbx + 0x18]
cmp rcx, r13
jae 0x140018bb1
lea rbp, [rax + r12]
movzx ecx, byte [rdi + r12]
and ecx, 3
shl ecx, 4
movzx eax, byte [rbp]
shr eax, 4
add ecx, eax
movzx r9d, byte [rcx + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140018ad9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018ace
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018ae1
mov rcx, rbx
call fcn.140012d30
mov eax, esi
mov rdx, qword [rbx + 0x18]
cmp rax, r13
jae 0x140018b79
lea r15, [rax + r12]
movzx ecx, byte [rbp]
and ecx, 0xf
movzx eax, byte [r15]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140018b32
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018b27
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018b3a
mov rcx, rbx
call fcn.140012d30
movzx eax, byte [r15]
and eax, 0x3f
movzx r9d, byte [rax + r14]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140018c51
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018b6b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018c59
movzx eax, byte [rbp]
and eax, 0xf
movzx r9d, byte [r14 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140018c1d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018ba6
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018c25
movzx eax, byte [rdi + r12]
and eax, 3
add rax, rax
movzx r9d, byte [r14 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140018be9
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018bde
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140018bf1
mov rcx, rbx
call fcn.140012d30
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140018c1a
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140018c12
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140018c25
mov r9b, 0x3d
mov rcx, rbx
call fcn.140012d30
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140018c4e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0xf
mov rax, rbx
jbe 0x140018c46
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x140018c59
mov r9b, 0x3d
mov rcx, rbx
call fcn.140012d30
add esi, 3
lea edi, [rsi - 2]
cmp rdi, r13
jb 0x140018a40
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