Function at 0x140037ee0
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 [0x1400c1060]
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, [0x1400a2c26]
call fcn.14003fdd0
mov dword [rbp - 0x40], 1
mov r14, 0xffffffffffffffff
mov rsi, r14
nop dword [rax]
inc rsi
cmp byte [r12 + rsi], 0
jne 0x140037f50
test esi, esi
je 0x140038140
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 0x140038065
xorps xmm0, xmm0
mov r15d, eax
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r13
cmp rax, 0x1000
jb 0x140037fcb
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x140038167
call fcn.1400933f4
mov rcx, rax
test rax, rax
je 0x140038059
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140037fd3
mov rcx, r15
call fcn.1400933f4
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 0x140038012
mov r8, r14
mov rcx, rdi
call fcn.14003fdd0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x140038065
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038060
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400930d8
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140038072
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 2
lea r9, [0x1400a2cec]
mov rdx, qword [rdi + 0x10]
call fcn.140042a60
cmp rax, 0xffffffffffffffff
je 0x140038140
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, [0x1400a2cec]
lea rcx, [rbp - 0x28]
call fcn.14003fdd0
nop
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400380cd
mov rcx, qword [rdi]
mov qword [rsp + 0x20], 2
lea r9, [0x1400a2cec]
mov rdx, qword [rdi + 0x10]
call fcn.140042a60
mov qword [rsp + 0x20], r13
mov r8, qword [rbp - 0x18]
mov rdx, rax
mov rcx, rdi
call fcn.14003fc10
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x140038065
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140038060
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140038060
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.140092b30
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.14002c7b0
int3