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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [0x481ca8]
mov eax, dword [ebp + 0x14]
movq qword [ebp - 0x54], xmm0
movq xmm0, qword [0x481cb0]
movq qword [ebp - 0x4c], xmm0
movq xmm0, qword [0x481cb8]
mov dword [ebp - 0x4bc], eax
movzx eax, word [0x481cc8]
movq qword [ebp - 0x44], xmm0
movq xmm0, qword [0x481cc0]
push ebx
mov ebx, dword [ebp + 8]
movq qword [ebp - 0x3c], xmm0
movq xmm0, qword [str.0123456789ABCDEF]
mov word [ebp - 0x34], ax
movzx eax, word [0x481cec]
push esi
mov esi, dword [ebp + 0x18]
movq qword [ebp - 0x30], xmm0
movq xmm0, qword [0x481cd4]
push edi
mov word [ebp - 0x10], ax
xor eax, eax
movq qword [ebp - 0x28], xmm0
movq xmm0, qword [0x481cdc]
push 0x40
push eax
mov word [ebp - 0xa8], ax
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [0x481ce4]
lea eax, [ebp - 0xa6]
xor edi, edi
push eax
mov dword [ebp - 0x4c0], esi
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x4b4], edi
mov dword [ebp - 0x4b0], edi
movq qword [ebp - 0x18], xmm0
call fcn.00424e10
add esp, 0xc
lea eax, [ebp - 0x4b8]
push 0xf0000000
push 1
push edi
push edi
push eax
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov esi, eax
test esi, esi
je 0x408c2a
lea eax, [ebp - 0x4ac]
push eax
push edi
push edi
push 0x8003
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, eax
test esi, esi
je 0x408c2a
mov eax, dword [ebp + 0xc]
push edi
test eax, eax
jg 0x408b88
push 0x8000000
push 3
push edi
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x408c2a
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x4b4]
push eax
push 0x400
lea eax, [ebp - 0x4a8]
push eax
push edi
call ebx
test eax, eax
je 0x408ba0
jmp 0x408b40
mov eax, dword [ebp - 0x4b4]
test eax, eax
je 0x408ba0
push 0
push eax
lea eax, [ebp - 0x4a8]
push eax
push dword [ebp - 0x4ac]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, eax
test esi, esi
je 0x408c2a
push 0
lea eax, [ebp - 0x4b4]
push eax
push 0x400
lea eax, [ebp - 0x4a8]
push eax
push edi
call ebx
test eax, eax
jne 0x408b40
jmp 0x408ba0
push eax
push ebx
push dword [ebp - 0x4ac]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov esi, eax
test esi, esi
je 0x408c2a
push 0
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x64]
push eax
push 2
push dword [ebp - 0x4ac]
mov dword [ebp - 0x4b0], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov esi, eax
test esi, esi
je 0x408c2a
xor eax, eax
xor esi, esi
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
cmp dword [ebp - 0x4b0], eax
jbe 0x408c25
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
movzx ecx, byte [ebp + esi - 0x64]
mov eax, ecx
and eax, 0xf
shr ecx, 4
movzx eax, word [ebp + eax*2 - 0x30]
push eax
movzx eax, word [ebp + ecx*2 - 0x30]
push eax
lea eax, [ebp - 0xc]
push str._c_c
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc esi
cmp esi, dword [ebp - 0x4b0]
jb 0x408be4
mov esi, 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x4c0]
push dword [ebp - 0x4ac]
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x4b8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0x4bc]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420548
mov esp, ebp
pop ebp
ret 0x14