Function at 0x140197c50
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1404f2618]
xor rax, rsp
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x14046a160]
xor ebx, ebx
movaps xmm1, xmmword [0x14046a170]
mov rdi, rdx
mov r10, r9
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x14046a180]
mov r9, r8
movaps xmmword [rsp + 0x40], xmm1
cmp rdx, 0x40
movaps xmm1, xmmword [0x14046a190]
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 0x140197d0d
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.140197a40
mov r8, rdi
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140197b40
jmp 0x140197ece
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.140197a40
mov r8d, 0x40
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
call fcn.140197b40
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 0x140197e1b
mov qword [rsp + 0x170], r14
lea r14d, [rdi - 0x41]
shr r14d, 5
inc r14d
nop dword [rax]
movaps xmm0, xmmword [0x14046a160]
lea rax, [rbx + 0x40]
movaps xmm1, xmmword [0x14046a170]
lea rdx, [rbp + 0x10]
movaps xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x30]
movaps xmm0, xmmword [0x14046a180]
mov r8d, 0x40
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [0x14046a190]
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.140197b40
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 0x140197d80
mov r14, qword [rsp + 0x170]
movaps xmm0, xmmword [0x14046a160]
lea rdx, [rbp + 0x10]
movaps xmm1, xmmword [0x14046a170]
movabs rcx, 0x6a09e667f3bcc908
movaps xmmword [rsp + 0x30], xmm0
mov rax, rdi
movaps xmm0, xmmword [0x14046a180]
or rax, 0x1010000
movaps xmmword [rsp + 0x40], xmm1
xor rax, rcx
movaps xmm1, xmmword [0x14046a190]
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.140197b40
mov r8, rdi
lea rdx, [rbp + 0x10]
mov rcx, rsi
call fcn.140349660
cmp dword [0x14078d904], 0
mov r15, qword [rsp + 0x168]
je 0x140197ece
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.140346fd0
add rsp, 0x178
pop rdi
pop rsi
pop rbx
pop rbp
ret