Function at 0x140081a30
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 [0x1402f6010]
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, [0x1402d6c4b]
call fcn.14007c530
mov dword [rsp + 0x30], 1
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp byte [rbx + rbp], 0
jne 0x140081aa0
test ebx, ebx
je 0x140081c95
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 0x140081b74
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.140085740
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 0x140081b21
mov rdx, rdi
mov rcx, rsi
call fcn.14007c530
nop
test rdi, rdi
je 0x140081b74
mov rdx, qword [rsp + 0x60]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x140081b6c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081b6c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14008860c
mov rcx, rsi
call fcn.1400859f0
cmp rax, 0xffffffffffffffff
je 0x140081c95
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], 0
mov r8d, 2
lea rdx, [0x1402d79f4]
lea rcx, [rsp + 0x50]
call fcn.14007c530
nop
mov rax, qword [rsi + 0x10]
mov rbx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140081bc2
mov rbx, qword [rsi]
cmp rax, 2
jb 0x140081c2c
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 0x140081c2c
movzx edi, byte [reloc.WS2_32.dll_ioctlsocket]
movzx ebp, byte [reloc.WS2_32.dll_listen]
cmp byte [rax], bpl
jne 0x140081c03
cmp byte [rax + 1], dil
jne 0x140081c03
mov ecx, r15d
jmp 0x140081c08
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x140081c90
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 0x140081bf3
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x20], r15
mov r8, qword [rsp + 0x60]
mov rdx, rax
mov rcx, rsi
call fcn.140085b00
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140081b74
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081b6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140081b6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
sub rax, rbx
jmp 0x140081c33
mov rax, rsi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400885e0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret