Function at 0x14000d100
Capabilities:
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor eax, eax
mov ebx, r8d
mov r12, r9
mov r13, rdx
mov rdi, rcx
mov dword [rbp - 0x48], eax
mov esi, eax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x50], rax
cmp qword [rcx], rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
cmp qword [rcx + 8], rax
je reloc.Mso20Win32Client.dll_Ordinal_255
lea r14d, [rbx + 1]
cmp r14d, ebx
ja reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov edx, r14d
xor ecx, ecx
shl rdx, 4
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov dword [rbp - 0x44], 0x10000
mov ecx, r14d
sub ecx, ebx
mov dword [rax], 4
shl rcx, 4
lea rax, [rbp - 0x44]
mov r8, rbx
mov qword [r15 + 8], rax
add rcx, r15
shl r8, 4
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rbp - 0x30]
mov rdx, r15
lea r8, [rbp - 0x40]
mov ecx, r14d
call fcn.14000d058
mov rsi, qword [rbp - 0x30]
mov ebx, eax
test eax, eax
js reloc.Mso20Win32Client.dll_Ordinal_255
mov r8, qword [rdi + 8]
lea rax, [rbp - 0x50]
mov rcx, qword [rdi]
xor r9d, r9d
mov edx, reloc.Mso20Win32Client.dll_Ordinal_255
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
movzx ebx, ax
or ebx, reloc.Mso20Win32Client.dll_Ordinal_255
test eax, eax
cmovle ebx, eax
jmp reloc.Mso20Win32Client.dll_Ordinal_255
xor edx, edx
lea rcx, [rbp - 0x28]
lea r8d, [rdx + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rbp - 0x50]
lea r8, [rbp - 0x28]
xor r9d, r9d
mov dword [rbp - 0x28], 0x8004
lea edx, [r9 + 5]
call qword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
je reloc.Mso20Win32Client.dll_Ordinal_255
mov r8d, dword [rbp - 0x40]
xor r9d, r9d
mov rcx, qword [rbp - 0x50]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, qword [rbp - 0x50]
lea r9, [rbp + 0x30]
and dword [rsp + 0x20], 0
xor r8d, r8d
lea r14d, [r8 + 2]
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je reloc.Mso20Win32Client.dll_Ordinal_255
mov edx, dword [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, qword [rbp - 0x50]
lea r9, [rbp + 0x30]
and dword [rsp + 0x20], 0
mov r8, rax
mov edx, r14d
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
movzx ebx, ax
or ebx, reloc.Mso20Win32Client.dll_Ordinal_255
test eax, eax
cmovle ebx, eax
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rax, qword [0x140049b88]
test rax, rax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
lea r8, [rbp - 0x38]
mov rcx, r13
lea rdx, [rbp - 0x48]
call rax
mov ebx, eax
test eax, eax
js reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [rbp - 0x48]
test eax, eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
cmp eax, 0x10
ja reloc.Mso20Win32Client.dll_Ordinal_255
mov ebx, reloc.Mso20Win32Client.dll_Ordinal_255
jmp reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, qword [rbp - 0x38]
cmp dword [rcx], eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
cmp dword [rcx + 4], r14d
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov eax, dword [rbp + 0x30]
cmp dword [rcx + 8], eax
jne reloc.Mso20Win32Client.dll_Ordinal_255
mov r8d, eax
add rcx, 0xc
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov ecx, reloc.Mso20Win32Client.dll_Ordinal_255
cmovne ebx, ecx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je reloc.Mso20Win32Client.dll_Ordinal_255
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rsi, rsi
je reloc.Mso20Win32Client.dll_Ordinal_255
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je reloc.Mso20Win32Client.dll_Ordinal_255
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret