Function at 0x4be400
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4be827
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rbx
mov rdx, rax
shr rax, 0x3f
lea rcx, [rax + rdx]
sar rcx, 1
mov qword [rsp + 0x68], rcx
lea rax, [0x004d1b00]
mov rbx, rcx
nop
call sym.runtime.makeslice
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x88]
mov qword [rdx + 8], rcx
mov qword [rdx + 0x10], rcx
mov rsi, qword [rsp + 0x80]
mov rdi, rsi
sar rsi, 0x3f
mov qword [rsp + 0x60], rsi
shr rsi, 0x3e
add rsi, rdi
mov qword [rsp + 0x58], rsi
cmp dword [0x00746ab0], 0
je 0x4be492
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov r9, qword [rdx]
mov qword [r11 + 8], r9
mov qword [rdx], rax
lea rax, [0x004d1b00]
mov rbx, rcx
nop
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x88]
mov qword [rsi + 0x20], rdx
mov qword [rsi + 0x28], rdx
cmp dword [0x00746ab0], 0
je 0x4be4d3
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rdx, qword [rsi + 0x18]
mov qword [r11 + 8], rdx
mov qword [rsi + 0x18], rax
mov rcx, qword [rsp + 0x58]
sar rcx, 2
mov qword [rsp + 0x68], rcx
lea rax, [0x004d1b00]
mov rbx, rcx
call sym.runtime.makeslice
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x88]
mov qword [rsi + 0x38], rdx
mov qword [rsi + 0x40], rdx
cmp dword [0x00746ab0], 0
je 0x4be522
call sym.runtime.gcWriteBarrier2
mov qword [r11], rax
mov rcx, qword [rsi + 0x30]
mov qword [r11 + 8], rcx
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x80]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
movsd qword [rsp + 0x40], xmm1
xor ecx, ecx
nop
jmp 0x4be580
mov rbx, qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
lea rbx, [rbx + rcx*8]
lea rbx, [rbx + 4]
cvtsd2ss xmm2, xmm0
movss dword [rbx], xmm2
inc rcx
mov rax, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x88]
movsd xmm1, qword [rsp + 0x40]
nop dword [rax]
cmp rcx, rdx
jge 0x4be6ef
mov qword [rsp + 0x38], rcx
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
movsd qword [rsp + 0x48], xmm0
shl rcx, 1
mov qword [rsp + 0x58], rcx
movsd xmm2, qword [0x005216d8]
mulsd xmm2, xmm0
movsd xmm3, qword [0x005216d0]
mulsd xmm2, xmm3
divsd xmm2, xmm1
movsd qword [rsp + 0x28], xmm2
movups xmm0, xmm2
call sym.math.cos
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x58]
nop
cmp rcx, rdx
jbe 0x4be81e
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x38]
lea rcx, [rcx + rdx*8]
cvtsd2ss xmm1, xmm0
movss dword [rcx], xmm1
lea rcx, [rdx + rdx]
lea rcx, [rcx + 1]
mov qword [rsp + 0x50], rcx
movsd xmm0, qword [rsp + 0x28]
call sym.math.sin
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
movsd xmm1, qword [0x005215b8]
pxor xmm0, xmm1
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
jbe 0x4be816
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x38]
lea rcx, [rcx + rdx*8]
lea rcx, [rcx + 4]
cvtsd2ss xmm1, xmm0
movss dword [rcx], xmm1
movsd xmm0, qword [rsp + 0x48]
addsd xmm0, xmm0
movsd xmm1, qword [0x00521590]
addsd xmm0, xmm1
movsd xmm2, qword [0x005216d0]
mulsd xmm0, xmm2
movsd xmm3, qword [rsp + 0x40]
divsd xmm0, xmm3
movsd xmm4, qword [0x005215b0]
mulsd xmm0, xmm4
movsd qword [rsp + 0x20], xmm0
call sym.math.cos
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jbe 0x4be80e
mov rcx, qword [rax + 0x18]
mov rdx, qword [rsp + 0x38]
lea rcx, [rcx + rdx*8]
cvtsd2ss xmm1, xmm0
movss dword [rcx], xmm1
movsd xmm0, qword [rsp + 0x20]
call sym.math.sin
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rsp + 0x50]
cmp rcx, rdx
ja 0x4be542
jmp 0x4be806
xor ecx, ecx
jmp 0x4be725
mov rdx, qword [rax + 0x30]
mov rcx, qword [rsp + 0x30]
lea rdx, [rdx + rcx*8]
lea rdx, [rdx + 4]
cvtsd2ss xmm2, xmm0
movss dword [rdx], xmm2
inc rcx
mov rax, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
movsd xmm1, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
shr rdx, 0x3d
add rdx, rax
sar rdx, 3
cmp rcx, rdx
jge 0x4be7f0
mov qword [rsp + 0x30], rcx
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
shl rcx, 1
mov qword [rsp + 0x68], rcx
addsd xmm0, xmm0
movsd xmm2, qword [0x00521590]
addsd xmm0, xmm2
addsd xmm0, xmm0
movsd xmm3, qword [0x005216d0]
mulsd xmm0, xmm3
divsd xmm0, xmm1
movsd qword [rsp + 0x18], xmm0
nop dword [rax]
call sym.math.cos
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x38]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jbe 0x4be7fe
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x30]
lea rcx, [rcx + rdx*8]
cvtsd2ss xmm1, xmm0
movss dword [rcx], xmm1
lea rcx, [rdx + rdx]
lea rcx, [rcx + 1]
mov qword [rsp + 0x68], rcx
movsd xmm0, qword [rsp + 0x18]
call sym.math.sin
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x38]
movsd xmm1, qword [0x005215b8]
pxor xmm0, xmm1
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
ja 0x4be6f3
jmp 0x4be7f6
add rsp, 0x70
pop rbp
ret
mov rax, rdx
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
mov rax, rdx
call sym.runtime.panicIndex
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.github.com_jfreymuth_vorbis.generateIMDCTLookup