Function at 0x1800014a4
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 4], 0
mov eax, dword [rsp + 4]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp + 0x18], rax
jmp 0x1800014e6
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x18], rax
jae 0x18000163d
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov al, byte [rax]
mov byte [rsp], al
mov dword [rsp + 8], 0
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x18], rax
jae 0x180001541
movzx eax, byte [rsp]
cmp eax, 0x20
jne 0x180001541
mov rax, qword [rsp + 0x18]
inc rax
mov qword [rsp + 0x18], rax
mov eax, dword [rsp + 8]
inc eax
mov dword [rsp + 8], eax
jmp 0x180001513
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x18], rax
jne 0x180001552
jmp 0x18000163d
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
cmp rax, 2
jb 0x18000158f
movzx eax, byte [rsp]
cmp eax, 0xd
jne 0x18000158f
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax + 1]
cmp eax, 0xa
jne 0x18000158f
jmp 0x1800014d9
movzx eax, byte [rsp]
cmp eax, 0xa
jne 0x18000159d
jmp 0x1800014d9
cmp dword [rsp + 8], 0
je 0x1800015ae
mov eax, 0xffffffff
jmp 0x180001846
movzx eax, byte [rsp]
cmp eax, 0x3d
jne 0x1800015d2
mov eax, dword [rsp + 4]
inc eax
mov dword [rsp + 4], eax
cmp dword [rsp + 4], 2
jbe 0x1800015d2
mov eax, 0xffffffff
jmp 0x180001846
movzx eax, byte [rsp]
cmp eax, 0x7c
jne 0x1800015df
mov byte [rsp], 0x2f
movzx eax, byte [rsp]
cmp eax, 0x7f
jg 0x1800015fc
movzx eax, byte [rsp]
lea rcx, [0x1800092e0]
movzx eax, byte [rcx + rax]
cmp eax, 0x7f
jne 0x180001606
mov eax, 0xffffffff
jmp 0x180001846
movzx eax, byte [rsp]
lea rcx, [0x1800092e0]
movzx eax, byte [rcx + rax]
cmp eax, 0x40
jge 0x18000162b
cmp dword [rsp + 4], 0
je 0x18000162b
mov eax, 0xffffffff
jmp 0x180001846
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
jmp 0x1800014d9
cmp qword [rsp + 0x10], 0
jne 0x180001658
mov rax, qword [rsp + 0x50]
mov qword [rax], 0
xor eax, eax
jmp 0x180001846
mov rax, qword [rsp + 0x10]
shr rax, 3
imul rax, rax, 6
mov rcx, qword [rsp + 0x10]
and rcx, 7
imul rcx, rcx, 6
add rcx, 7
shr rcx, 3
add rax, rcx
mov qword [rsp + 0x10], rax
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x10]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x40], 0
je 0x1800016aa
mov rax, qword [rsp + 0x10]
cmp qword [rsp + 0x48], rax
jae 0x1800016c1
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x10]
mov qword [rax], rcx
mov eax, 0xffffffff
jmp 0x180001846
mov dword [rsp + 4], 3
mov dword [rsp + 8], 0
mov eax, dword [rsp + 8]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
jmp 0x180001700
mov rax, qword [rsp + 0x18]
dec rax
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x18], 0
jbe 0x18000182c
mov rax, qword [rsp + 0x58]
mov al, byte [rax]
mov byte [rsp + 1], al
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0xd
je 0x18000173e
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0xa
je 0x18000173e
mov rax, qword [rsp + 0x58]
movzx eax, byte [rax]
cmp eax, 0x20
jne 0x180001740
jmp 0x1800016e6
movzx eax, byte [rsp + 1]
cmp eax, 0x7c
jne 0x18000174f
mov byte [rsp + 1], 0x2f
movzx eax, byte [rsp + 1]
lea rcx, [0x1800092e0]
movzx eax, byte [rcx + rax]
cmp eax, 0x40
jne 0x18000176e
mov dword [rsp + 0xc], 1
jmp 0x180001776
mov dword [rsp + 0xc], 0
mov eax, dword [rsp + 0xc]
mov ecx, dword [rsp + 4]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 8]
shl eax, 6
movzx ecx, byte [rsp + 1]
lea rdx, [0x1800092e0]
movzx ecx, byte [rdx + rcx]
and ecx, 0x3f
or eax, ecx
mov dword [rsp + 8], eax
mov rax, qword [rsp + 0x10]
inc rax
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x10], 4
jne 0x180001827
mov qword [rsp + 0x10], 0
cmp dword [rsp + 4], 0
jbe 0x1800017e6
mov eax, dword [rsp + 8]
shr eax, 0x10
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp + 4], 1
jbe 0x180001808
mov eax, dword [rsp + 8]
shr eax, 8
mov rcx, qword [rsp + 0x20]
mov byte [rcx], al
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp dword [rsp + 4], 2
jbe 0x180001827
mov rax, qword [rsp + 0x20]
mov cl, byte [rsp + 8]
mov byte [rax], cl
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
jmp 0x1800016e6
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
mov qword [rcx], rax
xor eax, eax
add rsp, 0x38
ret