Function at 0x140076a20
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
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 0x140076a51
mov eax, 0xffffff53
jmp 0x140076ef1
xor r11d, r11d
cmp edx, 4
jb 0x140076ed8
xor r11d, r11d
lea r10, [0x1400e0d80]
xor ebx, ebx
mov eax, ebx
movzx eax, byte [rcx + rax]
nop
cmp al, 0x20
jne 0x140076a81
inc ebx
dec edx
movzx eax, byte [rcx + rbx]
cmp edx, 2
jae 0x140076a70
cmp al, 0xd
je 0x140076a8d
movzx esi, al
cmp esi, 0xa
jne 0x140076ae9
lea edi, [rbx + 1]
mov ebp, edx
dec ebp
je 0x140076aaa
cmp al, 0xd
jne 0x140076aaa
add ebx, 2
mov eax, edi
movzx eax, byte [rcx + rax]
add edx, 0xfffffffe
mov ebp, edx
mov edi, ebx
cmp al, 0xa
jne 0x140076efe
test ebp, ebp
je 0x140076ed8
mov eax, edi
movzx eax, byte [rcx + rax]
cmp al, 0x20
jne 0x140076af1
nop word cs:[rax + rax]
cmp ebp, 1
je 0x140076ed8
inc edi
movzx esi, byte [rcx + rdi]
dec ebp
cmp sil, 0x20
je 0x140076ad0
jmp 0x140076af7
mov ebp, edx
mov edi, ebx
cmp al, 0x20
je 0x140076ad0
mov eax, edi
movzx esi, byte [rcx + rax]
test sil, sil
je 0x140076ed8
mov eax, 0xffffff7c
dec ebp
je 0x140076ef1
inc edi
mov edx, edi
movzx r14d, byte [rcx + rdx]
cmp ebp, 1
je 0x140076b34
nop dword [rax + rax]
cmp r14b, 0x20
jne 0x140076b34
inc edi
dec ebp
movzx r14d, byte [rcx + rdi]
cmp ebp, 2
jae 0x140076b20
cmp r14b, 0xd
je 0x140076b43
movzx edx, r14b
cmp edx, 0xa
jne 0x140076ba9
lea edx, [rdi + 1]
mov ebx, ebp
dec ebx
je 0x140076b63
cmp r14b, 0xd
jne 0x140076b63
add edi, 2
mov edx, edx
movzx r14d, byte [rcx + rdx]
add ebp, 0xfffffffe
mov ebx, ebp
mov edx, edi
cmp r14b, 0xa
jne 0x140076efe
test ebx, ebx
je 0x140076ef1
mov edi, edx
movzx r14d, byte [rcx + rdi]
cmp r14b, 0x20
jne 0x140076bb3
nop word cs:[rax + rax]
cmp ebx, 1
je 0x140076ef1
inc edx
movzx edi, byte [rcx + rdx]
dec ebx
cmp dil, 0x20
je 0x140076b90
jmp 0x140076bb9
mov ebx, ebp
mov edx, edi
cmp r14b, 0x20
je 0x140076b90
mov edi, edx
movzx edi, byte [rcx + rdi]
dec ebx
je 0x140076ef1
inc edx
movzx r14d, byte [rcx + rdx]
cmp ebx, 1
je 0x140076be4
nop dword [rax]
cmp r14b, 0x20
jne 0x140076be4
inc edx
dec ebx
movzx r14d, byte [rcx + rdx]
cmp ebx, 2
jae 0x140076bd0
cmp r14b, 0xd
je 0x140076bf3
movzx ebp, r14b
cmp ebp, 0xa
jne 0x140076c5b
lea r15d, [rdx + 1]
mov ebp, ebx
dec ebp
je 0x140076c16
cmp r14b, 0xd
jne 0x140076c16
add edx, 2
mov r14d, r15d
movzx r14d, byte [rcx + r14]
add ebx, 0xfffffffe
mov ebp, ebx
mov r15d, edx
cmp r14b, 0xa
jne 0x140076efe
test ebp, ebp
je 0x140076ef1
mov edx, r15d
movzx r14d, byte [rcx + rdx]
cmp r14b, 0x20
jne 0x140076c66
nop word cs:[rax + rax]
cmp ebp, 1
je 0x140076ef1
inc r15d
movzx r14d, byte [rcx + r15]
dec ebp
cmp r14b, 0x20
je 0x140076c40
jmp 0x140076c6e
mov ebp, ebx
mov r15d, edx
cmp r14b, 0x20
je 0x140076c40
mov edx, r15d
movzx r14d, byte [rcx + rdx]
dec ebp
je 0x140076ef1
inc r15d
movzx r12d, byte [rcx + r15]
cmp ebp, 1
je 0x140076ca5
nop word cs:[rax + rax]
cmp r12b, 0x20
jne 0x140076ca5
inc r15d
dec ebp
movzx r12d, byte [rcx + r15]
cmp ebp, 2
jae 0x140076c90
cmp r12b, 0xd
je 0x140076cb4
movzx edx, r12b
cmp edx, 0xa
jne 0x140076d1a
lea ebx, [r15 + 1]
mov edx, ebp
dec edx
je 0x140076cd7
cmp r12b, 0xd
jne 0x140076cd7
add r15d, 2
mov edx, ebx
movzx r12d, byte [rcx + rdx]
add ebp, 0xfffffffe
mov edx, ebp
mov ebx, r15d
cmp r12b, 0xa
jne 0x140076efe
test edx, edx
je 0x140076ef1
mov r15d, ebx
movzx r12d, byte [rcx + r15]
cmp r12b, 0x20
jne 0x140076d25
nop word [rax + rax]
cmp edx, 1
je 0x140076ef1
inc ebx
movzx r15d, byte [rcx + rbx]
dec edx
cmp r15b, 0x20
je 0x140076d00
jmp 0x140076d2c
mov edx, ebp
mov ebx, r15d
cmp r12b, 0x20
je 0x140076d00
mov eax, ebx
movzx r15d, byte [rcx + rax]
mov eax, 0xffffff66
cmp r14b, 0x3d
jne 0x140076d41
cmp r15b, 0x3d
jne 0x140076ef1
cmp sil, 0x2b
jb 0x140076ef1
cmp dil, 0x2b
jb 0x140076ef1
cmp r14b, 0x2b
jb 0x140076ef1
cmp r15b, 0x2b
jb 0x140076ef1
cmp sil, 0x7a
ja 0x140076ef1
cmp dil, 0x7a
ja 0x140076ef1
cmp r14b, 0x7a
ja 0x140076ef1
cmp r15b, 0x7a
ja 0x140076ef1
xor ebp, ebp
cmp r15b, 0x3d
setne bpl
xor r12d, r12d
cmp r14b, 0x3d
setne r12b
add r12d, r11d
inc r12d
add ebp, r12d
cmp ebp, dword [r9]
ja 0x140076a47
lea ebp, [rsi - 0x2b]
movzx r12d, bpl
mov r13d, r12d
and r13d, 0x3f
and r12d, 0xf
or r12, 0x40
cmp sil, 0x6b
cmovb r12, r13
lea esi, [rdi - 0x2b]
movzx r13d, sil
mov esi, r13d
and esi, 0x3f
and r13d, 0xf
or r13, 0x40
cmp dil, 0x6b
cmovb r13, rsi
cmp r14b, 0x3d
je 0x140076e43
lea esi, [r14 - 0x2b]
movzx esi, sil
mov edi, esi
and edi, 0x3f
and esi, 0xf
or rsi, 0x40
cmp r14b, 0x6b
cmovb rsi, rdi
movzx esi, byte [rsi + r10]
cmp r15b, 0x3d
je 0x140076e4b
lea edi, [r15 - 0x2b]
movzx edi, dil
mov ebp, edi
and ebp, 0x3f
and edi, 0xf
or rdi, 0x40
cmp r15b, 0x6b
cmovb rdi, rbp
movzx edi, byte [rdi + r10]
jmp 0x140076e4d
xor esi, esi
cmp r15b, 0x3d
jne 0x140076e20
xor edi, edi
movzx r12d, byte [r12 + r10]
cmp r12b, 0xff
je 0x140076ef1
movzx ebp, byte [r13 + r10]
cmp bpl, 0xff
je 0x140076ef1
cmp sil, 0xff
je 0x140076ef1
cmp dil, 0xff
je 0x140076ef1
shl r12b, 2
mov eax, ebp
shr al, 4
or al, r12b
mov r12d, r11d
mov byte [r8 + r12], al
lea eax, [r11 + 1]
cmp r14b, 0x3d
je 0x140076eb0
shl bpl, 4
mov r14d, esi
shr r14b, 2
or r14b, bpl
add r11d, 2
mov eax, eax
mov byte [r8 + rax], r14b
mov eax, r11d
cmp r15b, 0x3d
je 0x140076ee0
inc ebx
dec edx
shl sil, 6
or dil, sil
mov r11d, eax
inc eax
mov byte [r8 + r11], dil
mov r11d, eax
cmp edx, 3
ja 0x140076a69
jmp 0x140076ee0
mov eax, r11d
test r8, r8
je 0x140076eec
cmp dword [r9], eax
jbe 0x140076eec
mov ecx, eax
mov byte [r8 + rcx], 0
mov dword [r9], eax
xor eax, eax
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, 0xffffff66
jmp 0x140076ef1