Function at 0x4285e0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e773
mov eax, dword fs:[0]
push eax
mov eax, 0x1034
call fcn.00484be0
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x1030], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x1048]
mov dword fs:[0], eax
mov eax, dword [esp + 0x105c]
mov dword [esp + 0x2c], eax
xor ebx, ebx
mov dword [esp + 0x1050], ebx
mov edi, dword [esp + 0x1058]
mov eax, dword [edi - 0xc]
lea esi, [eax + 1]
push esi
call fcn.00459b19
push esi
mov ebp, eax
push ebx
push ebp
mov dword [esp + 0x38], ebp
call fcn.00483d60
add esp, 0x10
cmp dword [edi - 4], 1
jle 0x428674
mov ecx, dword [edi - 0xc]
push ecx
lea ecx, [esp + 0x105c]
call fcn.004018d0
mov edi, dword [esp + 0x1058]
mov edx, ebp
mov eax, edi
sub edx, edi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x428680
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ebx
push 0x4cf6b8
call esi
test eax, eax
jne 0x4286f9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x8009000f
jne 0x4286cb
push ebx
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ebx
push 0x4cf6b8
call esi
test eax, eax
jne 0x4286f9
lea eax, [edi - 0x10]
mov dword [esp + 0x1050], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4286f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x42893f
push 0x4af1e0
push ebp
call fcn.00480aba
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x428741
mov eax, dword [0x4cf6b8]
cmp eax, ebx
je 0x42871e
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [edi - 0x10]
mov dword [0x4cf6b8], ebx
mov dword [esp + 0x1050], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4286e6
mov edx, dword [0x4cf6b8]
lea ecx, [esp + 0x40]
push ecx
push ebx
xor eax, eax
push ebx
push 0x8003
push edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
xor edi, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push ebp
call fcn.00480acd
add esp, 4
test eax, eax
jne 0x42880c
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebp
push 0x1000
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00480dc7
mov edx, dword [esp + 0x50]
add esp, 0x10
push 0
mov esi, eax
push esi
lea ecx, [esp + 0x4c]
push ecx
push edx
call ebx
add dword [esp + 0x1c], esi
mov eax, 0x10624dd3
adc dword [esp + 0x20], 0
add edi, 1
mul edi
shr edx, 6
imul edx, edx, 0x3e8
mov eax, edi
sub eax, edx
jne 0x4287fd
mov edx, dword [0x4cfb40]
lea ecx, [esp + 0x1c]
push ecx
push 0x1838
push 0x111
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call fcn.00480acd
add esp, 4
test eax, eax
je 0x428791
xor ebx, ebx
mov edx, dword [esp + 0x40]
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
push 2
push edx
mov dword [esp + 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x42883b
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebp
mov dword [esp + 0x44], ebx
call fcn.00480e54
push 0x400
call fcn.00459b19
add esp, 8
xor esi, esi
mov edi, eax
xor ebp, ebp
jmp 0x428860
mov bl, byte [esp + ebp + 0x30]
mov edx, 4
lea esp, [esp]
mov al, bl
mov cl, dl
shr al, cl
and al, 0xf
cmp al, 0xa
jge 0x428880
add al, 0x30
jmp 0x428882
add al, 0x57
mov byte [esi + edi], al
add esi, 1
sub edx, 4
jns 0x428870
add ebp, 1
cmp ebp, 0x10
jl 0x428860
mov byte [esi + edi], 0
mov eax, dword [0x4cf6b8]
test eax, eax
je 0x4288ab
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
lea ecx, [esp + 0x1c]
mov dword [0x4cf6b8], 0
call fcn.004019c0
mov ecx, dword [esp + 0x2c]
push eax
mov byte [esp + 0x1054], 1
call fcn.004027c0
mov byte [esp + 0x1050], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4288f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00459b1e
push edi
call fcn.00459b1e
mov dword [esp + 0x1058], 0xffffffff
mov eax, dword [esp + 0x1060]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42893a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x1048]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1030]
xor ecx, esp
call fcn.0047e440
add esp, 0x1040
ret