Function at 0x140008d20
Capabilities:
Hash data using sha512

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x238], rbx
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rdi, r9
mov r13, r8
mov r12, rcx
mov qword [rbp - 0x80], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
xor esi, esi
mov qword [rbp + 0xa0], rsi
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rsi
mov dword [rbp + 0xb8], 8
mov qword [rbp + 0xc0], rsi
mov dword [rbp - 0x70], 0xbe03882a
xor edx, edx
mov r8d, 0xff
lea rcx, [rbp - 0x6a]
call fcn.14002f8c0
mov byte [rbp - 0x6c], 6
mov dword [rbp - 0x80], esi
lea rcx, [rbp - 0x80]
call fcn.1400339b4
mov r15d, esi
test eax, eax
cmove r15d, dword [rbp - 0x80]
mov byte [rbp - 0x6b], r15b
mov r14d, esi
test r15b, r15b
je 0x140008e17
lea rbx, [rbp - 0x6a]
nop word [rax + rax]
mov dword [rbp - 0x80], esi
lea rcx, [rbp - 0x80]
call fcn.1400339b4
mov ecx, esi
test eax, eax
cmove ecx, dword [rbp - 0x80]
mov byte [rbx], cl
inc r14d
lea rbx, [rbx + 1]
movzx r15d, byte [rbp - 0x6b]
cmp r14d, r15d
jl 0x140008df0
mov edx, 4
lea rcx, [rbp + 0xa0]
call fcn.140004390
test eax, eax
je 0x1400091dd
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
add rdx, r8
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbp + rcx - 0x70]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x140008e50
lea rdx, [r8 + 4]
mov qword [rbp + 0xa8], rdx
inc rdx
lea rcx, [rbp + 0xa0]
call fcn.140004390
test eax, eax
je 0x1400091c9
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
add rdx, r8
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x6c]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 1
jb 0x140008ea0
lea rdx, [r8 + 1]
mov qword [rbp + 0xa8], rdx
inc rdx
lea rcx, [rbp + 0xa0]
call fcn.140004390
test eax, eax
je 0x140009219
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
add rdx, r8
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x6b]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 1
jb 0x140008ef0
inc r8
mov qword [rbp + 0xa8], r8
movzx r8d, r15b
lea rdx, [rbp - 0x6a]
lea rcx, [rbp + 0xa0]
call fcn.140004300
movdqa xmm0, xmmword [0x140051200]
movdqa xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
movdqa xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
mov r9d, 1
lea r8, [rbp + 0xa0]
mov rdx, r13
call fcn.1400055e0
lea rdx, [r13 + 0x20]
mov r9d, 1
lea r8, [rbp + 0xa0]
call fcn.1400055e0
mov rdx, qword [rbp + 0xa8]
add rdx, 8
lea rcx, [rbp + 0xa0]
call fcn.140004390
test eax, eax
je 0x140009205
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xa0]
add rdx, r8
mov rcx, rsi
nop dword [rax + rax]
movzx eax, byte [rcx + r13 + 0x40]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x140008fa0
lea rdx, [r8 + 8]
mov qword [rbp + 0xa8], rdx
add rdx, 4
lea rcx, [rbp + 0xa0]
call fcn.140004390
test eax, eax
je 0x1400091f1
mov r14, qword [rbp + 0xa8]
mov r15, qword [rbp + 0xa0]
lea rdx, [r14 + r15]
mov rcx, rsi
nop word [rax + rax]
movzx eax, byte [rcx + r13 + 0x48]
mov byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x140008ff0
add r14, 4
mov rbx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x140009014
mov rdi, qword [rdi]
xor edx, edx
mov r8d, 0xd8
lea rcx, [rbp - 0x70]
call fcn.14002f8c0
mov rcx, rsi
lea rdx, [0x140050d10]
nop
movzx eax, byte [rcx + rdx]
mov byte [rbp + rcx + 0x10], al
inc rcx
cmp rcx, 0x40
jb 0x140009030
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], rsi
mov eax, esi
mov dword [rbp + 0x60], eax
test ebx, ebx
jle 0x1400090b6
test eax, eax
jne 0x140009082
cmp ebx, 0x80
jb 0x14000907e
nop
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.1400033d0
sub rdi, 0xffffffffffffff80
add ebx, 0xffffff80
cmp ebx, 0x80
jae 0x140009060
mov eax, dword [rbp + 0x60]
test ebx, ebx
je 0x1400090b6
movsxd rcx, eax
movzx eax, byte [rdi]
mov byte [rbp + rcx - 0x70], al
inc rdi
dec ebx
mov eax, dword [rbp + 0x60]
inc eax
mov dword [rbp + 0x60], eax
cmp eax, 0x80
jne 0x1400090b2
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400033d0
mov eax, esi
mov dword [rbp + 0x60], eax
test ebx, ebx
jg 0x140009052
lea rcx, [rbp - 0x70]
call fcn.140003890
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rbp + rcx - 0x70]
mov byte [rbp + rcx + 0xa0], al
inc rcx
cmp rcx, 0x40
jb 0x1400090d0
movzx eax, byte [rbp + 0xa0]
and eax, 0x3f
test r14, r14
je 0x140009129
movzx r9d, byte [rbp + rax + 0xa0]
mov ecx, r9d
and ecx, 7
mov rdx, r15
mov r8, r14
nop dword [rax]
movzx eax, byte [rdx]
cmp al, r9b
jbe 0x14000911c
ror al, cl
jmp 0x14000911e
rol al, cl
mov byte [rdx], al
inc rdx
sub r8, 1
jne 0x140009110
mov qword [r12], rsi
mov qword [r12 + 8], rsi
mov qword [r12 + 0x10], rsi
mov dword [r12 + 0x18], 8
test r15, r15
je 0x140009185
test r14, r14
je 0x140009185
mov rdx, r14
mov rcx, r12
call fcn.140004390
test eax, eax
je 0x140009185
mov rcx, qword [r12]
test r14, r14
je 0x140009180
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsi + r15]
mov byte [rsi + rcx], al
inc rsi
cmp rsi, r14
jb 0x140009170
mov qword [r12 + 8], r14
test r15, r15
je 0x14000919c
mov r8, r15
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, r12
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1400111c0
mov rbx, qword [rsp + 0x238]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov dword [rbp - 0x80], esi
lea rdx, [0x14005a7d0]
lea rcx, [rbp - 0x80]
call fcn.14002f3c0
int3
mov dword [rbp - 0x80], esi
lea rdx, [0x14005a7d0]
lea rcx, [rbp - 0x80]
call fcn.14002f3c0
nop
mov dword [rbp - 0x80], esi
lea rdx, [0x14005a7d0]
lea rcx, [rbp - 0x80]
call fcn.14002f3c0
int3
mov dword [rbp - 0x80], esi
lea rdx, [0x14005a7d0]
lea rcx, [rbp - 0x80]
call fcn.14002f3c0
nop
mov dword [rbp - 0x80], esi
lea rdx, [0x14005a7d0]
lea rcx, [rbp - 0x80]
call fcn.14002f3c0
int3