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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0042ef60
mov eax, dword [0x456130]
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.004284d0
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 0x437c74
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x437c5e
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x437c69
mov ebx, 0x80004005
push ebx
push 0x91
jmp 0x437df1
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 0x437cba
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x437ca4
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x437caf
mov ebx, 0x80004005
push ebx
push 0x97
jmp 0x437df1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x437cf1
xor eax, eax
push eax
cmp dword [ebp - 0x100c], eax
je 0x437d36
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 0x437dcc
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 0x437cc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x437d20
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x437d2b
mov ebx, 0x80004005
push ebx
push 0x9f
jmp 0x437df1
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 0x437d79
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x437d66
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x437d71
mov ebx, 0x80004005
push ebx
push 0xb1
jmp 0x437df1
cmp dword [ebp - 0x1018], ebx
je 0x437dfb
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 0x437dfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x437db9
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x437dc4
mov ebx, 0x80004005
push ebx
push 0xb8
jmp 0x437df1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x437de0
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x437deb
mov ebx, 0x80004005
push ebx
push 0xaa
push str.cryputil.cpp
call fcn.00432f06
xor esi, esi
cmp dword [ebp - 0x1008], esi
je 0x437e11
push dword [ebp - 0x1008]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x1010], esi
je 0x437e26
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.0042854a
leave
ret 0x18