Function at 0x431c94
Capabilities:
Create new key via cryptacquirecontext
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
push 0x40
mov eax, 0x45586f
call fcn.00433180
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [ebp + 0xc]
or edi, 0xffffffff
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x45], bl
test edx, edx
je 0x431dd6
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x431ce0
sub ecx, esi
sar ecx, 1
je 0x431dd6
lea eax, [ebp - 0x38]
push eax
push edx
call fcn.004319ca
pop ecx
pop ecx
test al, al
je 0x431dd3
mov esi, dword [ebp - 0x34]
sub esi, dword [ebp - 0x38]
cmp esi, 0x14
jne 0x431d3c
push 0xf0000000
push 1
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x431dd3
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x8004
jmp 0x431d86
cmp esi, 0x20
jne 0x431dd3
push 0xf0000000
push 0x18
push 0x406160
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x431d79
push 0xf0000000
push 0x18
push 0x4061d0
push eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
je 0x431dd3
lea eax, [ebp - 0x18]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x800c
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x431dd3
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push dword [ebp - 0x1c]
call dword [0x45aef4]
mov edi, eax
cmp edi, 0xffffffff
je 0x431dd3
push 0x4000
lea ecx, [ebp - 0x2c]
call fcn.0042efca
mov dword [ebp - 0x1c], ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x431e2f
lea ecx, [ebp - 0x2c]
call fcn.0042a5bc
mov bl, byte [ebp - 0x45]
cmp dword [ebp - 0x14], 0
je 0x431de7
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 0x18], 0
je 0x431df6
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp edi, 0xffffffff
je 0x431e02
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x44]
call fcn.0042a5bc
lea ecx, [ebp - 0x38]
call fcn.0042a5bc
mov al, bl
call fcn.0043312a
ret
push 0
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x431dcb
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x4000
push dword [ebp - 0x2c]
push edi
call ebx
test eax, eax
je 0x431dcb
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x431e1a
lea ecx, [ebp - 0x2c]
call fcn.0042a5bc
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x20]
push 0
push eax
push 0
push 2
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x431dd3
cmp dword [ebp - 0x20], esi
jne 0x431dd3
lea eax, [ebp - 0x46]
mov byte [ebp - 0x46], 0
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.004327c1
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x44]
push 2
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x431dd3
push dword [ebp - 0x20]
push dword [ebp - 0x38]
push dword [ebp - 0x44]
call fcn.00435c16
add esp, 0xc
test eax, eax
sete bl
jmp 0x431dd6