Function at 0x5708b0
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xdb04
call fcn.0054a000
mov eax, dword [0x5e6e74]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [0x5c0fa4]
mov al, byte [0x5c0fb4]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push ebx
mov dword [ebp - 0xdb00], ecx
mov dword [ebp - 0xdaf8], 0
mov dword [ebp - 0xdaf4], 0
mov dword [ebp - 0xdb04], 0x400
mov dword [ebp - 0xdafc], 0
movups xmmword [ebp - 0x18], xmm0
mov byte [ebp - 8], al
call fcn.00571ec0
push 0
push 0x8000000
push 3
push 0
push 1
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x570952
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549544
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xdb00]
push 0xf0000000
push dword [eax + 0x168]
lea eax, [ebp - 0xdaf8]
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x57099a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549544
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0xdaf4]
push eax
push 0
push 0
push ebx
push dword [ebp - 0xdaf8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x5709e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push dword [ebp - 0xdaf8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549544
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0xdafc]
push 0
push eax
push 0xc350
lea eax, [ebp - 0xdaf0]
push eax
push edi
call ebx
mov esi, eax
test esi, esi
je 0x570b78
nop
mov ecx, dword [ebp - 0xdafc]
push 0
test ecx, ecx
je 0x570a93
push ecx
lea eax, [ebp - 0xdaf0]
push eax
push dword [ebp - 0xdaf4]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x570a57
push 0
lea eax, [ebp - 0xdafc]
push eax
push 0xc350
lea eax, [ebp - 0xdaf0]
push eax
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x570a10
jmp 0x570b78
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xdaf4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0xdaf8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00549544
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0xdb04]
push eax
lea eax, [ebp - 0x418]
push eax
push 2
push dword [ebp - 0xdaf4]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x570b76
push 0x1388
lea eax, [ebp - 0x17a0]
push 0
push eax
call fcn.0054b0f0
mov ebx, dword [ebp - 0xdb04]
add esp, 0xc
xor edx, edx
test ebx, ebx
je 0x570b0d
nop dword [eax]
movzx ecx, byte [ebp + edx - 0x418]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, byte [ebp + eax - 0x18]
mov byte [ebp + edx*2 - 0x17a0], al
movzx eax, byte [ebp + ecx - 0x18]
mov byte [ebp + edx*2 - 0x179f], al
inc edx
cmp edx, ebx
jb 0x570ae0
add edx, edx
cmp edx, 0x1388
jae 0x570bb4
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x17a0]
push eax
push ecx
mov ecx, dword [ebp - 0xdb00]
push ebx
mov byte [ebp + edx - 0x17a0], 0
call fcn.00571fa0
cmp ebx, 0x8003
jne 0x570b7e
lea ecx, [ebp - 0x17a0]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x570b50
sub ecx, edx
lea edx, [ebp - 0x17a0]
lea eax, [ecx + 1]
push eax
mov eax, dword [ebp - 0xdb00]
mov ecx, dword [eax + 0x20]
call fcn.0056c2f0
add esp, 4
jmp 0x570b7e
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xdaf4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0xdaf8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00549544
mov esp, ebp
pop ebp
ret 8
call fcn.00549aff
int3