Function at 0x140197b80
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 [0x1403e3c28]
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 0x140197be1
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 0x140197c04
cmp byte [rax - 1], 0x3d
jne 0x140197c04
inc rcx
dec rax
cmp rax, r8
jne 0x140197bf3
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.1400e02a0
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 0x140197d00
movsx ecx, byte [r8]
cmp cl, 0x3d
je 0x140197d00
mov rdx, 0xffffffffffffffff
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x140197c69
lea eax, [rcx - 0x61]
movsxd rdx, eax
add rdx, 0x1a
jmp 0x140197cb1
lea eax, [rcx - 0x41]
cmp al, 0x19
ja 0x140197c78
lea eax, [rcx - 0x41]
movsxd rdx, eax
jmp 0x140197cb1
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140197c8b
lea eax, [rcx - 0x30]
movsxd rdx, eax
add rdx, 0x34
jmp 0x140197cb1
test sil, sil
je 0x140197de1
cmp cl, 0x2d
je 0x140197dea
cmp cl, 0x5f
je 0x140197cac
test sil, sil
jne 0x140197cb1
cmp cl, 0x2f
jne 0x140197cb1
mov edx, 0x3f
cmp rdx, 0xffffffffffffffff
je 0x140197df4
shl r10d, 6
or r10d, edx
and r9d, 3
inc r9
cmp r9, 1
je 0x140197cf4
mov eax, 4
sub al, r9b
lea ecx, [rax + rax]
mov edx, r10d
shr edx, cl
lea rax, [rbp - 0x41]
cmp qword [rbp - 0x29], 0x10
cmovae rax, qword [rbp - 0x41]
mov byte [rax + r14], dl
inc r14
inc r8
cmp r8, r11
jne 0x140197c42
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x61]
call fcn.14003ae50
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], sendto
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], sendto
mov byte [rbp - 0x61], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140197da1
inc rdx
mov rcx, qword [rbp - 0x41]
cmp rdx, 0x1000
jb 0x140197d9c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140197f60
mov rcx, r8
call fcn.140096c70
mov rax, rbx
mov byte [rbp - 0x41], 0
mov qword [rbp - 0x29], sendto
mov qword [rbp - 0x31], r15
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.1401f11e0
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 0x140197ca7
mov edx, 0x3e
jmp 0x140197cb1
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.140026130
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], sendto
mov byte [rbp - 0x21], 0
mov edi, recv
mov dword [rsp + 0x20], edi
and edi, 0xfffffff7
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp - 9]
cmp rdx, 0x10
jb 0x140197ebd
inc rdx
mov rcx, qword [rbp - 0x21]
cmp rdx, 0x1000
jb 0x140197eb8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140197f59
mov rcx, r8
call fcn.140096c70
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], sendto
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], sendto
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], sendto
mov byte [rbp - 0x61], 0
mov rdx, qword [rbp - 0x29]
cmp rdx, 0x10
jb 0x140197da1
inc rdx
mov rcx, qword [rbp - 0x41]
cmp rdx, 0x1000
jb 0x140197d9c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x140197d99
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