Function at 0x43643c
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 0x4364e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x4364d1
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x4364dc
mov ebx, 0x80004005
push ebx
push 0x91
jmp 0x43663a
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 0x43652a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x436514
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
cmp ebx, edi
jl 0x43651f
mov ebx, 0x80004005
push ebx
push 0x97
jmp 0x43663a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x436555
xor eax, eax
push eax
cmp dword [ebp - 0x68], eax
je 0x436591
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 0x436615
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 0x436533
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x43657b
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x436586
mov ebx, 0x80004005
push ebx
push 0x9f
jmp 0x43663a
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 0x4365d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4365be
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x4365c9
mov ebx, 0x80004005
push ebx
push 0xb1
jmp 0x43663a
cmp dword [ebp - 0x74], ebx
je 0x436644
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 0x436644
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x436602
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x43660d
mov ebx, 0x80004005
push ebx
push 0xb8
jmp 0x43663a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x436629
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
test ebx, ebx
js 0x436634
mov ebx, 0x80004005
push ebx
push 0xaa
push 0x44cb64
call fcn.00431468
xor esi, esi
cmp dword [ebp - 0x64], esi
je 0x436654
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x6c], esi
je 0x436663
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