Function at 0x1400ddc20
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x230
mov rax, qword [0x1402e0068]
xor rax, rsp
mov qword [rsp + 0x210], rax
mov eax, dword [rdx + 8]
mov rdi, qword [rsp + 0x298]
xor esi, esi
test byte [rdx + 0x14], 4
mov qword [rsp + 0x40], r9
mov rbx, r8
lea r11d, [rax - 1]
mov rbp, rdx
mov qword [rsp + 0x48], rdx
mov r13, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
je 0x1400ddc82
mov rcx, rdx
call fcn.1400d8d40
jmp 0x1400ddca0
test eax, eax
jne 0x1400ddc8a
mov eax, esi
jmp 0x1400ddca0
mov rcx, qword [rdx]
movsxd rax, r11d
mov rcx, qword [rcx + rax*8]
call fcn.1400d8c60
shl r11d, 6
add eax, r11d
add eax, 7
cdq
and edx, 7
lea r12d, [rdx + rax]
sar r12d, 3
add r12d, 8
mov ecx, r12d
call fcn.1401e6440
mov r15, rax
test rax, rax
je 0x1400de02e
xor r9d, r9d
lea rdx, [rsp + 0x170]
mov rcx, rbx
lea r8d, [r9 + 0x60]
call fcn.1400d9300
test eax, eax
js 0x1400de026
mov qword [rsp + 0x228], r14
mov ebx, 1
mov r14d, esi
test r12d, r12d
je 0x1400ddfc5
mov r13, qword [rsp + 0x40]
mov ebp, 0x40
movabs rdi, 0x6a09e667f3bcc908
lea ebx, [rbp - 0x20]
nop word [rax + rax]
lea rcx, [rsp + 0x130]
mov rdx, rbp
call fcn.14000df40
movabs rax, 0xbb67ae8584caa73b
lea rcx, [rbx + 0x300]
mov qword [rsp + 0x58], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rax
movabs rax, 0xa54ff53a5f1d36f1
mov dword [rsp + 0x124], ebp
mov qword [rsp + 0x68], rax
movabs rax, 0x510e527fade682d1
mov dword [rsp + 0xa0], r14d
mov qword [rsp + 0x70], rax
movabs rax, 0x9b05688c2b3e6c1f
mov dword [rsp + 0x120], 4
mov qword [rsp + 0x78], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x80], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x88], rax
mov rax, rsi
mov qword [rsp + 0x98], rax
cmp rcx, rbx
jae 0x1400ddde0
inc rax
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x90], rcx
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xa4]
mov r8d, 0x60
call fcn.1401e75a0
add dword [rsp + 0x120], 0x60
lea rcx, [rsp + 0x50]
mov r8, rbx
mov rdx, r13
call fcn.140017420
mov rax, qword [rsp + 0x90]
mov rbx, rbp
lea rcx, [rax + 0x200]
lea rdi, [rsp + 0x130]
cmp rcx, rax
jae 0x1400dde42
inc qword [rsp + 0x98]
mov eax, dword [rsp + 0x120]
mov qword [rsp + 0x90], rcx
test eax, eax
je 0x1400ddf49
mov edi, 0x80
mov rcx, rax
sub rdi, rax
cmp rdi, rbx
jbe 0x1400ddedc
lea rdx, [rsp + 0x130]
mov rax, qword [rdx]
mov qword [rsp + rcx + 0xa0], rax
mov rax, qword [rdx + 8]
mov qword [rsp + rcx + 0xa8], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + rcx + 0xb0], rax
mov rax, qword [rdx + 0x18]
mov qword [rsp + rcx + 0xb8], rax
mov rax, qword [rdx + 0x20]
mov qword [rsp + rcx + 0xc0], rax
mov rax, qword [rdx + 0x28]
mov qword [rsp + rcx + 0xc8], rax
mov rax, qword [rdx + 0x30]
mov qword [rsp + rcx + 0xd0], rax
mov rax, qword [rdx + 0x38]
mov qword [rsp + rcx + 0xd8], rax
add dword [rsp + 0x120], ebx
jmp 0x1400ddf63
lea rcx, [rsp + rax + 0xa0]
lea rdx, [rsp + 0x130]
mov r8, rdi
call fcn.1401e75a0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
mov r8d, 1
sub rbx, rdi
mov dword [rsp + 0x120], esi
lea rdi, [rsp + rdi + 0x130]
call fcn.140017530
cmp rbx, 0x80
jb 0x1400ddf44
mov r8, rbx
lea rcx, [rsp + 0x50]
mov rdx, rdi
shr r8, 7
call fcn.140017530
add rdi, rbx
and ebx, 0x7f
sub rdi, rbx
test rbx, rbx
je 0x1400ddf63
lea rcx, [rsp + 0xa0]
mov r8, rbx
mov rdx, rdi
call fcn.1401e75a0
mov dword [rsp + 0x120], ebx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x1d0]
call fcn.140016c10
mov ebx, r12d
mov ecx, r14d
sub ebx, r14d
lea rdx, [rsp + 0x1d0]
cmp ebx, ebp
cmova ebx, ebp
add rcx, r15
mov r8d, ebx
call fcn.1401e75a0
add r14d, ebx
mov ebx, 0x20
movabs rdi, 0x6a09e667f3bcc908
cmp r14d, r12d
jb 0x1400ddd20
mov rbp, qword [rsp + 0x48]
mov r13, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov ebx, 1
mov r8, r13
mov edx, r12d
mov rcx, r15
call fcn.1400d91a0
mov r14, qword [rsp + 0x228]
test rax, rax
je 0x1400de026
movsxd rax, dword [rbp + 8]
test eax, eax
je 0x1400de026
mov rcx, rax
mov rax, qword [rbp]
cmp qword [rax + rcx*8 - 8], rsi
je 0x1400de026
mov r9, rbp
mov r8, r13
mov rdx, r13
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400e1940
mov r11d, eax
test eax, eax
je 0x1400de01f
test r13, r13
je 0x1400de01f
mov rcx, r13
call fcn.1400d9960
cmp r11d, 1
cmove esi, ebx
mov rcx, r15
call fcn.1401e64f8
lea rcx, [rsp + 0x170]
mov edx, 0x60
call fcn.14013ab40
mov eax, esi
mov rcx, qword [rsp + 0x210]
xor rcx, rsp
call fcn.1401e6720
add rsp, 0x230
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret