Function at 0x140070250
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x18
lea eax, [rdx + 0x3f]
shr eax, 6
mov r10d, edx
sub r10d, eax
lea eax, [r10 + r10*2]
add eax, 3
shr eax, 2
cmp eax, dword [r9]
jbe 0x140070285
mov eax, 0xffffff53
jmp 0x1400707a0
xor r11d, r11d
cmp edx, 4
jb 0x140070787
lea rsi, [0x1400d9bc0]
xor r11d, r11d
xor r14d, r14d
mov eax, r14d
movzx eax, byte [rcx + rax]
nop word cs:[rax + rax]
cmp al, 0x20
jne 0x1400702c3
inc r14d
dec edx
movzx eax, byte [rcx + r14]
cmp edx, 2
jae 0x1400702b0
cmp al, 0xd
je 0x1400702d1
movzx r10d, al
cmp r10d, 0xa
jne 0x140070329
lea ebx, [r14 + 1]
mov ebp, edx
dec ebp
je 0x1400702f1
cmp al, 0xd
jne 0x1400702f1
add r14d, 2
mov eax, ebx
movzx eax, byte [rcx + rax]
add edx, 0xfffffffe
mov ebp, edx
mov ebx, r14d
cmp al, 0xa
jne 0x1400707b1
test ebp, ebp
je 0x140070787
mov eax, ebx
movzx eax, byte [rcx + rax]
cmp al, 0x20
jne 0x140070332
nop dword [rax + rax]
cmp ebp, 1
je 0x140070787
inc ebx
movzx edi, byte [rcx + rbx]
dec ebp
cmp dil, 0x20
je 0x140070310
jmp 0x140070338
mov ebp, edx
mov ebx, r14d
cmp al, 0x20
je 0x140070310
mov eax, ebx
movzx edi, byte [rcx + rax]
test dil, dil
je 0x140070787
mov eax, 0xffffff7c
dec ebp
je 0x1400707a0
inc ebx
mov edx, ebx
movzx r15d, byte [rcx + rdx]
cmp ebp, 1
je 0x140070374
nop dword [rax]
cmp r15b, 0x20
jne 0x140070374
inc ebx
dec ebp
movzx r15d, byte [rcx + rbx]
cmp ebp, 2
jae 0x140070360
cmp r15b, 0xd
je 0x140070383
movzx edx, r15b
cmp edx, 0xa
jne 0x1400703ea
lea edx, [rbx + 1]
mov r14d, ebp
dec r14d
je 0x1400703a6
cmp r15b, 0xd
jne 0x1400703a6
add ebx, 2
mov edx, edx
movzx r15d, byte [rcx + rdx]
add ebp, 0xfffffffe
mov r14d, ebp
mov edx, ebx
cmp r15b, 0xa
jne 0x1400707b1
test r14d, r14d
je 0x1400707a0
mov r10d, edx
movzx r15d, byte [rcx + r10]
cmp r15b, 0x20
jne 0x1400703f5
nop word [rax + rax]
cmp r14d, 1
je 0x1400707a0
inc edx
movzx ebx, byte [rcx + rdx]
dec r14d
cmp bl, 0x20
je 0x1400703d0
jmp 0x1400703fd
mov r14d, ebp
mov edx, ebx
cmp r15b, 0x20
je 0x1400703d0
mov r10d, edx
movzx ebx, byte [rcx + r10]
dec r14d
je 0x1400707a0
inc edx
movzx r15d, byte [rcx + rdx]
cmp r14d, 1
je 0x140070436
nop word cs:[rax + rax]
cmp r15b, 0x20
jne 0x140070436
inc edx
dec r14d
movzx r15d, byte [rcx + rdx]
cmp r14d, 2
jae 0x140070420
cmp r15b, 0xd
je 0x140070446
movzx r10d, r15b
cmp r10d, 0xa
jne 0x1400704ab
lea r12d, [rdx + 1]
mov ebp, r14d
dec ebp
je 0x14007046c
cmp r15b, 0xd
jne 0x14007046c
add edx, 2
mov r10d, r12d
movzx r15d, byte [rcx + r10]
add r14d, 0xfffffffe
mov ebp, r14d
mov r12d, edx
cmp r15b, 0xa
jne 0x1400707b1
test ebp, ebp
je 0x1400707a0
mov edx, r12d
movzx r15d, byte [rcx + rdx]
cmp r15b, 0x20
jne 0x1400704b7
nop dword [rax]
cmp ebp, 1
je 0x1400707a0
inc r12d
movzx r15d, byte [rcx + r12]
dec ebp
cmp r15b, 0x20
je 0x140070490
jmp 0x1400704bf
mov ebp, r14d
mov r12d, edx
cmp r15b, 0x20
je 0x140070490
mov edx, r12d
movzx r15d, byte [rcx + rdx]
dec ebp
je 0x1400707a0
mov qword [rsp], r11
mov qword [rsp + 0x10], r8
inc r12d
movzx r13d, byte [rcx + r12]
cmp ebp, 1
je 0x1400704f5
nop dword [rax]
cmp r13b, 0x20
jne 0x1400704f5
inc r12d
dec ebp
movzx r13d, byte [rcx + r12]
cmp ebp, 2
jae 0x1400704e0
cmp r13b, 0xd
je 0x140070504
movzx edx, r13b
cmp edx, 0xa
jne 0x14007056b
lea r14d, [r12 + 1]
mov edx, ebp
dec edx
je 0x140070529
cmp r13b, 0xd
jne 0x140070529
add r12d, 2
mov edx, r14d
movzx r13d, byte [rcx + rdx]
add ebp, 0xfffffffe
mov edx, ebp
mov r14d, r12d
cmp r13b, 0xa
jne 0x1400707b1
test edx, edx
je 0x1400707a0
mov r10d, r14d
movzx r13d, byte [rcx + r10]
cmp r13b, 0x20
jne 0x140070576
mov r13, qword [rsp]
nop dword [rax]
cmp edx, 1
je 0x1400707a0
inc r14d
movzx r12d, byte [rcx + r14]
dec edx
cmp r12b, 0x20
je 0x140070550
jmp 0x140070582
mov edx, ebp
mov r14d, r12d
cmp r13b, 0x20
je 0x140070549
mov eax, r14d
movzx r12d, byte [rcx + rax]
mov r13, qword [rsp]
mov eax, 0xffffff66
cmp r15b, 0x3d
jne 0x140070597
cmp r12b, 0x3d
jne 0x1400707a0
cmp dil, 0x2b
jb 0x1400707a0
cmp bl, 0x2b
jb 0x1400707a0
cmp r15b, 0x2b
jb 0x1400707a0
cmp r12b, 0x2b
jb 0x1400707a0
cmp dil, 0x7a
ja 0x1400707a0
cmp bl, 0x7a
ja 0x1400707a0
cmp r15b, 0x7a
ja 0x1400707a0
cmp r12b, 0x7a
ja 0x1400707a0
xor r10d, r10d
cmp r12b, 0x3d
setne r10b
xor r11d, r11d
cmp r15b, 0x3d
setne r11b
add r11d, r13d
inc r11d
add r10d, r11d
cmp r10d, dword [r9]
ja 0x14007027b
lea r10d, [rdi - 0x2b]
movzx r10d, r10b
mov r11d, r10d
and r11d, 0x3f
movzx r8d, byte [r11 + rsi]
and r10d, 0xf
xor ebp, ebp
cmp dil, 0x6b
cmovae r8d, ebp
mov dword [rsp + 0xc], r8d
movzx edi, byte [r10 + rsi + 0x40]
cmovb edi, ebp
lea r10d, [rbx - 0x2b]
movzx r11d, r10b
mov r10d, r11d
and r10d, 0x3f
movzx r10d, byte [r10 + rsi]
and r11d, 0xf
cmp bl, 0x6b
cmovae r10d, ebp
movzx ebx, byte [r11 + rsi + 0x40]
cmovb ebx, ebp
cmp r15b, 0x3d
je 0x1400706a6
lea r11d, [r15 - 0x2b]
movzx r11d, r11b
mov ebp, r11d
and ebp, 0x3f
mov r8, rsi
movzx esi, byte [rbp + rsi]
and r11d, 0xf
cmp r15b, 0x6b
mov ebp, 0
cmovae esi, ebp
movzx ebp, byte [r11 + r8 + 0x40]
mov r11d, 0
cmovb ebp, r11d
or ebp, esi
mov rsi, r8
cmp r12b, 0x3d
jne 0x1400706b1
xor r11d, r11d
jmp 0x1400706eb
lea r11d, [r12 - 0x2b]
movzx r11d, r11b
mov r13, rsi
mov esi, r11d
and esi, 0x3f
movzx esi, byte [rsi + r13]
and r11d, 0xf
cmp r12b, 0x6b
mov r8d, 0
cmovae esi, r8d
movzx r11d, byte [r11 + r13 + 0x40]
mov r13, qword [rsp]
cmovb r11d, r8d
or r11d, esi
or edi, dword [rsp + 0xc]
cmp dil, 0xff
je 0x1400707a0
or ebx, r10d
cmp bl, 0xff
je 0x1400707a0
cmp bpl, 0xff
je 0x1400707a0
cmp r11b, 0xff
je 0x1400707a0
lea eax, [r13 + 1]
shl dil, 2
mov r10d, ebx
shr r10b, 4
or r10b, dil
mov esi, r13d
mov r8, qword [rsp + 0x10]
mov byte [r8 + rsi], r10b
cmp r15b, 0x3d
je 0x140070757
shl bl, 4
mov r10d, ebp
shr r10b, 2
or r10b, bl
add r13d, 2
mov eax, eax
mov byte [r8 + rax], r10b
mov eax, r13d
lea rsi, [0x1400d9bc0]
cmp r12b, 0x3d
je 0x14007078f
inc r14d
dec edx
shl bpl, 6
or r11b, bpl
mov r10d, eax
inc eax
mov byte [r8 + r10], r11b
mov r11d, eax
cmp edx, 3
ja 0x14007029e
jmp 0x14007078f
mov eax, r11d
test r8, r8
je 0x14007079b
cmp dword [r9], eax
jbe 0x14007079b
mov ecx, eax
mov byte [r8 + rcx], 0
mov dword [r9], eax
xor eax, eax
add rsp, 0x18
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 0xffffff66
jmp 0x1400707a0