Function at 0x1401131b0
Capabilities:
Hash data using sha512

Disassembly:
test rdx, rdx
je 0x140113ad9
mov r11, rsp
push rbp
push rbx
push r12
push r13
lea rbp, [r11 - 0x58]
sub rsp, 0x138
mov rax, qword [0x140396618]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12d, r8d
mov rbx, rdx
mov r13, rcx
test rcx, rcx
je 0x140113ac0
movaps xmm0, xmmword [0x140358600]
xor ecx, ecx
movaps xmm1, xmmword [0x140358610]
movabs rax, 0x6a09e667f2bdc948
mov qword [r11 + 0x20], rsi
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x140358620]
mov qword [rsp + 0x30], rax
mov eax, dword [rdx + 0x54]
mov dword [rbp - 0x80], eax
mov eax, dword [rdx + 8]
lea rdx, [rsp + 0x20]
mov qword [r11 - 0x28], rdi
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
mov ecx, 4
mov qword [r11 - 0x30], r14
mov dword [rsp + 0x20], eax
lea rax, [rbp - 0x80]
mov qword [r11 - 0x38], r15
mov r15d, ecx
movaps xmmword [rsp + 0x40], xmm1
mov r8d, r15d
movaps xmm1, xmmword [0x140358630]
mov qword [rbp], rcx
add rcx, rax
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.140286390
mov rcx, qword [rbp]
lea rsi, [rsp + 0x20]
mov eax, dword [rbx + 0x50]
add rcx, r15
mov dword [rsp + 0x20], eax
mov r14d, r15d
mov qword [rbp], rcx
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113358
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x140113358
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop word [rax + rax]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140113320
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
lea rsi, [rsp + 0x20]
mov eax, dword [rbx + 0x4c]
add rcx, r14
mov dword [rsp + 0x20], eax
mov r14, r15
mov qword [rbp], rcx
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113448
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x140113448
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop word [rax + rax]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140113410
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
lea rsi, [rsp + 0x20]
mov eax, dword [rbx + 0x5c]
add rcx, r14
mov dword [rsp + 0x20], eax
mov r14, r15
mov qword [rbp], rcx
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113538
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x140113538
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop word [rax + rax]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140113500
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
lea rsi, [rsp + 0x20]
add rcx, r14
mov dword [rsp + 0x20], r12d
mov qword [rbp], rcx
mov r14, r15
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113629
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
xor r12d, r12d
lea rsi, [rsp + 0x20]
add rsi, rdi
sub r14, rdi
mov ecx, r12d
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x14011362c
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop dword [rax]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], r12
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1401135f0
mov rcx, qword [rbp]
jmp 0x14011362c
xor r12d, r12d
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
lea rsi, [rsp + 0x20]
mov eax, dword [rbx + 0x18]
add rcx, r14
mov dword [rsp + 0x20], eax
mov r14, r15
mov qword [rbp], rcx
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113718
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x140113718
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1401136e0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x10]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x140113765
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.14011a6f0
test byte [rbx + 0x70], 1
je 0x140113761
mov ecx, dword [rbx + 0x18]
xor eax, eax
mov rdi, qword [rbx + 0x10]
rep stosb byte [rdi], al
mov dword [rbx + 0x18], r12d
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x28]
lea rsi, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov r14, r15
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113838
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x140113838
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop dword [rax + rax]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140113800
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x20]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x140113870
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14011a6f0
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x38]
lea rsi, [rsp + 0x20]
mov dword [rsp + 0x20], eax
mov r14, r15
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113948
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x140113948
lea rdi, [r14 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r14, rax
nop word [rax + rax]
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140113910
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140286390
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x30]
add rcx, r14
mov r14, qword [rsp + 0x128]
mov qword [rbp], rcx
test rdx, rdx
je 0x14011399d
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14011a6f0
test byte [rbx + 0x70], 2
je 0x140113999
mov ecx, dword [rbx + 0x38]
xor eax, eax
mov rdi, qword [rbx + 0x30]
rep stosb byte [rdi], al
mov dword [rbx + 0x38], r12d
mov rcx, qword [rbp]
mov eax, dword [rbx + 0x48]
lea rsi, [rsp + 0x20]
mov dword [rsp + 0x20], eax
lea rax, [rcx + 4]
cmp rax, 0x80
jbe 0x140113a68
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140286390
mov rax, qword [rsp + 0x70]
lea rdx, [rbp - 0x80]
sub rax, 0xffffffffffffff80
lea rcx, [rsp + 0x30]
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
lea rsi, [rsp + 0x20]
sub r15, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r15, 0x80
jbe 0x140113a68
lea rdi, [r15 - 0x81]
shr rdi, 7
inc rdi
imul rax, rdi, 0xffffffffffffff80
add r15, rax
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
sub rax, 0xffffffffffffff80
mov rdx, rsi
cmp rax, 0x80
mov qword [rsp + 0x70], rax
adc qword [rsp + 0x78], 0
xor r8d, r8d
call fcn.1401185e0
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140113a30
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r15
add rcx, rax
mov rdx, rsi
call fcn.140286390
add qword [rbp], r15
mov rdx, qword [rbx + 0x40]
mov r15, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x178]
test rdx, rdx
je 0x140113aad
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14011a6f0
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.14011a7f0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140283d00
add rsp, 0x138
pop r13
pop r12
pop rbx
pop rbp
ret