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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp + 0x14], 0
jne 0x41ad17
mov dword [ebp - 4], 0x8003
jmp 0x41ad63
cmp dword [ebp + 0x14], 1
jne 0x41ad2d
mov dword [ebp - 4], 0x8004
jmp 0x41ad63
cmp dword [ebp + 0x14], 2
jne 0x41ad43
mov dword [ebp - 4], 0x800c
jmp 0x41ad63
cmp dword [ebp + 0x14], 3
jne 0x41ad59
mov dword [ebp - 4], 0x800e
jmp 0x41ad63
mov eax, 0xfffffffb
jmp 0x41b05a
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0041b082
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41ad8a
mov eax, 0xfffffffc
jmp 0x41b05a
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp - 4]
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41adc7
push 0x21e
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41adde
mov eax, 0xfffffffd
jmp 0x41b05a
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x41adfa
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0042c743
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41ae0b
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41ae22
mov eax, 0x4503f8
push eax
push 1
mov ebx, 0x194
call fcn.0042e070
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], esp
push 0
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41ae4d
add eax, 8
push eax
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41ae77
push 0x2f4
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41aeba
mov dword [ebp - 0x28], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41aeb0
push 0x32a
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov eax, 0xfffffffe
jmp 0x41b05a
mov dword [ebp - 0x1c], 0
push dword [ebp + 0x10]
call fcn.0041623e
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41aee0
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41aef7
mov eax, 0x4503f8
push eax
push 1
mov ebx, 0x194
call fcn.0042e070
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], esp
push 0
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x41af2a
add eax, 8
push eax
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41af54
push 0x424
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41b024
mov dword [ebp - 0x28], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41af8d
push 0x46a
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x28], esp
xor eax, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41afb6
push 0x49d
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x80090006
jne 0x41afd0
mov eax, 0xffffffff
jmp 0x41b05a
cmp dword [ebp - 0x24], 0
jle 0x41affe
fld qword [0x451c82]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00403126
jmp 0x41b05a
cmp dword [ebp - 0x24], 0
jge 0x41b015
mov eax, dword [ebp - 0x24]
jmp 0x41b05a
mov eax, 0xfffffffa
jmp 0x41b05a
mov dword [ebp - 0x28], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x41b050
push 0x606
push 0x40114a2
push 6
call fcn.0042c74f
add esp, 0xc
mov eax, 0
jmp 0x41b05a
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41b06b
push ebx
call fcn.0042c749
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41b07b
push ebx
call fcn.0042c749
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14