Function at 0x428780
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 0x57cdec
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x5ebdb0]
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 [0x5b47e4]
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 [0x5b47e8]
push 1
mov dword [ebp - 0x20], edx
mov edx, dword [0x5b47ec]
mov dword [ebp - 0x1c], ecx
mov cl, byte [0x5b47f0]
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 0x42882a
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x428b25
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 0x428858
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x428b25
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 0x428899
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 0x428b25
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 0x428938
lea esp, [esp]
mov ecx, dword [ebp - 0x444]
cmp ecx, ebx
je 0x428934
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 0x428905
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 0x4288c0
jmp 0x428938
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 0x428b25
cmp eax, ebx
jne 0x428967
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 0x428b25
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 0x428afb
cmp dword [ebp - 0x440], ebx
jbe 0x428b01
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.00552b2e
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.00421e30
mov esi, eax
mov eax, dword [ebp - 0x450]
push eax
lea ecx, [ebp - 0x45c]
push ecx
mov dword [ebp - 4], 0
call fcn.00421e30
push eax
lea edx, [ebp - 0x460]
push edi
push edx
mov byte [ebp - 4], 1
call fcn.0041bac0
push esi
push eax
lea eax, [ebp - 0x448]
push eax
mov byte [ebp - 4], 2
call fcn.0041bac0
add esp, 0x18
push eax
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004050b0
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 0x428a6f
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 0x428a95
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 0x428abb
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 0x428ae4
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 0x4289a0
mov esi, dword [ebp - 0x44c]
xor ebx, ebx
jmp 0x428b01
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.00550891
mov esp, ebp
pop ebp
ret 4