Function at 0x140150359
Capabilities:
Hash data using sha512

Disassembly:
test rdx, rdx
je 0x140150c79
mov r11, rsp
push rbp
push rbx
push r12
push r13
lea rbp, [r11 - 0x58]
sub rsp, 0x138
mov rax, qword [0x14043b698]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12d, r8d
mov rbx, rdx
mov r13, rcx
test rcx, rcx
je 0x140150c60
movaps xmm0, xmmword [0x1403f5170]
xor ecx, ecx
movaps xmm1, xmmword [0x1403f5180]
movabs rax, 0x6a09e667f2bdc948
mov qword [r11 + 0x20], rsi
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x1403f5190]
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 [0x1403f51a0]
mov qword [rbp], rcx
add rcx, rax
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.1402d9b60
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 0x1401504f8
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x1401504f8
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1401504c0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
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 0x1401505e8
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x1401505e8
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1401505b0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
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 0x1401506d8
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x1401506d8
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1401506a0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
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 0x1401507c9
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
xor r12d, r12d
lea rsi, [rsp + 0x20]
add rsi, rdi
sub r14, rdi
mov ecx, r12d
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x1401507cc
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140150790
mov rcx, qword [rbp]
jmp 0x1401507cc
xor r12d, r12d
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
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 0x1401508b8
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x1401508b8
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140150880
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x10]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x140150905
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.140157880
test byte [rbx + 0x70], 1
je 0x140150901
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 0x1401509d8
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x1401509d8
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1401509a0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x20]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x140150a10
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.140157880
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 0x140150ae8
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x140150ae8
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140150ab0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
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 0x140150b3d
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.140157880
test byte [rbx + 0x70], 2
je 0x140150b39
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 0x140150c08
lea rax, [rbp - 0x80]
mov edi, pe_nt_image_headers64
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1402d9b60
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.140155780
lea rsi, [rsp + 0x20]
sub r15, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r15, 0x80
jbe 0x140150c08
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.140155780
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140150bd0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r15
add rcx, rax
mov rdx, rsi
call fcn.1402d9b60
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 0x140150c4d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140157880
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.140157980
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1402bb220
add rsp, 0x138
pop r13
pop r12
pop rbx
pop rbp
ret