Function at 0x4364a4
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 [0x44f9f8]
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 0x43654f
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x436539
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x436544
mov ebx, 0x80004005
push ebx
push 0x91
jmp 0x4366a2
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 0x436592
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, edi
jle 0x43657c
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x436587
mov ebx, 0x80004005
push ebx
push 0x97
jmp 0x4366a2
push edi
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
jmp 0x4365bd
xor eax, eax
push eax
cmp dword [ebp - 0x68], eax
je 0x4365f9
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 0x43667d
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 0x43659b
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x4365e3
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4365ee
mov ebx, 0x80004005
push ebx
push 0x9f
jmp 0x4366a2
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 0x436639
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x436626
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x436631
mov ebx, 0x80004005
push ebx
push 0xb1
jmp 0x4366a2
cmp dword [ebp - 0x74], ebx
je 0x4366ac
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 0x4366ac
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x43666a
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x436675
mov ebx, 0x80004005
push ebx
push 0xb8
jmp 0x4366a2
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x436691
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x43669c
mov ebx, 0x80004005
push ebx
push 0xaa
push 0x44cbc4
call fcn.004314ce
xor esi, esi
cmp dword [ebp - 0x64], esi
je 0x4366bc
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x6c], esi
je 0x4366cb
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