Function at 0x41d2d3
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 0x41d331
mov dword [ebp - 4], 0x8003
jmp 0x41d37d
cmp dword [ebp + 0x14], 1
jne 0x41d347
mov dword [ebp - 4], 0x8004
jmp 0x41d37d
cmp dword [ebp + 0x14], 2
jne 0x41d35d
mov dword [ebp - 4], 0x800c
jmp 0x41d37d
cmp dword [ebp + 0x14], 3
jne 0x41d373
mov dword [ebp - 4], 0x800e
jmp 0x41d37d
mov eax, 0xfffffffb
jmp 0x41d674
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0041d69c
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x41d3a4
mov eax, 0xfffffffc
jmp 0x41d674
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 0x41d3e1
push 0x21e
push 0x40114a2
push 6
call fcn.00426cc5
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41d3f8
mov eax, 0xfffffffd
jmp 0x41d674
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x41d414
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00426cb9
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 0x41d425
push ebx
call fcn.00426cbf
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d43c
mov eax, 0x45134f
push eax
push 1
mov ebx, 0x194
call fcn.004282f0
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 0x41d467
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 0x41d491
push 0x2f4
push 0x40114a2
push 6
call fcn.00426cc5
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41d4d4
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 0x41d4ca
push 0x32a
push 0x40114a2
push 6
call fcn.00426cc5
add esp, 0xc
mov eax, 0xfffffffe
jmp 0x41d674
mov dword [ebp - 0x1c], 0
push dword [ebp + 0x10]
call fcn.00418858
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41d4fa
push ebx
call fcn.00426cbf
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x41d511
mov eax, 0x45134f
push eax
push 1
mov ebx, 0x194
call fcn.004282f0
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 0x41d544
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 0x41d56e
push 0x424
push 0x40114a2
push 6
call fcn.00426cc5
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x41d63e
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 0x41d5a7
push 0x46a
push 0x40114a2
push 6
call fcn.00426cc5
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 0x41d5d0
push 0x49d
push 0x40114a2
push 6
call fcn.00426cc5
add esp, 0xc
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x80090006
jne 0x41d5ea
mov eax, 0xffffffff
jmp 0x41d674
cmp dword [ebp - 0x24], 0
jle 0x41d618
fld qword [0x4763d5]
fild dword [ebp - 0x24]
fstp qword [ebp - 0x2c]
fsub qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.00401f8d
jmp 0x41d674
cmp dword [ebp - 0x24], 0
jge 0x41d62f
mov eax, dword [ebp - 0x24]
jmp 0x41d674
mov eax, 0xfffffffa
jmp 0x41d674
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 0x41d66a
push 0x606
push 0x40114a2
push 6
call fcn.00426cc5
add esp, 0xc
mov eax, 0
jmp 0x41d674
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d685
push ebx
call fcn.00426cbf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41d695
push ebx
call fcn.00426cbf
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14