Function at 0x43e5c0
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, 0x428
mov eax, dword [0x4fe080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
call fcn.00403cb0
mov ebx, eax
xor eax, eax
push eax
push 0x8000000
push 3
push eax
push 1
push bind
mov word [0x504e28], ax
push edi
mov dword [esi], 0x504e28
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43e658
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047b06c
mov esp, ebp
pop ebp
ret
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43e681
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x43e759
lea eax, [ebp - 0x418]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43e6d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047b06c
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x424]
push 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push edi
call esi
mov ecx, eax
test ecx, ecx
je 0x43e737
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x43e773
push 0
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x43e737
push 0
lea eax, [ebp - 0x424]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push edi
call esi
mov ecx, eax
test ecx, ecx
jne 0x43e6f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push dword [ebp - 0x41c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047b06c
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x43e737
push 0
lea eax, [ebp - 0x420]
mov dword [ebp - 0x420], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x43e7ea
xor esi, esi
cmp dword [ebp - 0x420], esi
jbe 0x43e7f6
lea ebx, [ebx]
movzx ecx, byte [ebp + esi - 0x14]
mov eax, ecx
shr ecx, 4
and eax, 0xf
movsx eax, byte [eax + ebx]
push eax
movsx eax, byte [ecx + ebx]
push eax
push 0x504e28
call fcn.00403cd0
push eax
push 0x504e28
call fcn.0043e5a0
inc esi
add esp, 0x14
cmp esi, dword [ebp - 0x420]
jb 0x43e7b0
jmp 0x43e7f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x428], eax
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x428]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0047b06c
mov esp, ebp
pop ebp
ret