Function at 0x14015f100
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 0x14015f176
mov rcx, rbx
call fcn.14013fdc0
mov qword [rbx + 0x10], rdi
test r13, r13
je 0x14015f3b9
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 0x14015f1ca
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f1bf
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14015f1d2
mov rcx, rbx
call fcn.140140710
lea eax, [r14 - 1]
mov ecx, eax
mov rdx, qword [rbx + 0x18]
cmp rcx, r13
jae 0x14015f300
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 0x14015f229
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f21e
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14015f231
mov rcx, rbx
call fcn.140140710
mov eax, r14d
mov rdx, qword [rbx + 0x18]
cmp rax, r13
jae 0x14015f2c9
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 0x14015f282
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f277
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14015f28a
mov rcx, rbx
call fcn.140140710
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 0x14015f3a0
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f2bb
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14015f3a8
movzx eax, byte [rsi]
and eax, 0xf
movzx r9d, byte [r15 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14015f36c
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f2f5
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14015f374
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 0x14015f338
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f32d
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14015f340
mov rcx, rbx
call fcn.140140710
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14015f369
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x14015f361
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14015f374
mov r9b, 0x3d
mov rcx, rbx
call fcn.140140710
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14015f39d
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0xf
mov rax, rbx
jbe 0x14015f395
mov rax, qword [rbx]
mov word [rax + rcx], 0x3d
jmp 0x14015f3a8
mov r9b, 0x3d
mov rcx, rbx
call fcn.140140710
add r14d, 3
lea edi, [r14 - 2]
cmp rdi, r13
jb 0x14015f190
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