Function at 0x14018cc20
Capabilities:
Hash data using sha512

Disassembly:
test rdx, rdx
je 0x14018d549
mov r11, rsp
push rbp
push rbx
push r12
push r13
lea rbp, [r11 - 0x58]
sub rsp, 0x138
mov rax, qword [0x1404ee618]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12d, r8d
mov rbx, rdx
mov r13, rcx
test rcx, rcx
je 0x14018d530
movaps xmm0, xmmword [0x1404665d0]
xor ecx, ecx
movaps xmm1, xmmword [0x1404665e0]
movabs rax, 0x6a09e667f2bdc948
mov qword [r11 + 0x20], rsi
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1404665f0]
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 [0x140466600]
mov qword [rbp], rcx
add rcx, rax
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.140348140
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 0x14018cdc8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x14018cdc8
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018cd90
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
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 0x14018ceb8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x14018ceb8
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018ce80
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
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 0x14018cfa8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x14018cfa8
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018cf70
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
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 0x14018d099
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
xor r12d, r12d
lea rsi, [rsp + 0x20]
add rsi, rdi
sub r14, rdi
mov ecx, r12d
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x14018d09c
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018d060
mov rcx, qword [rbp]
jmp 0x14018d09c
xor r12d, r12d
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
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 0x14018d188
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x14018d188
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018d150
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x10]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x14018d1d5
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140194160
test byte [rbx + 0x70], 1
je 0x14018d1d1
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 0x14018d2a8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x14018d2a8
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018d270
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x20]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x14018d2e0
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140194160
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 0x14018d3b8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x14018d3b8
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018d380
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.140348140
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 0x14018d40d
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140194160
test byte [rbx + 0x70], 2
je 0x14018d409
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 0x14018d4d8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.140348140
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.140192050
lea rsi, [rsp + 0x20]
sub r15, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r15, 0x80
jbe 0x14018d4d8
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.140192050
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x14018d4a0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r15
add rcx, rax
mov rdx, rsi
call fcn.140348140
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 0x14018d51d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140194160
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.140194260
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140345ab0
add rsp, 0x138
pop r13
pop r12
pop rbx
pop rbp
ret