Function at 0x4292ee
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Import public key
Initialize hashing via wincrypt

Disassembly:
push 0x58
mov eax, 0x465cb2
call fcn.0046016d
mov dword [ebp - 0x2c], ecx
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
lea eax, [ebp - 0x10]
xor ebx, ebx
push ebx
push ebx
push eax
push ebx
push ebx
push dword [ebp + 0x1c]
mov dword [ebp - 0x10], ebx
push dword [ebp + 0x18]
call esi
test eax, eax
jne 0x429323
xor al, al
jmp 0x429514
push ecx
push dword [ebp - 0x10]
lea ecx, [ebp - 0x64]
call fcn.0040f522
push ebx
push ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
push dword [ebp - 0x64]
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call esi
test eax, eax
je 0x42950a
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x10]
mov ecx, eax
call fcn.0040df85
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], ebx
push eax
push ebx
push 0x8000
push dword [ebp - 0x10]
push dword [ebp - 0x64]
push 8
push 1
call dword [sym.imp.CRYPT32.dll_CryptDecodeObjectEx]
test eax, eax
je 0x42950a
mov esi, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push eax
call ebx
test eax, eax
jne 0x4293d6
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider__Prototype_
push eax
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x4293d6
xor bl, bl
jmp 0x4294fb
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], fcn.004292de
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 1
push esi
call dword [sym.imp.CRYPT32.dll_CryptImportPublicKeyInfo]
test eax, eax
jne 0x4293fe
xor bl, bl
jmp 0x4294e9
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x4c], eax
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebx]
call fcn.004295e0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x429436
xor bl, bl
jmp 0x4294d1
mov edi, dword [ebp - 0x20]
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
push 0
mov byte [ebp - 4], 0xa
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x42945f
xor bl, bl
jmp 0x4294b7
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp + 0x14]
push dword [ebp + 0x1c]
add eax, ecx
mov dword [ebp - 0x58], edx
push eax
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], edx
call fcn.004295a3
cmp byte [ebx + 4], 0
mov ebx, dword [ebp - 0x54]
je 0x429493
push ebx
push dword [ebp - 0x58]
call fcn.0042c77d
pop ecx
pop ecx
sub ebx, dword [ebp - 0x58]
push 0
push 0
push dword [ebp - 0x1c]
push ebx
push dword [ebp - 0x58]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureW]
test eax, eax
lea ecx, [ebp - 0x58]
setne bl
call fcn.0040d75b
mov byte [ebp - 4], 0xf
mov eax, dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x4294cb
test edi, edi
je 0x4294cb
push edi
call eax
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
mov byte [ebp - 4], 0x10
mov ecx, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
test ecx, ecx
je 0x4294e9
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4294e9
push eax
call ecx
mov byte [ebp - 4], 0x11
test esi, esi
je 0x4294f8
push esi
call fcn.004292de
pop ecx
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 0x12
test edi, edi
je 0x42950a
test esi, esi
je 0x42950a
push esi
call edi
lea ecx, [ebp - 0x64]
call fcn.0040d75b
mov al, bl
call fcn.00460136
ret 0x18