Function at 0x140001320
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
mov rax, qword [0x140035010]
xor rax, rsp
mov qword [rbp - 8], rax
lea rax, [rcx - 1]
xor edi, edi
add rax, rdx
xor r10d, r10d
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov r12, r8
cmp byte [rax], 0x3d
jne 0x140001370
inc r10d
lea rax, [rax - 1]
cmp byte [rax], 0x3d
je 0x140001364
lea r15, [rdx + rdx*2]
movsxd rax, r10d
add r15, r15
shr r15, 3
sub r15, rax
cmp r9, r15
jae 0x14000138d
xor al, al
jmp 0x1400016d0
mov qword [rsp + 0x60], r13
test rdx, rdx
je 0x1400016c1
movzx r11d, byte [rbp - 0xd]
xor ecx, ecx
movzx r10d, byte [rbp - 0xe]
movzx r9d, byte [rbp - 0xf]
movzx eax, byte [rbp - 0x10]
lea r13d, [rcx + 0x3f]
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rsi]
dec rbx
cmp dl, 0x3d
je 0x140001552
mov byte [rbp + rcx - 0x10], dl
inc rsi
inc rcx
inc edi
cmp rcx, 4
jne 0x140001536
movzx ecx, byte [rbp - 0x10]
lea eax, [rcx - 0x41]
cmp al, 0x19
jbe 0x14000141d
lea eax, [rcx - 0x61]
cmp al, 0x19
ja 0x1400013fc
lea eax, [rcx - 0x47]
jmp 0x14000141d
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x140001408
lea eax, [rcx + 4]
jmp 0x14000141d
cmp cl, 0x2d
jne 0x140001411
mov al, 0x3e
jmp 0x14000141d
cmp cl, 0x2f
mov eax, 0xff
cmove eax, r13d
movzx edx, byte [rbp - 0xf]
mov byte [rbp - 0x10], al
lea r9d, [rdx - 0x41]
cmp r9b, 0x19
jbe 0x140001461
lea ecx, [rdx - 0x61]
cmp cl, 0x19
ja 0x14000143c
lea r9d, [rdx - 0x47]
jmp 0x140001461
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x14000144a
lea r9d, [rdx + 4]
jmp 0x140001461
cmp dl, 0x2d
jne 0x140001454
mov r9b, 0x3e
jmp 0x140001461
cmp dl, 0x2f
mov r9d, 0xff
cmove r9d, r13d
movzx edx, byte [rbp - 0xe]
mov byte [rbp - 0xf], r9b
lea r10d, [rdx - 0x41]
cmp r10b, 0x19
jbe 0x1400014a6
lea ecx, [rdx - 0x61]
cmp cl, 0x19
ja 0x140001481
lea r10d, [rdx - 0x47]
jmp 0x1400014a6
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x14000148f
lea r10d, [rdx + 4]
jmp 0x1400014a6
cmp dl, 0x2d
jne 0x140001499
mov r10b, 0x3e
jmp 0x1400014a6
cmp dl, 0x2f
mov r10d, 0xff
cmove r10d, r13d
movzx edx, byte [rbp - 0xd]
mov byte [rbp - 0xe], r10b
lea r11d, [rdx - 0x41]
cmp r11b, 0x19
jbe 0x1400014eb
lea ecx, [rdx - 0x61]
cmp cl, 0x19
ja 0x1400014c6
lea r11d, [rdx - 0x47]
jmp 0x1400014eb
lea ecx, [rdx - 0x30]
cmp cl, 9
ja 0x1400014d4
lea r11d, [rdx + 4]
jmp 0x1400014eb
cmp dl, 0x2d
jne 0x1400014de
mov r11b, 0x3e
jmp 0x1400014eb
cmp dl, 0x2f
mov r11d, 0xff
cmove r11d, r13d
movzx ecx, al
mov byte [rbp - 0xd], r11b
shl cl, 2
movzx r8d, r9b
shr r8b, 4
movzx edx, r10b
shr dl, 2
and r8b, 3
add r8b, cl
and dl, 0xf
movzx ecx, r9b
mov byte [r14], r8b
shl cl, 4
xor edi, edi
add dl, cl
movzx ecx, r10b
shl cl, 6
add cl, r11b
mov byte [r14 + 1], dl
mov byte [r14 + 2], cl
add r14, 3
xor ecx, ecx
jmp 0x140001549
movzx r11d, byte [rbp - 0xd]
movzx r10d, byte [rbp - 0xe]
movzx r9d, byte [rbp - 0xf]
movzx eax, byte [rbp - 0x10]
test rbx, rbx
jne 0x1400013c0
test edi, edi
je 0x1400016c1
movsxd rcx, edi
cmp rcx, 4
jge 0x140001590
jae 0x1400016f3
mov byte [rbp + rcx - 0x10], 0
inc rcx
cmp rcx, 4
jl 0x140001563
movzx r11d, byte [rbp - 0xd]
movzx r10d, byte [rbp - 0xe]
movzx r9d, byte [rbp - 0xf]
movzx eax, byte [rbp - 0x10]
nop word [rax + rax]
lea ebx, [rax - 0x41]
cmp bl, 0x19
jbe 0x1400015c5
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x1400015a5
lea ebx, [rax - 0x47]
jmp 0x1400015c5
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x1400015b2
lea ebx, [rax + 4]
jmp 0x1400015c5
cmp al, 0x2d
jne 0x1400015ba
mov bl, 0x3e
jmp 0x1400015c5
cmp al, 0x2f
mov ebx, 0xff
cmove ebx, r13d
lea edx, [r9 - 0x41]
cmp dl, 0x19
jbe 0x140001601
lea eax, [r9 - 0x61]
cmp al, 0x19
ja 0x1400015dc
lea edx, [r9 - 0x47]
jmp 0x140001601
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x1400015ea
lea edx, [r9 + 4]
jmp 0x140001601
cmp r9b, 0x2d
jne 0x1400015f4
mov dl, 0x3e
jmp 0x140001601
cmp r9b, 0x2f
mov edx, 0xff
cmove edx, r13d
lea ecx, [r10 - 0x41]
cmp cl, 0x19
jbe 0x14000163d
lea eax, [r10 - 0x61]
cmp al, 0x19
ja 0x140001618
lea ecx, [r10 - 0x47]
jmp 0x14000163d
lea eax, [r10 - 0x30]
cmp al, 9
ja 0x140001626
lea ecx, [r10 + 4]
jmp 0x14000163d
cmp r10b, 0x2d
jne 0x140001630
mov cl, 0x3e
jmp 0x14000163d
cmp r10b, 0x2f
mov ecx, 0xff
cmove ecx, r13d
lea r8d, [r11 - 0x41]
cmp r8b, 0x19
jbe 0x14000167c
lea eax, [r11 - 0x61]
cmp al, 0x19
ja 0x140001655
lea r8d, [r11 - 0x47]
jmp 0x14000167c
lea eax, [r11 - 0x30]
cmp al, 9
ja 0x140001663
lea r8d, [r11 + 4]
jmp 0x14000167c
cmp r11b, 0x2d
jne 0x14000166e
mov r8b, 0x3e
jmp 0x14000167c
cmp r11b, 0x2f
mov r8d, 0xff
cmove r8d, r13d
movzx eax, dl
shl bl, 2
shr al, 4
and al, 3
shl dl, 4
add al, bl
mov byte [rbp - 0x10], al
movzx eax, cl
shr al, 2
and al, 0xf
shl cl, 6
add al, dl
add cl, r8b
mov byte [rbp - 0xf], al
lea eax, [rdi - 1]
mov byte [rbp - 0xe], cl
movsxd rbx, eax
test eax, eax
jle 0x1400016c1
mov r8, rbx
lea rdx, [rbp - 0x10]
mov rcx, r14
call fcn.14000f1a0
add r14, rbx
mov r13, qword [rsp + 0x60]
lea rax, [r15 + r12]
cmp r14, rax
sete al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000adb0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000aedc
int3