Function at 0x140038090
Capabilities:
Hash data using sha512

Disassembly:
test rdx, rdx
je 0x1400389b9
mov r11, rsp
push rbp
push rbx
push r12
push r13
lea rbp, [r11 - 0x58]
sub rsp, 0x138
mov rax, qword [0x14009b090]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r12d, r8d
mov rbx, rdx
mov r13, rcx
test rcx, rcx
je 0x1400389a0
movaps xmm0, xmmword [0x14008cb60]
xor ecx, ecx
movaps xmm1, xmmword [0x14008cb70]
movabs rax, 0x6a09e667f2bdc948
mov qword [r11 + 0x20], rsi
movaps xmmword [rsp + 0x30], xmm0
movaps xmm0, xmmword [0x14008cb80]
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 [0x14008cb90]
mov qword [rbp], rcx
add rcx, rax
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x60], xmm1
call fcn.1400546c0
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 0x140038238
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x140038238
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140038200
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
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 0x140038328
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x140038328
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1400382f0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
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 0x140038418
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
xor ecx, ecx
lea rsi, [rsp + 0x20]
add rsi, rdi
mov qword [rbp], rcx
sub r14, rdi
cmp r14, 0x80
jbe 0x140038418
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1400383e0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
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 0x140038509
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
xor r12d, r12d
lea rsi, [rsp + 0x20]
add rsi, rdi
sub r14, rdi
mov ecx, r12d
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x14003850c
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1400384d0
mov rcx, qword [rbp]
jmp 0x14003850c
xor r12d, r12d
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
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 0x1400385f8
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x1400385f8
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1400385c0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x10]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x140038645
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x30]
call fcn.14003f570
test byte [rbx + 0x70], 1
je 0x140038641
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 0x140038718
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x140038718
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1400386e0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
mov rcx, qword [rbp]
mov rdx, qword [rbx + 0x20]
add rcx, r14
mov qword [rbp], rcx
test rdx, rdx
je 0x140038750
mov r8d, dword [rbx + 0x28]
lea rcx, [rsp + 0x30]
call fcn.14003f570
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 0x140038828
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
lea rsi, [rsp + 0x20]
sub r14, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r14, 0x80
jbe 0x140038828
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x1400387f0
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r14
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
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 0x14003887d
mov r8d, dword [rbx + 0x38]
lea rcx, [rsp + 0x30]
call fcn.14003f570
test byte [rbx + 0x70], 2
je 0x140038879
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 0x140038948
lea rax, [rbp - 0x80]
mov edi, 0x80
sub rdi, rcx
lea rdx, [rsp + 0x20]
mov r8, rdi
add rcx, rax
call fcn.1400546c0
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.14003d460
lea rsi, [rsp + 0x20]
sub r15, rdi
add rsi, rdi
mov rcx, r12
mov qword [rbp], rcx
cmp r15, 0x80
jbe 0x140038948
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.14003d460
sub rsi, 0xffffffffffffff80
sub rdi, 1
jne 0x140038910
mov rcx, qword [rbp]
lea rax, [rbp - 0x80]
mov r8, r15
add rcx, rax
mov rdx, rsi
call fcn.1400546c0
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 0x14003898d
mov r8d, dword [rbx + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14003f570
mov r8d, 0x40
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.14003f670
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140052440
add rsp, 0x138
pop r13
pop r12
pop rbx
pop rbp
ret