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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0042c7d0
mov eax, dword [0x4510d0]
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.00425d30
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 0x434ea6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x434e90
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x434e9b
mov ebx, 0x80004005
push ebx
push 0x94
jmp 0x435023
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 0x434eec
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x434ed6
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x434ee1
mov ebx, 0x80004005
push ebx
push 0x9a
jmp 0x435023
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x434f23
xor eax, eax
push eax
cmp dword [ebp - 0x100c], eax
je 0x434f68
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 0x434ffe
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 0x434ef5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x434f52
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x434f5d
mov ebx, 0x80004005
push ebx
push 0xa2
jmp 0x435023
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 0x434fab
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x434f98
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x434fa3
mov ebx, 0x80004005
push ebx
push 0xb4
jmp 0x435023
cmp dword [ebp - 0x1018], ebx
je 0x43502d
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 0x43502d
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x434feb
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x434ff6
mov ebx, 0x80004005
push ebx
push 0xbb
jmp 0x435023
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x435012
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x43501d
mov ebx, 0x80004005
push ebx
push 0xad
push str.cryputil.cpp
call fcn.0042fdc3
xor esi, esi
cmp dword [ebp - 0x1008], esi
je 0x435043
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x1010], esi
je 0x435058
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.00425daa
leave
ret 0x18