Function at 0x41b690
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
lea edi, [ebp - 0x38]
mov ecx, 0xe
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
push 0x98
call fcn.0040c404
add esp, 4
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov esi, esp
push 0
push 1
push 0
push 0
lea ecx, [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.0041f4fc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41b735
mov esi, esp
push 0xf0000008
push 1
push 0
push 0
lea edx, [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp esi, esp
call fcn.0041f4fc
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41b735
jmp 0x41b839
mov eax, dword [ebp - 0x28]
mov byte [eax], 6
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 1], 2
mov edx, dword [ebp - 0x28]
mov dword [edx + 4], 0xa400
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov word [ecx + 2], ax
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], 0x400
mov eax, dword [ebp - 0x28]
mov dword [eax + 8], 0x31415352
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x10], 0x10001
push 0x80
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x14
push eax
call fcn.0040e410
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push 0x98
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
cmp esi, esp
call fcn.0041f4fc
test eax, eax
jne 0x41b7ba
jmp 0x41b839
mov esi, esp
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0x8004
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp esi, esp
call fcn.0041f4fc
test eax, eax
jne 0x41b7e2
jmp 0x41b839
mov esi, esp
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp esi, esp
call fcn.0041f4fc
test eax, eax
jne 0x41b807
jmp 0x41b839
mov esi, esp
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
cmp esi, esp
call fcn.0041f4fc
test eax, eax
jne 0x41b832
jmp 0x41b839
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x28], 0
je 0x41b851
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.0040c1dc
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x41b871
mov esi, esp
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp esi, esp
call fcn.0041f4fc
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x20], 0
je 0x41b891
mov esi, esp
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp esi, esp
call fcn.0041f4fc
mov dword [ebp - 0x20], 0
cmp dword [ebp - 8], 0
je 0x41b8b3
mov esi, esp
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, esp
call fcn.0041f4fc
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x30]
push edx
mov ecx, ebp
push eax
lea edx, [0x41b8d8]
call fcn.0041f51f
pop eax
pop edx
pop edi
pop esi
add esp, 0x38
cmp ebp, esp
call fcn.0041f4fc
mov esp, ebp
pop ebp
ret