Function at 0x1400377b0
Capabilities:
Encode data using base64
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rdi, rdx
mov rbx, rcx
mov dword [rbp - 0x50], 0
mov qword [rcx], 0
mov qword [rcx + 0x10], 0
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], 0
mov dword [rbp - 0x50], 1
xor r14d, r14d
lea r13d, [r14 - 6]
cmp qword [rdx + 0x18], 0x10
jb 0x140037818
mov rcx, qword [rdx]
mov rdx, rcx
mov r15, rcx
jmp 0x14003781e
mov r15, rdi
mov rcx, rdi
mov rax, qword [rdi + 0x10]
add rax, rdx
mov qword [rbp + 0x50], rax
cmp rcx, rax
je 0x1400379d3
nop dword [rax]
nop word [rax + rax]
shl r14d, 8
movsx eax, byte [r15]
add r14d, eax
add r13d, 8
js 0x140037918
movsxd r12, r14d
movsxd rdi, r13d
lea ecx, [r13 + 6]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
mov esi, edx
imul eax, edx, 0xfffffffa
add r13d, eax
movdqa xmm0, xmmword [0x1400c4b50]
movdqu xmmword [rbp - 0x4c], xmm0
movdqa xmm1, xmmword [0x1400c4a80]
movdqu xmmword [rbp - 0x3c], xmm1
movdqa xmm0, xmmword [0x1400c4a70]
movdqu xmmword [rbp - 0x2c], xmm0
movdqa xmm1, xmmword [0x1400c5240]
movdqu xmmword [rbp - 0x1c], xmm1
mov word [rbp - 0xc], 0x100
xor eax, eax
nop dword [rax]
lea ecx, [rax + 0x46]
xor byte [rbp + rax - 0x4c], cl
inc rax
cmp rax, 0x40
jb 0x1400378b0
mov byte [rbp - 0xb], 0
mov rax, r12
mov rcx, rdi
sar rax, cl
and eax, 0x3f
movzx r9d, byte [rbp + rax - 0x4c]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140037902
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400378f7
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14003790a
mov rcx, rbx
call fcn.1400483b0
sub rdi, 6
sub rsi, 1
jne 0x140037871
inc r15
cmp r15, qword [rbp + 0x50]
jne 0x140037840
cmp r13d, 0xfffffffa
jle 0x1400379cf
movdqa xmm0, xmmword [0x1400c4b50]
movdqu xmmword [rbp - 0x4c], xmm0
movdqa xmm1, xmmword [0x1400c4a80]
movdqu xmmword [rbp - 0x3c], xmm1
movdqa xmm0, xmmword [0x1400c4a70]
movdqu xmmword [rbp - 0x2c], xmm0
movdqa xmm1, xmmword [0x1400c5240]
movdqu xmmword [rbp - 0x1c], xmm1
mov word [rbp - 0xc], 0x100
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx + 0x46]
xor byte [rbp + rcx - 0x4c], al
inc rcx
cmp rcx, 0x40
jb 0x140037970
mov byte [rbp - 0xb], 0
lea ecx, [r13 + 8]
shl r14d, 8
movsxd rdx, r14d
sar rdx, cl
and edx, 0x3f
movzx r9d, byte [rbp + rdx - 0x4c]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400379c7
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400379bc
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400379cf
mov rcx, rbx
call fcn.1400483b0
mov rdi, qword [rbp + 0x48]
mov rcx, qword [rbx + 0x10]
test cl, 3
je 0x140037a19
nop dword [rax]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x140037a05
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400379fd
mov rax, qword [rbx]
mov word [rcx + rax], 0x3d
jmp 0x140037a10
mov r9b, 0x3d
mov rcx, rbx
call fcn.1400483b0
mov rcx, qword [rbx + 0x10]
test cl, 3
jne 0x1400379e0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140037a4f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140037a4a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140037a7d
mov rcx, r8
call fcn.1400a9aa8
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rax, rbx
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3