Function at 0x6e8cab30
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, 0x88
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
test byte [0x6e926040], 8
mov ebx, dword [ecx]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ecx + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x20]
mov dword [ebp - 0x34], eax
jne 0x6e8cabe0
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [edi]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym.crypt32.dll_CryptFindOIDInfo
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x6e8cad60
cmp dword [eax + 0xc], 1
je 0x6e8cac40
test ebx, ebx
jne 0x6e8cac80
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
mov ecx, dword [ebp - 0x10]
mov eax, ebx
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 0x24
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp], 3
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x14], eax
mov eax, str.__08lx___d___d___p___d___p___p___p___p__n
mov dword [esp + 0xc], eax
mov eax, str.CryptSignCertificate
mov dword [esp + 8], eax
mov eax, 0x6e926040
mov dword [esp + 4], eax
call fcn.6e8c5b50
jmp 0x6e8cab81
test ebx, ebx
je 0x6e8cad40
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xc], edx
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 8], ecx
mov eax, dword [edi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.advapi32.dll_CryptCreateHash
sub esp, 0x14
test eax, eax
jne 0x6e8cad08
xor ebx, ebx
jmp 0x6e8cabc5
lea eax, [ebp - 0x1c]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 8], eax
mov eax, dword [edi + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.advapi32.dll_CryptCreateHash
sub esp, 0x14
test eax, eax
je 0x6e8cac75
mov dword [esp + 8], esi
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
mov ebx, eax
je 0x6e8cad2d
mov eax, dword [ebp - 0x34]
xor edx, edx
mov dword [esp + 8], edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_CryptSignHashW
sub esp, 0x18
mov ebx, eax
jmp 0x6e8cad2d
mov dword [esp + 8], esi
xor eax, eax
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_CryptHashData
sub esp, 0x10
test eax, eax
mov ebx, eax
jne 0x6e8cad78
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_CryptDestroyHash
sub esp, 4
jmp 0x6e8cabc5
mov dword [esp], 0
call sym.crypt32.dll_I_CryptGetDefaultCryptProv
sub esp, 4
mov ebx, eax
jmp 0x6e8cac48
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x80090008
xor ebx, ebx
jmp 0x6e8cabc5
xor eax, eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 8], eax
mov eax, 2
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.advapi32.dll_CryptGetHashParam
sub esp, 0x14
mov ebx, eax
jmp 0x6e8cad2d