Function at 0x450660
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5954eb
mov eax, dword fs:[0]
push eax
mov eax, 0x10d0
call fcn.00558cc0
mov eax, dword [0x611e60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1034], 0
cmp dword [eax + 0x14], 8
jb 0x4506aa
mov eax, dword [eax]
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4506ee
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x5f2a95
mov byte [esi], 0
call fcn.00422c20
jmp 0x4508c0
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x1024], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x4508f8
lea eax, [ebp - 0x1028]
mov dword [ebp - 0x1028], 0
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x1024]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
je 0x4508ec
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x102c]
push eax
push 0x1000
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x102c], 0
push eax
push edi
call ebx
test eax, eax
je 0x4507b6
mov eax, dword [ebp - 0x102c]
test eax, eax
je 0x4507b6
push 0
push eax
lea eax, [ebp - 0x1020]
push eax
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4508de
push 0
lea eax, [ebp - 0x102c]
push eax
push 0x1000
lea eax, [ebp - 0x1020]
push eax
push edi
call ebx
test eax, eax
jne 0x450772
push 0
lea eax, [ebp - 0x1030]
mov dword [ebp - 0x1030], 0x10
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4508de
push 1
push 2
lea ecx, [ebp - 0x10dc]
call fcn.0044e3a0
push 0x434f00
lea ecx, [ebp - 0x10dc]
mov dword [ebp - 4], 0
call fcn.0042d520
xor ebx, ebx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov byte [ecx + eax + 0x40], 0x30
cmp dword [ebp - 0x1030], ebx
jbe 0x450868
lea ecx, [ecx]
push 0
lea eax, [ebp - 0x1044]
push 2
push eax
call fcn.005429a2
mov ecx, dword [ebp - 0x10dc]
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
lea ecx, [ebp + ecx - 0x10dc]
push ecx
call eax
movzx eax, byte [ebp + ebx - 0x20]
lea ecx, [ebp - 0x10dc]
add esp, 0x18
push eax
call fcn.0044e7a0
inc ebx
cmp ebx, dword [ebp - 0x1030]
jb 0x450820
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1024]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
lea ecx, [ebp - 0x10dc]
call fcn.00454aa0
lea ecx, [ebp - 0x108c]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e590
lea eax, [ebp - 0x108c]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
call fcn.0054254f
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005571f4
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x1024]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5f2a95
mov ecx, esi
call fcn.00422d20
jmp 0x4508c0