Function at 0x483c30
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, 0x658
mov eax, dword [0x4f72bc]
xor eax, ebp
mov dword [ebp - 8], eax
mov edx, dword [str.0123456789abcdef]
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x8000000
push 3
push ebx
mov dword [ebp - 0x654], ecx
mov ecx, dword [0x4ed460]
mov dword [ebp - 0x1c], edx
mov edx, dword [0x4ed464]
push 1
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x4ed468]
mov dword [ebp - 0x14], edx
mov dl, byte [0x4ed46c]
push 0x80000000
push eax
mov dword [ebp - 0x658], eax
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x64c], ebx
mov dword [ebp - 0x648], ebx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0xc], dl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x483cd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x483d13
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x640]
lea ecx, [ebp - 0x644]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x483d62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x640]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x64c]
push ecx
push 0x400
lea edx, [ebp - 0x63c]
push edx
push edi
call esi
cmp eax, ebx
je 0x483e12
jmp 0x483d90
mov ecx, dword [ebp - 0x64c]
cmp ecx, ebx
je 0x483e0e
push ebx
push ecx
mov ecx, dword [ebp - 0x644]
lea eax, [ebp - 0x63c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x483dd1
push ebx
lea edx, [ebp - 0x64c]
push edx
push 0x400
lea eax, [ebp - 0x63c]
push eax
push edi
call esi
cmp eax, ebx
jne 0x483d90
jmp 0x483e12
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x640]
push ebx
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edx, dword [ebp - 0x644]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
cmp eax, ebx
jne 0x483e4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 0x640]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 0x644]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x644]
push ebx
lea edx, [ebp - 0x648]
push edx
lea eax, [ebp - 0x2c]
push eax
push 2
push ecx
mov dword [ebp - 0x648], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x483f33
xor esi, esi
cmp dword [ebp - 0x648], ebx
jbe 0x483f3f
lea ebx, [ebx]
movzx eax, byte [ebp + esi - 0x2c]
mov edx, eax
and edx, 0xf
movsx ecx, byte [ebp + edx - 0x1c]
shr eax, 4
movsx edx, byte [ebp + eax - 0x1c]
push ecx
push edx
push str._c_c
lea eax, [ebp - 0x23c]
push 0x104
push eax
call fcn.00402ee0
add esp, 0x14
cmp esi, ebx
jne 0x483edf
lea ecx, [ebp - 0x23c]
push ecx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x134]
jmp 0x483f1f
mov edx, 0x104
lea eax, [ebp - 0x134]
lea ebx, [ebx]
cmp byte [eax], bl
je 0x483efa
inc eax
dec edx
jne 0x483ef0
jmp 0x483f24
cmp edx, ebx
je 0x483f24
mov ecx, 0x104
sub ecx, edx
lea edx, [ebp - 0x23c]
mov eax, 0x104
push edx
sub eax, ecx
lea ecx, [ebp + ecx - 0x134]
mov edx, 0x7fffffff
call fcn.004010b0
inc esi
cmp esi, dword [ebp - 0x648]
jb 0x483e90
jmp 0x483f3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x650], eax
mov eax, dword [ebp - 0x644]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [ebp - 0x640]
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, ebx
jle 0x483faa
mov ecx, dword [ebp - 0x654]
mov byte [ebp + eax - 0x134], bl
lea eax, [ebp - 0x134]
push eax
mov edx, 0x7ffffffe
mov eax, 0x104
call fcn.004010b0
mov ecx, dword [ebp - 0x658]
push ecx
lea esi, [ebp - 0x134]
call fcn.0047da70
add esp, 4
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x650]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004cf2b6
mov esp, ebp
pop ebp
ret