Function at 0x42eac0
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, 0x44d99e
call fcn.0043056f
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 - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x21], bl
test edx, edx
je 0x42ec02
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42eb0c
sub ecx, esi
sar ecx, 1
je 0x42ec02
lea eax, [ebp - 0x30]
push eax
push edx
call fcn.0042e7f8
pop ecx
pop ecx
test al, al
je 0x42ebff
mov esi, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x30]
cmp esi, 0x14
jne 0x42eb68
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 0x42ebff
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x8004
jmp 0x42ebb2
cmp esi, 0x20
jne 0x42ebff
push 0xf0000000
push 0x18
push 0x406188
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x42eba5
push 0xf0000000
push 0x18
push 0x4061f8
push eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
je 0x42ebff
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 0x42ebff
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push dword [ebp - 0x1c]
call dword [0x4534fc]
mov edi, eax
cmp edi, 0xffffffff
je 0x42ebff
push 0x4000
lea ecx, [ebp - 0x3c]
call fcn.0042be1a
mov dword [ebp - 0x1c], ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x42ec5b
lea ecx, [ebp - 0x3c]
call fcn.00411f1c
mov bl, byte [ebp - 0x21]
cmp dword [ebp - 0x14], 0
je 0x42ec13
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp - 0x18], 0
je 0x42ec22
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp edi, 0xffffffff
je 0x42ec2e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.00411f1c
lea ecx, [ebp - 0x30]
call fcn.00411f1c
mov al, bl
call fcn.0043051e
ret
push 0
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x42ebf7
push 0
lea eax, [ebp - 0x1c]
push eax
push 0x4000
push dword [ebp - 0x3c]
push edi
call ebx
test eax, eax
je 0x42ebf7
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x42ec46
lea ecx, [ebp - 0x3c]
call fcn.00411f1c
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 0x42ebff
cmp dword [ebp - 0x20], esi
jne 0x42ebff
lea eax, [ebp - 0x22]
mov byte [ebp - 0x22], 0
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
call fcn.0042f5c8
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x48]
push 2
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x42ebff
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x48]
call fcn.0043393b
add esp, 0xc
test eax, eax
sete bl
jmp 0x42ec02