Function at 0x1400c4710
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14, r8
mov rbx, rdx
mov qword [rbp - 8], rdx
xor esi, esi
mov dword [rbp - 0x2c], esi
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdx], sil
mov dword [rbp - 0x2c], 1
mov rdx, qword [r8 + 8]
mov r8, qword [r8]
mov rax, rdx
sub rax, r8
cmp rax, 2
jbe 0x1400c48c7
nop word [rax + rax]
movzx edi, byte [r8 + rsi]
shl rdi, 8
movzx eax, byte [r8 + rsi + 1]
or rdi, rax
shl rdi, 8
movzx eax, byte [r8 + rsi + 2]
or rdi, rax
mov rax, rdi
shr rax, 0x12
add rax, qword [0x1401eb6c0]
movzx r9d, byte [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c47cd
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c47c2
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c47d5
mov rcx, rbx
call fcn.1400270e0
mov rax, rdi
shr rax, 0xc
and eax, 0x3f
add rax, qword [0x1401eb6c0]
movzx r9d, byte [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c4816
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c480b
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c481e
mov rcx, rbx
call fcn.1400270e0
mov rax, rdi
shr rax, 6
and eax, 0x3f
add rax, qword [0x1401eb6c0]
movzx r9d, byte [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c485f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4854
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c4867
mov rcx, rbx
call fcn.1400270e0
and edi, 0x3f
add rdi, qword [0x1401eb6c0]
movzx r9d, byte [rdi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c48a1
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4896
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c48a9
mov rcx, rbx
call fcn.1400270e0
add rsi, 3
mov rdx, qword [r14 + 8]
mov r8, qword [r14]
mov rcx, rdx
sub rcx, r8
lea rax, [rsi + 2]
cmp rax, rcx
jb 0x1400c4770
sub rdx, r8
sub rdx, rsi
cmp rdx, 1
jne 0x1400c49dd
movzx edi, byte [r8 + rsi]
shl rdi, 0x10
mov rax, rdi
shr rax, 0x12
add rax, qword [0x1401eb6c0]
movzx r9d, byte [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c491e
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4913
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c4926
mov rcx, rbx
call fcn.1400270e0
shr rdi, 0xc
and edi, 0x3f
add rdi, qword [0x1401eb6c0]
movzx r9d, byte [rdi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c4964
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4959
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c496c
mov rcx, rbx
call fcn.1400270e0
movzx eax, word [0x1401c3740]
mov word [rbp - 0x30], ax
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_50]
mov byte [rbp - 0x30], 0x3d
xor byte [rbp - 0x2f], 0x31
xor al, 0x32
mov byte [rbp - 0x2e], al
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400c49a5
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140010900
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140010790
nop
jmp 0x1400c4b43
cmp rdx, 2
jne 0x1400c4b4c
movzx edi, byte [r8 + rsi]
shl rdi, 8
movzx eax, byte [r8 + rsi + 1]
or rdi, rax
shl rdi, 8
mov rax, rdi
shr rax, 0x12
add rax, qword [0x1401eb6c0]
movzx r9d, byte [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c4a3b
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4a30
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c4a43
mov rcx, rbx
call fcn.1400270e0
mov rax, rdi
shr rax, 0xc
and eax, 0x3f
add rax, qword [0x1401eb6c0]
movzx r9d, byte [rax]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c4a84
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4a79
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c4a8c
mov rcx, rbx
call fcn.1400270e0
shr rdi, 6
and edi, 0x3f
add rdi, qword [0x1401eb6c0]
movzx r9d, byte [rdi]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x1400c4aca
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0x10
jb 0x1400c4abf
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400c4ad2
mov rcx, rbx
call fcn.1400270e0
movzx eax, word [0x1401c3744]
mov word [rbp - 0x30], ax
cmp byte [0x1401c3745], 0
je 0x1400c4aee
mov byte [rbp - 0x30], 0x3d
xor byte [rbp - 0x2f], 0x31
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400c4b10
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x28]
call fcn.140010900
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
mov rcx, rbx
call fcn.140010790
nop
lea rcx, [rbp - 0x28]
call fcn.140010730
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rbp
ret