Function at 0x14007ff00
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1402f1010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, rdx
mov rsi, rcx
mov qword [r11 - 0x68], rcx
xor r15d, r15d
mov dword [r11 - 0x78], r15d
mov dword [r11 - 0x60], r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r15b
xor r8d, r8d
lea rdx, [0x1402d4a7b]
call fcn.14007b6f0
mov dword [rsp + 0x30], 1
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rbx + rbp], 0
jne 0x14007ff70
test ebx, ebx
je 0x140080165
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140080044
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140084080
nop
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov rdi, qword [rsp + 0x50]
mov r9, rdi
mov r8d, 1
mov edx, ebx
mov rcx, rbp
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x14007fff1
mov rdx, rdi
mov rcx, rsi
call fcn.14007b6f0
nop
test rdi, rdi
je 0x140080044
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x14008003c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008003c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14008665c
mov rcx, rsi
call fcn.140084300
cmp rax, 0xffffffffffffffff
je 0x140080165
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x1402d57ec]
lea rcx, [rsp + 0x50]
call fcn.14007b6f0
nop
mov rax, qword [rsi + 0x10]
mov rbx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140080092
mov rbx, qword [rsi]
cmp rax, 2
jb 0x1400800fc
lea r14, [rax + rbx]
lea r8, [r14 - 1]
sub r8, rbx
mov edx, reloc.WS2_32.dll_listen
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400800fc
movzx edi, byte [reloc.WS2_32.dll_ioctlsocket]
movzx ebp, byte [reloc.WS2_32.dll_listen]
cmp byte [rax], bpl
jne 0x1400800d3
cmp byte [rax + 1], dil
jne 0x1400800d3
mov ecx, r15d
jmp 0x1400800d8
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140080160
inc rax
lea r8, [r14 - 1]
sub r8, rax
mov edx, reloc.WS2_32.dll_listen
mov rcx, rax
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x1400800c3
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x20], r15
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.140084410
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140080044
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008003f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14008003f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rax, rbx
jmp 0x140080103
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140086630
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret