Function at 0x1400460f0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
xor eax, eax
mov rbp, rcx
imul rcx, r8, 4
mov rsi, rdx
mov rbx, r8
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
seto al
test r9b, r9b
je 0x1400463b8
test rax, rax
jne 0x140046660
movabs rdi, 0x5555555555555556
mov rax, rcx
sar rcx, 0x3f
imul rdi
sub rdx, rcx
add rdx, 6
mov rcx, rdx
js 0x1400466a0
lea r12, [rsp + 0x50]
mov rcx, r12
call fcn.140009e00
mov rax, rbx
imul rdi
mov rax, rbx
sar rax, 0x3f
sub rdx, rax
lea rax, [rdx + rdx*2]
mov rdx, rbx
sub rdx, rax
mov rax, rbx
sub rax, rdx
seto r13b
mov qword [rsp + 0x30], rax
mov r14, rax
movzx r13d, r13b
jo 0x140046660
test rax, rax
je 0x140046ac0
test rbx, rbx
jle 0x140046778
movzx eax, byte [rsi]
shl eax, 0x10
cmp rbx, 1
je 0x1400468de
movzx edi, byte [rsi + 1]
shl edi, 8
or edi, eax
cmp rbx, 2
je 0x1400468e8
mov qword [rsp + 0x48], rdx
xor r14d, r14d
lea r10, [0x1400b6160]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0xb0], rbp
mov rbp, r14
movzx eax, byte [rsi + r13 + 2]
mov qword [rsp + 0x38], r13
mov r15, r13
add r13, 3
or edi, eax
mov rax, qword [rsp + 0x50]
cmp rax, rbp
jle 0x140046730
mov rcx, qword [rsp + 0x58]
mov r12d, edi
lea r14, [rbp + 1]
shr r12d, 0x12
test rcx, rcx
je 0x140046630
test byte [rcx + 7], 0x40
je 0x140046630
mov rcx, qword [rsp + 0x28]
call fcn.14000c8f0
mov r9d, r12d
mov rax, qword [rsp + 0x58]
lea r10, [0x1400b6160]
movzx ecx, byte [r10 + r9]
mov byte [rax + rbp + 8], cl
mov rax, qword [rsp + 0x50]
cmp r14, rax
jge 0x1400466f0
mov r11d, edi
mov rcx, qword [rsp + 0x58]
lea r12, [rbp + 2]
shr r11d, 0xc
and r11d, 0x3f
test rcx, rcx
je 0x140046648
test byte [rcx + 7], 0x40
je 0x140046648
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x40], r11d
call fcn.14000c8f0
mov r11d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
lea r10, [0x1400b6160]
movzx ecx, byte [r10 + r11]
mov byte [rax + r14 + 8], cl
mov rax, qword [rsp + 0x50]
cmp rax, r12
jle 0x140046710
mov r11d, edi
mov rcx, qword [rsp + 0x58]
lea r14, [rbp + 3]
shr r11d, 6
and r11d, 0x3f
test rcx, rcx
je 0x140046688
test byte [rcx + 7], 0x40
je 0x140046688
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x40], r11d
call fcn.14000c8f0
mov r11d, dword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
lea r10, [0x1400b6160]
movzx ecx, byte [r10 + r11]
mov byte [rax + r12 + 8], cl
mov rax, qword [rsp + 0x50]
cmp rax, r14
jle 0x1400466f0
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x14004634a
test byte [rax + 7], 0x40
je 0x14004634a
mov rcx, qword [rsp + 0x28]
call fcn.14000c8f0
mov rax, qword [rsp + 0x58]
lea r10, [0x1400b6160]
and edi, 0x3f
add rbp, 4
movzx ecx, byte [r10 + rdi]
mov byte [rax + r14 + 8], cl
cmp qword [rsp + 0x30], r13
je 0x1400467c0
cmp rbx, r13
jle 0x140046770
movzx eax, byte [rsi + r13]
lea rcx, [r15 + 4]
shl eax, 0x10
cmp rbx, rcx
jle 0x140046790
movzx edi, byte [rsi + r13 + 1]
add r15, 5
shl edi, 8
or edi, eax
cmp r15, rbx
jl 0x1400461f1
mov rbp, qword [rsp + 0xb0]
lea rdx, [rbx - 1]
mov rcx, r15
call fcn.14000bc90
jmp 0x140046665
test rax, rax
jne 0x140046660
movabs rdi, 0x5555555555555556
mov rax, rcx
sar rcx, 0x3f
imul rdi
sub rdx, rcx
add rdx, 6
mov rcx, rdx
js 0x1400466a0
lea r12, [rsp + 0x50]
mov rcx, r12
call fcn.140009e00
mov rax, rbx
imul rdi
mov rax, rbx
sar rax, 0x3f
sub rdx, rax
lea rax, [rdx + rdx*2]
mov rdx, rbx
sub rdx, rax
mov rax, rbx
sub rax, rdx
seto r13b
mov qword [rsp + 0x30], rax
mov r14, rax
movzx r13d, r13b
jo 0x140046660
test rax, rax
je 0x140046b67
test rbx, rbx
jle 0x140046778
movzx eax, byte [rsi]
shl eax, 0x10
cmp rbx, 1
je 0x1400468de
movzx edi, byte [rsi + 1]
shl edi, 8
or edi, eax
cmp rbx, 2
je 0x1400468e8
mov qword [rsp + 0x40], rdx
xor r14d, r14d
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x28], r12
movzx eax, byte [rsi + r13 + 2]
mov r15, r13
add r13, 3
or edi, eax
mov rax, qword [rsp + 0x50]
cmp r14, rax
jge 0x1400467a6
mov rcx, qword [rsp + 0x58]
mov r12d, edi
lea rbp, [r14 + 1]
shr r12d, 0x12
test rcx, rcx
je 0x1400466b8
test byte [rcx + 7], 0x40
je 0x1400466b8
mov rcx, qword [rsp + 0x28]
call fcn.14000c8f0
mov r9d, r12d
mov rax, qword [rsp + 0x58]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
movzx ecx, byte [r10 + r9]
mov byte [rax + r14 + 8], cl
mov rax, qword [rsp + 0x50]
cmp rbp, rax
jge 0x140046750
mov r11d, edi
mov rcx, qword [rsp + 0x58]
lea r12, [r14 + 2]
shr r11d, 0xc
and r11d, 0x3f
test rcx, rcx
je 0x1400466d0
test byte [rcx + 7], 0x40
je 0x1400466d0
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x38], r11d
call fcn.14000c8f0
mov r11d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
movzx ecx, byte [r10 + r11]
mov byte [rax + rbp + 8], cl
mov rax, qword [rsp + 0x50]
cmp r12, rax
jge 0x140046710
mov r11d, edi
mov rcx, qword [rsp + 0x58]
lea rbp, [r14 + 3]
shr r11d, 6
and r11d, 0x3f
test rcx, rcx
je 0x1400466e0
test byte [rcx + 7], 0x40
je 0x1400466e0
mov rcx, qword [rsp + 0x28]
mov dword [rsp + 0x38], r11d
call fcn.14000c8f0
mov r11d, dword [rsp + 0x38]
mov rax, qword [rsp + 0x58]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
movzx ecx, byte [r10 + r11]
mov byte [rax + r12 + 8], cl
mov rax, qword [rsp + 0x50]
cmp rbp, rax
jge 0x140046750
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x1400465cd
test byte [rax + 7], 0x40
je 0x1400465cd
mov rcx, qword [rsp + 0x28]
call fcn.14000c8f0
mov rax, qword [rsp + 0x58]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
and edi, 0x3f
add r14, 4
movzx ecx, byte [r10 + rdi]
mov byte [rax + rbp + 8], cl
mov rax, qword [rsp + 0x30]
cmp r13, rax
je 0x1400468f3
cmp r13, rbx
jge 0x140046770
movzx eax, byte [rsi + r13]
lea rcx, [r15 + 4]
shl eax, 0x10
cmp rbx, rcx
jle 0x140046790
movzx edi, byte [rsi + r13 + 1]
add r15, 5
shl edi, 8
or edi, eax
cmp rbx, r15
jg 0x140046479
jmp 0x14004639c
mov r9d, r12d
movzx r9d, byte [r10 + r9]
mov byte [rcx + rbp + 8], r9b
jmp 0x14004625d
movzx r11d, byte [r10 + r11]
mov byte [rcx + r14 + 8], r11b
jmp 0x1400462bc
call fcn.140008c20
movdqa xmm0, xmmword [rsp + 0x50]
mov rax, rbp
movups xmmword [rbp], xmm0
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx r11d, byte [r10 + r11]
mov byte [rcx + r12 + 8], r11b
jmp 0x14004631b
movabs r8, 0x7fffffffffffffff
xor edx, edx
call fcn.140009260
jmp 0x140046665
mov r9d, r12d
movzx r9d, byte [r10 + r9]
mov byte [rcx + r14 + 8], r9b
jmp 0x1400464e1
movzx r11d, byte [r10 + r11]
mov byte [rcx + rbp + 8], r11b
jmp 0x14004653f
movzx r11d, byte [r10 + r11]
mov byte [rcx + r12 + 8], r11b
jmp 0x14004659e
lea rdx, [rax - 1]
mov rcx, r14
mov rbp, qword [rsp + 0xb0]
call fcn.14000bc90
jmp 0x140046665
lea rdx, [rax - 1]
mov rcx, r12
mov rbp, qword [rsp + 0xb0]
call fcn.14000bc90
jmp 0x140046665
mov r14, rbp
lea rdx, [rax - 1]
mov rbp, qword [rsp + 0xb0]
mov rcx, r14
call fcn.14000bc90
jmp 0x140046665
mov r8, rbp
lea rdx, [rax - 1]
mov rbp, qword [rsp + 0xb0]
mov rcx, r8
call fcn.14000bc90
jmp 0x140046665
mov rbp, qword [rsp + 0xb0]
lea rdx, [rbx - 1]
mov rcx, r13
call fcn.14000bc90
jmp 0x140046665
mov rbp, qword [rsp + 0xb0]
lea rdx, [rbx - 1]
call fcn.14000bc90
jmp 0x140046665
lea rdx, [rax - 1]
mov rcx, r14
mov rbp, qword [rsp + 0xb0]
call fcn.14000bc90
jmp 0x140046665
mov rdx, qword [rsp + 0x48]
mov r14, rbp
mov r12, qword [rsp + 0x28]
mov rbp, qword [rsp + 0xb0]
cmp rdx, 1
je 0x1400469ed
cmp rdx, 2
jne 0x1400468ce
mov rax, qword [rsp + 0x30]
cmp rbx, rax
jle 0x140046bbe
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rsi + rax]
add rcx, 4
shl eax, 0x10
cmp rbx, rcx
jle 0x140046798
movzx edx, byte [rsi + rcx]
mov rcx, qword [rsp + 0x50]
cmp rcx, r14
jle 0x140046bad
movzx ebx, dl
mov rcx, r12
lea rdi, [0x1400b6160]
shl ebx, 8
lea rsi, [r14 + 1]
or ebx, eax
call fcn.140046050
mov eax, ebx
shr eax, 0x12
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + r14 + 8], dl
mov rax, qword [rsp + 0x50]
cmp rax, rsi
jle 0x140046bcf
mov rcx, r12
call fcn.140046050
mov eax, ebx
shr eax, 0xc
and eax, 0x3f
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + rsi + 8], dl
mov rax, qword [rsp + 0x50]
lea rsi, [r14 + 2]
cmp rax, rsi
jle 0x140046bcf
mov rcx, r12
call fcn.140046050
mov eax, ebx
lea rbx, [r14 + 3]
shr eax, 6
and eax, 0x3c
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + rsi + 8], dl
mov rax, qword [rsp + 0x50]
cmp rax, rbx
jle 0x1400469dc
mov rcx, r12
add r14, 4
call fcn.140046050
mov rax, qword [rsp + 0x58]
mov byte [rax + rbx + 8], 0x3d
mov rdx, r14
mov rcx, r12
call fcn.140009e00
jmp 0x140046665
mov ecx, 1
jmp 0x140046798
mov r15d, 2
jmp 0x1400463a4
mov rdx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0xb0]
mov r12, qword [rsp + 0x28]
cmp rdx, 1
je 0x140046af8
cmp rdx, 2
jne 0x1400468ce
cmp r13, rbx
jge 0x140046778
movzx eax, byte [rsi + r13]
lea rcx, [r13 + 1]
shl eax, 0x10
cmp rbx, rcx
jle 0x140046798
mov rdx, qword [rsp + 0x50]
movzx ebx, byte [rsi + rcx]
cmp r14, rdx
jge 0x140046be0
shl ebx, 8
mov rcx, r12
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
or ebx, eax
lea rsi, [r14 + 1]
call fcn.140046050
mov eax, ebx
shr eax, 0x12
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + r14 + 8], dl
mov rax, qword [rsp + 0x50]
cmp rax, rsi
jle 0x140046bcf
mov rcx, r12
call fcn.140046050
mov eax, ebx
shr eax, 0xc
and eax, 0x3f
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + rsi + 8], dl
mov rax, qword [rsp + 0x50]
lea rsi, [r14 + 2]
cmp rax, rsi
jle 0x140046bcf
mov rcx, r12
call fcn.140046050
mov eax, ebx
lea rbx, [r14 + 3]
shr eax, 6
and eax, 0x3c
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + rsi + 8], dl
mov rax, qword [rsp + 0x50]
cmp rbx, rax
jl 0x1400468b8
lea rdx, [rax - 1]
mov rcx, rbx
call fcn.14000bc90
jmp 0x140046665
mov rax, qword [rsp + 0x30]
add rsi, rax
cmp rbx, rax
jle 0x140046b8e
mov rax, qword [rsp + 0x50]
movzx edx, byte [rsi]
cmp rax, r14
jle 0x140046ae7
mov rcx, qword [rsp + 0x58]
mov esi, edx
mov ebx, edx
shl esi, 0x10
shr ebx, 2
test rcx, rcx
je 0x140046b96
test byte [rcx + 7], 0x40
je 0x140046b96
mov rcx, r12
lea rdi, [0x1400b6160]
call fcn.14000c8f0
mov edx, ebx
mov rax, qword [rsp + 0x58]
movzx edx, byte [rdi + rdx]
mov byte [rax + r14 + 8], dl
mov rax, qword [rsp + 0x50]
lea rbx, [r14 + 1]
cmp rbx, rax
jge 0x1400469dc
mov rcx, r12
call fcn.140046050
mov eax, esi
shr eax, 0xc
and eax, 0x30
movzx edx, byte [rdi + rax]
mov rax, qword [rsp + 0x58]
mov byte [rax + rbx + 8], dl
mov rax, qword [rsp + 0x50]
lea rbx, [r14 + 2]
cmp rax, rbx
jle 0x1400469dc
mov rcx, r12
call fcn.140046050
mov rax, qword [rsp + 0x58]
mov byte [rax + rbx + 8], 0x3d
mov rax, qword [rsp + 0x50]
lea rbx, [r14 + 3]
cmp rax, rbx
jle 0x1400469dc
jmp 0x1400468b8
cmp rdx, 1
je 0x1400469fe
cmp rdx, 2
jne 0x140046b86
movzx eax, byte [rsi]
xor r14d, r14d
mov ecx, 1
shl eax, 0x10
jmp 0x14004680c
lea rdx, [rax - 1]
mov rcx, r14
call fcn.14000bc90
jmp 0x140046665
cmp r13, rbx
jge 0x140046778
add rsi, r13
mov rax, qword [rsp + 0x50]
movzx edx, byte [rsi]
cmp rax, r14
jle 0x140046ae7
mov rcx, qword [rsp + 0x58]
mov esi, edx
mov ebx, edx
shl esi, 0x10
shr ebx, 2
test rcx, rcx
je 0x140046bf1
test byte [rcx + 7], 0x40
je 0x140046bf1
mov rcx, r12
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
call fcn.14000c8f0
mov rax, qword [rsp + 0x58]
movzx edx, byte [rdi + rbx]
mov byte [rax + r14 + 8], dl
mov rax, qword [rsp + 0x50]
lea rbx, [r14 + 1]
cmp rax, rbx
jle 0x1400469dc
jmp 0x140046a62
cmp rdx, 1
je 0x140046b04
cmp rdx, 2
jne 0x140046b86
movzx eax, byte [rsi]
xor r14d, r14d
mov ecx, 1
shl eax, 0x10
jmp 0x140046933
xor r14d, r14d
jmp 0x1400468ce
mov rcx, rax
jmp 0x140046798
lea rdi, [0x1400b6160]
mov edx, ebx
movzx edx, byte [rdi + rdx]
mov byte [rcx + r14 + 8], dl
jmp 0x140046a55
lea rdx, [rcx - 1]
mov rcx, r14
call fcn.14000bc90
jmp 0x140046665
lea rdx, [rbx - 1]
mov rcx, rax
call fcn.14000bc90
jmp 0x140046665
lea rdx, [rax - 1]
mov rcx, rsi
call fcn.14000bc90
jmp 0x140046665
sub rdx, 1
mov rcx, r14
call fcn.14000bc90
jmp 0x140046665
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__
movzx edx, byte [rdi + rbx]
mov byte [rcx + r14 + 8], dl
jmp 0x140046b55