Function at 0x6e8c8410
Capabilities:
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 4], edi
mov edi, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov eax, dword [ecx + 8]
test byte [0x6e926040], 8
mov esi, dword [ecx]
mov dword [ebp - 0x24], 0
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x14]
mov edx, dword [ecx + 0xc]
mov edi, dword [edi + 0x18]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x2c], eax
jne 0x6e8c84a0
test esi, esi
je 0x6e8c84fa
test ebx, ebx
mov eax, 0x8003
cmove ebx, eax
cmp dx, 1
je 0x6e8c852b
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 2
xor edx, edx
mov ecx, dword [ebp - 0x10]
mov eax, edx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
lea esp, [ecx - 4]
ret 0x1c
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x20], ecx
mov dword [ebp - 0x38], ecx
mov ecx, str.CryptHashPublicKeyInfo
mov dword [esp + 0x1c], edx
mov dword [ebp - 0x34], edx
mov edx, str.__08lx___d___08x___d___p___p___p__n
mov dword [esp + 0x18], eax
mov eax, 0x6e926040
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 4], eax
mov dword [esp], 3
call fcn.6e8c5b50
test esi, esi
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
jne 0x6e8c8460
mov dword [esp], 0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], edx
call sym.crypt32.dll_I_CryptGetDefaultCryptProv
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub esp, 4
mov esi, eax
test ebx, ebx
mov eax, 0x8003
cmove ebx, eax
cmp dx, 1
jne 0x6e8c8474
mov dword [esp], edx
lea eax, [ebp - 0x1c]
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, 0x8000
mov dword [esp + 0xc], eax
mov eax, 8
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [ebp - 0x1c], 0
call fcn.6e8f1a00
sub esp, 0x1c
test eax, eax
mov edx, eax
je 0x6e8c8483
mov dword [esp + 4], ebx
lea eax, [ebp - 0x24]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp], esi
call sub.advapi32.dll_CryptCreateHash
sub esp, 0x14
test eax, eax
mov edx, eax
jne 0x6e8c85b8
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov edx, dword [ebp - 0x2c]
sub esp, 4
jmp 0x6e8c8483
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
mov edx, eax
jne 0x6e8c8600
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.advapi32.dll_CryptDestroyHash
mov edx, dword [ebp - 0x2c]
sub esp, 4
jmp 0x6e8c8599
mov dword [esp + 0xc], edi
xor eax, eax
mov edx, 2
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.advapi32.dll_CryptGetHashParam
sub esp, 0x14
mov edx, eax
jmp 0x6e8c85e0