Function at 0x4c0d40
Capabilities:
Hash data using sha384

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x100
movdqu xmm0, xmmword [0x005e6430]
lea rax, [0x0063eee0]
movups xmmword [rsp + 0x20], xmm0
mov r12, r8
test r8, r8
mov rsi, rcx
movdqu xmm0, xmmword [0x005e6440]
cmove r12, rax
mov rbx, rdx
movabs rax, 0x3000000000
mov qword [rsp + 0xf0], rax
movups xmmword [rsp + 0x30], xmm0
movdqu xmm0, xmmword [0x005e6450]
movups xmmword [rsp + 0x40], xmm0
movdqu xmm0, xmmword [0x005e6460]
movups xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
test rdx, rdx
je 0x4c0fe0
mov rax, rdx
lea r13, [rsp + 0x20]
shr rax, 0x3d
mov qword [rsp + 0x68], rax
lea rax, [rdx*8]
mov qword [rsp + 0x60], rax
cmp rdx, 0x7f
ja 0x4c0e20
lea rdx, [rsp + 0x70]
mov r8d, ebx
mov rdi, rdx
cmp ebx, 8
jae 0x4c1198
xor eax, eax
test r8b, 4
jne 0x4c1180
test r8b, 2
jne 0x4c1168
and r8d, 1
jne 0x4c1150
mov dword [rsp + 0xf0], ebx
jmp 0x4c0e4a
mov r8, rdx
mov rdx, rcx
mov rcx, r13
shr r8, 7
call sym.sha512_block_data_order
mov rax, rbx
and eax, 0x7f
jne 0x4c11f3
mov ebx, dword [rsp + 0xf0]
lea rdx, [rsp + 0x70]
mov byte [rsp + rbx + 0x70], pe_nt_image_headers64
add rbx, 1
lea r8, [rdx + rbx]
cmp rbx, 0x70
ja 0x4c1000
mov eax, 0x70
sub rax, rbx
cmp eax, 8
jae 0x4c0fa8
test al, 4
jne 0x4c11a8
test eax, eax
je 0x4c0e8a
mov byte [r8], 0
test al, 2
jne 0x4c11c0
mov rax, qword [rsp + 0x60]
mov r8d, 1
mov rcx, r13
bswap rax
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0x68]
bswap rax
mov qword [rsp + 0xe0], rax
call sym.sha512_block_data_order
mov eax, dword [rsp + 0xf4]
cmp eax, 0x30
je 0x4c10b0
ja 0x4c0f30
cmp eax, 0x1c
je 0x4c1050
cmp eax, 0x20
jne 0x4c0f0b
mov rax, qword [rsp + 0x20]
bswap rax
mov qword [r12], rax
mov rax, qword [rsp + 0x28]
bswap rax
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x30]
bswap rax
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0x38]
bswap rax
mov qword [r12 + 0x18], rax
mov edx, 0xd8
mov rcx, r13
call sym.OPENSSL_cleanse
mov rax, r12
add rsp, 0x100
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
cmp eax, 0x40
jne 0x4c0f0b
mov rax, qword [rsp + 0x20]
bswap rax
mov qword [r12], rax
mov rax, qword [rsp + 0x28]
bswap rax
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x30]
bswap rax
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0x38]
bswap rax
mov qword [r12 + 0x18], rax
mov rax, qword [rsp + 0x40]
bswap rax
mov qword [r12 + 0x20], rax
mov rax, qword [rsp + 0x48]
bswap rax
mov qword [r12 + 0x28], rax
mov rax, qword [rsp + 0x50]
bswap rax
mov qword [r12 + 0x30], rax
mov rax, qword [rsp + 0x58]
bswap rax
mov qword [r12 + 0x38], rax
jmp 0x4c0f0b
mov ecx, eax
lea rdi, [r8 + 8]
mov qword [r8], 0
mov qword [r8 + rcx - 8], 0
and rdi, 0xfffffffffffffff8
mov rcx, r8
sub rcx, rdi
add ecx, eax
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
jmp 0x4c0e8a
mov byte [rsp + 0x70], pe_nt_image_headers64
lea r8, [rsp + 0x71]
mov eax, 0x6f
lea r13, [rsp + 0x20]
lea rdx, [rsp + 0x70]
jmp 0x4c0e69
mov eax, pe_nt_image_headers64
xor r10d, r10d
sub rax, rbx
cmp rax, 8
jae 0x4c1108
test al, 4
jne 0x4c11d0
test rax, rax
je 0x4c102e
mov byte [r8], 0
test al, 2
jne 0x4c11e5
mov r8d, 1
mov rcx, r13
call sym.sha512_block_data_order
lea rdx, [rsp + 0x70]
mov eax, 0x70
mov r8, rdx
jmp 0x4c0e69
mov rax, qword [rsp + 0x20]
bswap rax
mov qword [r12], rax
mov rax, qword [rsp + 0x28]
bswap rax
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x30]
bswap rax
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0x38]
mov rdx, rax
shr rdx, 0x38
mov byte [r12 + 0x18], dl
mov rdx, rax
shr rdx, 0x30
mov byte [r12 + 0x19], dl
mov rdx, rax
shr rax, 0x20
shr rdx, 0x28
mov byte [r12 + 0x1b], al
mov byte [r12 + 0x1a], dl
jmp 0x4c0f0b
mov rax, qword [rsp + 0x20]
bswap rax
mov qword [r12], rax
mov rax, qword [rsp + 0x28]
bswap rax
mov qword [r12 + 8], rax
mov rax, qword [rsp + 0x30]
bswap rax
mov qword [r12 + 0x10], rax
mov rax, qword [rsp + 0x38]
bswap rax
mov qword [r12 + 0x18], rax
mov rax, qword [rsp + 0x40]
bswap rax
mov qword [r12 + 0x20], rax
mov rax, qword [rsp + 0x48]
bswap rax
mov qword [r12 + 0x28], rax
jmp 0x4c0f0b
lea r9, [r8 + 8]
mov rcx, r8
mov qword [r8], 0
mov qword [r8 + rax - 8], 0
and r9, 0xfffffffffffffff8
sub rcx, r9
add rax, rcx
and rax, 0xfffffffffffffff8
cmp rax, 8
jb 0x4c102e
and rax, 0xfffffffffffffff8
xor ecx, ecx
mov qword [r9 + rcx], r10
add rcx, 8
cmp rcx, rax
jb 0x4c113d
jmp 0x4c102e
movzx ecx, byte [rsi + rax]
mov byte [rdi + rax], cl
mov dword [rsp + 0xf0], ebx
jmp 0x4c0e4a
movzx ecx, word [rsi + rax]
mov word [rdi + rax], cx
add rax, 2
and r8d, 1
je 0x4c0e15
jmp 0x4c1150
mov eax, dword [rsi]
mov dword [rdi], eax
mov eax, 4
test r8b, 2
je 0x4c0e0b
jmp 0x4c1168
mov ecx, ebx
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
jmp 0x4c0df5
mov eax, eax
mov dword [r8], 0
mov dword [r8 + rax - 4], 0
jmp 0x4c0e8a
mov eax, eax
xor ecx, ecx
mov word [r8 + rax - 2], cx
jmp 0x4c0e8a
mov dword [r8], 0
mov dword [r8 + rax - 4], 0
jmp 0x4c102e
xor r9d, r9d
mov word [r8 + rax - 2], r9w
jmp 0x4c102e
sub rbx, rax
add rsi, rbx
mov rbx, rax
jmp 0x4c0de1