Function at 0x10554c8
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Import public key
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
push 0xf0000000
push 1
push edi
mov dword [eax], edi
push edi
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], edi
xor ebx, ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1055514
call fcn.010a4804
mov esi, eax
push esi
push 0x1d840139
jmp 0x10556fb
lea eax, [ebp - 8]
push eax
push edi
push edi
push 0x8004
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x105553e
call fcn.010a4804
mov esi, eax
push esi
push 0x1d890139
jmp 0x10556fb
mov eax, dword [ebp + 0xc]
cmp eax, edi
mov dword [ebp + 0x10], eax
jbe 0x10556ee
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x10]
mov dword [ebp + 0xc], edi
push dword [ebp + 8]
call fcn.0105253e
mov esi, eax
cmp esi, edi
jne 0x1055705
lea eax, [ebp - 0x1c]
push eax
call fcn.01055426
test eax, eax
je 0x105570d
mov eax, dword [ebp - 0x1c]
dec eax
dec eax
je 0x105563d
dec eax
je 0x10555cb
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push edi
push 8
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call esi
test eax, eax
je 0x105571a
push edi
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10556ca
call fcn.010a4804
mov esi, eax
push esi
push 0x1de80139
jmp 0x10556fb
cmp dword [ebp - 0xc], edi
jne 0x1055729
cmp ebx, edi
je 0x1055731
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebx + 0xc]
add eax, 0x38
push eax
xor esi, esi
inc esi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
je 0x105573e
push edi
push edi
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
test eax, eax
je 0x105574d
push 0x981
mov dword [ebp + 0xc], esi
call fcn.0107a681
push eax
call fcn.0108880b
mov dword [esp], 0x1003d24
call fcn.0108880b
pop ecx
jmp 0x10556ca
cmp dword [0x10b759c], edi
jne 0x105564d
cmp dword [0x10b75b8], edi
je 0x1055664
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.010524db
mov esi, eax
cmp esi, edi
jne 0x105575c
cmp ebx, edi
jne 0x1055764
push dword [ebp - 0x18]
push dword [ebp - 4]
push 1
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov ebx, eax
cmp ebx, edi
je 0x1055771
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xc]
push 0x2000003
add eax, 0x30
push eax
push 1
call fcn.010811bd
cmp eax, edi
je 0x10556aa
push eax
push 0x1db70139
call fcn.0107ae44
push 0x8d3
call fcn.0107a681
push eax
call fcn.0108880b
push dword [ebp - 0x14]
push 0x101053c
call fcn.0108880b
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0xfffffffffffffff8
pop eax
sub eax, dword [ebp - 0x18]
mov dword [ebp - 4], edi
add dword [ebp + 0x10], eax
jne 0x105554c
cmp dword [ebp + 0xc], edi
jne 0x1055783
mov eax, 0x8007000d
push eax
push 0x1df40139
mov esi, eax
call fcn.0107ae44
jmp 0x1055785
push esi
push 0x1d920139
jmp 0x10556fb
mov eax, 0x8007000d
push eax
push 0x1d970139
jmp 0x10556f9
call fcn.010a4804
mov esi, eax
push esi
push 0x1de30139
jmp 0x10556fb
push edi
push 0x1dbf0139
jmp 0x10556fb
mov esi, 0x80096002
push esi
push 0x1dc40139
jmp 0x10556fb
call fcn.010a4804
mov esi, eax
push esi
push 0x1dcd0139
jmp 0x10556fb
call fcn.010a4804
mov esi, eax
push esi
push 0x1dd80139
jmp 0x10556fb
push esi
push 0x1da10139
jmp 0x10556fb
mov esi, 0x800700b7
push esi
push 0x1da70139
jmp 0x10556fb
call fcn.010a4804
mov esi, eax
push esi
push 0x1db00139
jmp 0x10556fb
xor esi, esi
cmp dword [ebp - 0x14], edi
je 0x1055793
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], edi
je 0x10557a1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], edi
je 0x10557af
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 8], edi
je 0x10557bd
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x10], edi
je 0x10557cc
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0xc