Function at 0x180138290
Capabilities:
Hash data using ripemd320
Hash data using sha1

Disassembly:
test rdx, rdx
je 0x180138197
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x50]
mov rbx, rcx
mov rdi, rdx
lea ecx, [r8*8]
add qword [rbx + 8], rcx
mov byte [r8 + rbx + 0x10], pe_nt_image_headers64
inc dword [rbx + 0x50]
mov eax, dword [rbx + 0x50]
cmp eax, 0x38
jbe 0x180138001
cmp eax, 0x40
jae 0x180137ff0
nop
mov byte [rax + rbx + 0x10], 0
inc dword [rbx + 0x50]
mov eax, dword [rbx + 0x50]
cmp eax, 0x40
jb 0x180137fe0
mov rcx, rbx
call fcn.180136690
mov dword [rbx + 0x50], 0
jmp 0x180138010
jae 0x180138021
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx + 0x50]
mov byte [rax + rbx + 0x10], 0
inc dword [rbx + 0x50]
cmp dword [rbx + 0x50], 0x38
jb 0x180138010
mov rcx, qword [rbx + 8]
mov rax, rcx
mov byte [rbx + 0x48], cl
sar rax, 0x38
mov byte [rbx + 0x4f], al
mov rax, rcx
sar rax, 0x30
mov byte [rbx + 0x4e], al
mov rax, rcx
sar rax, 0x28
mov byte [rbx + 0x4d], al
mov rax, rcx
sar rax, 0x20
mov byte [rbx + 0x4c], al
mov rax, rcx
sar rax, 0x18
mov byte [rbx + 0x4b], al
mov rax, rcx
sar rax, 0x10
mov byte [rbx + 0x4a], al
mov rax, rcx
sar rax, 8
mov rcx, rbx
mov byte [rbx + 0x49], al
call fcn.180136690
movzx eax, byte [rbx + 0x57]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0x56]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 0x55]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 0x54]
mov byte [rdi], al
movzx eax, byte [rbx + 0x5b]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x5a]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0x59]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0x58]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0x5f]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x5e]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x5d]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x5c]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x63]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x62]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x61]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x60]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x67]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x66]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x65]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x64]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x6b]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x6a]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x69]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x68]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x6f]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x6e]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x6d]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x6c]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x73]
mov byte [rdi + 0x1f], al
movzx eax, byte [rbx + 0x72]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x71]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x70]
mov byte [rdi + 0x1c], al
movzx eax, byte [rbx + 0x77]
mov byte [rdi + 0x23], al
movzx eax, byte [rbx + 0x76]
mov byte [rdi + 0x22], al
movzx eax, byte [rbx + 0x75]
mov byte [rdi + 0x21], al
movzx eax, byte [rbx + 0x74]
mov byte [rdi + 0x20], al
movzx eax, byte [rbx + 0x7b]
mov byte [rdi + 0x27], al
movzx eax, byte [rbx + 0x7a]
mov byte [rdi + 0x26], al
movzx eax, byte [rbx + 0x79]
mov byte [rdi + 0x25], al
movzx eax, byte [rbx + 0x78]
mov rbx, qword [rsp + 0x30]
mov byte [rdi + 0x24], al
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov dword [rcx + 0x54], 0x67452301
mov dword [rcx + 0x50], eax
mov rdi, r9
mov qword [rcx + 8], rax
mov rbx, rcx
mov dword [rcx + 0x58], 0xefcdab89
mov dword [rcx + 0x5c], 0x98badcfe
mov dword [rcx + 0x60], 0x10325476
mov dword [rcx + 0x64], 0xc3d2e1f0
mov dword [rcx + 0x68], 0x76543210
mov dword [rcx + 0x6c], 0xfedcba98
mov dword [rcx + 0x70], 0x89abcdef
mov dword [rcx + 0x74], 0x1234567
mov dword [rcx + 0x78], 0x3c2d1e0f
call fcn.1801381a0
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x180137fa0