Function at 0x14017bfb0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], sil
mov dword [rsp + 0x30], 1
mov ebp, esi
mov ecx, esi
movzx ebx, byte [rsp + 0x20]
nop word [rax + rax]
dec r14
movzx eax, byte [r15]
lea r15, [r15 + 1]
mov byte [rsp + rcx + 0x24], al
inc ebp
inc rcx
movzx r8d, byte [rsp + 0x26]
movzx r12d, byte [rsp + 0x25]
movzx r13d, byte [rsp + 0x24]
cmp rcx, 3
jne 0x14017c201
movzx eax, r13b
shr al, 2
movzx ecx, al
mov byte [rsp + 0x2c], cl
movzx ebp, r13b
and bpl, 3
shl bpl, 4
movzx eax, r12b
shr al, 4
add bpl, al
movzx edx, r12b
and dl, 0xf
shl dl, 2
movzx eax, r8b
shr al, 6
add dl, al
mov byte [rsp + 0x28], dl
movzx eax, r8b
and al, 0x3f
mov byte [rsp + 0x20], al
lea rax, [0x1405dec18]
cmp qword [0x1405dec30], 0x10
cmovae rax, qword [0x1405dec18]
movzx r9d, byte [rcx + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14017c0cd
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14017c0c2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14017c0de
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14014d820
lea rcx, [0x1405dec18]
cmp qword [0x1405dec30], 0x10
cmovae rcx, qword [0x1405dec18]
movzx eax, bpl
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14017c12a
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14017c11f
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14017c13b
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14014d820
lea rbp, [0x1405dec18]
mov rcx, rbp
cmp qword [0x1405dec30], 0x10
cmovae rcx, qword [0x1405dec18]
movzx eax, byte [rsp + 0x28]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14017c18b
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14017c180
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14017c19c
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14014d820
mov rcx, rbp
cmp qword [0x1405dec30], 0x10
cmovae rcx, qword [0x1405dec18]
movzx eax, byte [rsp + 0x20]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14017c1e5
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14017c1da
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14017c1f6
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14014d820
mov ebp, esi
mov rcx, rsi
movzx r8d, byte [rsp + 0x26]
test r14, r14
jne 0x14017c010
test ebp, ebp
je 0x14017c363
movsxd rax, ebp
cmp rax, 3
jge 0x14017c241
jae 0x14017c384
mov byte [rsp + rax + 0x24], 0
inc rax
cmp rax, 3
jl 0x14017c21b
movzx r8d, byte [rsp + 0x26]
movzx r12d, byte [rsp + 0x25]
movzx r13d, byte [rsp + 0x24]
movzx eax, r13b
shr al, 2
mov byte [rsp + 0x2c], al
and r13b, 3
shl r13b, 4
movzx eax, r12b
shr al, 4
add r13b, al
mov byte [rsp + 0x2d], r13b
and r12b, 0xf
shl r12b, 2
movzx eax, r8b
shr al, 6
add r12b, al
mov byte [rsp + 0x2e], r12b
and r8b, 0x3f
mov byte [rsp + 0x2f], r8b
lea eax, [rbp + 1]
movsxd r14, eax
test eax, eax
jle 0x14017c306
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
lea rcx, [0x1405dec18]
cmp qword [0x1405dec30], 0x10
cmovae rcx, qword [0x1405dec18]
movzx eax, byte [rsp + rsi + 0x2c]
movzx r9d, byte [rax + rcx]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14017c2ed
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14017c2e2
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14017c2fe
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14014d820
inc rsi
cmp rsi, r14
jl 0x14017c2a0
cmp ebp, 3
jge 0x14017c363
mov esi, 3
sub esi, ebp
movzx ebx, byte [rsp + 0x20]
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14017c349
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x14017c341
mov rax, qword [rdi]
mov word [rax + rcx], 0x3d
jmp 0x14017c35d
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.14014d820
sub rsi, 1
jne 0x14017c320
mov rax, rdi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14045a380
int3