Function at 0x44aa07
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 0x4915c7
mov eax, dword fs:[0]
push eax
mov eax, 0x10134
call fcn.0047e160
mov eax, dword [0x4b9e20]
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
xor edi, edi
inc edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp dword [0x4bfb94], ebx
je 0x44aae9
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
lea eax, [ebp - 0x10078]
push eax
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.00456a76
mov esi, eax
mov byte [ebp - 4], 3
mov dword [esp], str._and_filename_of
push ecx
lea eax, [ebp - 0x10130]
push str.____tValidateMD5Hash____tof
push eax
call fcn.0043cf1e
push eax
lea ecx, [ebp + 8]
call fcn.0043d0c0
add esp, 0x10
push eax
call fcn.0043cf1e
push eax
mov ecx, esi
call fcn.0043d0c0
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x10078]
mov byte [ebp - 4], 2
call fcn.00401524
push edi
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x10140]
mov dword [ebp - 0x10080], esp
call fcn.0043906a
mov ecx, 0x4bfcf0
call fcn.004437f6
lea eax, [ebp - 0x10140]
mov byte [ebp - 4], 1
call fcn.00435910
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push ebx
push edi
push ebx
push ebx
lea eax, [ebp - 0x10084]
push eax
call esi
test eax, eax
jne 0x44abcc
push 0xf0000000
push edi
push ebx
push ebx
lea eax, [ebp - 0x10084]
push eax
call esi
test eax, eax
jne 0x44abcc
push 0xf0000008
push edi
push ebx
push ebx
lea eax, [ebp - 0x10084]
push eax
call esi
test eax, eax
jne 0x44ab9c
cmp dword [0x4bfb94], ebx
je 0x44ab9c
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
lea eax, [ebp - 0x10130]
push str.____tAcquisition_of_context_failed_with_error:
push eax
call fcn.0043cf1e
add esp, 0xc
push eax
call fcn.0044bb1f
push edi
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x10140]
mov dword [ebp - 0x10080], esp
call fcn.0043906a
mov ecx, 0x4bfcf0
call fcn.004437f6
lea eax, [ebp - 0x10140]
mov byte [ebp - 4], 1
call fcn.00435910
push ebx
push edi
lea ecx, [ebp + 8]
call fcn.00401524
push ebx
push edi
lea ecx, [ebp + 0x24]
call fcn.0040bba0
xor al, al
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.0046d5b3
leave
ret
lea eax, [ebp - 0x10088]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x10084]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x44ac1a
cmp dword [0x4bfb94], ebx
je 0x44ab9c
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
lea eax, [ebp - 0x10130]
push str.____tError_during_CryptBeginHash_
push eax
mov byte [ebp - 4], 5
call fcn.0043cf1e
pop ecx
pop ecx
jmp 0x44ab6c
cmp dword [ebp + 0x38], 8
mov eax, dword [ebp + 0x24]
mov esi, str.0123456789abcdef
lea edi, [ebp - 0x10070]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x1008c], ebx
jae 0x44ac3c
lea eax, [ebp + 0x24]
push ebx
push 0x8000000
push 3
push ebx
xor esi, esi
inc esi
push esi
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10080], eax
push ebx
cmp eax, 0xffffffff
jne 0x44acd9
push dword [ebp - 0x10084]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [0x4bfb94], ebx
je 0x44acc8
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
lea eax, [ebp - 0x10130]
push str.____tError_INVALID_HANDLE_VALUE_for_file
push eax
mov byte [ebp - 4], 6
call fcn.0043cf1e
pop ecx
pop ecx
push esi
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x10140]
mov dword [ebp - 0x10080], esp
call fcn.0043906a
mov ecx, 0x4bfcf0
call fcn.004437f6
lea eax, [ebp - 0x10140]
mov byte [ebp - 4], 1
call fcn.00435910
push ebx
push esi
lea ecx, [ebp + 8]
call fcn.00401524
push ebx
push esi
jmp 0x44aba8
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [ebp - 0x1008c]
push ecx
mov esi, 0x10000
push esi
lea ecx, [ebp - 0x10040]
push ecx
push eax
jmp 0x44ad36
cmp dword [ebp - 0x1008c], ebx
je 0x44add4
push ebx
push dword [ebp - 0x1008c]
lea eax, [ebp - 0x10040]
push eax
push dword [ebp - 0x10088]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
test eax, eax
je 0x44ad41
lea eax, [ebp - 0x1008c]
push eax
push esi
lea eax, [ebp - 0x10040]
push eax
push dword [ebp - 0x10080]
call edi
cmp eax, ebx
jne 0x44acf6
jmp 0x44add8
push dword [ebp - 0x10084]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x10088]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x10080]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4bfb94], ebx
je 0x44adc1
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
mov byte [ebp - 4], 7
push str.____tError_CryptHashData_failed
lea eax, [ebp - 0x10130]
push eax
call fcn.0043cf1e
pop ecx
pop ecx
push 1
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x10140]
mov dword [ebp - 0x10080], esp
call fcn.0043906a
mov ecx, 0x4bfcf0
call fcn.004437f6
lea eax, [ebp - 0x10140]
mov byte [ebp - 4], 1
call fcn.00435910
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00401524
push ebx
push 1
jmp 0x44aba8
cmp eax, ebx
jne 0x44ae1f
push ebx
push dword [ebp - 0x10084]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x10088]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push dword [ebp - 0x10080]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4bfb94], ebx
je 0x44adc1
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
mov byte [ebp - 4], 8
push str.____tError____tReadFile_failed
jmp 0x44ad82
push 0x10
pop edi
push ebx
lea eax, [ebp - 0x10094]
push eax
lea eax, [ebp - 0x20]
push eax
push 2
push dword [ebp - 0x10088]
mov dword [ebp - 0x10094], edi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x44aef2
push dword [ebp - 0x10088]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x10084]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x10080]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x4bfb94], ebx
je 0x44aecb
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
lea eax, [ebp - 0x10130]
push str.____tError____tCryptGetHashParam_failed
push eax
mov byte [ebp - 4], 9
call fcn.0043cf1e
pop ecx
pop ecx
push 1
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x10140]
mov dword [ebp - 0x10080], esp
call fcn.0043906a
mov ecx, 0x4bfcf0
call fcn.004437f6
lea eax, [ebp - 0x10140]
mov byte [ebp - 4], 1
call fcn.00435910
mov byte [ebp - 0x10079], bl
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00401524
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.0040bba0
mov al, byte [ebp - 0x10079]
jmp 0x44abb2
xor esi, esi
cmp dword [ebp - 0x10094], ebx
jbe 0x44af2e
lea edi, [ebp - 0x40]
movzx eax, byte [ebp + esi - 0x20]
mov ecx, eax
shr ecx, 4
mov cl, byte [ebp + ecx - 0x10070]
and eax, 0xf
mov al, byte [ebp + eax - 0x10070]
mov byte [edi], cl
mov byte [edi + 1], al
add edi, 2
inc esi
cmp esi, dword [ebp - 0x10094]
jb 0x44aeff
push 0x10
pop edi
mov ecx, dword [ebp + 8]
mov edx, ecx
cmp dword [ebp + 0x1c], edi
jae 0x44b0cf
lea edx, [ebp + 8]
mov eax, edx
add eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], edi
jae 0x44af4c
lea ecx, [ebp + 8]
push edx
push eax
push ecx
lea eax, [ebp - 0x10090]
push eax
call fcn.00418f20
add esp, 0x10
push dword [ebp - 0x10090]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1005c]
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10048], 0xf
mov dword [ebp - 0x1004c], ebx
mov byte [ebp - 0x1005c], bl
call fcn.0044bc16
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x1005c]
mov edx, ecx
cmp dword [ebp - 0x10048], edi
jae 0x44b0d6
lea edx, [ebp - 0x1005c]
mov eax, edx
add eax, dword [ebp - 0x1004c]
cmp dword [ebp - 0x10048], edi
jae 0x44afc1
lea ecx, [ebp - 0x1005c]
push edx
push eax
push ecx
lea eax, [ebp - 0x10090]
push eax
call fcn.00418f20
add esp, 0x10
cmp dword [0x4bfb94], ebx
je 0x44b054
lea eax, [ebp - 0x10140]
push eax
call fcn.00438fd6
push str._and_hash_of_filename
push ecx
lea eax, [ebp - 0x10130]
push str.____tValidateMD5Hash____tof
push eax
mov byte [ebp - 4], 0xb
call fcn.0043cf1e
push eax
lea ecx, [ebp + 8]
call fcn.0043d0c0
add esp, 0x10
push eax
call fcn.0043cf1e
push eax
lea ecx, [ebp - 0x1005c]
call fcn.0043d0c0
add esp, 0xc
push 1
sub esp, 0x1c
mov eax, esp
lea ecx, [ebp - 0x10140]
mov dword [ebp - 0x10090], esp
call fcn.0043906a
mov ecx, 0x4bfcf0
call fcn.004437f6
lea eax, [ebp - 0x10140]
mov byte [ebp - 4], 0xa
call fcn.00435910
mov eax, dword [ebp - 0x1005c]
mov byte [ebp - 0x10079], bl
cmp dword [ebp - 0x10048], edi
jae 0x44b06e
lea eax, [ebp - 0x1005c]
mov edi, dword [ebp - 0x1004c]
push eax
mov eax, dword [ebp + 0x18]
lea ecx, [ebp + 8]
call fcn.004129b8
test eax, eax
jne 0x44b08b
mov byte [ebp - 0x10079], 1
push dword [ebp - 0x10088]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x10084]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x10080]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x1005c]
call fcn.00401524
mov al, byte [ebp - 0x10079]
mov byte [ebp - 0x10079], al
jmp 0x44aed1
mov eax, ecx
jmp 0x44af41
mov eax, ecx
jmp 0x44afad