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

Disassembly:
mov edi, edi
push ebp
lea ebp, [esp - 0xfa4]
mov eax, 0x1024
call fcn.0040b8c0
mov eax, dword [0x4509f8]
xor eax, ebp
mov dword [ebp + 0xfa0], eax
mov eax, dword [ebp + 0xfac]
push ebx
push esi
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0xfb8]
push edi
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xfc0]
xor ebx, ebx
mov esi, 0x1000
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
call fcn.00408720
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
push 0xf0000040
push dword [ebp + 0xfb0]
stosd dword es:[edi], eax
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x43688d
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x436877
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x436882
mov ebx, 0x80004005
push ebx
push 0x91
jmp 0x4369e0
lea eax, [ebp - 0x64]
push eax
push edi
push edi
push dword [ebp + 0xfb4]
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4368d0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x4368ba
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x4368c5
mov ebx, 0x80004005
push ebx
push 0x97
jmp 0x4369e0
push edi
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
jmp 0x4368fb
xor eax, eax
push eax
cmp dword [ebp - 0x68], eax
je 0x436937
push dword [ebp - 0x68]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x4369bb
push 0
lea eax, [ebp - 0x68]
push eax
push esi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x70]
call edi
test eax, eax
jne 0x4368d9
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x436921
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x43692c
mov ebx, 0x80004005
push ebx
push 0x9f
jmp 0x4369e0
lea eax, [ebp + 0xfbc]
push eax
push dword [ebp - 0x78]
push 2
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x436977
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x436964
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x43696f
mov ebx, 0x80004005
push ebx
push 0xb1
jmp 0x4369e0
cmp dword [ebp - 0x74], ebx
je 0x4369ea
push 1
push dword [ebp - 0x74]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x70]
call dword [sym.imp.kernel32.dll_SetFilePointerEx]
test eax, eax
jne 0x4369ea
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x4369a8
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4369b3
mov ebx, 0x80004005
push ebx
push 0xb8
jmp 0x4369e0
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x4369cf
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4369da
mov ebx, 0x80004005
push ebx
push 0xaa
push 0x44d1f6
call fcn.0043180e
xor esi, esi
cmp dword [ebp - 0x64], esi
je 0x4369fa
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x6c], esi
je 0x436a09
push esi
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp + 0xfa0]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00408498
add ebp, 0xfa4
leave
ret 0x18