Function at 0x1400a1f40
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
lea eax, [rdx + 0x3f]
mov r10d, edx
shr eax, 6
xor r14d, r14d
sub r10d, eax
xor r11d, r11d
inc r10d
mov r12, r9
mov r15, r8
mov rbx, rcx
lea eax, [r10 + r10*2]
shr eax, 2
cmp eax, dword [r9]
ja 0x1400a2250
cmp edx, 3
jbe 0x1400a222a
movabs r13, 0x100002400
nop dword [rax]
movzx ecx, byte [r11 + rbx]
cmp cl, 0x20
ja 0x1400a1fea
bt r13, rcx
jae 0x1400a1fea
inc r11d
sub edx, 1
je 0x1400a1fca
cmp cl, 0x20
jne 0x1400a1fca
movzx ecx, byte [r11 + rbx]
inc r11d
add edx, 0xffffffff
jne 0x1400a1fb8
cmp cl, 0xd
jne 0x1400a1fe1
test edx, edx
je 0x1400a2242
movzx ecx, byte [r11 + rbx]
inc r11d
dec edx
cmp cl, 0xa
jne 0x1400a2242
test edx, edx
je 0x1400a222a
movzx edi, byte [r11 + rbx]
lea ecx, [r11 + 1]
test dil, dil
je 0x1400a222a
sub edx, 1
je 0x1400a2249
movzx r8d, byte [rcx + rbx]
cmp r8b, 0x20
ja 0x1400a2058
bt r13, r8
jae 0x1400a2058
inc ecx
sub edx, 1
je 0x1400a2037
cmp r8b, 0x20
jne 0x1400a2037
movzx r8d, byte [rcx + rbx]
inc ecx
add edx, 0xffffffff
jne 0x1400a2025
cmp r8b, 0xd
jne 0x1400a204e
test edx, edx
je 0x1400a2242
movzx r8d, byte [rcx + rbx]
inc ecx
dec edx
cmp r8b, 0xa
jne 0x1400a2242
test edx, edx
je 0x1400a2249
movzx r10d, byte [rcx + rbx]
inc ecx
add edx, 0xffffffff
je 0x1400a2249
movzx r8d, byte [rcx + rbx]
cmp r8b, 0x20
ja 0x1400a20c3
bt r13, r8
jae 0x1400a20c3
inc ecx
sub edx, 1
je 0x1400a209a
cmp r8b, 0x20
jne 0x1400a209a
movzx r8d, byte [rcx + rbx]
inc ecx
add edx, 0xffffffff
jne 0x1400a2088
cmp r8b, 0xd
jne 0x1400a20b1
test edx, edx
je 0x1400a2242
movzx r8d, byte [rcx + rbx]
inc ecx
dec edx
cmp r8b, 0xa
jne 0x1400a2242
test edx, edx
je 0x1400a2249
movzx ebp, byte [rcx + rbx]
inc ecx
add edx, 0xffffffff
je 0x1400a2249
movzx r8d, byte [rcx + rbx]
cmp r8b, 0x20
ja 0x1400a212b
bt r13, r8
jae 0x1400a212b
inc ecx
sub edx, 1
je 0x1400a2102
nop word [rax + rax]
cmp r8b, 0x20
jne 0x1400a2102
movzx r8d, byte [rcx + rbx]
inc ecx
add edx, 0xffffffff
jne 0x1400a20f0
cmp r8b, 0xd
jne 0x1400a2119
test edx, edx
je 0x1400a2242
movzx r8d, byte [rcx + rbx]
inc ecx
dec edx
cmp r8b, 0xa
jne 0x1400a2242
test edx, edx
je 0x1400a2249
movzx r9d, byte [rcx + rbx]
lea r11d, [rcx + 1]
dec edx
cmp dil, 0x2b
jb 0x1400a2242
cmp r10b, 0x2b
jb 0x1400a2242
cmp bpl, 0x2b
jb 0x1400a2242
cmp r9b, 0x2b
jb 0x1400a2242
cmp dil, 0x7a
ja 0x1400a2242
cmp r10b, 0x7a
ja 0x1400a2242
cmp bpl, 0x7a
ja 0x1400a2242
cmp r9b, 0x7a
ja 0x1400a2242
xor eax, eax
cmp bpl, 0x3d
setne al
xor ecx, ecx
inc eax
cmp r9b, 0x3d
setne cl
add eax, r14d
add ecx, eax
cmp ecx, dword [r12]
ja 0x1400a2250
lea rcx, [0x1400ec770]
movzx esi, byte [rdi + rcx - 0x2b]
movzx edi, byte [r10 + rcx - 0x2b]
cmp bpl, 0x3d
jne 0x1400a21c6
xor r8b, r8b
jmp 0x1400a21cc
movzx r8d, byte [rbp + rcx - 0x2b]
cmp r9b, 0x3d
jne 0x1400a21d6
xor al, al
jmp 0x1400a21dc
movzx eax, byte [r9 + rcx - 0x2b]
shl sil, 2
movzx ecx, dil
shr cl, 4
movzx r10d, r8b
or cl, sil
shl r10b, 6
mov byte [r14 + r15], cl
or r10b, al
inc r14d
cmp bpl, 0x3d
je 0x1400a2214
shr r8b, 2
shl dil, 4
or r8b, dil
mov byte [r14 + r15], r8b
inc r14d
cmp r9b, 0x3d
je 0x1400a222a
mov byte [r14 + r15], r10b
inc r14d
cmp edx, 3
ja 0x1400a1fa0
test r15, r15
je 0x1400a223a
cmp dword [r12], r14d
jbe 0x1400a223a
mov byte [r14 + r15], 0
mov dword [r12], r14d
xor eax, eax
jmp 0x1400a2255
mov eax, 0xffffff66
jmp 0x1400a2255
mov eax, 0xffffff7c
jmp 0x1400a2255
mov eax, 0xffffff53
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret