Function at 0x140157a90
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x14043b698]
xor rax, rsp
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1403f5170]
xor ebx, ebx
movaps xmm1, xmmword [0x1403f5180]
mov rdi, rdx
mov r10, r9
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1403f5190]
mov r9, r8
movaps xmmword [rsp + 0x40], xmm1
cmp rdx, 0x40
movaps xmm1, xmmword [0x1403f51a0]
mov rsi, rcx
movaps xmmword [rsp + 0x50], xmm0
mov r8, r10
movaps xmmword [rsp + 0x60], xmm1
mov rdx, r9
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x80], edi
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
ja 0x140157b4d
movabs rcx, 0x6a09e667f3bcc908
mov rax, rdi
or rax, 0x1010000
mov ebx, 4
xor rax, rcx
mov qword [rbp], rbx
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.140157880
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140157980
jmp 0x140157d0e
lea rax, [rbx + 4]
mov qword [rsp + 0x168], r15
movabs r15, 0x6a09e667f2bdc948
mov qword [rbp], rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r15
call fcn.140157880
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140157980
movaps xmm2, xmmword [rbp + 0x10]
add edi, 0xffffffe0
movaps xmm3, xmmword [rbp + 0x20]
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
add rsi, 0x20
cmp edi, 0x40
jbe 0x140157c5b
mov qword [rsp + 0x170], r14
lea r14d, [rdi - 0x41]
shr r14d, 5
inc r14d
nop dword [rax]
movaps xmm0, xmmword [0x1403f5170]
lea rax, [rbx + 0x40]
movaps xmm1, xmmword [0x1403f5180]
lea rdx, [rbp + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [0x1403f5190]
mov r8d, 0x40
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x1403f51a0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x30], r15
movaps xmmword [rbp - 0x80], xmm2
movaps xmmword [rbp - 0x70], xmm3
mov qword [rbp], rax
call fcn.140157980
movaps xmm2, xmmword [rbp + 0x10]
add edi, 0xffffffe0
movaps xmm3, xmmword [rbp + 0x20]
movups xmmword [rsi], xmm2
movups xmmword [rsi + 0x10], xmm3
add rsi, 0x20
sub r14, 1
jne 0x140157bc0
mov r14, qword [rsp + 0x170]
movaps xmm0, xmmword [0x1403f5170]
lea rdx, [rbp + 0x10]
movaps xmm1, xmmword [0x1403f5180]
movabs rcx, 0x6a09e667f3bcc908
movaps xmmword [rsp + 0x30], xmm0
mov rax, rdi
movaps xmm0, xmmword [0x1403f5190]
or rax, 0x1010000
movaps xmmword [rsp + 0x40], xmm1
xor rax, rcx
movaps xmm1, xmmword [0x1403f51a0]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x50], xmm0
mov r8, rdi
movaps xmm0, xmmword [rbp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x40]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
add rbx, 0x40
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov qword [rsp + 0x30], rax
movaps xmmword [rbp - 0x80], xmm2
movaps xmmword [rbp - 0x70], xmm3
mov qword [rbp], rbx
call fcn.140157980
mov r8, rdi
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.1402d9b60
cmp dword [0x1406d5a08], 0
mov r15, qword [rsp + 0x168]
je 0x140157d0e
lea rdi, [rbp + 0x10]
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1402bb220
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret