Function at 0x14004cee0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm7
movaps xmmword [rsp + 0xf0], xmm6
mov rsi, rdx
mov rax, qword [0x1401ab040]
xor rax, rsp
mov qword [rsp + 0xe8], rax
xorps xmm6, xmm6
movups xmmword [rdx], xmm6
mov qword [rdx + 0x10], 0
mov rax, qword [rcx + 0x18]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rcx + 0x20]
sub rcx, rax
sar rcx, 3
movabs rdx, 0xaaaaaaaaaaaaaaab
imul rcx, rdx
cmp rcx, 2
jb 0x14004cf80
mov bl, 1
mov r12d, 1
movabs r14, 0x7fffffffffffffff
movaps xmm7, xmmword [0x140178510]
lea r13, [rsp + 0xb0]
lea rbp, [0x1401851c8]
lea r15, [rsp + 0x70]
jmp 0x14004d2bc
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1400a7ab0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0xf0]
movaps xmm7, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edx, 0xa
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], 0
mov r8d, 1
mov rcx, rsi
mov r9, rdx
call fcn.140067990
jmp 0x14004d3b7
lea rcx, [rsp + 0x50]
mov dx, 0x22
call fcn.14003fb14
jmp 0x14004d058
movaps xmmword [rsp + 0xd0], xmm6
mov qword [rsp + 0xe0], 0
mov byte [rsp + 0xe7], bpl
lea rax, [rsp + 0xd0]
jmp 0x14004d119
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm0
jmp 0x14004d058
mov qword [rsi + 8], r13
jmp 0x14004d222
test r9b, r9b
jns 0x14004d027
lea rcx, [rsp + 0x50]
call fcn.14003f500
cmp byte [rsp + 0x87], 0
jns 0x14004d06c
mov rcx, qword [rsp + 0x70]
call fcn.1400a65cc
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm0
movsx rdi, byte [rsp + 0x87]
mov r13, rdi
test rdi, rdi
jns 0x14004d099
mov r13, qword [rsp + 0x78]
lea rbp, [r13 + 1]
lea rax, [r14 - 8]
movaps xmmword [rsp + 0xd0], xmm7
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xe0], rcx
cmp rbp, rax
ja 0x14004d8c8
cmp rbp, 0xa
jbe 0x14004cffe
lea rax, [r14 - 3]
and rax, rbp
add rax, 4
mov rbx, rbp
or rbx, 3
cmp rbx, 0xb
cmove rbx, rax
inc rbx
js 0x14004d8c3
lea rcx, [rbx + rbx]
call fcn.1400a6590
lea rcx, [r14 + rbx]
inc rcx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rbp
lea rcx, [rax + 2]
lea rdx, [0x1401851cc]
cmp rax, rdx
lea rbp, [0x1401851c8]
ja 0x14004d140
lea rdx, [0x1401851cc]
cmp rcx, rdx
ja 0x14004d88c
mov word [rax], 0x3d
mov rdx, r15
test dil, dil
jns 0x14004d152
mov rdx, qword [rsp + 0x70]
lea rdi, [rcx + r13*2]
cmp rdx, rcx
jb 0x14004d164
cmp rdi, rdx
ja 0x14004d88c
test r13, r13
je 0x14004d174
add r13, r13
mov r8, r13
call fcn.1400dc980
mov word [rdi], 0
movsx rdi, byte [rsp + 0xe7]
test rdi, rdi
cmovs rdi, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xd0]
lea rax, [rsp + 0xd0]
cmovns rdx, rax
test rdi, rdi
je 0x14004d1b0
test rdx, rdx
je 0x14004d879
movsx rcx, byte [rsi + 0x17]
mov eax, 0xa
mov r13, rcx
test rcx, rcx
jns 0x14004d1d0
mov rax, qword [rsi + 0x10]
and rax, r14
dec rax
mov r13, qword [rsi + 8]
mov r8, rax
sub r8, r13
cmp r8, rdi
jb 0x14004d806
test rdi, rdi
je 0x14004d229
mov rbx, rsi
test cl, cl
jns 0x14004d1ee
mov rbx, qword [rsi]
lea rcx, [rbx + r13*2]
cmp rcx, rdx
ja 0x14004d204
lea rax, [rcx + rdi*2]
cmp rax, rdx
ja 0x14004d88c
lea r8, [rdi + rdi]
call fcn.1400dc980
add r13, rdi
cmp byte [rsi + 0x17], 0
js 0x14004d040
mov eax, r13d
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbx + r13*2], 0
cmp byte [rsp + 0xe7], 0
jns 0x14004d240
mov rcx, qword [rsp + 0xd0]
call fcn.1400a65cc
mov bl, byte [rsp + 0x47]
cmp byte [rsp + 0x87], 0
jns 0x14004d258
mov rcx, qword [rsp + 0x70]
call fcn.1400a65cc
cmp byte [rsp + 0xa7], 0
lea r13, [rsp + 0xb0]
jns 0x14004d277
mov rcx, qword [rsp + 0x90]
call fcn.1400a65cc
cmp byte [rsp + 0xc7], 0
jns 0x14004d28e
mov rcx, qword [rsp + 0xb0]
call fcn.1400a65cc
inc r12
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x20]
sub rcx, rax
sar rcx, 3
movabs rdx, 0xaaaaaaaaaaaaaaab
imul rcx, rdx
cmp r12, rcx
jae 0x14004cf80
lea rcx, [r12 + r12*2]
lea rax, [rax + rcx*8]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rcx
movaps xmmword [rsp + 0xb0], xmm7
cmp byte [rax + 0x17], 0
jns 0x14004da11
mov rdx, qword [rax]
mov r8, qword [rax + 8]
mov rcx, r13
call fcn.14003f500
movaps xmmword [rsp + 0x90], xmm6
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0x70], xmm6
movsx rax, byte [rsp + 0xc7]
test rax, rax
mov rdx, qword [rsp + 0xb8]
cmovns rdx, rax
mov rcx, qword [rsp + 0xb0]
mov r8, r13
cmovs r8, rcx
test rdx, rdx
js 0x14004d8d5
je 0x14004d351
test r8, r8
je 0x14004da3f
mov dil, 1
cmp rdx, 2
je 0x14004d8ef
cmp r12, 2
jb 0x14004d3b7
movsx rax, byte [rsi + 0x17]
test rax, rax
js 0x14004d4f8
mov rcx, rsi
cmp al, 0xa
je 0x14004cfb7
lea rdx, [rcx + rax*2]
cmp rdx, rbp
ja 0x14004d397
lea r8, [rcx + rax*2]
add r8, 2
cmp r8, rbp
ja 0x14004d88c
mov word [rdx], 0x20
lea rdx, [rax + 1]
cmp byte [rsi + 0x17], 0
js 0x14004d4e9
and dl, 0x7f
mov byte [rsi + 0x17], dl
mov word [rcx + rax*2 + 2], 0
and bl, dil
lea r14, [rsp + 0x90]
je 0x14004d90e
mov rcx, r13
mov rdx, r14
mov r8, r15
call fcn.14004c970
test al, al
je 0x14004d90e
movsx rdi, byte [rsp + 0xa7]
test rdi, rdi
cmovs rdi, qword [rsp + 0x98]
mov rdx, qword [rsp + 0x90]
cmovns rdx, r14
test rdi, rdi
je 0x14004d40d
test rdx, rdx
je 0x14004d879
movsx rcx, byte [rsi + 0x17]
mov eax, 0xa
mov r13, rcx
test rcx, rcx
movabs r14, 0x7fffffffffffffff
jns 0x14004d437
mov rax, qword [rsi + 0x10]
and rax, r14
dec rax
mov r13, qword [rsi + 8]
mov r8, rax
sub r8, r13
cmp r8, rdi
jb 0x14004d7d4
test rdi, rdi
je 0x14004d49b
mov rbp, rsi
test cl, cl
jns 0x14004d455
mov rbp, qword [rsi]
lea rcx, [r13*2]
add rcx, rbp
cmp rcx, rdx
ja 0x14004d472
lea rax, [rcx + rdi*2]
cmp rax, rdx
ja 0x14004d88c
lea r8, [rdi + rdi]
call fcn.1400dc980
add r13, rdi
cmp byte [rsi + 0x17], 0
js 0x14004d4f2
mov eax, r13d
and al, 0x7f
mov byte [rsi + 0x17], al
mov word [rbp + r13*2], 0
lea rbp, [0x1401851c8]
movsx r9, byte [rsp + 0x87]
test r9, r9
mov r8, qword [rsp + 0x78]
mov rcx, r9
cmovs rcx, r8
test rcx, rcx
je 0x14004d244
mov byte [rsp + 0x47], bl
mov rax, r9
shr rax, 0x3f
test r9b, r9b
mov rdx, qword [rsp + 0x70]
mov r11, r15
cmovs r11, rdx
lea rdi, [rcx + rcx]
xor r10d, r10d
movabs rbp, 0x1000000000000005
jmp 0x14004d532
mov qword [rsi + 8], rdx
jmp 0x14004d3b0
mov qword [rsi + 8], r13
jmp 0x14004d48c
mov rdx, qword [rsi + 0x10]
and rdx, r14
dec rdx
mov rax, qword [rsi + 8]
cmp rdx, rax
je 0x14004cfbc
mov rcx, qword [rsi]
jmp 0x14004d37d
cmp ebx, 9
je 0x14004d547
add r10, 2
cmp rdi, r10
je 0x14004d049
movzx ebx, word [r11 + r10]
lea r13d, [rbx - 0x20]
cmp r13d, 0x3c
ja 0x14004d520
bt rbp, r13
jae 0x14004d520
cmp rdi, r10
je 0x14004d049
cmp r10, 0xfffffffffffffffe
je 0x14004d049
movabs rdx, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rdx
movaps xmmword [rsp + 0x50], xmm7
mov byte [rsp + 0x67], 1
mov dword [rsp + 0x50], 0x22
xor ebp, ebp
jmp 0x14004d646
movups xmmword [rsp + 0x28], xmm6
mov qword [rsp + 0x20], r13
mov r8d, 1
lea rcx, [rsp + 0x50]
mov rdx, r13
mov r9, r13
call fcn.140029b22
mov rax, r13
jmp 0x14004d600
cmp al, 0xa
je 0x14004d86e
lea ecx, [rax + 1]
and cl, 0x7f
mov byte [rsp + 0x67], cl
lea rcx, [rsp + 0x50]
jmp 0x14004d60e
mov rcx, rdx
test al, 1
jne 0x14004d5ca
mov rcx, r15
cmp word [rcx + rbp*2], 0x22
je 0x14004d8a7
test al, 1
jne 0x14004d5dc
mov rdx, r15
movzx edi, word [rdx + rbp*2]
movsx rax, byte [rsp + 0x67]
test rax, rax
jns 0x14004d5a7
mov r13, qword [rsp + 0x60]
and r13, r14
dec r13
mov rax, qword [rsp + 0x58]
cmp rax, r13
je 0x14004d582
mov rcx, qword [rsp + 0x50]
lea rdx, [rax + 1]
mov qword [rsp + 0x58], rdx
mov word [rcx + rax*2], di
mov word [rcx + rax*2 + 2], 0
mov rdi, rbp
movsx rax, byte [rsp + 0x87]
test rax, rax
jns 0x14004d89f
mov rcx, qword [rsp + 0x78]
inc rdi
shr rax, 0x3f
mov rbp, rdi
cmp rdi, rcx
jae 0x14004cfee
mov rdx, qword [rsp + 0x70]
mov r8, rdx
test al, 1
jne 0x14004d655
mov r8, r15
cmp word [r8 + rbp*2], 0x5c
jne 0x14004d5c0
lea r8, [rbp + 1]
cmp rcx, r8
mov r13, r8
cmova r13, rcx
lea rdi, [r13 - 1]
cmp r13, r8
je 0x14004d69a
test al, 1
mov r10, r15
cmovne r10, rdx
lea r9, [r8 + 1]
cmp word [r10 + r8*2], 0x5c
mov r8, r9
je 0x14004d673
lea rdi, [r9 - 2]
dec r9
mov r13, r9
cmp r13, rcx
je 0x14004d8e8
ja 0x14004da52
test al, 1
cmove rdx, r15
cmp word [rdx + r13*2], 0x22
sete cl
sub r13, rbp
shl r13, cl
lea rax, [r14 - 8]
cmp r13, rax
ja 0x14004d8c8
cmp r13, 0xb
jae 0x14004da65
mov byte [rsp + 0xe7], r13b
lea rax, [rsp + 0xd0]
test r13, r13
je 0x14004d6fa
xor ecx, ecx
mov word [rax + rcx*2], 0x5c
inc rcx
cmp r13, rcx
jne 0x14004d6ec
mov word [rax + r13*2], 0
movsx rbp, byte [rsp + 0xe7]
test rbp, rbp
cmovs rbp, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0xd0]
lea rax, [rsp + 0xd0]
cmovns rdx, rax
test rbp, rbp
je 0x14004d738
test rdx, rdx
je 0x14004d879
movsx rcx, byte [rsp + 0x67]
mov eax, 0xa
mov r13, rcx
test rcx, rcx
jns 0x14004d75b
mov rax, qword [rsp + 0x60]
and rax, r14
dec rax
mov r13, qword [rsp + 0x58]
mov r8, rax
sub r8, r13
cmp r8, rbp
jb 0x14004d838
test rbp, rbp
je 0x14004d7ba
lea rbx, [rsp + 0x50]
test cl, cl
jns 0x14004d77d
mov rbx, qword [rsp + 0x50]
lea rcx, [rbx + r13*2]
cmp rcx, rdx
ja 0x14004d793
lea rax, [rcx + rbp*2]
cmp rax, rdx
ja 0x14004d88c
lea r8, [rbp*2]
call fcn.1400dc980
add r13, rbp
cmp byte [rsp + 0x67], 0
js 0x14004d7cd
mov eax, r13d
and al, 0x7f
mov byte [rsp + 0x67], al
mov word [rbx + r13*2], 0
cmp byte [rsp + 0xe7], 0
jns 0x14004d61c
jmp 0x14004da2d
mov qword [rsp + 0x58], r13
jmp 0x14004d7b3
lea r8, [rdi + r13]
sub r8, rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], 0
mov rcx, rsi
mov rdx, rax
mov r9, r13
call fcn.140067990
jmp 0x14004d49b
lea r8, [rdi + r13]
sub r8, rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], 0
mov rcx, rsi
mov rdx, rax
mov r9, r13
call fcn.140067990
jmp 0x14004d229
mov r8, r13
add r8, rbp
sub r8, rax
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x50]
mov rdx, rax
mov r9, r13
call fcn.140067990
jmp 0x14004d7ba
mov r13d, 0xa
jmp 0x14004d582
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude_string:2717:_assertion___n__0____s___nullptr_failed:_string::append_received_nullptr_n
call fcn.1400ef50b
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h:322:_assertion__std::__is_pointer_in_range___s1____s1____n____s2__failed:_char_traits::copy:_source_and_destination_ranges_overlap_n
call fcn.1400ef50b
mov rcx, rax
jmp 0x14004d633
lea rdx, [0x1401852d4]
lea rcx, [rsp + 0x50]
mov r8d, 2
call fcn.14003f5ee
jmp 0x14004d619
call fcn.1400ec0a5
lea rcx, [rsp + 0xd0]
call fcn.1400ec080
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1400ef50b
mov cl, 1
jmp 0x14004d6b8
cmp word [r8], 0x2d
jne 0x14004d35e
test al, al
cmovns rcx, r13
cmp word [rcx + 2], 0x2d
setne dil
jmp 0x14004d35e
mov rax, qword [rsp + 0x48]
cmp byte [rax + 0x10], 0
je 0x14004d97e
lea rax, [0x140185240]
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov qword [rdx + 8], 3
lea r13, [rsp + 0xd0]
mov rcx, r13
call fcn.14006db60
movsx r8, byte [r13 + 0x17]
test r8, r8
jns 0x14004d95a
mov r8, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xd0]
mov rcx, rsi
mov rdx, r13
call fcn.14003f5ee
cmp byte [rsp + 0xe7], 0
jns 0x14004d9ca
mov rcx, qword [rsp + 0xd0]
call fcn.1400a65cc
jmp 0x14004d9ca
lea rcx, [rsp + 0xd0]
lea r13, [rsp + 0xb0]
mov rdx, r13
call fcn.140077d40
cmp byte [r13 + 0x17], 0
jns 0x14004d9aa
mov rcx, qword [rsp + 0xb0]
call fcn.1400a65cc
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xc0], rax
movups xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0xb0], xmm0
movsx r8, byte [rsp + 0xc7]
test r8, r8
cmovs r8, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0xb0]
lea rax, [rsp + 0xb0]
cmovns rdx, rax
mov rcx, rsi
call fcn.14003f5ee
lea rbp, [0x1401851c8]
movabs r14, 0x7fffffffffffffff
jmp 0x14004d244
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0xc0], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0xb0], xmm0
jmp 0x14004d2f7
mov rcx, qword [rsp + 0xd0]
call fcn.1400a65cc
jmp 0x14004d61c
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1400ef50b
lea rcx, [0x14017b0a5]
lea rdx, str....._third_partylibc_srcinclude_string:1221:_assertion___pos___size___failed:_string_index_out_of_bounds_n
call fcn.1400ef50b
lea rax, [r14 - 3]
and rax, r13
add rax, 4
mov rbx, r13
or rbx, 3
cmp rbx, 0xb
cmove rbx, rax
inc rbx
js 0x14004d8c3
lea rcx, [rbx + rbx]
call fcn.1400a6590
mov qword [rsp + 0xd0], rax
movabs r14, 0x7fffffffffffffff
lea rcx, [r14 + rbx]
inc rcx
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xd8], r13
jmp 0x14004d6ea