Function at 0x1400012d0
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, 0x40
mov r13, r8
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor esi, esi
mov dword [rsp + 0x28], esi
lea rcx, [r13 + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
mov edi, 0x3d
mov eax, 0x2e
test r9b, r9b
cmovne edi, eax
movzx eax, r9b
lea r15, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov r15, qword [r15 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], recv
mov byte [rbx], sil
mov dword [rsp + 0x28], 1
cmp rdx, 0xf
jbe 0x140001368
mov rcx, rbx
call fcn.140001800
mov qword [rbx + 0x10], rsi
mov r8, qword [rsp + 0x20]
test r13, r13
je 0x1400015c5
mov r14d, 2
nop word [rax + rax]
movzx eax, byte [rsi + r8]
shr rax, 2
movzx r9d, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400013ba
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400013af
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400013c7
mov rcx, rbx
call fcn.140001950
mov r8, qword [rsp + 0x20]
lea eax, [r14 - 1]
mov ecx, eax
mov rdx, qword [rbx + 0x18]
cmp rcx, r13
jae 0x1400014ff
lea rbp, [rax + r8]
movzx ecx, byte [rsi + r8]
and ecx, 3
shl ecx, 4
movzx eax, byte [rbp]
shr eax, 4
add ecx, eax
movzx r9d, byte [rcx + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14000141f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001414
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000142c
mov rcx, rbx
call fcn.140001950
mov r8, qword [rsp + 0x20]
mov eax, r14d
mov rdx, qword [rbx + 0x18]
cmp rax, r13
jae 0x1400014c7
lea r12, [rax + r8]
movzx ecx, byte [rbp]
and ecx, 0xf
movzx eax, byte [r12]
shr eax, 6
lea eax, [rax + rcx*4]
movzx r9d, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14000147f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001474
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001487
mov rcx, rbx
call fcn.140001950
movzx eax, byte [r12]
and eax, 0x3f
movzx r9d, byte [rax + r15]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400015a7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400014b9
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400015af
movzx eax, byte [rbp]
and eax, 0xf
movzx r9d, byte [r15 + rax*4]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x14000156f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400014f4
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140001577
movzx eax, byte [rsi + r8]
and eax, 3
add rax, rax
movzx r9d, byte [r15 + rax*8]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x140001537
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x14000152c
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14000153f
mov rcx, rbx
call fcn.140001950
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14000156b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x140001560
mov rax, qword [rbx]
mov byte [rax + rcx], dil
mov byte [rax + rcx + 1], 0
jmp 0x140001577
movzx r9d, dil
mov rcx, rbx
call fcn.140001950
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
cmp rcx, rdx
jae 0x1400015a3
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
cmp rdx, 0x10
mov rax, rbx
jb 0x140001598
mov rax, qword [rbx]
mov byte [rax + rcx + 1], 0
mov byte [rax + rcx], dil
jmp 0x1400015af
movzx r9d, dil
mov rcx, rbx
call fcn.140001950
add r14d, 3
lea esi, [r14 - 2]
cmp rsi, r13
mov r8, qword [rsp + 0x20]
jb 0x140001380
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret