Function at 0x140228910
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140601e40]
xor rax, rsp
mov qword [rbp + 0xf], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x69], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
and sil, 1
mov edx, r15d
test byte [rdi + 8], 3
je 0x140228971
mov rdx, qword [rdi + 8]
add rdx, 3
and rdx, 0xfffffffffffffffc
sub rdx, qword [rdi + 8]
mov rcx, r15
mov r8, qword [rdi]
mov rax, qword [rdi + 8]
add rax, r8
cmp rax, r8
je 0x140228994
cmp byte [rax - 1], 0x3d
jne 0x140228994
inc rcx
dec rax
cmp rax, r8
jne 0x140228983
add rcx, rdx
mov rax, qword [rdi + 8]
add rax, rdx
shr rax, 2
lea rdx, [rax + rax*2]
sub rdx, rcx
xor r8d, r8d
lea rcx, [rbp - 0x41]
call fcn.140039c30
nop
mov r10d, r15d
mov r9, r15
mov r14, r15
mov r8, qword [rdi]
mov r11, qword [rdi + 8]
add r11, r8
cmp r8, r11
je 0x140228a90
movsx ecx, byte [r8]
cmp cl, 0x3d
je 0x140228a90
mov rdx, 0xffffffffffffffff
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1402289f9
lea eax, [rcx - 0x61]
movsxd rdx, eax
add rdx, 0x1a
jmp 0x140228a41
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140228a08
lea eax, [rcx - 0x41]
movsxd rdx, eax
jmp 0x140228a41
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140228a1b
lea eax, [rcx - 0x30]
movsxd rdx, eax
add rdx, 0x34
jmp 0x140228a41
test sil, sil
je 0x140228b71
cmp cl, 0x2d
je 0x140228b7a
cmp cl, 0x5f
je 0x140228a3c
test sil, sil
jne 0x140228a41
cmp cl, 0x2f
jne 0x140228a41
mov edx, 0x3f
cmp rdx, 0xffffffffffffffff
je 0x140228b84
shl r10d, 6
or r10d, edx
and r9d, 3
inc r9
cmp r9, 1
je 0x140228a84
mov eax, 4
sub al, r9b
lea ecx, [rax + rax]
mov edx, r10d
shr edx, cl
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rax, qword [rbp - 0x41]
mov byte [rax + r14], dl
inc r14
inc r8
cmp r8, r11
jne 0x1402289d2
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.140027320
nop
mov dword [rsp + 0x20], 2
mov qword [rbp - 0x79], rbx
mov qword [rsp + 0x30], rbx
movups xmm0, xmmword [rbp - 0x61]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x51]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
mov byte [rbx + 0x20], 0
mov byte [rbx + 0x28], 0
mov eax, 3
mov dword [rsp + 0x20], eax
and eax, 0xfffffffd
mov dword [rsp + 0x20], eax
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140228b31
inc rdx
mov rcx, qword [rbp - 0x41]
cmp rdx, 0x1000
jb 0x140228b2c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140228cf0
mov rcx, r8
call fcn.140283db0
mov rax, rbx
mov byte [rbp - 0x41], 0
mov qword [rbp - 0x29], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x31], r15
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.140284180
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
cmp cl, 0x2b
jne 0x140228a37
mov edx, 0x3e
jmp 0x140228a41
mov byte [rbp - 1], cl
mov qword [rbp - 0x79], 9
lea rax, [rbp - 1]
mov qword [rbp - 0x71], rax
lea rax, str.Invalid_base64_character_found:___c_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x24
movaps xmm0, xmmword [rbp - 0x79]
movdqa xmmword [rbp - 0x79], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rbp - 0x79]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x21]
call fcn.14001a710
mov dword [rsp + 0x20], 8
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], r15
movups xmm6, xmmword [rbp - 0x21]
movups xmmword [rbp - 0x61], xmm6
movups xmm7, xmmword [rbp - 0x11]
movups xmmword [rbp - 0x51], xmm7
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov edi, listen
mov dword [rsp + 0x20], edi
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140228c4d
inc rdx
mov rcx, qword [rbp - 0x21]
cmp rdx, 0x1000
jb 0x140228c48
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140228ce9
mov rcx, r8
call fcn.140283db0
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x21], 0
mov qword [rbp - 1], rbx
mov qword [rsp + 0x30], rbx
mov qword [rbp - 0x79], rbx
movups xmmword [rbx], xmm6
movups xmmword [rbx + 0x10], xmm7
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
mov byte [rbx + 0x20], 1
mov byte [rbx + 0x28], 0
or edi, 1
mov dword [rsp + 0x20], edi
and edi, 0xfffffffb
mov dword [rsp + 0x20], edi
mov qword [rbp - 0x51], r15
mov qword [rbp - 0x49], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x61], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0xf
jbe 0x140228b31
inc rdx
mov rcx, qword [rbp - 0x41]
cmp rdx, 0x1000
jb 0x140228b2c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140228b29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3