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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0042dd30
mov eax, dword [0x4530d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x101c], eax
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov esi, 0x1000
push esi
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x1004]
push ebx
push eax
mov dword [ebp - 0x1010], ebx
mov dword [ebp - 0x1008], ebx
mov dword [ebp - 0x100c], ebx
call fcn.004272a0
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x1024]
stosd dword es:[edi], eax
push 0xf0000040
push dword [ebp + 0xc]
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43673a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x436724
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x43672f
mov ebx, 0x80004005
push ebx
push 0x91
jmp 0x4368b7
lea eax, [ebp - 0x1008]
push eax
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x436780
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x43676a
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x436775
mov ebx, 0x80004005
push ebx
push 0x97
jmp 0x4368b7
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x4367b7
xor eax, eax
push eax
cmp dword [ebp - 0x100c], eax
je 0x4367fc
push dword [ebp - 0x100c]
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x436892
push 0
lea eax, [ebp - 0x100c]
push eax
push esi
lea eax, [ebp - 0x1004]
push eax
push dword [ebp - 0x1014]
call edi
test eax, eax
jne 0x436789
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4367e6
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4367f1
mov ebx, 0x80004005
push ebx
push 0x9f
jmp 0x4368b7
lea eax, [ebp + 0x18]
push eax
push dword [ebp - 0x101c]
push 2
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x43683f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43682c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x436837
mov ebx, 0x80004005
push ebx
push 0xb1
jmp 0x4368b7
cmp dword [ebp - 0x1018], ebx
je 0x4368c1
push 1
push dword [ebp - 0x1018]
push dword [ebp - 0x1020]
push dword [ebp - 0x1024]
push dword [ebp - 0x1014]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4368c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43687f
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x43688a
mov ebx, 0x80004005
push ebx
push 0xb8
jmp 0x4368b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4368a6
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4368b1
mov ebx, 0x80004005
push ebx
push 0xaa
push str.cryputil.cpp
call fcn.0043166e
xor esi, esi
cmp dword [ebp - 0x1008], esi
je 0x4368d7
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x1010], esi
je 0x4368ec
push esi
push dword [ebp - 0x1010]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0042731a
leave
ret 0x18