Function at 0x14007136c
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r15, r9
mov r12, r8
mov esi, edx
mov r14, rcx
test rcx, rcx
je 0x1400716ce
test r9, r9
je 0x1400716ce
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1400713ac
mov edi, eax
mov ecx, 0x80070216
cmp rax, rdi
je 0x1400713cb
mov ebx, ecx
call fcn.140082a8c
jmp 0x1400713d5
xor ecx, ecx
call fcn.140082b34
mov ebx, r13d
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
jns 0x1400713e7
mov ecx, ebx
jmp 0x1400716d5
cmp edi, esi
lea rcx, str.________________________________________________456789:_________
mov ebp, r13d
mov eax, 0x100
cmovb esi, edi
mov rdi, r14
lea rsi, [r14 + rsi*2]
cmp r14, rsi
jae 0x140071454
cmp word [rdi], ax
jae 0x1400716ce
movzx eax, word [rdi]
cmp byte [rax + rcx], 0x3f
jbe 0x140071484
cmp word [rdi], 0x20
ja 0x140071432
movzx eax, word [rdi]
movabs rcx, 0x100002600
bt rcx, rax
jb 0x1400714af
test ebp, ebp
je 0x1400716ce
mov eax, ebp
and eax, 3
je 0x140071454
cmp word [rdi], 0x3d
jne 0x1400716ce
cmp eax, 1
je 0x1400716ce
mov ecx, ebp
mov ebx, r13d
shr ecx, 2
mov edi, 0x80070216
test ecx, ecx
je 0x1400714c9
lea esi, [rcx + rcx*2]
mov eax, 0xaaaaaaab
mul esi
shr edx, 1
cmp edx, ecx
je 0x1400714cc
mov ecx, edi
mov ebx, edi
call fcn.140082a8c
mov esi, dword [rsp + 0x50]
jmp 0x1400714cc
lea eax, [rbp + 1]
cmp eax, ebp
jb 0x140071492
mov ebp, eax
mov ebx, r13d
jmp 0x1400714a0
mov eax, 0x80070216
mov ecx, eax
mov ebx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1400713e0
add rdi, 2
cmp rdi, rsi
jae 0x140071454
lea rcx, str.________________________________________________456789:_________
mov eax, 0x100
jmp 0x140071407
mov esi, r13d
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1400713e0
mov eax, ebp
and eax, 3
sub eax, 1
je 0x1400716ce
sub eax, 1
je 0x140071519
cmp eax, 1
jne 0x14007153f
lea eax, [rsi + 1]
cmp eax, esi
jb 0x140071501
mov esi, eax
mov ebx, r13d
jmp 0x14007150a
mov ecx, edi
mov ebx, edi
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1400713e0
lea eax, [rsi + 1]
cmp eax, esi
jb 0x140071527
mov esi, eax
mov ebx, r13d
jmp 0x140071530
mov ecx, edi
mov ebx, edi
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1400713e0
test r12, r12
jne 0x14007154f
mov dword [r15], esi
mov ebx, r13d
jmp 0x1400716da
cmp dword [r15], esi
jae 0x14007155e
mov ebx, 0x8007007a
jmp 0x1400713e0
mov rdi, r12
add rsi, r12
test ebp, ebp
je 0x14007167c
mov edx, 4
mov ecx, ebp
cmp ebp, edx
mov eax, r13d
mov dword [rsp + 0x50], eax
mov r8d, r13d
cmova ecx, edx
test rcx, rcx
je 0x1400715cb
mov rdx, r13
lea r9, str.________________________________________________456789:_________
mov r10d, 0x100
jmp 0x1400715a7
movzx eax, ax
cmp byte [rax + r9], 0x3f
jbe 0x1400715b1
add r14, 2
movzx eax, word [r14]
cmp r10w, ax
ja 0x140071599
mov al, byte [r14]
inc r8d
mov byte [rsp + rdx + 0x50], al
add r14, 2
mov edx, r8d
cmp rdx, rcx
jb 0x1400715a7
mov eax, dword [rsp + 0x50]
cmp rdi, rsi
jae 0x140071675
movzx ecx, byte [rsp + 0x51]
lea r10, str.________________________________________________456789:_________
mov r9b, byte [rcx + r10]
movzx ecx, al
mov al, r9b
shr al, 4
mov dl, byte [rcx + r10]
shl dl, 2
or dl, al
mov byte [rdi], dl
inc rdi
cmp r8d, 2
jbe 0x14007161e
cmp rdi, rsi
jae 0x140071675
movzx eax, byte [rsp + 0x52]
shl r9b, 4
mov cl, byte [rax + r10]
shr cl, 2
or cl, r9b
mov byte [rdi], cl
inc rdi
cmp r8d, 3
jbe 0x140071643
cmp rdi, rsi
jae 0x140071675
movzx eax, byte [rsp + 0x52]
mov cl, byte [rax + r10]
movzx eax, byte [rsp + 0x53]
shl cl, 6
or cl, byte [rax + r10]
mov byte [rdi], cl
inc rdi
mov eax, ebp
sub eax, r8d
cmp eax, ebp
ja 0x140071653
mov ebp, eax
mov ebx, r13d
jmp 0x140071661
mov eax, 0x80070216
mov ecx, eax
mov ebx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
js 0x1400713e0
jmp 0x140071564
mov ecx, 0x8000ffff
jmp 0x1400716d3
sub rdi, r12
mov eax, edi
cmp rdi, rax
je 0x140071696
mov eax, 0x80070216
mov ebx, eax
mov ecx, eax
call fcn.140082a8c
jmp 0x1400716be
mov ebx, r13d
test rdi, rdi
jns 0x1400716ac
mov eax, 0x80070216
mov ecx, eax
mov ebx, eax
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
jns 0x1400716bb
mov ecx, ebx
jmp 0x14007168f
mov dword [r15], edi
mov ecx, ebx
call fcn.140082b34
test ebx, ebx
jns 0x1400716da
jmp 0x1400713e0
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140082a8c
mov ecx, ebx
call fcn.140082b34
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret