Function at 0x1402d0aa0
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x138]
sub rsp, 0x238
mov rax, qword [0x1403df5c8]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rsi, rdx
mov rdi, r9
mov dword [r9], esi
mov r14, r8
mov r15, rcx
cmp rdx, 0x40
ja 0x1402d0b73
lea rcx, [rsp + 0x60]
call fcn.1402d0ff0
mov ebx, eax
test eax, eax
js 0x1402d0fc8
mov r8d, 4
lea rcx, [rsp + 0x60]
mov rdx, rdi
call fcn.1402d1110
mov ebx, eax
test eax, eax
js 0x1402d0fc8
mov r8d, 0x48
lea rcx, [rsp + 0x60]
mov rdx, r14
call fcn.1402d1110
mov ebx, eax
test eax, eax
js 0x1402d0fc8
xor eax, eax
lea r9, [rbp + 0x50]
mov r8, rsi
mov qword [rbp + 0x50], rax
mov rdx, r15
mov qword [rbp + 0x58], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rax
call fcn.1402d1250
mov ebx, eax
jmp 0x1402d0fc8
xor eax, eax
mov qword [rsp + 0x230], r12
xor r12d, r12d
mov qword [rsp + 0x228], r13
xor edx, edx
mov word [rsp + 0x30], r12w
mov r8d, 0xa4
mov qword [rsp + 0x20], 0x1010040
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x32], rax
mov bl, 0x40
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
call fcn.14021d2b0
movaps xmm0, xmmword [0x140391f60]
lea r8d, [r12 + 4]
movaps xmm1, xmmword [0x140391f70]
lea rcx, [rsp + 0x60]
movaps xmm2, xmmword [0x140391f80]
xor eax, eax
mov qword [rbp + 0x48], rax
movabs r13, 0x6a09e667f3bcc908
mov rax, qword [rsp + 0x20]
mov rdx, rdi
xor rax, r13
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x140391f90]
xor qword [rsp + 0x68], r12
mov qword [rsp + 0x60], rax
movq rax, xmm1
xor rax, qword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
xor qword [rsp + 0x78], rax
movq rax, xmm2
xor rax, qword [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm2
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x48]
xor qword [rbp - 0x78], rax
movzx eax, bl
mov dword [rbp + 0x44], eax
movaps xmmword [rbp - 0x70], xmm0
call fcn.1402d1110
mov ebx, eax
test eax, eax
js 0x1402d0fb8
lea r8d, [r12 + 0x48]
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.1402d1110
mov ebx, eax
test eax, eax
js 0x1402d0fb8
cmp dword [rbp + 0x44], 0x40
ja 0x1402d0fb1
cmp qword [rbp - 0x50], r12
jne 0x1402d0fb1
mov ecx, dword [rbp + 0x40]
mov r14, 0xffffffffffffffff
mov rax, qword [rbp - 0x60]
mov edx, ecx
add rax, rcx
mov qword [rbp - 0x50], r14
cmp rax, rcx
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x48]
mov r8d, 0x80
adc qword [rbp - 0x58], r12
cmp byte [rbp + 0x48], r12b
cmovne rax, r14
sub r8d, ecx
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x48], rax
add rcx, rdx
xor edx, edx
call fcn.14021d2b0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.1402d0250
mov rax, qword [rsp + 0x60]
lea rdx, [rbp + 0x50]
mov r8d, dword [rbp + 0x44]
lea rcx, [rbp + 0xd0]
mov qword [rbp + 0x50], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x58], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x60], rax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x70], rax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x78], rax
mov rax, qword [rbp - 0x70]
mov qword [rbp + 0x80], rax
mov rax, qword [rbp - 0x68]
mov qword [rbp + 0x88], rax
call fcn.14021ce50
movaps xmm0, xmmword [rbp + 0xd0]
lea rdi, [r15 + 0x20]
movaps xmm1, xmmword [rbp + 0xe0]
add esi, 0xffffffe0
movaps xmmword [r15], xmm0
movaps xmmword [r15 + 0x10], xmm1
cmp esi, 0x40
jbe 0x1402d0ee7
nop dword [rax]
xor eax, eax
movaps xmmword [rbp + 0x50], xmm0
movaps xmm0, xmmword [rbp + 0xf0]
lea rcx, [rbp - 0x60]
movaps xmmword [rbp + 0x60], xmm1
xor edx, edx
movaps xmm1, xmmword [rbp + 0x100]
mov r8d, 0xa4
movaps xmmword [rbp + 0x70], xmm0
mov ebx, r14d
movaps xmmword [rbp + 0x80], xmm1
mov r15b, 0x40
mov qword [rsp + 0x20], 0x1010040
mov word [rsp + 0x30], r12w
mov qword [rsp + 0x32], rax
mov qword [rsp + 0x3a], rax
mov qword [rsp + 0x42], rax
mov qword [rsp + 0x4a], rax
call fcn.14021d2b0
movaps xmm0, xmmword [0x140391f60]
lea rdx, [rbp + 0x50]
movaps xmm1, xmmword [0x140391f70]
lea rcx, [rsp + 0x60]
movaps xmm2, xmmword [0x140391f80]
xor eax, eax
mov qword [rbp + 0x48], rax
mov r8d, 0x40
mov rax, qword [rsp + 0x20]
xor rax, r13
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [0x140391f90]
xor qword [rsp + 0x68], r12
mov qword [rsp + 0x60], rax
movq rax, xmm1
xor rax, qword [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x38]
xor qword [rsp + 0x78], rax
movq rax, xmm2
xor rax, qword [rsp + 0x40]
movaps xmmword [rbp - 0x80], xmm2
mov qword [rbp - 0x80], rax
mov rax, qword [rsp + 0x48]
xor qword [rbp - 0x78], rax
movzx eax, r15b
mov dword [rbp + 0x44], eax
movaps xmmword [rbp - 0x70], xmm0
call fcn.1402d1110
test eax, eax
js 0x1402d0eba
xor eax, eax
lea r9, [rbp + 0x90]
lea rdx, [rbp + 0xd0]
mov qword [rbp + 0x90], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
lea r8d, [rax + 0x40]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
call fcn.1402d1250
mov ebx, eax
test ebx, ebx
js 0x1402d0fb8
movaps xmm0, xmmword [rbp + 0xd0]
add esi, 0xffffffe0
movaps xmm1, xmmword [rbp + 0xe0]
movaps xmmword [rdi], xmm0
movaps xmmword [rdi + 0x10], xmm1
add rdi, 0x20
cmp esi, 0x40
ja 0x1402d0d70
movaps xmmword [rbp + 0x50], xmm0
lea rax, [rsi - 1]
movaps xmm0, xmmword [rbp + 0xf0]
mov ebx, r14d
movaps xmmword [rbp + 0x60], xmm1
movaps xmm1, xmmword [rbp + 0x100]
movaps xmmword [rbp + 0x70], xmm0
movaps xmmword [rbp + 0x80], xmm1
cmp rax, 0x3f
ja 0x1402d0f99
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1402d0ff0
test eax, eax
js 0x1402d0f99
mov r8d, 0x40
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.1402d1110
test eax, eax
js 0x1402d0f99
xor eax, eax
lea r9, [rbp + 0x90]
mov r8, rsi
mov qword [rbp + 0x90], rax
lea rdx, [rbp + 0xd0]
mov qword [rbp + 0x98], rax
lea rcx, [rsp + 0x60]
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
call fcn.1402d1250
mov ebx, eax
test ebx, ebx
js 0x1402d0fb8
mov r8, rsi
lea rdx, [rbp + 0xd0]
mov rcx, rdi
call fcn.14021ce50
jmp 0x1402d0fb8
mov rbx, 0xffffffffffffffff
mov r12, qword [rsp + 0x230]
mov r13, qword [rsp + 0x228]
mov eax, ebx
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1401fe5e0
add rsp, 0x238
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret