Function at 0x1000713c8
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
mov r14, r8
mov r13, r9
mov ebx, edx
lea r8, [0x100331948]
mov r12, rcx
test rcx, rcx
jne 0x10007140c
mov edi, 0x80070057
mov rcx, qword [0x100331948]
jmp 0x100071868
test r9, r9
je 0x1000713fb
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r12
repne scasw ax, word [rdi]
mov r15d, 0x80070216
not rcx
dec rcx
mov eax, ecx
mov rdx, rcx
cmp rcx, rax
je 0x100071473
mov edi, r15d
mov rcx, qword [0x100331948]
cmp rcx, r8
je 0x10007146d
test byte [rcx + 0x3c], 2
je 0x10007146d
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0x16
mov r9d, r15d
call fcn.100050618
mov edx, dword [rsp + 0x50]
lea r8, [0x100331948]
jmp 0x100071475
mov edx, dword [rsp + 0x50]
jmp 0x10007147c
xor edi, edi
mov rcx, qword [0x100331948]
test edi, edi
js 0x100071868
xor ebp, ebp
cmp edx, ebx
mov eax, 0x100
cmovb ebx, edx
lea rdi, [0x100038bf0]
lea edx, [rbp + 0xa]
lea rsi, [r12 + rbx*2]
mov rbx, r12
cmp r12, rsi
jae 0x100071552
cmp word [rbx], ax
jae 0x1000714e5
movzx eax, word [rbx]
cmp byte [rax + rdi], 0x3f
jbe 0x1000714ef
cmp word [rbx], 0x20
je 0x100071538
cmp word [rbx], 9
je 0x100071538
cmp word [rbx], 0xd
je 0x100071538
cmp word [rbx], dx
je 0x100071538
test ebp, ebp
je 0x1000714e5
mov eax, ebp
and eax, 3
je 0x100071552
cmp word [rbx], 0x3d
jne 0x1000714e5
cmp eax, 1
jne 0x100071552
mov edi, 0x80070057
jmp 0x100071868
lea eax, [rbp + 1]
cmp eax, ebp
jb 0x1000714fc
mov ebp, eax
xor edi, edi
jmp 0x100071529
mov edi, r15d
cmp rcx, r8
je 0x100071529
test byte [rcx + 0x3c], 2
je 0x100071529
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov r9d, r15d
call fcn.100050618
mov rcx, qword [0x100331948]
mov edx, 0xa
test edi, edi
js 0x100071868
lea rdi, [0x100038bf0]
add rbx, 2
cmp rbx, rsi
jae 0x100071552
lea r8, [0x100331948]
mov eax, 0x100
jmp 0x1000714aa
mov r8d, ebp
xor edi, edi
shr r8d, 2
test r8d, r8d
je 0x1000715b2
lea ebx, [r8 + r8*2]
mov eax, 0xaaaaaaab
mul ebx
shr edx, 1
cmp edx, r8d
je 0x1000715b4
mov edi, r15d
lea rsi, [0x100331948]
cmp rcx, rsi
je 0x1000715ac
test byte [rcx + 0x3c], 2
je 0x1000715ac
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xc
mov r9d, r15d
call fcn.100050618
mov ebx, dword [rsp + 0x50]
mov rcx, qword [0x100331948]
jmp 0x1000715bb
mov ebx, dword [rsp + 0x50]
jmp 0x1000715bb
xor ebx, ebx
lea rsi, [0x100331948]
test edi, edi
js 0x100071868
mov eax, ebp
and eax, 3
sub eax, 1
je 0x10007185f
sub eax, 1
je 0x100071621
cmp eax, 1
jne 0x100071663
lea eax, [rbx + 1]
cmp eax, ebx
jb 0x1000715ec
mov ebx, eax
xor edi, edi
jmp 0x100071619
mov edi, r15d
cmp rcx, rsi
je 0x100071619
test byte [rcx + 0x3c], 2
je 0x100071619
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xa
mov r9d, r15d
call fcn.100050618
mov rcx, qword [0x100331948]
test edi, edi
js 0x100071868
lea eax, [rbx + 1]
cmp eax, ebx
jb 0x10007162e
mov ebx, eax
xor edi, edi
jmp 0x10007165b
mov edi, r15d
cmp rcx, rsi
je 0x10007165b
test byte [rcx + 0x3c], 2
je 0x10007165b
mov rcx, qword [rcx + 0x30]
lea r8, [0x100021570]
mov edx, 0xa
mov r9d, r15d
call fcn.100050618
mov rcx, qword [0x100331948]
test edi, edi
js 0x100071868
test r14, r14
jne 0x100071673
mov dword [r13], ebx
xor edi, edi
jmp 0x100071892
cmp dword [r13], ebx
jae 0x100071683
mov edi, 0x8007007a
jmp 0x100071868
mov rsi, r14
add rbx, r14
test ebp, ebp
je 0x1000717d6
xor eax, eax
mov edx, 4
xor edi, edi
cmp ebp, edx
mov r8d, ebp
mov dword [rsp + 0x50], eax
cmova r8, rdx
test r8, r8
je 0x1000716f3
lea rdx, [rsp + 0x50]
lea r9, [0x100038bf0]
mov r10d, 0x100
jmp 0x1000716ce
movzx eax, ax
cmp byte [rax + r9], 0x3f
jbe 0x1000716d9
add r12, 2
movzx eax, word [r12]
cmp r10w, ax
ja 0x1000716c0
mov al, byte [r12]
inc edi
add r12, 2
mov byte [rdx], al
mov eax, edi
inc rdx
cmp rax, r8
jb 0x1000716ce
mov eax, dword [rsp + 0x50]
cmp rsi, rbx
jae 0x1000717cc
movzx edx, byte [rsp + 0x51]
movzx eax, al
lea r8, [0x100038bf0]
mov cl, byte [rax + r8]
mov al, byte [rdx + r8]
shr al, 4
shl cl, 2
or cl, al
mov byte [rsi], cl
inc rsi
cmp edi, 2
jbe 0x100071748
cmp rsi, rbx
jae 0x1000717c2
movzx eax, byte [rsp + 0x52]
mov cl, byte [rax + r8]
mov al, byte [rdx + r8]
shl al, 4
shr cl, 2
or cl, al
mov byte [rsi], cl
inc rsi
cmp edi, 3
jbe 0x10007176c
cmp rsi, rbx
jae 0x1000717c2
movzx eax, byte [rsp + 0x52]
mov cl, byte [rax + r8]
movzx eax, byte [rsp + 0x53]
shl cl, 6
or cl, byte [rax + r8]
mov byte [rsi], cl
inc rsi
mov eax, ebp
sub eax, edi
cmp eax, ebp
ja 0x10007177a
mov ebp, eax
xor edi, edi
jmp 0x1000717ae
mov edi, r15d
mov rcx, qword [0x100331948]
lea rax, [0x100331948]
cmp rcx, rax
je 0x1000717b5
test byte [rcx + 0x3c], 2
je 0x1000717b5
mov rcx, qword [rcx + 0x30]
lea r8, [0x1000213b8]
mov edx, 0xb
mov r9d, r15d
call fcn.100050618
mov rcx, qword [0x100331948]
test edi, edi
js 0x100071868
jmp 0x100071689
mov edi, 0x8000ffff
jmp 0x100071400
mov edi, 0x8000ffff
jmp 0x100071868
sub rsi, r14
mov eax, esi
cmp rsi, rax
je 0x10007181a
mov edi, r15d
lea rax, [0x100331948]
cmp rcx, rax
je 0x100071814
test byte [rcx + 0x3c], 2
je 0x100071814
mov rcx, qword [rcx + 0x30]
lea r8, [0x1000213b8]
mov edx, 0x16
mov r9d, edi
call fcn.100050618
mov rcx, qword [0x100331948]
test edi, edi
js 0x100071868
jmp 0x100071864
xor edi, edi
test rsi, rsi
jns 0x100071855
mov edi, r15d
lea rax, [0x100331948]
cmp rcx, rax
je 0x100071855
test byte [rcx + 0x3c], 2
je 0x100071855
mov rcx, qword [rcx + 0x30]
lea r8, [0x1000213b8]
mov edx, 0x15
mov r9d, r15d
call fcn.100050618
mov rcx, qword [0x100331948]
test edi, edi
js 0x1000717e3
mov dword [r13], esi
jmp 0x100071814
mov edi, 0x80070057
test edi, edi
jns 0x100071892
lea rax, [0x100331948]
cmp rcx, rax
je 0x100071892
test byte [rcx + 0x3c], 2
je 0x100071892
mov rcx, qword [rcx + 0x30]
lea r8, [0x1000214a0]
mov edx, 0xf
mov r9d, edi
call fcn.100050618
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret