Function at 0x4308e0
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 0x5a3a43
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x616dec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x460], edi
mov dword [ebp - 0x464], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x458]
push 0
push 0x5fcbc0
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
call fcn.00424a00
mov byte [ebp - 4], 1
mov al, byte [0x5ff25c]
cmp dword [ebp + 0x1c], 8
movups xmm0, xmmword [str.0123456789abcdef]
push 0
push 0x8000000
push 3
push 0
mov byte [ebp - 0x14], al
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push 1
push closesocket
push eax
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x430a3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov ecx, edi
push 0x5ff260
mov word [edi], ax
call fcn.00424710
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x430a03
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00424d60
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp ecx, 8
jb 0x430bfa
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00424d00
jmp 0x430bfa
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x430ac8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5ff260
mov ecx, edi
call fcn.00424270
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x430a8f
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00424d60
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
cmp eax, 8
jb 0x430bfa
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00424d00
jmp 0x430bfa
lea eax, [ebp - 0x440]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x430b4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x5ff260
mov ecx, edi
call fcn.00424270
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x430b2d
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00424d60
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
jmp 0x430bf2
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x460]
push 0
push eax
push 0x400
lea eax, [ebp - 0x434]
push eax
push ebx
call esi
test eax, eax
je 0x430bb4
nop
mov ecx, dword [ebp - 0x460]
test ecx, ecx
je 0x430c18
push 0
push ecx
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x430bb4
push 0
lea eax, [ebp - 0x460]
push eax
push 0x400
lea eax, [ebp - 0x434]
push eax
push ebx
call esi
test eax, eax
jne 0x430b70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5ff260
mov ecx, edi
call fcn.00424270
lea ecx, [ebp - 0x458]
call fcn.00424340
lea ecx, [ebp + 8]
call fcn.004241b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005540cc
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x430bb4
xor eax, eax
mov dword [ebp - 0x45c], 0x10
push eax
mov word [ebp - 0x437], ax
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 0x438], 0
push eax
push 2
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x430ccc
xor esi, esi
cmp dword [ebp - 0x45c], esi
jbe 0x430ce0
movzx ecx, byte [ebp + esi - 0x34]
mov eax, ecx
shr ecx, 4
and eax, 0xf
movsx eax, byte [ebp + eax - 0x24]
push eax
movsx eax, byte [ebp + ecx - 0x24]
push eax
lea eax, [ebp - 0x438]
push str._c_c
push eax
call fcn.00433ea0
add esp, 0x10
cmp byte [ebp - 0x438], 0
jne 0x430c9c
xor ecx, ecx
jmp 0x430cae
lea ecx, [ebp - 0x438]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x430ca5
sub ecx, edx
push ecx
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x458]
call fcn.004294a0
inc esi
cmp esi, dword [ebp - 0x45c]
jb 0x430c62
jmp 0x430ce0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CryptGetHashParam_failed:__d_n
call fcn.00429c50
add esp, 8
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x43c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x458]
mov ecx, edi
call fcn.00431430
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x430b2d
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00424d60
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
jmp 0x430bf2