Function at 0x409b50
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, 0x4f0
mov eax, dword [0x436b68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov byte [ebp - 0x491], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x498], 0
mov eax, dword [str.0123456789abcdef]
mov dword [ebp - 0x38], eax
mov ecx, dword [0x42f0a8]
mov dword [ebp - 0x34], ecx
mov edx, dword [0x42f0ac]
mov dword [ebp - 0x30], edx
mov eax, dword [0x42f0b0]
mov dword [ebp - 0x2c], eax
mov cl, byte [0x42f0b4]
mov byte [ebp - 0x28], cl
mov edx, dword [0x42f0b8]
mov dword [ebp - 0x18], edx
mov eax, dword [0x42f0bc]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x42f0c0]
mov dword [ebp - 0x10], ecx
mov edx, dword [0x42f0c4]
mov dword [ebp - 0xc], edx
mov al, byte [0x42f0c8]
mov byte [ebp - 8], al
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x409bfe
lea edx, [ebp - 0x18]
mov dword [ebp - 0x4c4], edx
jmp 0x409c07
lea eax, [ebp - 0x38]
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x490], 0
push 0x40
push 0
lea edx, [ebp - 0x48f]
push edx
call fcn.00419a10
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
push 0xf0000000
push 1
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
setne dl
mov byte [ebp - 0x491], dl
movzx eax, byte [ebp - 0x491]
test eax, eax
jne 0x409c68
jmp 0x409ebb
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0x8003
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne al
mov byte [ebp - 0x491], al
movzx ecx, byte [ebp - 0x491]
test ecx, ecx
jne 0x409c9f
jmp 0x409ebb
push 0
push 0x8000000
push 3
push 0
push 1
push 0x80000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x409cd4
jmp 0x409ebb
push 0
lea eax, [ebp - 0x24]
push eax
push 0x400
lea ecx, [ebp - 0x440]
push ecx
mov edx, dword [ebp - 0x444]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne al
mov byte [ebp - 0x491], al
movzx ecx, byte [ebp - 0x491]
test ecx, ecx
je 0x409d4a
cmp dword [ebp - 0x24], 0
jne 0x409d11
jmp 0x409d4a
push 0
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne dl
mov byte [ebp - 0x491], dl
movzx eax, byte [ebp - 0x491]
test eax, eax
jne 0x409d48
jmp 0x409ebb
jmp 0x409cd4
mov dword [ebp - 0x498], 0x20
push 0
lea ecx, [ebp - 0x498]
push ecx
lea edx, [ebp - 0x4b8]
push edx
push 2
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
setne cl
mov byte [ebp - 0x491], cl
movzx edx, byte [ebp - 0x491]
test edx, edx
je 0x409ebb
mov byte [ebp - 0x4bc], 0
xor eax, eax
mov word [ebp - 0x4bb], ax
mov dword [ebp - 0x4c0], 0
jmp 0x409db5
mov ecx, dword [ebp - 0x4c0]
add ecx, 1
mov dword [ebp - 0x4c0], ecx
mov edx, dword [ebp - 0x4c0]
cmp edx, dword [ebp - 0x498]
jae 0x409eb4
mov eax, dword [ebp - 0x4c0]
movzx ecx, byte [ebp + eax - 0x4b8]
and ecx, 0xf
mov edx, dword [ebp - 0x3c]
movsx eax, byte [edx + ecx]
push eax
mov ecx, dword [ebp - 0x4c0]
movzx edx, byte [ebp + ecx - 0x4b8]
sar edx, 4
mov eax, dword [ebp - 0x3c]
movsx ecx, byte [eax + edx]
push ecx
push str._c_c
lea edx, [ebp - 0x4bc]
push edx
call fcn.00418cff
add esp, 0x10
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4c8], eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ebp - 0x4cc], ecx
mov edx, dword [ebp - 0x4c8]
mov al, byte [edx]
mov byte [ebp - 0x4cd], al
add dword [ebp - 0x4c8], 1
cmp byte [ebp - 0x4cd], 0
jne 0x409e25
mov ecx, dword [ebp - 0x4c8]
sub ecx, dword [ebp - 0x4cc]
mov edx, dword [ebp - 0x4cc]
mov dword [ebp - 0x4d4], edx
mov dword [ebp - 0x4d8], ecx
lea eax, [ebp - 0x490]
add eax, 0xffffffff
mov dword [ebp - 0x4dc], eax
mov ecx, dword [ebp - 0x4dc]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x4dd], dl
add dword [ebp - 0x4dc], 1
cmp byte [ebp - 0x4dd], 0
jne 0x409e70
mov edi, dword [ebp - 0x4dc]
mov esi, dword [ebp - 0x4d4]
mov eax, dword [ebp - 0x4d8]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x409da6
mov byte [ebp - 0x491], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x444]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x490]
mov dword [ebp - 0x4e4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4e8], eax
mov ecx, dword [ebp - 0x4e8]
mov dword [ebp - 0x4ec], ecx
mov edx, dword [ebp - 0x4e4]
mov al, byte [edx]
mov byte [ebp - 0x4ed], al
mov ecx, dword [ebp - 0x4e8]
mov dl, byte [ebp - 0x4ed]
mov byte [ecx], dl
mov eax, dword [ebp - 0x4e4]
add eax, 1
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x4e8]
add ecx, 1
mov dword [ebp - 0x4e8], ecx
cmp byte [ebp - 0x4ed], 0
jne 0x409f0a
mov al, byte [ebp - 0x491]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00417fbe
mov esp, ebp
pop ebp
ret