Function at 0x14009e340
Capabilities:
Hash data using sha1
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [rcx + 0x34]
mov rbx, rcx
shr r8d, 3
mov eax, 0x3f
and r8d, 0x3f
mov rdi, rdx
mov ecx, r8d
sub eax, r8d
add rcx, rbx
xor edx, edx
mov byte [rcx + 0x90], pe_nt_image_headers64
add rcx, 0x91
cmp eax, 8
jae 0x14009e3d4
mov r8d, eax
call fcn.14016c710
cmp dword [rbx + 0x10], 0xa0
mov rcx, rbx
jne 0x14009e39a
call fcn.14009dfe0
jmp 0x14009e39f
call fcn.14009e5f0
xor eax, eax
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], rax
mov qword [rbx + 0xa0], rax
mov qword [rbx + 0xa8], rax
mov qword [rbx + 0xb0], rax
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], rax
jmp 0x14009e3df
add eax, 0xfffffff8
mov r8d, eax
call fcn.14016c710
movzx eax, byte [rbx + 0x38]
mov rcx, rbx
mov byte [rbx + 0xcb], al
movzx eax, byte [rbx + 0x39]
mov byte [rbx + 0xca], al
movzx eax, byte [rbx + 0x3a]
mov byte [rbx + 0xc9], al
movzx eax, byte [rbx + 0x3b]
mov byte [rbx + 0xc8], al
movzx eax, byte [rbx + 0x34]
mov byte [rbx + 0xcf], al
movzx eax, byte [rbx + 0x35]
mov byte [rbx + 0xce], al
movzx eax, byte [rbx + 0x36]
mov byte [rbx + 0xcd], al
movzx eax, byte [rbx + 0x37]
mov byte [rbx + 0xcc], al
cmp dword [rbx + 0x10], 0xa0
jne 0x14009e442
call fcn.14009dfe0
jmp 0x14009e447
call fcn.14009e5f0
mov ecx, dword [rbx + 0x10]
sub ecx, 0xa0
je 0x14009e550
cmp ecx, 0x60
jne 0x14009e5db
movzx eax, byte [rbx + 0x14]
mov rcx, rbx
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x24]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x10], al
movzx eax, byte [rbx + 0x28]
mov byte [rdi + 0x17], al
movzx eax, byte [rbx + 0x29]
mov byte [rdi + 0x16], al
movzx eax, byte [rbx + 0x2a]
mov byte [rdi + 0x15], al
movzx eax, byte [rbx + 0x2b]
mov byte [rdi + 0x14], al
movzx eax, byte [rbx + 0x2c]
mov byte [rdi + 0x1b], al
movzx eax, byte [rbx + 0x2d]
mov byte [rdi + 0x1a], al
movzx eax, byte [rbx + 0x2e]
mov byte [rdi + 0x19], al
movzx eax, byte [rbx + 0x2f]
mov byte [rdi + 0x18], al
movzx eax, byte [rbx + 0x30]
mov byte [rdi + 0x1f], al
movzx eax, byte [rbx + 0x31]
mov byte [rdi + 0x1e], al
movzx eax, byte [rbx + 0x32]
mov byte [rdi + 0x1d], al
movzx eax, byte [rbx + 0x33]
mov byte [rdi + 0x1c], al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14009d2e0
movzx eax, byte [rbx + 0x14]
mov byte [rdi + 3], al
movzx eax, byte [rbx + 0x15]
mov byte [rdi + 2], al
movzx eax, byte [rbx + 0x16]
mov byte [rdi + 1], al
movzx eax, byte [rbx + 0x17]
mov byte [rdi], al
movzx eax, byte [rbx + 0x18]
mov byte [rdi + 7], al
movzx eax, byte [rbx + 0x19]
mov byte [rdi + 6], al
movzx eax, byte [rbx + 0x1a]
mov byte [rdi + 5], al
movzx eax, byte [rbx + 0x1b]
mov byte [rdi + 4], al
movzx eax, byte [rbx + 0x1c]
mov byte [rdi + 0xb], al
movzx eax, byte [rbx + 0x1d]
mov byte [rdi + 0xa], al
movzx eax, byte [rbx + 0x1e]
mov byte [rdi + 9], al
movzx eax, byte [rbx + 0x1f]
mov byte [rdi + 8], al
movzx eax, byte [rbx + 0x20]
mov byte [rdi + 0xf], al
movzx eax, byte [rbx + 0x21]
mov byte [rdi + 0xe], al
movzx eax, byte [rbx + 0x22]
mov byte [rdi + 0xd], al
movzx eax, byte [rbx + 0x23]
mov byte [rdi + 0xc], al
movzx eax, byte [rbx + 0x24]
mov byte [rdi + 0x13], al
movzx eax, byte [rbx + 0x25]
mov byte [rdi + 0x12], al
movzx eax, byte [rbx + 0x26]
mov byte [rdi + 0x11], al
movzx eax, byte [rbx + 0x27]
mov byte [rdi + 0x10], al
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14009d2e0