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

Disassembly:
sub esp, 0x438
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x434], eax
mov eax, dword [str.0123456789abcdef]
push esi
push 0
push 0x8000000
mov dword [esp + 0x1c], eax
mov eax, dword [0x1917b30]
push 3
mov dword [esp + 0x24], eax
mov eax, dword [0x1917b34]
push 0
mov dword [esp + 0x2c], eax
mov eax, dword [0x1917b38]
push 1
mov dword [esp + 0x34], eax
mov al, byte [0x1917b3c]
push 0x80000000
push ecx
mov byte [0x1923470], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x40], al
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x190334a
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1903365
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x1917b40
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.019034f9
add esp, 0x438
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x8003
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x19033af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 0x1917b40
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.019034f9
add esp, 0x438
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [esp + 0x18]
push 0
push eax
push 0x400
lea eax, [esp + 0x4c]
push eax
push esi
call edi
test eax, eax
je 0x1903407
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1903441
push 0
push ecx
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x1c]
call ebx
push 0
test eax, eax
je 0x1903409
lea eax, [esp + 0x1c]
push eax
push 0x400
lea eax, [esp + 0x4c]
push eax
push esi
call edi
test eax, eax
jne 0x19033d5
push 0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov eax, 0x1917b40
pop esi
mov ecx, dword [esp + 0x434]
xor ecx, esp
call fcn.019034f9
add esp, 0x438
ret
test eax, eax
je 0x1903407
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x10
push eax
lea eax, [esp + 0x38]
push eax
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x19034de
mov edi, dword [esp + 0x14]
xor edx, edx
test edi, edi
je 0x190349d
movzx ecx, byte [esp + edx + 0x30]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, byte [esp + eax + 0x1c]
mov byte [edx*2 + 0x1923470], al
movzx eax, byte [esp + ecx + 0x1c]
mov byte [edx*2 + 0x1923471], al
inc edx
cmp edx, edi
jb 0x1903473
push dword [esp + 0x10]
mov byte [0x1923490], 0
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x440]
mov eax, 0x1923470
pop edi
pop ebx
pop esi
xor ecx, esp
call fcn.019034f9
add esp, 0x438
ret
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x190341d