Function at 0x4b5fe0
Capabilities:
Hash data using sha256

Disassembly:
lea r12, [rsp - 0x48]
cmp r12, qword [r14 + 0x10]
jbe 0x4b62c8
push rbp
mov rbp, rsp
sub rsp, 0xc0
mov qword [rsp + 0xd0], rax
movq qword [rsp + 0xb8], xmm15
mov byte [rsp + 0x3f], 0
movups xmmword [rsp + 0x98], xmm15
movups xmmword [rsp + 0x88], xmm15
nop
xor ecx, ecx
xor edi, edi
call sym.os.OpenFile
test rbx, rbx
jne 0x4b618d
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0xa8], xmm15
lea rcx, [sym.main.calculateFileHash.func1]
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0xb8], rcx
mov byte [rsp + 0x3f], 1
movups xmm0, xmmword [0x005816a0]
nop
movups xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x005816b0]
movups xmmword [rsp + 0x60], xmm0
lea rax, [0x004cfb80]
call sym.runtime.newobject
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm0
mov dword [rax + 0x20], 0
mov qword [rax + 0x28], 0x20
mov rbx, rax
lea rcx, [0x004fda40]
mov rdi, qword [rsp + 0x78]
xor esi, esi
xor r8d, r8d
mov r9, r8
lea rax, [0x004fda60]
call sym.io.copyBuffer
nop dword [rax]
test rbx, rbx
jne 0x4b6139
mov rax, qword [rsp + 0x70]
xor ebx, ebx
xor ecx, ecx
mov rdi, rcx
call sym.lukechampine.com_blake3._Hasher_.Sum
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x80], rax
mov rcx, rbx
shl rcx, 1
mov qword [rsp + 0x48], rcx
lea rax, [0x004bff60]
mov rbx, rcx
call sym.runtime.makeslice
nop
mov rdx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov r8, qword [rsp + 0x80]
xor ecx, ecx
xor ebx, ebx
jmp 0x4b61d9
movups xmmword [rsp + 0x98], xmm15
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xb8]
mov rax, qword [rdx]
call rax
mov rcx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
add rsp, 0xc0
pop rbp
ret
movups xmmword [rsp + 0x98], xmm15
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rcx
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rsp + 0xa0]
mov rax, qword [rsp + 0x98]
mov rdi, rcx
mov rcx, rdx
add rsp, 0xc0
pop rbp
ret
mov byte [rbx + rax + 1], r9b
inc rcx
add rbx, 2
cmp rdx, rcx
jle 0x4b6222
movzx edi, byte [rcx + r8]
mov r9d, edi
shr dil, 4
movzx edi, dil
lea r10, [0x004d9613]
movzx edi, byte [r10 + rdi]
nop word [rax + rax]
cmp rbx, rsi
jae 0x4b628e
mov byte [rax + rbx], dil
lea rdi, [rbx + 1]
and r9d, 0xf
movzx r9d, byte [r9 + r10]
cmp rsi, rdi
ja 0x4b61cd
nop
jmp 0x4b6283
mov rbx, rax
mov rcx, rsi
xor eax, eax
call sym.runtime.slicebytetostring
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rbx
movups xmmword [rsp + 0x88], xmm15
mov byte [rsp + 0x3f], 0
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rdx]
call rsi
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x90]
add rsp, 0xc0
pop rbp
ret
mov rax, rdi
mov rcx, rsi
call sym.runtime.panicIndex
mov rax, rbx
mov rcx, rsi
call sym.runtime.panicIndex
nop
call sym.runtime.deferreturn
mov rax, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
add rsp, 0xc0
pop rbp
ret
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.main.calculateFileHash