Function at 0x10003bb0
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, 0x5a8
push ebx
push esi
push edi
lea edi, [ebp - 0x5a8]
mov ecx, 0x16a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x1001f140]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x474], 0
mov eax, dword [str.0123456789abcdef]
mov dword [ebp - 0x490], eax
mov ecx, dword [0x1001b7c0]
mov dword [ebp - 0x48c], ecx
mov edx, dword [0x1001b7c4]
mov dword [ebp - 0x488], edx
mov eax, dword [0x1001b7c8]
mov dword [ebp - 0x484], eax
mov cl, byte [0x1001b7cc]
mov byte [ebp - 0x480], cl
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR100D.dll_strlen
add esp, 4
add eax, 1
mov esi, esp
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x4c0]
push edx
call dword [sym.imp.MSVCR100D.dll_mbstowcs]
add esp, 0xc
cmp esi, esp
call fcn.10014010
lea eax, [ebp - 0x4c0]
mov dword [ebp - 0x4cc], eax
mov esi, esp
push 0
push 0x8000000
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp - 0x4cc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10003cec
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x4cc]
push ecx
push str.Error_opening_file__s_nError:__d_n
call dword [sym.imp.MSVCR100D.dll_printf]
add esp, 0xc
cmp esi, esp
call fcn.10014010
jmp 0x10004064
mov esi, esp
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp esi, esp
call fcn.10014010
test eax, eax
jne 0x10003d53
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push str.CryptAcquireContext_failed:__d_n
call dword [sym.imp.MSVCR100D.dll_printf]
add esp, 8
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10014010
jmp 0x10004064
mov esi, esp
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.10014010
test eax, eax
jne 0x10003dd1
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push str.CryptAcquireContext_failed:__d_n
call dword [sym.imp.MSVCR100D.dll_printf]
add esp, 8
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10014010
mov esi, esp
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10014010
jmp 0x10004064
mov esi, esp
push 0
lea eax, [ebp - 0x450]
push eax
push 0x400
lea ecx, [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10003ead
cmp dword [ebp - 0x450], 0
jne 0x10003e14
jmp 0x10003ead
mov esi, esp
push 0
mov eax, dword [ebp - 0x450]
push eax
lea ecx, [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.10014010
test eax, eax
jne 0x10003ea8
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push str.CryptHashData_failed:__d_n
call dword [sym.imp.MSVCR100D.dll_printf]
add esp, 8
cmp esi, esp
call fcn.10014010
mov esi, esp
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10014010
jmp 0x10004064
jmp 0x10003dd1
cmp dword [ebp - 0x18], 0
jne 0x10003f20
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push str.ReadFile_failed:__d_n
call dword [sym.imp.MSVCR100D.dll_printf]
add esp, 8
cmp esi, esp
call fcn.10014010
mov esi, esp
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10014010
jmp 0x10004064
mov dword [ebp - 0x474], 0x10
mov esi, esp
push 0
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x468]
push ecx
push 2
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp esi, esp
call fcn.10014010
test eax, eax
je 0x10003ffc
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4e4], 0
jmp 0x10003f7c
mov eax, dword [ebp - 0x4e4]
add eax, 1
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4e4]
cmp eax, dword [ebp - 0x474]
jae 0x10003ff3
mov eax, dword [ebp - 0x4e4]
movzx ecx, byte [ebp + eax - 0x468]
sar ecx, 4
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x4d8]
mov al, byte [ebp + ecx - 0x490]
mov byte [edx], al
mov ecx, dword [ebp - 0x4d8]
add ecx, 1
mov dword [ebp - 0x4d8], ecx
mov eax, dword [ebp - 0x4e4]
movzx ecx, byte [ebp + eax - 0x468]
and ecx, 0xf
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x4d8]
mov al, byte [ebp + ecx - 0x490]
mov byte [edx], al
mov ecx, dword [ebp - 0x4d8]
add ecx, 1
mov dword [ebp - 0x4d8], ecx
jmp 0x10003f6d
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x20], 0
jmp 0x10004029
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.10014010
mov dword [ebp - 0xc], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
push str.CryptGetHashParam_failed:__d_n
call dword [sym.imp.MSVCR100D.dll_printf]
add esp, 8
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.10014010
mov esi, esp
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.10014010
mov esi, esp
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.10014010
push edx
mov ecx, ebp
push eax
lea edx, [0x10004094]
call fcn.10014040
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10014000
add esp, 0x5a8
cmp ebp, esp
call fcn.10014010
mov esp, ebp
pop ebp
ret