Function at 0x1400be960
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, r9
lea eax, [rdx + 0x3f]
shr eax, 6
mov r10d, edx
sub r10d, eax
xor r13d, r13d
inc r10d
xor r12d, r12d
mov r9, r8
mov ebp, edx
lea eax, [r10 + r10*2]
shr eax, 2
cmp eax, dword [r14]
ja 0x1400bee90
cmp edx, 3
jbe 0x1400bea30
mov r10d, edx
mov r11d, r12d
movzx edx, byte [r12 + rcx]
cmp ebp, 1
jbe 0x1400be9d7
cmp dl, 0x20
jne 0x1400be9d7
inc r11d
dec r10d
movzx edx, byte [r11 + rcx]
cmp r10d, 1
ja 0x1400be9c1
test r10d, r10d
je 0x1400bea30
cmp dl, 0xd
je 0x1400be9e6
cmp dl, 0xa
jne 0x1400bea18
inc r11d
dec r10d
cmp dl, 0xd
jne 0x1400bea05
test r10d, r10d
je 0x1400bee7a
movzx edx, byte [r11 + rcx]
inc r11d
dec r10d
cmp dl, 0xa
jne 0x1400bee7a
test r10d, r10d
je 0x1400bea30
movzx edx, byte [r11 + rcx]
cmp dl, 0x20
jne 0x1400bea56
add r10d, 0xffffffff
je 0x1400bea2b
inc r11d
movzx edx, byte [r11 + rcx]
test r10d, r10d
jne 0x1400bea18
test r9, r9
je 0x1400bea40
cmp dword [r14], r13d
jbe 0x1400bea40
mov byte [r13 + r9], 0
mov dword [r14], r13d
xor eax, eax
mov rbx, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test r10d, r10d
je 0x1400bea30
mov eax, r11d
lea r8d, [r11 + 1]
movzx esi, byte [rax + rcx]
test sil, sil
je 0x1400bea30
lea edx, [r10 - 1]
test edx, edx
je 0x1400beae9
movzx r9d, byte [r8 + rcx]
cmp edx, 1
jbe 0x1400bea99
nop dword [rax]
cmp r9b, 0x20
jne 0x1400bea99
inc r8d
dec edx
movzx r9d, byte [r8 + rcx]
cmp edx, 1
ja 0x1400bea80
test edx, edx
je 0x1400beae9
cmp r9b, 0xd
je 0x1400beaa5
cmp r9b, 0xa
jne 0x1400bead5
inc r8d
dec edx
cmp r9b, 0xd
jne 0x1400beac2
test edx, edx
je 0x1400bee7a
movzx r9d, byte [r8 + rcx]
inc r8d
dec edx
cmp r9b, 0xa
jne 0x1400bee7a
test edx, edx
je 0x1400beae9
movzx r9d, byte [r8 + rcx]
cmp r9b, 0x20
jne 0x1400beaff
add edx, 0xffffffff
je 0x1400beae5
inc r8d
jmp 0x1400bead0
test edx, edx
jne 0x1400bead5
mov eax, 0xffffff7c
mov rbx, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test edx, edx
je 0x1400beae9
movzx ebx, byte [r8 + rcx]
inc r8d
sub edx, 1
je 0x1400beae9
movzx r9d, byte [r8 + rcx]
cmp edx, 1
jbe 0x1400beb39
nop word [rax + rax]
cmp r9b, 0x20
jne 0x1400beb39
inc r8d
dec edx
movzx r9d, byte [r8 + rcx]
cmp edx, 1
ja 0x1400beb20
test edx, edx
je 0x1400beae9
cmp r9b, 0xd
je 0x1400beb45
cmp r9b, 0xa
jne 0x1400beb80
inc r8d
dec edx
cmp r9b, 0xd
jne 0x1400beb62
test edx, edx
je 0x1400bee7a
movzx r9d, byte [r8 + rcx]
inc r8d
dec edx
cmp r9b, 0xa
jne 0x1400bee7a
test edx, edx
je 0x1400beae9
movzx r9d, byte [r8 + rcx]
nop dword [rax]
cmp r9b, 0x20
jne 0x1400beb99
add edx, 0xffffffff
je 0x1400beb90
inc r8d
jmp 0x1400beb74
test edx, edx
jne 0x1400beb80
jmp 0x1400beae9
test edx, edx
je 0x1400beae9
movzx r15d, byte [r8 + rcx]
inc r8d
sub edx, 1
je 0x1400beae9
movzx r9d, byte [r8 + rcx]
cmp edx, 1
jbe 0x1400bebdd
nop dword [rax]
cmp r9b, 0x20
jne 0x1400bebdd
inc r8d
dec edx
movzx r9d, byte [r8 + rcx]
cmp edx, 1
ja 0x1400bebc0
test edx, edx
je 0x1400beae9
cmp r9b, 0xd
je 0x1400bebe9
cmp r9b, 0xa
jne 0x1400bec20
inc r8d
dec edx
cmp r9b, 0xd
jne 0x1400bec06
test edx, edx
je 0x1400bee7a
movzx r9d, byte [r8 + rcx]
inc r8d
dec edx
cmp r9b, 0xa
jne 0x1400bee7a
test edx, edx
je 0x1400beae9
movzx r9d, byte [r8 + rcx]
nop dword [rax]
cmp r9b, 0x20
jne 0x1400bec39
add edx, 0xffffffff
je 0x1400bec30
inc r8d
jmp 0x1400bec18
test edx, edx
jne 0x1400bec20
jmp 0x1400beae9
test edx, edx
je 0x1400beae9
movzx edi, byte [r8 + rcx]
lea r12d, [r8 + 1]
lea ebp, [rdx - 1]
mov r11d, r12d
mov r10d, ebp
cmp r15b, 0x3d
jne 0x1400bec62
cmp dil, r15b
jne 0x1400bee7a
cmp sil, 0x2b
jb 0x1400bee7a
cmp bl, 0x2b
jb 0x1400bee7a
cmp r15b, 0x2b
jb 0x1400bee7a
cmp dil, 0x2b
jb 0x1400bee7a
cmp sil, 0x7a
ja 0x1400bee7a
cmp bl, 0x7a
ja 0x1400bee7a
cmp r15b, 0x7a
ja 0x1400bee7a
cmp dil, 0x7a
ja 0x1400bee7a
xor eax, eax
cmp r15b, 0x3d
setne al
xor edx, edx
inc eax
cmp dil, 0x3d
setne dl
add eax, r13d
add edx, eax
cmp edx, dword [r14]
ja 0x1400bee90
sub sil, 0x2b
sub bl, 0x2b
movzx r8d, sil
mov r9d, 0x3f
sub r9b, sil
mov edx, r8d
shr r9b, 7
lea rsi, [0x14016f1d0]
dec r9b
and edx, 0xf
or rdx, 0x40
movzx eax, r9b
not al
and r8d, 0x3f
movzx r14d, byte [rdx + rsi]
and r14b, al
movzx eax, byte [r8 + rsi]
and al, r9b
movzx r8d, bl
or r14b, al
mov edx, r8d
and edx, 0xf
and r8d, 0x3f
or rdx, 0x40
mov r9d, 0x3f
sub r9b, bl
lea rbx, [0x14016f1d0]
shr r9b, 7
dec r9b
movzx esi, byte [rdx + rbx]
movzx eax, r9b
not al
and sil, al
movzx eax, byte [r8 + rbx]
and al, r9b
or sil, al
cmp r15b, 0x3d
jne 0x1400bed66
xor bl, bl
jmp 0x1400beda9
lea eax, [r15 - 0x2b]
mov r9d, 0x3f
sub r9b, al
movzx r8d, al
mov edx, r8d
shr r9b, 7
dec r9b
and edx, 0xf
or rdx, 0x40
movzx eax, r9b
not al
and r8d, 0x3f
movzx ebx, byte [rdx + rbx]
and bl, al
lea rax, [0x14016f1d0]
movzx eax, byte [r8 + rax]
and al, r9b
or bl, al
cmp dil, 0x3d
jne 0x1400bedb3
xor dl, dl
jmp 0x1400bee01
lea eax, [rdi - 0x2b]
mov r9d, 0x3f
sub r9b, al
movzx r8d, al
mov edx, r8d
shr r9b, 7
and edx, 0xf
lea rcx, [0x14016f1d0]
or rdx, 0x40
dec r9b
movzx eax, r9b
and r8d, 0x3f
not al
movzx edx, byte [rdx + rcx]
mov rcx, qword [rsp + 0x40]
and dl, al
lea rax, [0x14016f1d0]
movzx eax, byte [r8 + rax]
and al, r9b
or dl, al
cmp r14b, 0xff
je 0x1400bee7a
cmp sil, 0xff
je 0x1400bee7a
cmp bl, 0xff
je 0x1400bee7a
cmp dl, 0xff
je 0x1400bee7a
mov r9, qword [rsp + 0x50]
movzx r8d, bl
shl r8b, 6
or r8b, dl
shl r14b, 2
movzx edx, sil
shr dl, 4
or dl, r14b
mov byte [r13 + r9], dl
inc r13d
cmp r15b, 0x3d
je 0x1400bee55
shr bl, 2
shl sil, 4
or bl, sil
mov byte [r13 + r9], bl
inc r13d
mov r14, qword [rsp + 0x58]
cmp dil, 0x3d
je 0x1400bea30
mov byte [r13 + r9], r8b
inc r13d
cmp ebp, 3
jbe 0x1400bea30
jmp 0x1400be9b7
mov eax, 0xffffff66
mov rbx, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rsp + 0x48]
mov eax, 0xffffff53
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret