Function at 0x428120
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 0x57ba4c
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x5e9db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [str.0123456789abcdef]
mov edx, dword [0x5b37ac]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x8000000
push 3
push ebx
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x5b37b0]
push 1
mov dword [ebp - 0x20], edx
mov edx, dword [0x5b37b4]
mov dword [ebp - 0x1c], ecx
mov cl, byte [0x5b37b8]
push SysReAllocStringLen
push eax
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x43c], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x440], ebx
mov dword [ebp - 0x18], edx
mov byte [ebp - 0x14], cl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x44c], esi
cmp esi, 0xffffffff
jne 0x4281ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x4284c5
push 0xf0000000
push 1
push ebx
push ebx
lea edx, [ebp - 0x438]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4281f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4284c5
mov ecx, dword [ebp - 0x438]
lea eax, [ebp - 0x43c]
push eax
push ebx
push ebx
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x428239
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x438]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor al, al
jmp 0x4284c5
push ebx
lea eax, [ebp - 0x444]
push eax
push 0x400
lea ecx, [ebp - 0x434]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x4282d8
lea esp, [esp]
mov ecx, dword [ebp - 0x444]
cmp ecx, ebx
je 0x4282d4
mov eax, dword [ebp - 0x43c]
push ebx
push ecx
lea edx, [ebp - 0x434]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4282a5
push ebx
lea ecx, [ebp - 0x444]
push ecx
push 0x400
lea edx, [ebp - 0x434]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x428260
jmp 0x4282d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x438]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4284c5
cmp eax, ebx
jne 0x428307
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x438]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4284c5
mov eax, dword [ebp - 0x43c]
push ebx
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0x34]
push edx
push 2
push eax
mov dword [ebp - 0x440], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x42849b
cmp dword [ebp - 0x440], ebx
jbe 0x4284a1
movzx eax, byte [ebp + ebx - 0x34]
mov ecx, eax
and ecx, 0xf
movsx edx, byte [ebp + ecx - 0x24]
shr eax, 4
movsx eax, byte [ebp + eax - 0x24]
push edx
push eax
push str._c_c
call fcn.0055190e
movzx eax, byte [ebp + ebx - 0x34]
mov ecx, eax
and eax, 0xf
mov al, byte [ebp + eax - 0x24]
shr ecx, 4
mov dl, byte [ebp + ecx - 0x24]
mov byte [ebp - 0x458], al
mov ecx, dword [ebp - 0x458]
add esp, 0xc
mov byte [ebp - 0x450], dl
push ecx
lea edx, [ebp - 0x454]
push edx
call fcn.004217c0
mov esi, eax
mov eax, dword [ebp - 0x450]
push eax
lea ecx, [ebp - 0x45c]
push ecx
mov dword [ebp - 4], 0
call fcn.004217c0
push eax
lea edx, [ebp - 0x460]
push edi
push edx
mov byte [ebp - 4], 1
call fcn.0041ba90
push esi
push eax
lea eax, [ebp - 0x448]
push eax
mov byte [ebp - 4], 2
call fcn.0041ba90
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00405080
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x448]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42840f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x460]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428435
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x45c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42845b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x454]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428484
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc ebx
cmp ebx, dword [ebp - 0x440]
jb 0x428340
mov esi, dword [ebp - 0x44c]
xor ebx, ebx
jmp 0x4284a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x43c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 0x438]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f72c
mov esp, ebp
pop ebp
ret 4