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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400b7060]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
xor r13d, r13d
mov dword [rbp - 0x40], r13d
mov dword [rbp - 0x30], r13d
mov qword [rcx], r13
mov qword [rcx + 0x10], r13
mov qword [rcx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rcx], r13b
xor r8d, r8d
lea rdx, [0x1400a3b46]
call fcn.140045eb0
mov dword [rbp - 0x40], 1
mov r14, 0xffffffffffffffff
mov rsi, r14
nop dword [rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x14003dba0
test esi, esi
je 0x14003dd90
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, esi
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov eax, dword [rbp - 0x30]
test eax, eax
je 0x14003dcb5
xorps xmm0, xmm0
mov r15d, eax
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
cmp rax, 0x1000
jb 0x14003dc1b
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x14003ddb7
call fcn.140095114
mov rcx, rax
test rax, rax
je 0x14003dca9
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14003dc23
mov rcx, r15
call fcn.140095114
mov qword [rbp - 0x28], rax
lea rbx, [rax + r15]
mov qword [rbp - 0x18], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x20], rbx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp - 0x28]
mov r8d, 1
mov edx, esi
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
mov rdx, qword [rbp - 0x28]
inc r14
cmp byte [rdx + r14], 0
jne 0x14003dc62
mov r8, r14
mov rcx, rdi
call fcn.140045eb0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14003dcb5
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dcb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dcb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140094df8
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003dcc2
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 2
lea r9, [0x1400a3c1c]
mov rdx, qword [rdi + 0x10]
call fcn.140048f40
cmp rax, 0xffffffffffffffff
je 0x14003dd90
mov qword [rbp - 0x28], r13
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
mov r8d, 2
lea rdx, [0x1400a3c1c]
lea rcx, [rbp - 0x28]
call fcn.140045eb0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14003dd1d
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 2
lea r9, [0x1400a3c1c]
mov rdx, qword [rdi + 0x10]
call fcn.140048f40
mov qword [rsp + 0x20], r13
mov r8, qword [rbp - 0x18]
mov rdx, rax
mov rcx, rdi
call fcn.140045cf0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14003dcb5
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dcb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dcb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140094850
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140035470
int3