Function at 0x10602ab
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 0x10602f7
call fcn.01091f1e
mov esi, eax
push esi
push 0x1ed40139
jmp 0x10604de
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 0x1060321
call fcn.01091f1e
mov esi, eax
push esi
push 0x1ed90139
jmp 0x10604de
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
cmp eax, edi
jbe 0x10604d1
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.0105e735
mov esi, eax
cmp esi, edi
jne 0x10604e8
lea eax, [ebp - 0x1c]
push eax
call fcn.01060209
test eax, eax
je 0x10604f0
mov eax, dword [ebp - 0x1c]
dec eax
dec eax
je 0x1060420
dec eax
je 0x10603ae
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 0x10604fd
push edi
push dword [ebp - 0x18]
push dword [ebp - 4]
push dword [ebp - 8]
call esi
test eax, eax
jne 0x10604ad
call fcn.01091f1e
mov esi, eax
push esi
push 0x1f380139
jmp 0x10604de
cmp dword [ebp - 0xc], edi
jne 0x106050c
cmp ebx, edi
je 0x1060514
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 0x1060521
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 0x1060530
push 0x981
mov dword [ebp + 0xc], esi
call fcn.0108bbbd
push eax
call fcn.0109c1c3
mov dword [esp], 0x10042f8
call fcn.0109c1c3
pop ecx
jmp 0x10604ad
cmp dword [0x10d22a4], edi
jne 0x1060430
cmp dword [0x10d22c0], edi
je 0x1060447
push 0xffffffffffffffff
push dword [ebp - 0x18]
push dword [ebp - 4]
call fcn.0105e6d2
mov esi, eax
cmp esi, edi
jne 0x106053f
cmp ebx, edi
jne 0x1060547
push dword [ebp - 0x18]
push dword [ebp - 4]
push 1
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov ebx, eax
cmp ebx, edi
je 0x1060554
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0xc]
push 0x2000003
add eax, 0x30
push eax
push 1
call fcn.0109489f
cmp eax, edi
je 0x106048d
push eax
push 0x1f070139
call fcn.0108c503
push 0x8d3
call fcn.0108bbbd
push eax
call fcn.0109c1c3
push dword [ebp - 0x14]
push 0x1012aec
call fcn.0109c1c3
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 0x106032f
cmp dword [ebp + 0xc], edi
jne 0x1060566
mov eax, 0x8007000d
push eax
push 0x1f440139
mov esi, eax
call fcn.0108c503
jmp 0x1060568
push esi
push 0x1ee20139
jmp 0x10604de
mov eax, 0x8007000d
push eax
push 0x1ee70139
jmp 0x10604dc
call fcn.01091f1e
mov esi, eax
push esi
push 0x1f330139
jmp 0x10604de
push edi
push 0x1f0f0139
jmp 0x10604de
mov esi, 0x80096002
push esi
push 0x1f140139
jmp 0x10604de
call fcn.01091f1e
mov esi, eax
push esi
push 0x1f1d0139
jmp 0x10604de
call fcn.01091f1e
mov esi, eax
push esi
push 0x1f280139
jmp 0x10604de
push esi
push 0x1ef10139
jmp 0x10604de
mov esi, 0x800700b7
push esi
push 0x1ef70139
jmp 0x10604de
call fcn.01091f1e
mov esi, eax
push esi
push 0x1f000139
jmp 0x10604de
xor esi, esi
cmp dword [ebp - 0x14], edi
je 0x1060576
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], edi
je 0x1060584
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc], edi
je 0x1060592
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 8], edi
je 0x10605a0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x10], edi
je 0x10605af
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