Function at 0x4b5760
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7996
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x38
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x48]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x51197c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 0x3e8
mov eax, dword [ebp - 0x20]
add eax, 1
push eax
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
jne 0x4b57ed
mov dword [ebp - 0x18], 0x80004005
jmp 0x4b596a
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov esi, esp
push 0x4ddac0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR80.dll__wfopen_s]
add esp, 0xc
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x2c], 0
jne 0x4b5841
mov dword [ebp - 0x44], str.Failed_to_open_file_for_Signature_Validation.
push 0x4f388c
lea ecx, [ebp - 0x44]
push ecx
call fcn.004b838e
jmp 0x4b5848
mov dword [ebp - 0x3c], 1
jmp 0x4b5882
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], 0
jne 0x4b5899
cmp dword [ebp - 0x34], 5
jl 0x4b57fb
cmp dword [ebp - 0x2c], 0
jne 0x4b58ab
mov dword [ebp - 0x18], 0x80004005
jmp 0x4b596a
mov esi, esp
mov eax, dword [ebp + 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b58da
mov dword [ebp - 0x18], 0x80004005
jmp 0x4b596a
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x24], eax
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR80.dll_ferror]
add esp, 4
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x4b5920
mov dword [ebp - 0x18], 0x80004005
jmp 0x4b596a
mov esi, esp
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b594c
mov dword [ebp - 0x18], 0x80004005
jmp 0x4b596a
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 4
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x4b58da
cmp dword [ebp - 0x2c], 0
je 0x4b5986
mov esi, esp
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp - 0x1c], 0
je 0x4b599e
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
push edx
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x4b59d0]
call fcn.004b8204
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x48
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 0x10