Function at 0x100dc2c0
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, 0x42c
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push ecx
mov dword [ebp - 0x418], edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
cmp ebx, 0xffffffff
jne 0x100dc315
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
ret
push edi
push 0xf0000000
push 1
xor edi, edi
mov dword [ebp - 0x428], 0
push edi
push edi
lea eax, [ebp - 0x428]
mov dword [ebp - 0x41c], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x100dc353
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100dc4bf
lea eax, [ebp - 0x41c]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x100dc380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100dc4bf
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x420]
push 0
push eax
push 0x400
lea eax, [ebp - 0x414]
mov dword [ebp - 0x420], edi
push eax
push ebx
call esi
test eax, eax
je 0x100dc3f1
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
mov eax, dword [ebp - 0x420]
test eax, eax
je 0x100dc413
push 0
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x41c]
call ebx
test eax, eax
je 0x100dc409
push 0
lea eax, [ebp - 0x420]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x42c]
call esi
test eax, eax
jne 0x100dc3b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x100dc4b8
jmp 0x100dc419
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
jmp 0x100dc3fd
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x100dc448
call esi
mov edi, eax
jmp 0x100dc4b8
mov ebx, dword [ebp - 0x418]
mov ecx, ebx
call fcn.10016570
xor esi, esi
cmp dword [ebp - 0x424], esi
jbe 0x100dc4b8
nop
movzx ecx, byte [ebp + esi - 0x14]
mov eax, ecx
mov byte [ebp - 0x416], 0
shr eax, 4
and ecx, 0xf
movzx eax, byte [eax + str.0123456789abcdef]
mov byte [ebp - 0x418], al
movzx eax, byte [ecx + str.0123456789abcdef]
mov byte [ebp - 0x417], al
lea eax, [ebp - 0x418]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100dc497
sub eax, edx
mov ecx, ebx
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10002600
inc esi
cmp esi, dword [ebp - 0x424]
jb 0x100dc460
mov ebx, dword [ebp - 0x42c]
pop esi
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x100dc4d0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x100dc4e3
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop ebx
call fcn.101157bc
mov esp, ebp
pop ebp
ret