Function at 0x14006f190
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 r15, r9
lea eax, [rdx + 0x3f]
shr eax, 6
mov r10d, edx
sub r10d, eax
xor esi, esi
inc r10d
xor r13d, r13d
mov r9, r8
mov r11, rcx
lea eax, [r10 + r10*2]
shr eax, 2
cmp eax, dword [r15]
ja 0x14006f6b2
cmp edx, 3
jbe 0x14006f26b
mov r10d, edx
mov ebx, r13d
nop dword [rax + rax]
movzx ecx, byte [r13 + r11]
cmp edx, 1
jbe 0x14006f215
nop dword [rax + rax]
cmp cl, 0x20
jne 0x14006f215
inc ebx
dec r10d
movzx ecx, byte [rbx + r11]
cmp r10d, 1
ja 0x14006f200
test r10d, r10d
je 0x14006f26b
cmp cl, 0xd
je 0x14006f224
cmp cl, 0xa
jne 0x14006f254
inc ebx
dec r10d
cmp cl, 0xd
jne 0x14006f241
test r10d, r10d
je 0x14006f69c
movzx ecx, byte [rbx + r11]
inc ebx
dec r10d
cmp cl, 0xa
jne 0x14006f69c
test r10d, r10d
je 0x14006f26b
movzx ecx, byte [rbx + r11]
cmp cl, 0x20
jne 0x14006f290
add r10d, 0xffffffff
je 0x14006f266
inc ebx
movzx ecx, byte [rbx + r11]
test r10d, r10d
jne 0x14006f254
test r9, r9
je 0x14006f27a
cmp dword [r15], esi
jbe 0x14006f27a
mov byte [rsi + r9], 0
mov dword [r15], esi
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 0x14006f26b
mov eax, ebx
movzx r14d, byte [rax + r11]
lea ecx, [rax + 1]
test r14b, r14b
je 0x14006f26b
lea edx, [r10 - 1]
test edx, edx
je 0x14006f31e
movzx r8d, byte [rcx + r11]
cmp edx, 1
jbe 0x14006f2ca
cmp r8b, 0x20
jne 0x14006f2ca
inc ecx
dec edx
movzx r8d, byte [rcx + r11]
cmp edx, 1
ja 0x14006f2b6
test edx, edx
je 0x14006f31e
cmp r8b, 0xd
je 0x14006f2da
cmp r8b, 0xa
jne 0x14006f308
inc ecx
dec edx
cmp r8b, 0xd
jne 0x14006f2f5
test edx, edx
je 0x14006f69c
movzx r8d, byte [rcx + r11]
inc ecx
dec edx
cmp r8b, 0xa
jne 0x14006f69c
test edx, edx
je 0x14006f31e
movzx r8d, byte [rcx + r11]
cmp r8b, 0x20
jne 0x14006f334
add edx, 0xffffffff
je 0x14006f31a
inc ecx
movzx r8d, byte [rcx + r11]
test edx, edx
jne 0x14006f308
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 0x14006f31e
movzx edi, byte [rcx + r11]
inc ecx
add edx, 0xffffffff
je 0x14006f31e
movzx r8d, byte [rcx + r11]
cmp edx, 1
jbe 0x14006f368
nop
cmp r8b, 0x20
jne 0x14006f368
inc ecx
dec edx
movzx r8d, byte [rcx + r11]
cmp edx, 1
ja 0x14006f350
test edx, edx
je 0x14006f31e
cmp r8b, 0xd
je 0x14006f374
cmp r8b, 0xa
jne 0x14006f3a2
inc ecx
dec edx
cmp r8b, 0xd
jne 0x14006f38f
test edx, edx
je 0x14006f69c
movzx r8d, byte [rcx + r11]
inc ecx
dec edx
cmp r8b, 0xa
jne 0x14006f69c
test edx, edx
je 0x14006f31e
movzx r8d, byte [rcx + r11]
cmp r8b, 0x20
jne 0x14006f3ba
add edx, 0xffffffff
je 0x14006f3b1
inc ecx
jmp 0x14006f39d
test edx, edx
jne 0x14006f3a2
jmp 0x14006f31e
test edx, edx
je 0x14006f31e
movzx r12d, byte [rcx + r11]
inc ecx
add edx, 0xffffffff
je 0x14006f31e
movzx r8d, byte [rcx + r11]
cmp edx, 1
jbe 0x14006f3fc
nop dword [rax]
cmp r8b, 0x20
jne 0x14006f3fc
inc ecx
dec edx
movzx r8d, byte [rcx + r11]
cmp edx, 1
ja 0x14006f3e0
test edx, edx
je 0x14006f31e
cmp r8b, 0xd
je 0x14006f408
cmp r8b, 0xa
jne 0x14006f440
inc ecx
dec edx
cmp r8b, 0xd
jne 0x14006f423
test edx, edx
je 0x14006f69c
movzx r8d, byte [rcx + r11]
inc ecx
dec edx
cmp r8b, 0xa
jne 0x14006f69c
test edx, edx
je 0x14006f31e
movzx r8d, byte [rcx + r11]
nop word [rax + rax]
cmp r8b, 0x20
jne 0x14006f458
add edx, 0xffffffff
je 0x14006f44f
inc ecx
jmp 0x14006f435
test edx, edx
jne 0x14006f440
jmp 0x14006f31e
test edx, edx
je 0x14006f31e
movzx ebp, byte [rcx + r11]
lea r13d, [rcx + 1]
dec edx
mov ebx, r13d
mov r10d, edx
cmp r12b, 0x3d
jne 0x14006f480
cmp bpl, r12b
jne 0x14006f69c
cmp r14b, 0x2b
jb 0x14006f69c
cmp dil, 0x2b
jb 0x14006f69c
cmp r12b, 0x2b
jb 0x14006f69c
cmp bpl, 0x2b
jb 0x14006f69c
cmp r14b, 0x7a
ja 0x14006f69c
cmp dil, 0x7a
ja 0x14006f69c
cmp r12b, 0x7a
ja 0x14006f69c
cmp bpl, 0x7a
ja 0x14006f69c
xor eax, eax
cmp r12b, 0x3d
setne al
xor ecx, ecx
inc eax
cmp bpl, 0x3d
setne cl
add eax, esi
add ecx, eax
cmp ecx, dword [r15]
ja 0x14006f6b2
sub r14b, 0x2b
sub dil, 0x2b
movzx r8d, r14b
mov r9d, 0x3f
sub r9b, r14b
mov ecx, r8d
shr r9b, 7
lea r14, [0x1400a8900]
dec r9b
and ecx, 0xf
or rcx, 0x40
movzx eax, r9b
not al
and r8d, 0x3f
movzx r15d, byte [rcx + r14]
and r15b, al
movzx eax, byte [r8 + r14]
and al, r9b
movzx r8d, dil
or r15b, al
mov ecx, r8d
and ecx, 0xf
and r8d, 0x3f
or rcx, 0x40
mov r9d, 0x3f
sub r9b, dil
lea rdi, [0x1400a8900]
shr r9b, 7
dec r9b
movzx r14d, byte [rcx + rdi]
movzx eax, r9b
not al
and r14b, al
movzx eax, byte [r8 + rdi]
and al, r9b
or r14b, al
cmp r12b, 0x3d
jne 0x14006f588
xor dil, dil
jmp 0x14006f5ce
lea eax, [r12 - 0x2b]
mov r9d, 0x3f
sub r9b, al
movzx r8d, al
mov ecx, r8d
shr r9b, 7
dec r9b
and ecx, 0xf
or rcx, 0x40
movzx eax, r9b
not al
and r8d, 0x3f
movzx edi, byte [rcx + rdi]
and dil, al
lea rax, [0x1400a8900]
movzx eax, byte [r8 + rax]
and al, r9b
or dil, al
cmp bpl, 0x3d
jne 0x14006f5d8
xor cl, cl
jmp 0x14006f627
lea eax, [rbp - 0x2b]
mov r9d, 0x3f
sub r9b, al
movzx r8d, al
mov ecx, r8d
shr r9b, 7
and ecx, 0xf
lea r11, [0x1400a8900]
or rcx, 0x40
dec r9b
movzx eax, r9b
and r8d, 0x3f
not al
movzx ecx, byte [rcx + r11]
mov r11, qword [rsp + 0x40]
and cl, al
lea rax, [0x1400a8900]
movzx eax, byte [r8 + rax]
and al, r9b
or cl, al
cmp r15b, 0xff
je 0x14006f69c
cmp r14b, 0xff
je 0x14006f69c
cmp dil, 0xff
je 0x14006f69c
cmp cl, 0xff
je 0x14006f69c
mov r9, qword [rsp + 0x50]
movzx r8d, dil
shl r8b, 6
or r8b, cl
shl r15b, 2
movzx ecx, r14b
shr cl, 4
or cl, r15b
mov byte [rsi + r9], cl
inc esi
cmp r12b, 0x3d
je 0x14006f679
shr dil, 2
shl r14b, 4
or dil, r14b
mov byte [rsi + r9], dil
inc esi
mov r15, qword [rsp + 0x58]
cmp bpl, 0x3d
je 0x14006f26b
mov byte [rsi + r9], r8b
inc esi
cmp edx, 3
jbe 0x14006f26b
jmp 0x14006f1f0
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