Function at 0x1400cb930
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140219028]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, qword [rcx + 0x10]
mov rax, qword [rcx + 0xc8]
mov al, byte [rax + 0x3b]
mov byte [rsp + 0x2f], al
mov rcx, qword [rsi + 8]
sub rcx, qword [rsi]
je 0x1400cbe76
sar rcx, 4
call fcn.140005490
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov cl, byte [rsi + 0x18]
test cl, 1
jne 0x1400cbe7d
mov rbp, qword [rsi]
shl rax, 4
add rax, rbp
cmp rax, qword [rsi + 8]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rax
je 0x1400cbb80
xorps xmm6, xmm6
mov rbp, rax
mov al, byte [rbp + 9]
test al, 1
jne 0x1400cbb6a
mov al, byte [rbp + 8]
test al, 1
jne 0x1400cbd85
mov byte [rbp + 8], 1
mov qword [rsp + 0x38], rbp
mov rax, qword [rbp]
mov r15, qword [rax + 0x1000]
and rax, 0xffffffffffe00000
mov qword [rsp + 0x30], rax
lea rbp, [rax + 0x4000]
xor r12d, r12d
jmp 0x1400cba20
inc r12
cmp r12, 0x1000
je 0x1400cbb5c
mov r14, qword [rbp + r12*8]
test r14, r14
je 0x1400cba10
mov r13, r12
shl r13, 9
nop word cs:[rax + rax]
bsf rdi, r14
mov ecx, edi
and cl, 0x3e
mov esi, 3
shl rsi, cl
mov rax, r14
shr rax, cl
and eax, 3
lea ecx, [rax - 1]
test eax, ecx
setne cl
test eax, eax
sete al
or al, cl
je 0x1400cba75
not rsi
and r14, rsi
jne 0x1400cba40
jmp 0x1400cba10
shl rdi, 3
or rdi, r13
movabs rax, 0x7ffffffffffffff0
and rdi, rax
add rdi, qword [rsp + 0x30]
mov rax, rdi
and rax, 0xffffffffffe00000
mov rcx, rdi
shr rcx, 9
and ecx, 0xfe0
lea rdx, [rcx + rax]
movzx eax, byte [rcx + rax + 0x101e]
and eax, 0x3f
shl rax, 5
sub rdx, rax
lea rax, [rdx + 0x1000]
test byte [rdx + 0x101b], 8
jne 0x1400cbd73
mov rax, qword [rax + 0x10]
mov ebx, dword [rax + 0x18]
mov eax, dword [r15 + 8]
sub rbx, rax
cmp byte [rsp + 0x2f], 0
jne 0x1400cbb46
mov ecx, dword [r15 + 0xc]
add rcx, rdi
cmp rbx, 0x10
jne 0x1400cbb3c
movups xmmword [rcx], xmm6
mov ebx, 0x100f
mov rax, rdi
shr rax, 0xc
and eax, 0x1fffff
shr rbx, 0xc
add rbx, rax
movabs rcx, 0xfffffffe00000000
and rdi, rcx
add rdi, rax
lea rcx, [rax + 1]
cmp rbx, rcx
ja 0x1400cbb27
mov rbx, rcx
sub rbx, rax
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.140122050
jmp 0x1400cba6b
xor edx, edx
mov r8, rbx
call fcn.140122050
add rbx, 0xfff
cmp rbx, 0x1000
jb 0x1400cba6b
jmp 0x1400cbaf8
mov rbp, qword [rsp + 0x38]
mov byte [rbp + 9], 1
mov rsi, qword [rsp + 0x50]
add rbp, 0x10
cmp rbp, qword [rsi + 8]
jne 0x1400cb9c3
mov rbp, qword [rsi]
mov rax, qword [rsp + 0x48]
cmp rbp, rax
je 0x1400cbd25
xorps xmm6, xmm6
mov al, byte [rbp + 9]
test al, 1
jne 0x1400cbd16
mov al, byte [rbp + 8]
test al, 1
jne 0x1400cbda2
mov byte [rbp + 8], 1
mov qword [rsp + 0x38], rbp
mov rax, qword [rbp]
mov r14, qword [rax + 0x1000]
and rax, 0xffffffffffe00000
mov qword [rsp + 0x30], rax
lea r15, [rax + 0x4000]
xor ebp, ebp
jmp 0x1400cbbe0
inc rbp
cmp rbp, 0x1000
je 0x1400cbd0d
mov rsi, qword [r15 + rbp*8]
test rsi, rsi
je 0x1400cbbd0
mov r13, rbp
shl r13, 9
bsf rdi, rsi
mov ecx, edi
and cl, 0x3e
mov r12d, 3
shl r12, cl
mov rax, rsi
shr rax, cl
and eax, 3
lea ecx, [rax - 1]
test eax, ecx
setne cl
test eax, eax
sete al
or al, cl
je 0x1400cbc26
not r12
and rsi, r12
jne 0x1400cbbf0
jmp 0x1400cbbd0
shl rdi, 3
or rdi, r13
movabs rax, 0x7ffffffffffffff0
and rdi, rax
add rdi, qword [rsp + 0x30]
mov rax, rdi
and rax, 0xffffffffffe00000
mov rcx, rdi
shr rcx, 9
and ecx, 0xfe0
lea rdx, [rcx + rax]
movzx eax, byte [rcx + rax + 0x101e]
and eax, 0x3f
shl rax, 5
sub rdx, rax
lea rax, [rdx + 0x1000]
test byte [rdx + 0x101b], 8
jne 0x1400cbd7c
mov rax, qword [rax + 0x10]
mov ebx, dword [rax + 0x18]
mov eax, dword [r14 + 8]
sub rbx, rax
cmp byte [rsp + 0x2f], 0
jne 0x1400cbcf7
mov ecx, dword [r14 + 0xc]
add rcx, rdi
cmp rbx, 0x10
jne 0x1400cbced
movups xmmword [rcx], xmm6
mov ebx, 0x100f
mov rax, rdi
shr rax, 0xc
and eax, 0x1fffff
shr rbx, 0xc
add rbx, rax
movabs rcx, 0xfffffffe00000000
and rdi, rcx
add rdi, rax
lea rcx, [rax + 1]
cmp rbx, rcx
ja 0x1400cbcd8
mov rbx, rcx
sub rbx, rax
mov rcx, rdi
mov dl, 1
mov r8, rbx
call fcn.140122050
jmp 0x1400cbc1c
xor edx, edx
mov r8, rbx
call fcn.140122050
add rbx, 0xfff
cmp rbx, 0x1000
jb 0x1400cbc1c
jmp 0x1400cbca9
mov rbp, qword [rsp + 0x38]
mov byte [rbp + 9], 1
add rbp, 0x10
cmp rbp, qword [rsp + 0x48]
jne 0x1400cbb8c
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
cmp rdi, rbx
jne 0x1400cbe87
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x18], 1
test rdi, rdi
jne 0x1400cc00d
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14011fe20
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, qword [rax + 0x20]
jmp 0x1400cbad5
mov rbx, qword [rax + 0x20]
jmp 0x1400cbc86
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x70]
je 0x1400cbdc3
mov qword [rax], rbp
add rax, 8
mov qword [rsp + 0x68], rax
jmp 0x1400cbb65
mov rax, qword [rsp + 0x68]
cmp rax, qword [rsp + 0x70]
je 0x1400cc03d
mov qword [rax], rbp
add rax, 8
mov qword [rsp + 0x68], rax
jmp 0x1400cbd16
sub rax, qword [rsp + 0x60]
mov rsi, rax
sar rsi, 3
lea rcx, [rsi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1400cc0e7
movabs rdx, 0x7ffffffffffffff0
add rdx, 8
mov rdi, rax
sar rdi, 2
cmp rdi, rcx
cmovb rdi, rcx
cmp rax, rdx
movabs rax, 0x1fffffffffffffff
cmovae rdi, rax
test rdi, rdi
jne 0x1400cc0f1
xor r15d, r15d
lea rbx, [r15 + rsi*8]
mov qword [rbx], rbp
mov r14, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
sub r8, r14
sub rbx, r8
test r8, r8
jle 0x1400cbe40
mov rcx, rbx
mov rdx, r14
call fcn.140121c40
lea rax, [r15 + rdi*8]
lea rcx, [r15 + rsi*8]
add rcx, 8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
test r14, r14
mov rsi, qword [rsp + 0x50]
je 0x1400cbb6a
mov rcx, r14
call fcn.140189470
jmp 0x1400cbb6a
xor eax, eax
jmp 0x1400cb982
mov rdi, qword [rsp + 0x60]
jmp 0x1400cbd41
mov rbp, rdi
mov rax, qword [rbp]
mov r12, rax
mov al, byte [rax + 9]
test al, 1
je 0x1400cc10e
add rbp, 8
cmp rbp, rbx
je 0x1400cbd38
jmp 0x1400cbe8a
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
mov r13, qword [rax + rcx*8]
test r13, r13
je 0x1400cbfe5
mov rax, qword [rsp + 0x40]
shl rax, 9
mov qword [rsp + 0x38], rax
bsf r15, r13
mov ecx, r15d
and cl, 0x3e
mov r14d, 3
shl r14, cl
mov rax, r13
shr rax, cl
and eax, 3
lea ecx, [rax - 1]
test eax, ecx
setne cl
test eax, eax
sete al
or al, cl
jne 0x1400cbfd9
shl r15, 3
or r15, qword [rsp + 0x38]
movabs rax, 0x7ffffffffffffff0
and r15, rax
add r15, qword [rsp + 0x48]
mov rax, r15
and rax, 0xffffffffffe00000
mov rcx, r15
shr rcx, 9
and ecx, 0xfe0
lea rdx, [rcx + rax]
movzx eax, byte [rcx + rax + 0x101e]
and eax, 0x3f
shl rax, 5
sub rdx, rax
lea rax, [rdx + 0x1000]
test byte [rdx + 0x101b], 8
jne 0x1400cc149
mov rax, qword [rax + 0x10]
mov esi, dword [rax + 0x18]
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
sub rsi, rax
cmp byte [rsp + 0x2f], 0
jne 0x1400cbf8a
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax + 0xc]
add rcx, r15
xor edx, edx
mov r8, rsi
call fcn.140122050
add rsi, 0xfff
cmp rsi, 0x1000
jb 0x1400cbfd9
mov rax, r15
shr rax, 0xc
and eax, 0x1fffff
shr rsi, 0xc
add rsi, rax
movabs rcx, 0xfffffffe00000000
and r15, rcx
add r15, rax
lea rcx, [rax + 1]
cmp rsi, rcx
ja 0x1400cbfc9
mov rsi, rcx
sub rsi, rax
mov rcx, r15
mov dl, 1
mov r8, rsi
call fcn.140122050
not r14
and r13, r14
jne 0x1400cbed0
mov rcx, qword [rsp + 0x40]
inc rcx
mov rax, rcx
mov qword [rsp + 0x40], rcx
cmp rcx, 0x1000
jne 0x1400cbeab
mov byte [r12 + 9], 1
jmp 0x1400cbe9c
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14011fe20
mov rcx, rdi
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140189470
sub rax, qword [rsp + 0x60]
mov rsi, rax
sar rsi, 3
lea rcx, [rsi + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1400cc0e7
movabs rdx, 0x7ffffffffffffff0
add rdx, 8
mov rdi, rax
sar rdi, 2
cmp rdi, rcx
cmovb rdi, rcx
cmp rax, rdx
movabs rax, 0x1fffffffffffffff
cmovae rdi, rax
test rdi, rdi
jne 0x1400cc101
xor r15d, r15d
lea rbx, [r15 + rsi*8]
mov qword [rbx], rbp
mov r14, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
sub r8, r14
sub rbx, r8
test r8, r8
jle 0x1400cc0b6
mov rcx, rbx
mov rdx, r14
call fcn.140121c40
lea rax, [r15 + rdi*8]
lea rcx, [r15 + rsi*8]
add rcx, 8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rax
test r14, r14
je 0x1400cbd16
mov rcx, r14
call fcn.140189470
jmp 0x1400cbd16
lea rcx, [rsp + 0x60]
call fcn.140152a60
mov rcx, rdi
call fcn.140188fb0
mov r15, rax
jmp 0x1400cbe19
mov rcx, rdi
call fcn.140188fb0
mov r15, rax
jmp 0x1400cc08f
mov rax, r12
mov byte [r12 + 8], 1
mov rax, qword [r12]
mov rcx, qword [rax + 0x1000]
mov qword [rsp + 0x30], rcx
and rax, 0xffffffffffe00000
mov qword [rsp + 0x48], rax
add rax, 0x4000
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [rsp + 0x40], rax
jmp 0x1400cbeab
mov rsi, qword [rax + 0x20]
jmp 0x1400cbf63