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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b9a55
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x48780a
xor al, al
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], vtable.std::_Func_base_void___.0
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], vtable.std::_Func_impl_class__lambda_9328ec4347cf6f7ced2d4920ccab2cc1___class_std::allocator_int___void___.0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x94]
push eax
call fcn.00402280
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x487884
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
push ebx
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0x114
push dword [esi + 4]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4878f0
push str.Error_during_CryptImportKey.
lea ecx, [ebp - 0x28]
call fcn.004686a0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.00487760
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4878d7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00468a80
mov dword [ebp - 0x14], 0xf
xor bl, bl
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x487a12
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x38], vtable.std::_Func_base_void___.0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
mov dword [ebp - 0x38], vtable.std::_Func_impl_class__lambda_0fe08af145d5da1e35524416f4901a7a___class_std::allocator_int___void___.0
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 8
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
push eax
call fcn.00402280
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x487961
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x48798c
push str.Error_during_CryptCreateHash.
lea ecx, [ebp - 0x28]
call fcn.004686a0
mov byte [ebp - 4], 0xf
jmp 0x4879e9
mov eax, dword [esi]
push 0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
push ecx
push dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4879b8
push str.Error_during_CryptHashData.
lea ecx, [ebp - 0x28]
call fcn.004686a0
mov byte [ebp - 4], 0x10
jmp 0x4879e9
mov eax, dword [ebp + 8]
push 0
push 0
push dword [ebp - 0x3c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
test eax, eax
jne 0x487a04
push str.Signature_not_match.
lea ecx, [ebp - 0x28]
call fcn.004686a0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.00487760
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.00468a40
xor bl, bl
jmp 0x487a06
mov bl, 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x6c]
call fcn.00402190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00402190
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8