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

Disassembly:
push 0x74
mov eax, 0x100320f3
call fcn.10010891
mov edi, ecx
push 0xf
xor ebx, ebx
lea ecx, [ebp - 0x44]
pop esi
push ebx
mov dword [ebp - 0x44], ebx
push 0x10035154
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x44], bl
call fcn.1000a806
lea eax, [ebp - 0x44]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.100090d9
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [edi + 4]
mov dword [edi], eax
call fcn.1000787a
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000deaa
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], ecx
cmp eax, 0x1000
jb 0x1000dea1
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10008f20
mov eax, dword [ebp - 0x80]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x7c]
push eax
push ecx
call fcn.1001082d
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
mov byte [ebp - 0x28], bl
cmp eax, 0x10
jb 0x1000deee
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
cmp eax, 0x1000
jb 0x1000dee5
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10008f20
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.1001082d
pop ecx
pop ecx
lea esi, [edi + 0x1c]
xor ecx, ecx
lea ebx, [edi + 0x20]
cmp dword [esi], ecx
je 0x1000df30
cmp dword [ebx], ecx
je 0x1000df30
push 0xf
pop esi
xor ebx, ebx
mov dword [ebp - 0x30], esi
push str.Cryptographic_provider_already_acquired_
mov byte [ebp - 0x7c], bl
lea ecx, [ebp - 0x44]
push dword [ebp - 0x7c]
mov dword [ebp - 0x44], ebx
push 0x28
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.100061ce
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], ebx
jmp 0x1000df84
mov eax, dword [edi + 0x24]
push 0xf0000020
push 1
push ecx
push ecx
push esi
mov dword [edi + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x1000e028
push 0xf
pop esi
xor ebx, ebx
mov dword [ebp - 0x30], esi
push str.Failed_to_acquire_cryptographic_context.
mov byte [ebp - 0x7c], bl
lea ecx, [ebp - 0x44]
push dword [ebp - 0x7c]
mov dword [ebp - 0x44], ebx
push 0x28
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
call fcn.100061ce
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x28], ebx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.100090d9
mov eax, dword [ebp - 0x2c]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000787a
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1000dfe1
mov ecx, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
cmp eax, 0x1000
jb 0x1000dfd8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10008f20
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.1001082d
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x28], bl
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
cmp eax, 0x10
jb 0x1000e021
mov ecx, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
cmp eax, 0x1000
jb 0x1000e018
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10008f20
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.1001082d
pop ecx
pop ecx
xor al, al
jmp 0x1000e12a
push ebx
xor ebx, ebx
push ebx
push ebx
push 0x8004
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1000e128
push str.Failed_to_acquire_cryptographic_context.
mov byte [ebp - 0x7c], bl
lea ecx, [ebp - 0x78]
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], ebx
push 0x28
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], bl
call fcn.100061ce
mov dword [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x5c], ebx
push eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.100090d9
mov eax, dword [ebp - 0x60]
lea ecx, [edi + 4]
mov dword [edi], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.1000787a
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x1000e0d4
mov ecx, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
cmp eax, 0x1000
jb 0x1000e0cb
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10008f20
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.1001082d
pop ecx
pop ecx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], bl
cmp eax, 0x10
jb 0x1000e118
mov ecx, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
cmp eax, 0x1000
jb 0x1000e10f
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10008f20
mov eax, dword [ebp - 0x7c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x80]
push eax
push ecx
call fcn.1001082d
pop ecx
pop ecx
push ebx
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], ebx
jmp 0x1000e021
mov al, 1
call fcn.1001084f
ret