Function at 0x18004c2f0
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x18004c7e4
test rdx, rdx
je 0x18004c7e4
mov eax, dword [rcx]
mov qword [rsp + 0x30], rbp
xor ebp, ebp
mov qword [rsp + 0x38], rdi
lea rdi, [rcx + 0xc]
mov byte [rax + rdi], pe_nt_image_headers64
mov ecx, dword [rcx]
inc ecx
mov dword [rbx], ecx
cmp ecx, 0x38
jbe 0x18004c515
mov r8d, 0x40
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.1800a3140
mov dword [rbx], 0x40
mov eax, dword [rdi]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rdi], ecx
mov eax, dword [rbx + 0x10]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x10], ecx
mov eax, dword [rbx + 0x14]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x14], ecx
mov eax, dword [rbx + 0x18]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x18], ecx
mov eax, dword [rbx + 0x1c]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x1c], ecx
mov eax, dword [rbx + 0x20]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x20], ecx
mov eax, dword [rbx + 0x24]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x24], ecx
mov eax, dword [rbx + 0x28]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x28], ecx
mov eax, dword [rbx + 0x2c]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x2c], ecx
mov eax, dword [rbx + 0x30]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
mov rdx, rdi
or ecx, eax
mov dword [rbx + 0x30], ecx
mov eax, dword [rbx + 0x34]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x34], ecx
mov eax, dword [rbx + 0x38]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x38], ecx
mov eax, dword [rbx + 0x3c]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x3c], ecx
mov eax, dword [rbx + 0x40]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x40], ecx
mov eax, dword [rbx + 0x44]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x44], ecx
mov eax, dword [rbx + 0x48]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x48], ecx
mov rcx, rbx
call fcn.18004b100
test eax, eax
jne 0x18004c7cf
mov dword [rbx], ebp
mov ecx, ebp
mov r8d, 0x38
xor edx, edx
sub r8d, ecx
add rcx, rdi
call fcn.1800a3140
mov eax, dword [rdi]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rdi], ecx
mov eax, dword [rbx + 0x10]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x10], ecx
mov eax, dword [rbx + 0x14]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x14], ecx
mov eax, dword [rbx + 0x18]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x18], ecx
mov eax, dword [rbx + 0x1c]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x1c], ecx
mov eax, dword [rbx + 0x20]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x20], ecx
mov eax, dword [rbx + 0x24]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x24], ecx
mov eax, dword [rbx + 0x28]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x28], ecx
mov eax, dword [rbx + 0x2c]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x2c], ecx
mov eax, dword [rbx + 0x30]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
mov rdx, rdi
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x30], ecx
mov eax, dword [rbx + 0x34]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x34], ecx
mov eax, dword [rbx + 0x38]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x38], ecx
mov eax, dword [rbx + 0x3c]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x3c], ecx
mov eax, dword [rbx + 0x40]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x40], ecx
mov eax, dword [rbx + 0x44]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x44], ecx
mov eax, dword [rbx + 0x48]
mov ecx, eax
rol eax, 8
and eax, 0xff00ff
ror ecx, 8
and ecx, 0xff00ff00
or ecx, eax
mov dword [rbx + 0x48], ecx
mov r9d, dword [rbx + 4]
mov eax, r9d
mov ecx, dword [rbx + 8]
shr eax, 0x1d
lea r8d, [rax + rcx*8]
mov rcx, rbx
lea eax, [r9*8]
mov dword [rbx + 8], r8d
mov dword [rbx + 4], eax
mov dword [rdi + 0x38], r8d
mov eax, dword [rbx + 4]
mov dword [rdi + 0x3c], eax
call fcn.18004b100
mov ecx, dword [rbx + 0x4c]
mov r8d, eax
mov edx, ecx
rol ecx, 8
and ecx, 0xff00ff
ror edx, 8
and edx, 0xff00ff00
or edx, ecx
mov dword [rbx + 0x4c], edx
mov eax, dword [rbx + 0x50]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x50], ecx
mov eax, dword [rbx + 0x54]
mov ecx, eax
ror ecx, 8
rol eax, 8
and ecx, 0xff00ff00
and eax, 0xff00ff
or ecx, eax
mov dword [rbx + 0x54], ecx
mov eax, dword [rbx + 0x58]
mov ecx, eax
rol eax, 8
and eax, 0xff00ff
ror ecx, 8
and ecx, 0xff00ff00
or ecx, eax
mov dword [rbx + 0x58], ecx
mov eax, dword [rbx + 0x5c]
mov ecx, eax
rol eax, 8
and eax, 0xff00ff
ror ecx, 8
and ecx, 0xff00ff00
or ecx, eax
mov dword [rbx + 0x5c], ecx
movups xmm0, xmmword [rbx + 0x4c]
movups xmmword [rsi], xmm0
mov eax, dword [rbx + 0x5c]
mov dword [rsi + 0x10], eax
mov eax, r8d
mov dword [rbx + 0x4c], 0x67452301
mov dword [rbx + 0x50], 0xefcdab89
mov dword [rbx + 0x54], 0x98badcfe
mov dword [rbx + 0x58], 0x10325476
mov dword [rbx + 0x5c], 0xc3d2e1f0
mov qword [rbx], rbp
mov dword [rbx + 8], ebp
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rbx, qword [rsp + 0x40]
mov eax, 0xffffff53
add rsp, 0x20
pop rsi
ret