Function at 0x4b69c0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push esi
push edi
push ecx
lea edi, [ebp - 0x98]
mov ecx, 0x26
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0
mov esi, esp
push 0x10
push 1
push 0x4ddc10
push 0x4ddc68
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp esi, esp
call fcn.004b81e1
mov esi, esp
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.HPProtectTools
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b6a6a
jmp 0x4b6cc7
mov dword [ebp - 0x38], 0x3e8
mov edx, dword [ebp - 0x38]
add edx, 1
push edx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x4b6a9f
jmp 0x4b6cc7
mov esi, esp
push 0x4ddd00
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR80.dll__wfopen_s]
add esp, 0xc
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x54], 0
jne 0x4b6ad1
jmp 0x4b6cc7
mov esi, esp
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b6aff
jmp 0x4b6cc7
mov esi, esp
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x38]
push eax
push 1
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x3c], eax
mov esi, esp
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR80.dll_ferror]
add esp, 4
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x4b6b46
jmp 0x4b6cc7
mov esi, esp
push 0
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b6b71
jmp 0x4b6cc7
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR80.dll_feof]
add esp, 4
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x4b6aff
mov esi, esp
lea ecx, [ebp - 0x84]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp esi, esp
call fcn.004b81e1
test eax, eax
jne 0x4b6bb9
jmp 0x4b6cc7
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
push ecx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
mov dword [ebp - 0x90], eax
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jne 0x4b6bed
jmp 0x4b6cc7
mov esi, esp
push 0x4ddd08
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR80.dll__wfopen_s]
add esp, 0xc
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x48], 0
jne 0x4b6c1f
jmp 0x4b6cc7
mov esi, esp
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x30]
push eax
push 1
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp esi, esp
call fcn.004b81e1
mov dword [ebp - 0x3c], eax
mov esi, esp
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR80.dll_ferror]
add esp, 4
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x4b6c60
jmp 0x4b6cc7
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004b6610
cmp dword [ebp - 0x24], 0
jne 0x4b6c7a
jmp 0x4b6cc7
mov esi, esp
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
cmp esi, esp
call fcn.004b81e1
test eax, eax
je 0x4b6caa
mov dword [ebp - 0x40], 1
jmp 0x4b6cc7
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.004b81e1
cmp eax, 0x80090006
jne 0x4b6cc7
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x54], 0
je 0x4b6ce3
mov esi, esp
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp - 0x48], 0
je 0x4b6cff
mov esi, esp
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp - 0x2c], 0
je 0x4b6d1d
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp dword [ebp - 0x34], 0
je 0x4b6d3b
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x98]
push edx
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp dword [ebp - 0x24], 0
je 0x4b6d54
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp - 0x18], 0
je 0x4b6d6d
mov esi, esp
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.004b81e1
cmp dword [ebp - 0xc], 0
je 0x4b6d88
mov esi, esp
push 0
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.004b81e1
mov eax, dword [ebp - 0x40]
push edx
mov ecx, ebp
push eax
lea edx, [0x4b6db4]
call fcn.004b8204
pop eax
pop edx
pop edi
pop esi
add esp, 0x98
cmp ebp, esp
call fcn.004b81e1
mov esp, ebp
pop ebp
ret 8